]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: meson-axg: add spdifin
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 13 Dec 2018 14:36:29 +0000 (15:36 +0100)
committerKevin Hilman <khilman@baylibre.com>
Fri, 11 Jan 2019 00:42:59 +0000 (16:42 -0800)
Add the SPDIF input device of the axg audio subsystem

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-axg.dtsi

index fffd557879818eefe524aa33d1e6e75e9e010638..781632bd60ed62d4fb3b9634499e563524746dc3 100644 (file)
@@ -1260,6 +1260,18 @@ tdmin_lb: audio-controller@3c0 {
                                status = "disabled";
                        };
 
+                       spdifin: audio-controller@400 {
+                               compatible = "amlogic,axg-spdifin";
+                               reg = <0x0 0x400 0x0 0x30>;
+                               #sound-dai-cells = <0>;
+                               sound-name-prefix = "SPDIFIN";
+                               interrupts = <GIC_SPI 87 IRQ_TYPE_EDGE_RISING>;
+                               clocks = <&clkc_audio AUD_CLKID_SPDIFIN>,
+                                        <&clkc_audio AUD_CLKID_SPDIFIN_CLK>;
+                               clock-names = "pclk", "refclk";
+                               status = "disabled";
+                       };
+
                        spdifout: audio-controller@480 {
                                compatible = "amlogic,axg-spdifout";
                                reg = <0x0 0x480 0x0 0x50>;