rtc: omap: drop vendor-prefix from power-controller dt property
Subsystems (2)
PATCH 1/1 rtc: omap: drop vendor-prefix from power-controller dt property
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 <[email protected]>
--- Documentation/devicetree/bindings/rtc/rtc-omap.txt | 4 ++-- arch/arm/boot/dts/am335x-boneblack.dts | 2 +- drivers/rtc/rtc-omap.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/rtc/rtc-omap.txt +2 -2
@@ -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 at 1c23000 { interrupts = <19 19>; interrupt-parent = <&intc>; - ti,system-power-controller; + system-power-controller; };
arch/arm/boot/dts/am335x-boneblack.dts +1 -1
@@ -77,5 +77,5 @@ }; &rtc { - ti,system-power-controller; + system-power-controller; };
drivers/rtc/rtc-omap.c +1 -1
@@ -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;
Signature · 1 line
2.0.4