summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-07-03 17:15:23 +0200
committerMark Brown <broonie@kernel.org>2017-07-03 17:15:23 +0200
commit478b77461a88304ad1566c042d6aa141815ba19f (patch)
treef6e0ff2d0e5d6ec6ac8b0d7dc4f503ef0ced2d8a /Documentation/devicetree
parentMerge remote-tracking branches 'asoc/topic/stm32', 'asoc/topic/sunxi', 'asoc/... (diff)
parentASoC: zx_aud96p22: add ZTE ZX AUD96P22 codec driver (diff)
downloadlinux-478b77461a88304ad1566c042d6aa141815ba19f.tar.xz
linux-478b77461a88304ad1566c042d6aa141815ba19f.zip
Merge remote-tracking branch 'asoc/topic/zx-aud96p22' into asoc-next
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/sound/zte,zx-aud96p22.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/zte,zx-aud96p22.txt b/Documentation/devicetree/bindings/sound/zte,zx-aud96p22.txt
new file mode 100644
index 000000000000..41bb1040eb71
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/zte,zx-aud96p22.txt
@@ -0,0 +1,24 @@
+ZTE ZX AUD96P22 Audio Codec
+
+Required properties:
+ - compatible: Must be "zte,zx-aud96p22"
+ - #sound-dai-cells: Should be 0
+ - reg: I2C bus slave address of AUD96P22
+
+Example:
+
+ i2c0: i2c@1486000 {
+ compatible = "zte,zx296718-i2c";
+ reg = <0x01486000 0x1000>;
+ interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&audiocrm AUDIO_I2C0_WCLK>;
+ clock-frequency = <1600000>;
+
+ aud96p22: codec@22 {
+ compatible = "zte,zx-aud96p22";
+ #sound-dai-cells = <0>;
+ reg = <0x22>;
+ };
+ };