STM32 update uart4 pin configuration for low power
Subsystems (2)
cover STM32 update uart4 pin configuration for low power
Update uart4 pin configuration for low power in pinctrl, and for ed/ev and dkx boards.
Erwan Le Ray (3):
ARM: dts: stm32: update uart4 pin configuration for low power on
stm32mp157
ARM: dts: stm32: Update pin states for uart4 on stm32mp157c-ed1
ARM: dts: stm32: Update UART4 pin states on stm32mp15xx-dkx
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 17 +++++++++++++++++ arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 +++- arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 +++- 3 files changed, 23 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1
PATCH 1/3 ARM: dts: stm32: update uart4 pin configuration for low power on stm32mp157
Sleep pin configuration is refined for low power modes:
- "sleep" (no wakeup & console suspend enabled): put pins in analog state to optimize power
- "idle" (wakeup capability): keep Rx pin in alternate function
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +17 -0
@@ -1648,6 +1648,23 @@ }; }; + uart4_idle_pins_a: uart4-idle-0 { + pins1 { + pinmux = <STM32_PINMUX('G', 11, ANALOG)>; /* UART4_TX */ + }; + pins2 { + pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ + bias-disable; + }; + }; + + uart4_sleep_pins_a: uart4-sleep-0 { + pins { + pinmux = <STM32_PINMUX('G', 11, ANALOG)>, /* UART4_TX */ + <STM32_PINMUX('B', 2, ANALOG)>; /* UART4_RX */ + }; + }; + uart4_pins_b: uart4-1 { pins1 { pinmux = <STM32_PINMUX('D', 1, AF8)>; /* UART4_TX */
Signature · 1 line
2.17.1
PATCH 2/3 ARM: dts: stm32: Update pin states for uart4 on stm32mp157c-ed1
In reply to Erwan Le RayAdd sleep and idle states to uart4 pin configuration.
arch/arm/boot/dts/stm32mp157c-ed1.dts +3 -1
@@ -353,8 +353,10 @@ }; &uart4 { - pinctrl-names = "default"; + pinctrl-names = "default", "sleep", "idle"; pinctrl-0 = <&uart4_pins_a>; + pinctrl-1 = <&uart4_sleep_pins_a>; + pinctrl-2 = <&uart4_idle_pins_a>; status = "okay"; };
Signature · 1 line
2.17.1
PATCH 3/3 ARM: dts: stm32: Update UART4 pin states on stm32mp15xx-dkx
In reply to Erwan Le RayAdd sleep and idle states to uart4 pin configuration.
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi +3 -1
@@ -584,8 +584,10 @@ }; &uart4 { - pinctrl-names = "default"; + pinctrl-names = "default", "sleep", "idle"; pinctrl-0 = <&uart4_pins_a>; + pinctrl-1 = <&uart4_sleep_pins_a>; + pinctrl-2 = <&uart4_idle_pins_a>; status = "okay"; };
Signature · 1 line
2.17.1
Hi Erwan
Quoted 5 lines · Erwan Le Ray
Update uart4 pin configuration for low power in pinctrl, and for ed/ev and dkx boards.
Erwan Le Ray (3):
ARM: dts: stm32: update uart4 pin configuration for low power on
Quoted 9 lines
stm32mp157ARM: dts: stm32: Update pin states for uart4 on stm32mp157c-ed1
ARM: dts: stm32: Update UART4 pin states on stm32mp15xx-dkxarch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 17 +++++++++++++++++ arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 +++- arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 +++- 3 files changed, 23 insertions(+), 2 deletions(-)
Series applied on stm32-next.
Regards
Alex
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel