devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] poweroff-source DT property renaming
@ 2014-11-06 14:23 Romain Perier
  2014-11-06 14:23 ` [PATCH v3 1/2] of: Rename "poweroff-source" property to "system-power-controller" Romain Perier
       [not found] ` <1415283784-10885-1-git-send-email-romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Romain Perier @ 2014-11-06 14:23 UTC (permalink / raw)
  To: heiko
  Cc: grant.likely, robh+dt, devicetree, lgirdwood, broonie, johan,
	mark.rutland, linux-pm, linux-kernel, linux-arm-kernel, balbi

The goal of this serie is to rename the property "poweroff-source" to
"system-power-controller". After discussions, it makes more sense to rename back
to the old established property name. This patches serie reverts
commit a4b4e0461ec5 ("of: Add standard property for poweroff capability").

Changes since v2:
  - of_is_system_power_controller is inline in of.h and only supports
    backward compatibility with device drivers which used this helper
    (which is tps65910)
  - Quashed all changes into a single patch (except documentation)
  - Add a separated commit to fix typos and mispellings in documentation

Changes 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 (2):
  of: Rename "poweroff-source" property to "system-power-controller"
  dt-bindings: Update documentation for "system-power-controller" and
    fix misspellings

 .../devicetree/bindings/power/power-controller.txt     | 18 ++++++++++++++++++
 Documentation/devicetree/bindings/power/poweroff.txt   | 18 ------------------
 .../bindings/regulator/act8865-regulator.txt           |  4 ++--
 drivers/mfd/tps65910.c                                 |  2 +-
 drivers/regulator/act8865-regulator.c                  |  2 +-
 include/linux/of.h                                     |  8 +++++---
 6 files changed, 27 insertions(+), 25 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] 6+ messages in thread

end of thread, other threads:[~2014-11-12 11:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 14:23 [PATCH v3 0/2] poweroff-source DT property renaming Romain Perier
2014-11-06 14:23 ` [PATCH v3 1/2] of: Rename "poweroff-source" property to "system-power-controller" Romain Perier
2014-11-11 15:01   ` Grant Likely
2014-11-11 19:01     ` Romain Perier
2014-11-12 11:46       ` Grant Likely
     [not found] ` <1415283784-10885-1-git-send-email-romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-11-06 14:23   ` [PATCH v3 2/2] dt-bindings: Update documentation for "system-power-controller" and fix misspellings 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).