Re: [PATCH v1 2/3] ARM: dts: stm32: add cec pins to stm32mp157c

From: Alexandre Torgue
Date: Thu May 03 2018 - 08:16:52 EST


Hi Yannick

On 04/24/2018 09:54 AM, yannick fertre wrote:
This patch adds cec support on stm32mp157c eval board.

Signed-off-by: Yannick Fertre <yannick.fertre@xxxxxx>
---
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 6f044100..67b0349 100644
--- a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
@@ -14,6 +14,15 @@
ranges = <0 0x50002000 0xa400>;
pins-are-numbered;
+ cec_pins_a: cec@0 {
+ pins {
+ pinmux = <STM32_PINMUX('A', 15, AF4)>;
+ bias-disable;
+ drive-open-drain;
+ slew-rate = <0>;
+ };
+ };
+
gpioa: gpio@50002000 {
gpio-controller;
#gpio-cells = <2>;

Next time, please put pins group after gpio controller and don't use cec@0 but cec-0 to declare pins group. I'll change it this time during merge.

Thanks
Alex