From: Baoyou Xie Date: Thu, 22 Jun 2017 06:51:57 +0000 (+0800) Subject: ASoC: add bindings for ZTE zx-aud96p22 audio codec X-Git-Tag: v4.14-rc4~21^2~60^2^2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7de35c122e2dd8dc4d74b3782ced9c03115dc268;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Rob Herring Signed-off-by: Shawn Guo Signed-off-by: Mark Brown --- 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 0000000..41bb104 --- /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 = ; + #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>; + }; + };