arm64: dts: meson: g12: add internal DAC glue
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 6 May 2020 22:16:56 +0000 (00:16 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 19 May 2020 23:31:56 +0000 (16:31 -0700)
add the internal DAC glue support on the g12 and sm1 family
This glue connects the different TDM interfaces of the SoC to
the internal audio DAC codec.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20200506221656.477379-8-jbrunet@baylibre.com
arch/arm64/boot/dts/amlogic/meson-g12.dtsi

index e932205..b89f855 100644 (file)
                        status = "disabled";
                };
 
+               toacodec: audio-controller@740 {
+                       compatible = "amlogic,g12a-toacodec";
+                       reg = <0x0 0x740 0x0 0x4>;
+                       #sound-dai-cells = <1>;
+                       sound-name-prefix = "TOACODEC";
+                       resets = <&clkc_audio AUD_RESET_TOACODEC>;
+                       status = "disabled";
+               };
+
                tohdmitx: audio-controller@744 {
                        compatible = "amlogic,g12a-tohdmitx";
                        reg = <0x0 0x744 0x0 0x4>;