ARM: tegra: Add CEC support for Tegra124
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 11 Sep 2017 12:29:50 +0000 (14:29 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 19 Oct 2017 09:45:14 +0000 (11:45 +0200)
Add support for the Tegra CEC IP to the Tegra124 DTSI and link it to the
HDMI controller via phandle.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra124.dtsi

index 8baf00b..87d4bdc 100644 (file)
                        nvidia,head = <1>;
                };
 
-               hdmi@54280000 {
+               hdmi: hdmi@54280000 {
                        compatible = "nvidia,tegra124-hdmi";
                        reg = <0x0 0x54280000 0x0 0x00040000>;
                        interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
                status = "disabled";
        };
 
+       cec@70015000 {
+               compatible = "nvidia,tegra124-cec";
+               reg = <0x0 0x70015000 0x0 0x00001000>;
+               interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&tegra_car TEGRA124_CLK_CEC>;
+               clock-names = "cec";
+               status = "disabled";
+               hdmi-phandle = <&hdmi>;
+       };
+
        soctherm: thermal-sensor@700e2000 {
                compatible = "nvidia,tegra124-soctherm";
                reg = <0x0 0x700e2000 0x0 0x600 /* SOC_THERM reg_base */