Skip to content

Commit

Permalink
ASoC: cs4265: bindings: sound: Add binding for CS4265 CODEC.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Handrigan authored and Mark Brown committed Jun 24, 2014
1 parent 7171511 commit 2b65df2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Documentation/devicetree/bindings/sound/cs4265.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
CS4265 audio CODEC

This device supports I2C only.

Required properties:

- compatible : "cirrus,cs4265"

- reg : the I2C address of the device for I2C. The I2C address depends on
the state of the AD0 pin. If AD0 is high, the i2c address is 0x4f.
If it is low, the i2c address is 0x4e.

Optional properties:

- reset-gpios : a GPIO spec for the reset pin. If specified, it will be
deasserted before communication to the codec starts.

Examples:

codec_ad0_high: cs4265@4f { /* AD0 Pin is high */
compatible = "cirrus,cs4265";
reg = <0x4f>;
};


codec_ad0_low: cs4265@4e { /* AD0 Pin is low */
compatible = "cirrus,cs4265";
reg = <0x4e>;
};

0 comments on commit 2b65df2

Please sign in to comment.