All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] rtc: omap: update AM335x rtc ip revision
@ 2013-08-16 11:36 ` Hebbar, Gururaja
  0 siblings, 0 replies; 38+ messages in thread
From: Hebbar, Gururaja @ 2013-08-16 11:36 UTC (permalink / raw)
  To: akpm, khilman, tony, bcousson
  Cc: rob.herring, mark.rutland, a.zummo, rob, grant.likely, rtc-linux,
	linux-omap, devicetree, linux-kernel, linux-arm-kernel,
	davinci-linux-open-source, sudhakar.raj, gururaja.hebbar

The syntax of compatible property in DT is to mention the Most specific
match to most generic match.

Since AM335x is the platform with latest IP revision, add it 1st in
the device id table.

This way, we can add new matching compatible as 1st and maintain old
compatible string for backwards compatibility.

ex:
	compatible = "ti,am3352-rtc", "ti,da830-rtc";

Also, update am335x .dtsi file (am33xx.dtsi) as above.

Note:
This is a part of previously submitted patch-set [1]. Out of 4 patches,
3 was accepted and 1 got an acceptable NAK. Hence resubmitting only the
rejected + updated changes.

Changes in V3:
	- As per Mark Rutland's suggestion [2], maintain old compatible
	  string and add the new matching string as the 1st compatible.

Changes in V2:
	- Coding style corrections (remove extra space, use lower case
	  for hex numbers
	- use prefix ARM: for commit subject keeping with arch/arm
	  convention)
	- use "[AM/am]3352" instead of "[AM/am]335x" to keep the all
	  usages in sync.
	- Use index defined for struct members so they remain in sync
	- Add new compatible to existing one so that when driver
	  supports enhanced features of hardware, they are available
	  to the user else the basic functionality still works

[2]
https://lkml.org/lkml/2013/7/3/74
[1]
https://lkml.org/lkml/2013/8/1/442

Hebbar Gururaja (1):
  ARM: dts: AM33XX: update rtc node compatibility

Hebbar, Gururaja (1):
  rtc: omap: update of_device_id to reflect latest ip revisions

 arch/arm/boot/dts/am33xx.dtsi |    2 +-
 drivers/rtc/rtc-omap.c        |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)


^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2013-08-23 16:18 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-16 11:36 [PATCH v3 0/2] rtc: omap: update AM335x rtc ip revision Hebbar, Gururaja
2013-08-16 11:36 ` Hebbar, Gururaja
2013-08-16 11:36 ` Hebbar, Gururaja
2013-08-16 11:36 ` [PATCH v3 1/2] rtc: omap: update of_device_id to reflect latest ip revisions Hebbar, Gururaja
2013-08-16 11:36   ` Hebbar, Gururaja
2013-08-16 11:36   ` Hebbar, Gururaja
2013-08-16 14:15   ` Benoit Cousson
2013-08-16 14:15     ` Benoit Cousson
2013-08-16 15:41     ` Sekhar Nori
2013-08-16 15:41       ` Sekhar Nori
2013-08-16 15:41       ` Sekhar Nori
2013-08-16 16:33       ` Benoit Cousson
2013-08-16 16:33         ` Benoit Cousson
2013-08-16 16:33         ` Benoit Cousson
2013-08-23  8:50         ` Sekhar Nori
2013-08-23  8:50           ` Sekhar Nori
2013-08-23  8:50           ` Sekhar Nori
2013-08-23 15:10           ` Benoit Cousson
2013-08-23 15:10             ` Benoit Cousson
2013-08-23 15:10             ` Benoit Cousson
2013-08-23 16:17             ` Sekhar Nori
2013-08-23 16:17               ` Sekhar Nori
2013-08-23 16:17               ` Sekhar Nori
2013-08-16 17:20     ` Mark Rutland
2013-08-16 17:20       ` Mark Rutland
2013-08-16 17:20       ` Mark Rutland
2013-08-16 18:12       ` Benoit Cousson
2013-08-16 18:12         ` Benoit Cousson
2013-08-16 18:12         ` Benoit Cousson
2013-08-19 14:45         ` Mark Rutland
2013-08-19 14:45           ` Mark Rutland
2013-08-19 14:45           ` Mark Rutland
2013-08-16 11:36 ` [PATCH v3 2/2] ARM: dts: AM33XX: update rtc node compatibility Hebbar, Gururaja
2013-08-16 11:36   ` Hebbar, Gururaja
2013-08-16 11:36   ` Hebbar, Gururaja
2013-08-16 12:14 ` [PATCH v3 0/2] rtc: omap: update AM335x rtc ip revision Gururaja Hebbar
2013-08-16 12:14   ` Gururaja Hebbar
2013-08-16 12:14   ` Gururaja Hebbar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.