From: Jerome Brunet Date: Tue, 17 Jul 2018 15:42:54 +0000 (+0200) Subject: ASoC: meson: add axg spdif output DT bindings documentation X-Git-Tag: v4.19~92^2~2^2~154 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb257e6607f96fd70a443750e9eaddbb49ba87ff;p=platform%2Fkernel%2Flinux-rpi3.git ASoC: meson: add axg spdif output DT bindings documentation Add the DT bindings documentation for axg's SPDIF output. Signed-off-by: Jerome Brunet Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt new file mode 100644 index 0000000..521c38ad --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt @@ -0,0 +1,20 @@ +* Amlogic Audio SPDIF Output + +Required properties: +- compatible: 'amlogic,axg-spdifout' +- clocks: list of clock phandle, one for each entry clock-names. +- clock-names: should contain the following: + * "pclk" : peripheral clock. + * "mclk" : master clock +- #sound-dai-cells: must be 0. + +Example on the A113 SoC: + +spdifout: audio-controller@480 { + compatible = "amlogic,axg-spdifout"; + reg = <0x0 0x480 0x0 0x50>; + #sound-dai-cells = <0>; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, + <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; + clock-names = "pclk", "mclk"; +};