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(+)
--
2.7.4
Add sleep pinctrl for cec on stm32mp157c
Signed-off-by: Yannick Fertré <[email protected]>
---
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
index 54fe2ad..4886a89 100644
--- a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
@@ -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 */
--
2.7.4
Add a new pin muxing for cec.
Signed-off-by: Yannick Fertré <[email protected]>
---
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
index 9104896..54fe2ad 100644
--- a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
@@ -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 */
--
2.7.4
Hi Yannick
On 3/29/19 1:41 PM, Yannick Fertré wrote:
> 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