Skip to contentSkip to conversation

add cec pins muxing

PATCH In review Yannick Fertré 2 participants 4 messages Mar 29, 2019 – Apr 10, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover add cec pins muxing

Add cec pins muxing

Yannick Fertré (2):
ARM: dts: stm32: add cec pins muxing on stm32mp157
ARM: dts: stm32: add sleep pinctrl for cec on stm32mp157c

 arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/2 ARM: dts: stm32: add cec pins muxing on stm32mp157

Add a new pin muxing for cec.

---
 arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi +9 -0
index 9104896..54fe2ad 100644
@@ -157,6 +157,15 @@
 				};
 			};
 
+			cec_pins_b: cec-1 {
+				pins {
+					pinmux = <STM32_PINMUX('B', 6, AF5)>;
+					bias-disable;
+					drive-open-drain;
+					slew-rate = <0>;
+				};
+			};
+
 			ethernet0_rgmii_pins_a: rgmii-0 {
 				pins1 {
 					pinmux = <STM32_PINMUX('G', 5, AF11)>, /* ETH_RGMII_CLK125 */
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 ARM: dts: stm32: add sleep pinctrl for cec on stm32mp157c

In reply to Yannick Fertré

Add sleep pinctrl for cec on stm32mp157c

---
 arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi +12 -0
index 54fe2ad..4886a89 100644
@@ -157,6 +157,12 @@
 				};
 			};
 
+			cec_pins_sleep_a: cec-sleep-0 {
+				pins {
+					pinmux = <STM32_PINMUX('A', 15, ANALOG)>; /* HDMI_CEC */
+				};
+			};
+
 			cec_pins_b: cec-1 {
 				pins {
 					pinmux = <STM32_PINMUX('B', 6, AF5)>;
@@ -166,6 +172,12 @@
 				};
 			};
 
+			cec_pins_sleep_b: cec-sleep-1 {
+				pins {
+					pinmux = <STM32_PINMUX('B', 6, ANALOG)>; /* HDMI_CEC */
+				};
+			};
+
 			ethernet0_rgmii_pins_a: rgmii-0 {
 				pins1 {
 					pinmux = <STM32_PINMUX('G', 5, AF11)>, /* ETH_RGMII_CLK125 */
Signature · 1 line
2.7.4
#3 lore raw
In reply to Yannick Fertré

Hi Yannick

Quoted 9 lines · Yannick Fertré

Add cec pins muxing

Yannick Fertré (2):
ARM: dts: stm32: add cec pins muxing on stm32mp157
ARM: dts: stm32: add sleep pinctrl for cec on stm32mp157c

  arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 21 +++++++++++++++++++++
  1 file changed, 21 insertions(+)

Series applied on stm32-next. Note that I squashed the both patches as they deal only with pins muxing group definition.

Regards
Alex