Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7de35c12 authored by Baoyou Xie's avatar Baoyou Xie Committed by Mark Brown
Browse files

ASoC: add bindings for ZTE zx-aud96p22 audio codec



It adds dt-bindings document for ZTE zx-aud96p22 audio codec.

Signed-off-by: default avatarBaoyou Xie <baoyou.xie@linaro.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2ea659a9
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
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>;
		};
	};