From: Niklas Söderlund Date: Tue, 9 Jan 2018 16:49:04 +0000 (+0100) Subject: ARM: dts: lager: Add CEC clock for HDMI transmitter X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c5aa87977626e778e1ee3bd03b14a300d9338a3a;p=openwrt%2Fstaging%2Fblogic.git ARM: dts: lager: Add CEC clock for HDMI transmitter The adv7511 on the Lager board has a 12 MHz fixed clock for the CEC block. Specify this in the dts to enable CEC support. Based on a similar patch for Koelsch by Hans Verkuil. Signed-off-by: Niklas Söderlund Tested-by: Laurent Pinchart Signed-off-by: Simon Horman --- diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index f2ea632381e7..7892b113ecaa 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -669,11 +669,19 @@ }; }; + cec_clock: cec-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <12000000>; + }; + hdmi@39 { compatible = "adi,adv7511w"; reg = <0x39>; interrupt-parent = <&gpio1>; interrupts = <15 IRQ_TYPE_LEVEL_LOW>; + clocks = <&cec_clock>; + clock-names = "cec"; adi,input-depth = <8>; adi,input-colorspace = "rgb";