diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2018-12-13 17:36:31 +0300 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2019-01-11 03:42:59 +0300 |
commit | 99e322cc512f1c5350b9a1de56980f99a88edb4f (patch) | |
tree | 8f413755b0857a4aaa9c00aed427484dcf8be28d /arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | |
parent | e6a5539799ab453aee71d41ae003a5559f460364 (diff) | |
download | linux-99e322cc512f1c5350b9a1de56980f99a88edb4f.tar.xz |
arm64: dts: meson-axg: s400: add spdifin to the sound card
Enable spdif input device on the S400 and add it to the card
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-axg-s400.dts')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 14e1fdc73e45..2e1dcf1c26bf 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -256,6 +256,9 @@ "TODDR_A IN 2", "TDMIN_C OUT", "TODDR_B IN 2", "TDMIN_C OUT", "TODDR_C IN 2", "TDMIN_C OUT", + "TODDR_A IN 3", "SPDIFIN Capture", + "TODDR_B IN 3", "SPDIFIN Capture", + "TODDR_C IN 3", "SPDIFIN Capture", "TODDR_A IN 4", "PDM Capture", "TODDR_B IN 4", "PDM Capture", "TODDR_C IN 4", "PDM Capture", @@ -333,6 +336,14 @@ }; dai-link-8 { + sound-dai = <&spdifin>; + + codec { + sound-dai = <&spdif_dir>; + }; + }; + + dai-link-9 { sound-dai = <&pdm>; codec { @@ -490,6 +501,12 @@ vqmmc-supply = <&vddio_boot>; }; +&spdifin { + pinctrl-0 = <&spdif_in_a19_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &spdifout { pinctrl-0 = <&spdif_out_a20_pins>; pinctrl-names = "default"; |