From: Jerome Brunet Date: Tue, 17 Jul 2018 15:42:57 +0000 (+0200) Subject: ASoC: meson: add axg tdm interface DT bindings documentation X-Git-Tag: v4.19~92^2~2^2~136 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e960c0298b5811e5a2c1ebceea6aa3b7bbc61c6;p=platform%2Fkernel%2Flinux-rpi3.git ASoC: meson: add axg tdm interface DT bindings documentation Add the DT bindings documentation for axg's TDM interfaces Signed-off-by: Jerome Brunet Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-iface.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-iface.txt new file mode 100644 index 0000000..cabfb26 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-iface.txt @@ -0,0 +1,22 @@ +* Amlogic Audio TDM Interfaces + +Required properties: +- compatible: 'amlogic,axg-tdm-iface' +- clocks: list of clock phandle, one for each entry clock-names. +- clock-names: should contain the following: + * "sclk" : bit clock. + * "lrclk": sample clock + * "mclk" : master clock + -> optional if the interface is in clock slave mode. +- #sound-dai-cells: must be 0. + +Example of TDM_A on the A113 SoC: + +tdmif_a: audio-controller@0 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>, + <&clkc_audio AUD_CLKID_MST_A_SCLK>, + <&clkc_audio AUD_CLKID_MST_A_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; +};