summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/sound/cs4265.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/sound/cs4265.txt')
-rw-r--r--dts/Bindings/sound/cs4265.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/dts/Bindings/sound/cs4265.txt b/dts/Bindings/sound/cs4265.txt
new file mode 100644
index 0000000000..380fff8e4e
--- /dev/null
+++ b/dts/Bindings/sound/cs4265.txt
@@ -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>;
+};