ARM: dts: NSP: GPIO reboot open-source
Subsystems (2)
PATCH 1/1 ARM: dts: NSP: GPIO reboot open-source
The libgpio code pre-sets the GPIO values for the gpio-reset in the device tree. This results in the device being reset during bringup. To prevent this pre-setting, use the "open-source" flag in the device tree.
Signed-off-by Jon Mason <[email protected]>
Fixes b1aaf88 ("ARM: dts: NSP: Add GPIO reboot method to bcm958625hr DTS file")
Fixes 10baed1 ("ARM: dts: NSP: Add GPIO reboot method to bcm958625xmc DTS file")
Fixes 088e3148 ("ARM: dts: NSP: Add new DT file for bcm958522er")
Fixes e3227c1 ("ARM: dts: NSP: Add new DT file for bcm958525er")
Fixes 2f8bc00 ("ARM: dts: NSP: Add new DT file for bcm958622hr")
Fixes d454c37 ("ARM: dts: NSP: Add new DT file for bcm958623hr")
Fixes f27eacf ("ARM: dts: NSP: Add new DT file for bcm988312hr")
--- arch/arm/boot/dts/bcm958522er.dts | 1 + arch/arm/boot/dts/bcm958525er.dts | 1 + arch/arm/boot/dts/bcm958525xmc.dts | 1 + arch/arm/boot/dts/bcm958622hr.dts | 1 + arch/arm/boot/dts/bcm958623hr.dts | 1 + arch/arm/boot/dts/bcm958625hr.dts | 1 + arch/arm/boot/dts/bcm988312hr.dts | 1 + 7 files changed, 7 insertions(+)
arch/arm/boot/dts/bcm958522er.dts +1 -0
@@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; };
arch/arm/boot/dts/bcm958525er.dts +1 -0
@@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; };
arch/arm/boot/dts/bcm958525xmc.dts +1 -0
@@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 31 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; };
arch/arm/boot/dts/bcm958622hr.dts +1 -0
@@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; };
arch/arm/boot/dts/bcm958623hr.dts +1 -0
@@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; };
arch/arm/boot/dts/bcm958625hr.dts +1 -0
@@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; };
arch/arm/boot/dts/bcm988312hr.dts +1 -0
@@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; };
Signature · 1 line
2.7.4
Florian Fainelli
AppliedPATCH 1/1 ARM: dts: NSP: GPIO reboot open-source
Quoted 13 lines · Jon Mason
The libgpio code pre-sets the GPIO values for the gpio-reset in the device tree. This results in the device being reset during bringup. To prevent this pre-setting, use the "open-source" flag in the device tree.
Signed-off-by Jon Mason <[email protected]>Fixes b1aaf88 ("ARM: dts: NSP: Add GPIO reboot method to bcm958625hr DTS file")Fixes 10baed1 ("ARM: dts: NSP: Add GPIO reboot method to bcm958625xmc DTS file")Fixes 088e3148 ("ARM: dts: NSP: Add new DT file for bcm958522er")Fixes e3227c1 ("ARM: dts: NSP: Add new DT file for bcm958525er")Fixes 2f8bc00 ("ARM: dts: NSP: Add new DT file for bcm958622hr")Fixes d454c37 ("ARM: dts: NSP: Add new DT file for bcm958623hr")Fixes f27eacf ("ARM: dts: NSP: Add new DT file for bcm988312hr")
Quoted 1 line
---
Applied, thanks!
--
Florian