rtc: omap: drop vendor-prefix from power-controller dt property
authorJohan Hovold <johan@kernel.org>
Wed, 10 Dec 2014 23:54:14 +0000 (15:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:16 +0000 (17:41 -0800)
Drop the vendor-prefix from the "ti,system-power-controller" device-tree
property name.

It has been agreed to make "system-power-controller" a standard property
and to drop the vendor-prefix that is currently used by several drivers.

Note that drivers that have used "<vendor>,system-power-controller" in a
released kernel will need to support both versions.

Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Benot Cousson <bcousson@baylibre.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/devicetree/bindings/rtc/rtc-omap.txt
arch/arm/boot/dts/am335x-boneblack.dts
drivers/rtc/rtc-omap.c

index 750efd40c72e5f1bc0e5d52d5e2178e7c6a31138..4ba4dbd34289b57020d946e537e01799574ff0b2 100644 (file)
@@ -13,7 +13,7 @@ Required properties:
 - interrupt-parent: phandle for the interrupt controller
 
 Optional properties:
-- ti,system-power-controller: whether the rtc is controlling the system power
+- system-power-controller: whether the rtc is controlling the system power
   through pmic_power_en
 
 Example:
@@ -24,5 +24,5 @@ rtc@1c23000 {
        interrupts = <19
                      19>;
        interrupt-parent = <&intc>;
-       ti,system-power-controller;
+       system-power-controller;
 };
index 520b63605eb6a731a498bc4b939f94a402f6b97d..5c42d259fa68fbf29c98439306badd1d44987ee0 100644 (file)
@@ -82,5 +82,5 @@
 };
 
 &rtc {
-       ti,system-power-controller;
+       system-power-controller;
 };
index fba13e53c2781251c9c48de1e5a6f4647983f52f..4f1c6ca9721127528a84b94350c1b2027f440e1b 100644 (file)
@@ -502,7 +502,7 @@ static int __init omap_rtc_probe(struct platform_device *pdev)
                rtc->type = of_id->data;
                rtc->is_pmic_controller = rtc->type->has_pmic_mode &&
                                of_property_read_bool(pdev->dev.of_node,
-                                               "ti,system-power-controller");
+                                               "system-power-controller");
        } else {
                id_entry = platform_get_device_id(pdev);
                rtc->type = (void *)id_entry->driver_data;