Hello,
The is31fl3199 shutdown pin is active-low [1]. Correct the GPIO flags
from GPIO_ACTIVE_HIGH to GPIO_ACTIVE_LOW to match the hardware.
[1] https://lumissil.com/assets/pdf/core/IS31FL3199_DS.pdf
Fixes: 737929191283 ("arm64: dts: marvell: add Globalscale MOCHAbin")
Signed-off-by: Jun Yan <redacted>
What happens if this patch is merged before the driver LED patch? Will
it break something?
Gregory
quoted hunk ↗ jump to hunk
---
arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts b/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
index 6bdc4f1e6939..cf690a85cc2a 100644
--- a/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
@@ -236,7 +236,7 @@ leds@64 {
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&is31_sdb_pins>;
- shutdown-gpios = <&cp0_gpio1 30 GPIO_ACTIVE_HIGH>;
+ shutdown-gpios = <&cp0_gpio1 30 GPIO_ACTIVE_LOW>;
reg = <0x64>;
led1_red: led@1 {--
2.54.0
--
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com