summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2013-07-27 13:31:52 +0200
committerMark Brown <broonie@linaro.org>2013-08-06 17:57:24 +0100
commit8548a464b942a97324d0e3e340ce95356cff32c4 (patch)
treee4fdd15e3f4defe91f4df9ba55fbffed93dadb91 /Documentation/devicetree/bindings
parent3f1a91aa25579ba5e7268a47a73d2a83e4802c62 (diff)
downloadop-kernel-dev-8548a464b942a97324d0e3e340ce95356cff32c4.zip
op-kernel-dev-8548a464b942a97324d0e3e340ce95356cff32c4.tar.gz
ASoC: imx-audmux: Read default configuration from devicetree
Adds a function to parse a default port configuration from devicetree. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/sound/imx-audmux.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/imx-audmux.txt b/Documentation/devicetree/bindings/sound/imx-audmux.txt
index 215aa98..f88a00e 100644
--- a/Documentation/devicetree/bindings/sound/imx-audmux.txt
+++ b/Documentation/devicetree/bindings/sound/imx-audmux.txt
@@ -5,6 +5,15 @@ Required properties:
or "fsl,imx31-audmux" for the version firstly used on i.MX31.
- reg : Should contain AUDMUX registers location and length
+An initial configuration can be setup using child nodes.
+
+Required properties of optional child nodes:
+- fsl,audmux-port : Integer of the audmux port that is configured by this
+ child node.
+- fsl,port-config : List of configuration options for the specific port. For
+ imx31-audmux and above, it is a list of tuples <ptcr pdcr>. For
+ imx21-audmux it is a list of pcr values.
+
Example:
audmux@021d8000 {
OpenPOWER on IntegriCloud