]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: meson: g12a: add spdifouts
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 14 May 2019 14:26:46 +0000 (16:26 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 21 May 2019 17:58:42 +0000 (10:58 -0700)
Add the devices nodes and pinctrl definitions for the spdif outputs of
the g12a SoC family

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

index 40a82ddda79f21cc862726507e6f3e6d8f3455e6..f25a7c7ed9959091c80e416a3278404ce2930993 100644 (file)
@@ -643,6 +643,33 @@ mux {
                                                };
                                        };
 
+                                       spdif_out_h_pins: spdif-out-h {
+                                               mux {
+                                                       groups = "spdif_out_h";
+                                                       function = "spdif_out";
+                                                       drive-strength-microamp = <500>;
+                                                       bias-disable;
+                                               };
+                                       };
+
+                                       spdif_out_a11_pins: spdif-out-a11 {
+                                               mux {
+                                                       groups = "spdif_out_a11";
+                                                       function = "spdif_out";
+                                                       drive-strength-microamp = <500>;
+                                                       bias-disable;
+                                               };
+                                       };
+
+                                       spdif_out_a13_pins: spdif-out-a13 {
+                                               mux {
+                                                       groups = "spdif_out_a13";
+                                                       function = "spdif_out";
+                                                       drive-strength-microamp = <500>;
+                                                       bias-disable;
+                                               };
+                                       };
+
                                        tdm_a_din0_pins: tdm-a-din0 {
                                                mux {
                                                        groups = "tdm_a_din0";
@@ -1312,6 +1339,18 @@ tdmin_lb: audio-controller@3c0 {
                                        status = "disabled";
                                };
 
+                               spdifout: audio-controller@480 {
+                                       compatible = "amlogic,g12a-spdifout",
+                                                    "amlogic,axg-spdifout";
+                                       reg = <0x0 0x480 0x0 0x50>;
+                                       #sound-dai-cells = <0>;
+                                       sound-name-prefix = "SPDIFOUT";
+                                       clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
+                                                <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
+                                       clock-names = "pclk", "mclk";
+                                       status = "disabled";
+                               };
+
                                tdmout_a: audio-controller@500 {
                                        compatible = "amlogic,g12a-tdmout";
                                        reg = <0x0 0x500 0x0 0x40>;
@@ -1353,6 +1392,18 @@ tdmout_c: audio-controller@580 {
                                                      "lrclk", "lrclk_sel";
                                        status = "disabled";
                                };
+
+                               spdifout_b: audio-controller@680 {
+                                       compatible = "amlogic,g12a-spdifout",
+                                                    "amlogic,axg-spdifout";
+                                       reg = <0x0 0x680 0x0 0x50>;
+                                       #sound-dai-cells = <0>;
+                                       sound-name-prefix = "SPDIFOUT_B";
+                                       clocks = <&clkc_audio AUD_CLKID_SPDIFOUT_B>,
+                                                <&clkc_audio AUD_CLKID_SPDIFOUT_B_CLK>;
+                                       clock-names = "pclk", "mclk";
+                                       status = "disabled";
+                               };
                        };
 
                        usb3_pcie_phy: phy@46000 {
@@ -1506,6 +1557,15 @@ mux {
                                                };
                                        };
 
+                                       spdif_ao_out_pins: spdif-ao-out {
+                                               mux {
+                                                       groups = "spdif_ao_out";
+                                                       function = "spdif_ao_out";
+                                                       drive-strength-microamp = <500>;
+                                                       bias-disable;
+                                               };
+                                       };
+
                                        tdm_ao_b_din1_pins: tdm-ao-b-din1 {
                                                mux {
                                                        groups = "tdm_ao_b_din1";