devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] poweroff-source DT property renaming
@ 2014-10-29  7:35 Romain Perier
  2014-10-29  7:35 ` [PATCH v2 1/4] of: Rename "poweroff-source" property to "system-power-controller" Romain Perier
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Romain Perier @ 2014-10-29  7:35 UTC (permalink / raw)
  To: heiko
  Cc: grant.likely, robh+dt, devicetree, lgirdwood, broonie, johan,
	mark.rutland, linux-pm

The goal of this serie is to rename the property "poweroff-source" to 
"system-power-controller" and to fix things incrementally.

Changes and explanations since v1:

  - The first patch defines "of_is_system_power_controller" which is compatible
    with both "vendor,system-power-controller" and "system-power-controller"
    properties. Also, It keeps the old helper function of_system_has_poweroff_source
    for source compatibility until everything is renamed (in this way, bisections
    are not broken and change is made "atomically" between each commit)

    Note: the property "poweroff-source" itself is not used in dts files yet.
    Before this patch tps65910 was broken due to missing backward compatibility
    with "vendor,system-power-controller". As the old helper uses the new one,
    it works again.

  - act8865 and tps65910 are ported to the new helper function

  - The last commit removes the olf helper which was only used for source compatibility

Romain Perier (4):
  of: Rename "poweroff-source" property to "system-power-controller"
  regulator: act8865: Convert poweroff-source DT property to
    system-power-controller
  mfd: tps65910: Convert poweroff-source DT property to
    system-power-controller
  of: Remove of_system_has_poweroff_source helper function

 .../devicetree/bindings/power/power-controller.txt | 18 ++++++++++++
 .../devicetree/bindings/power/poweroff.txt         | 18 ------------
 .../bindings/regulator/act8865-regulator.txt       |  4 +--
 drivers/mfd/tps65910.c                             |  2 +-
 drivers/of/base.c                                  | 34 ++++++++++++++++++++++
 drivers/regulator/act8865-regulator.c              |  2 +-
 include/linux/of.h                                 | 12 ++------
 7 files changed, 58 insertions(+), 32 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/power-controller.txt
 delete mode 100644 Documentation/devicetree/bindings/power/poweroff.txt

-- 
1.9.1


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

end of thread, other threads:[~2014-11-05 17:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-29  7:35 [PATCH 0/4] poweroff-source DT property renaming Romain Perier
2014-10-29  7:35 ` [PATCH v2 1/4] of: Rename "poweroff-source" property to "system-power-controller" Romain Perier
2014-10-30 10:08   ` Romain Perier
2014-11-04  8:21     ` Romain Perier
2014-11-05  9:42   ` Johan Hovold
2014-11-05 10:08   ` Johan Hovold
2014-11-05 16:19     ` Romain Perier
2014-11-05 17:35   ` Grant Likely
2014-10-29  7:35 ` [PATCH v2 2/4] regulator: act8865: Convert poweroff-source DT property to system-power-controller Romain Perier
2014-10-29  7:35 ` [PATCH v2 3/4] mfd: tps65910: " Romain Perier
2014-10-29  7:35 ` [PATCH v1 4/4] of: Remove of_system_has_poweroff_source helper function Romain Perier
2014-10-29 14:21 ` [PATCH 0/4] poweroff-source DT property renaming Romain Perier
2014-11-05  9:39 ` Johan Hovold
2014-11-05 15:53   ` Romain Perier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).