aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Handrigan <Paul.Handrigan@cirrus.com>2014-06-23 18:29:52 -0400
committerMark Brown <broonie@linaro.org>2014-06-24 11:16:10 -0400
commit2b65df255c7e1f028f7b4f4d18fd41eecafad4bd (patch)
tree00b465b0f6f8126efd1d9e8f46795622f86a2cac
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
ASoC: cs4265: bindings: sound: Add binding for CS4265 CODEC.
This patch adds binding documentation for the Cirrus Logic CS4265 I2C CODEC. Signed-off-by: Paul Handrigan <paul.handrigan@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/sound/cs4265.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/cs4265.txt b/Documentation/devicetree/bindings/sound/cs4265.txt
new file mode 100644
index 000000000000..380fff8e4e83
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/cs4265.txt
@@ -0,0 +1,29 @@
1CS4265 audio CODEC
2
3This device supports I2C only.
4
5Required properties:
6
7 - compatible : "cirrus,cs4265"
8
9 - reg : the I2C address of the device for I2C. The I2C address depends on
10 the state of the AD0 pin. If AD0 is high, the i2c address is 0x4f.
11 If it is low, the i2c address is 0x4e.
12
13Optional properties:
14
15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be
16 deasserted before communication to the codec starts.
17
18Examples:
19
20codec_ad0_high: cs4265@4f { /* AD0 Pin is high */
21 compatible = "cirrus,cs4265";
22 reg = <0x4f>;
23};
24
25
26codec_ad0_low: cs4265@4e { /* AD0 Pin is low */
27 compatible = "cirrus,cs4265";
28 reg = <0x4e>;
29};