diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2017-06-22 02:51:57 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-23 07:41:47 -0400 |
commit | 7de35c122e2dd8dc4d74b3782ced9c03115dc268 (patch) | |
tree | d0744b422bf882985acef102e77b75f25c021aec | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) |
ASoC: add bindings for ZTE zx-aud96p22 audio codec
It adds dt-bindings document for ZTE zx-aud96p22 audio codec.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/sound/zte,zx-aud96p22.txt | 24 |
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 @@ | |||
1 | ZTE ZX AUD96P22 Audio Codec | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Must be "zte,zx-aud96p22" | ||
5 | - #sound-dai-cells: Should be 0 | ||
6 | - reg: I2C bus slave address of AUD96P22 | ||
7 | |||
8 | Example: | ||
9 | |||
10 | i2c0: i2c@1486000 { | ||
11 | compatible = "zte,zx296718-i2c"; | ||
12 | reg = <0x01486000 0x1000>; | ||
13 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | ||
14 | #address-cells = <1>; | ||
15 | #size-cells = <0>; | ||
16 | clocks = <&audiocrm AUDIO_I2C0_WCLK>; | ||
17 | clock-frequency = <1600000>; | ||
18 | |||
19 | aud96p22: codec@22 { | ||
20 | compatible = "zte,zx-aud96p22"; | ||
21 | #sound-dai-cells = <0>; | ||
22 | reg = <0x22>; | ||
23 | }; | ||
24 | }; | ||