2016-03-29 19:26:09

by Paul Kocialkowski

[permalink] [raw]
Subject: [PATCH] ARM: dts: omap3-sniper: Discard deprecated twl4030-power property

This uses ti,system-power-controller instead of the deprecated ti,use_poweroff
property for powering off.

Signed-off-by: Paul Kocialkowski <[email protected]>
---
arch/arm/boot/dts/omap3-sniper.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-sniper.dts b/arch/arm/boot/dts/omap3-sniper.dts
index 78a1184..0222a33 100644
--- a/arch/arm/boot/dts/omap3-sniper.dts
+++ b/arch/arm/boot/dts/omap3-sniper.dts
@@ -154,9 +154,9 @@
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
interrupt-parent = <&intc>;

- power {
+ twl_power: power {
compatible = "ti,twl4030-power";
- ti,use_poweroff;
+ ti,system-power-controller;
};
};
};
--
2.7.4


2016-04-12 21:19:55

by Tony Lindgren

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: omap3-sniper: Discard deprecated twl4030-power property

* Paul Kocialkowski <[email protected]> [160329 12:26]:
> This uses ti,system-power-controller instead of the deprecated ti,use_poweroff
> property for powering off.

But what about the others?

We have more of them:

$ git grep ti,use_poweroff arch/arm/boot/dts
arch/arm/boot/dts/logicpd-som-lv.dtsi: ti,use_poweroff;
arch/arm/boot/dts/logicpd-torpedo-som.dtsi: ti,use_poweroff;
arch/arm/boot/dts/omap3-beagle-xm.dts: ti,use_poweroff;
arch/arm/boot/dts/omap3-evm-common.dtsi: ti,use_poweroff;
arch/arm/boot/dts/omap3-gta04.dtsi: ti,use_poweroff;
arch/arm/boot/dts/omap3-ldp.dts: ti,use_poweroff;
arch/arm/boot/dts/omap3-n900.dts: ti,use_poweroff;
arch/arm/boot/dts/omap3-n950-n9.dtsi: ti,use_poweroff;
arch/arm/boot/dts/omap3-pandora-common.dtsi: ti,use_poweroff;
arch/arm/boot/dts/omap3-sniper.dts: ti,use_poweroff;

Regards,

Tony