OSDN Git Service

ARM: dts: st: stm32mp157c-emstamp: correct regulator-active-discharge
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 30 Jul 2023 17:49:52 +0000 (19:49 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 10 Aug 2023 15:37:28 +0000 (17:37 +0200)
The "regulator-active-discharge" property is uint32, not boolean:

  stm32mp157c-emsbc-argon.dtb: stpmic@33: regulators:pwr_sw1:regulator-active-discharge: True is not of type 'array'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp157c-emstamp-argon.dtsi

index f8e9980..009209c 100644 (file)
                        vbus_otg: pwr_sw1 {
                                regulator-name = "vbus_otg";
                                interrupts = <IT_OCP_OTG 0>;
-                               regulator-active-discharge;
+                               regulator-active-discharge = <1>;
                        };
 
                        vbus_usbh: pwr_sw2 {