From: Leonard Göhrs Date: Wed, 18 Oct 2023 20:31:55 +0000 (+0200) Subject: ARM: dts: stm32: lxa-tac: drive powerboard lines as open-drain X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1d4e8b91d242c4afa1970ca6f7e850aab66bf452;p=linux.git ARM: dts: stm32: lxa-tac: drive powerboard lines as open-drain This results in a slight improvement in EMI performance due to the lines no longer being driven by the somewhat noisy VDD_IO supply of the SoM. Signed-off-by: Leonard Göhrs Signed-off-by: Uwe Kleine-König Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/st/stm32mp157c-lxa-tac-gen2.dts b/arch/arm/boot/dts/st/stm32mp157c-lxa-tac-gen2.dts index 8a34d15e9005f..4cc1770316619 100644 --- a/arch/arm/boot/dts/st/stm32mp157c-lxa-tac-gen2.dts +++ b/arch/arm/boot/dts/st/stm32mp157c-lxa-tac-gen2.dts @@ -148,7 +148,7 @@ compatible = "ti,lmp92064"; reg = <0>; - reset-gpios = <&gpioa 4 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpioa 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; shunt-resistor-micro-ohms = <15000>; spi-max-frequency = <5000000>; vdd-supply = <®_pb_3v3>; diff --git a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi index fc3a2386dbb90..7e835a7cf64a5 100644 --- a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi @@ -409,7 +409,7 @@ baseboard_eeprom: &sip_eeprom { &spi2 { pinctrl-names = "default"; pinctrl-0 = <&spi2_pins_c>; - cs-gpios = <&gpiof 12 GPIO_ACTIVE_LOW>; + cs-gpios = <&gpiof 12 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; status = "okay"; };