]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: tegra: Add CEC controller on Tegra210
authorAaron Kling <webgeek1234@gmail.com>
Sun, 13 Apr 2025 19:35:34 +0000 (14:35 -0500)
committerThierry Reding <treding@nvidia.com>
Thu, 8 May 2025 21:59:43 +0000 (23:59 +0200)
The CEC controller found on Tegra210 can be used to control consumer
devices using the HDMI CEC pin.

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Link: https://lore.kernel.org/r/20250413-tegra-cec-v4-3-b6337b66ccad@gmail.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210.dtsi

index b6c84d195c0ef9ae90721fada09ffd46a9c11fa3..402b0ede1472af625d9d9e811f5af306d436cc98 100644 (file)
                reset-names = "fuse";
        };
 
+       cec@70015000 {
+               compatible = "nvidia,tegra210-cec";
+               reg = <0x0 0x070015000 0x0 0x1000>;
+               interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&tegra_car TEGRA210_CLK_CEC>;
+               clock-names = "cec";
+               status = "disabled";
+       };
+
        mc: memory-controller@70019000 {
                compatible = "nvidia,tegra210-mc";
                reg = <0x0 0x70019000 0x0 0x1000>;