[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1487156110-12840-1-git-send-email-baoyou.xie@linaro.org>
Date: Wed, 15 Feb 2017 18:55:08 +0800
From: Baoyou Xie <baoyou.xie@...aro.org>
To: jun.nie@...aro.org, lgirdwood@...il.com, broonie@...nel.org,
robh+dt@...nel.org, mark.rutland@....com, perex@...ex.cz,
tiwai@...e.com, lars@...afoo.de, arnd@...db.de,
kuninori.morimoto.gx@...esas.com,
ckeepax@...nsource.wolfsonmicro.com, bardliao@...ltek.com,
nh6z@...z.net, Paul.Handrigan@...rus.com, oder_chiou@...ltek.com,
axel.lin@...ics.com, petr@...ix.com, yesanishhere@...il.com,
srinivas.kandagatla@...aro.org
Cc: linux-arm-kernel@...ts.infradead.org, alsa-devel@...a-project.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
shawnguo@...nel.org, baoyou.xie@...aro.org, xie.baoyou@....com.cn,
chen.chaokai@....com.cn, wang.qiang01@....com.cn
Subject: [PATCH v1 1/3] ASoC: zx-96p22: add documentation for zte's aud96p22 controller
This patch adds dt-binding documentation for zte's aud96p22 controller.
Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
---
.../devicetree/bindings/sound/zte,zx-96p22.txt | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/zte,zx-96p22.txt
diff --git a/Documentation/devicetree/bindings/sound/zte,zx-96p22.txt b/Documentation/devicetree/bindings/sound/zte,zx-96p22.txt
new file mode 100644
index 0000000..4184566
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/zte,zx-96p22.txt
@@ -0,0 +1,24 @@
+ZTE zx96p22 controller
+
+Required properties:
+ - compatible : Must be "zte,zx-aud96p22"
+ - #sound-dai-cells: Should be 0
+ - reg : Offset of I2C register for zx96p22
+
+Example:
+
+ audio_i2c0: audio_i2c0@...6000 {
+ 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>;
+ status = "ok";
+ inner_codec: aud96p22@22 {
+ compatible = "zte,zx-aud96p22";
+ #sound-dai-cells = <0>;
+ reg = <0x22>;
+ };
+ };
--
2.7.4
Powered by blists - more mailing lists