diff mbox series

ARM: dts: stm32: enable cec on stm32mp157a-dk1 board

Message ID 1553862545-6066-1-git-send-email-yannick.fertre@st.com (mailing list archive)
State Mainlined, archived
Commit 3fca6a1ab935e69df40dd67e3425627243685b7f
Headers show
Series ARM: dts: stm32: enable cec on stm32mp157a-dk1 board | expand

Commit Message

Yannick FERTRE March 29, 2019, 12:29 p.m. UTC
Enable CEC (Consumer Electronics Control) device.

Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
---
 arch/arm/boot/dts/stm32mp157a-dk1.dts | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Alexandre TORGUE April 10, 2019, 2:13 p.m. UTC | #1
Hi Yannick

On 3/29/19 1:29 PM, Yannick Fertré wrote:
> Enable CEC (Consumer Electronics Control) device.
> 
> Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
> ---
>   arch/arm/boot/dts/stm32mp157a-dk1.dts | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts
> index 1b1886d..61bc23a 100644
> --- a/arch/arm/boot/dts/stm32mp157a-dk1.dts
> +++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts
> @@ -46,6 +46,13 @@
>   	};
>   };
>   

Applied on stm32-next.

Thanks.
Alex
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts
index 1b1886d..61bc23a 100644
--- a/arch/arm/boot/dts/stm32mp157a-dk1.dts
+++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts
@@ -46,6 +46,13 @@ 
 	};
 };
 
+&cec {
+	pinctrl-names = "default", "sleep";
+	pinctrl-0 = <&cec_pins_b>;
+	pinctrl-1 = <&cec_pins_sleep_b>;
+	status = "okay";
+};
+
 &ethernet0 {
 	status = "okay";
 	pinctrl-0 = <&ethernet0_rgmii_pins_a>;