diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-01-30 19:17:56 +0800 |
---|---|---|
committer | Nicolin Chen <b42378@freescale.com> | 2013-03-19 16:49:01 +0800 |
commit | 9b16d723f2325b4f3a7e4c2f2e6abbc95ebdff07 (patch) | |
tree | 175c7d2386465ffa11a41f14404ebe30aed24a5d /Documentation | |
parent | 625ed3344b14098c3943bbc3f2044b26de92ba90 (diff) |
ENGR00242368-4 ASoC: imx-spdif: add binding doc
Added binding document of imx-audio-spdif for devicetree usage.
Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <b42378@freescale.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/imx-audio-spdif.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/imx-audio-spdif.txt b/Documentation/devicetree/bindings/sound/imx-audio-spdif.txt new file mode 100644 index 000000000000..90dcf16d18c1 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/imx-audio-spdif.txt @@ -0,0 +1,20 @@ +Freescale i.MX audio complex with S/PDIF + +Required properties: +- compatible : "fsl,imx-audio-spdif" +- model : The user-visible name of this sound complex +- spdif-controller : The phandle of the i.MX SPDIF controller + +- spdif-tx : switch for spdif playback. 1:enable, 0:disable +- spdif-rx : switch for spdif capture. 1:enable, 0:disable + +Example: + + sound-spdif { + compatible = "fsl,imx-audio-spdif", + "fsl,imx-arm2-spdif"; + model = "imx-arm2-spdif"; + spdif-controller = <&spdif_dai>; + spdif-tx = <1>; /* 1:enable, 0:disable */ + spdif-rx = <1>; /* 1:enable, 0:disable */ + }; |