]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ARM: dts: koelsch: Add CEC clock for HDMI transmitter
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 30 Jul 2017 13:07:42 +0000 (15:07 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 17 Aug 2017 08:13:05 +0000 (10:13 +0200)
The adv7511 on the Koelsch board has a 12 MHz fixed clock
for the CEC block. Specify this in the dts to enable CEC support.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791-koelsch.dts

index dc8ed02de70732f55245c017eb11338bdfeee0ce..0ce0b278e1cbe2bf44113586460953edd6ab5f7d 100644 (file)
                };
        };
 
+       cec_clock: cec-clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <12000000>;
+       };
+
        hdmi@39 {
                compatible = "adi,adv7511w";
                reg = <0x39>;
                interrupt-parent = <&gpio3>;
                interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
+               clocks = <&cec_clock>;
+               clock-names = "cec";
 
                adi,input-depth = <8>;
                adi,input-colorspace = "rgb";