summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/rockchip-max98090.txt
diff options
context:
space:
mode:
authorzhengxing <zhengxing@rock-chips.com>2015-07-19 14:33:48 +0300
committerMark Brown <broonie@kernel.org>2015-07-20 20:15:07 +0300
commit49bdb0440541ad1144ad08d5613f9a28bcd2a8dc (patch)
tree867751ced03f3b0a0d1e00e2a77eaedd9cda4c66 /Documentation/devicetree/bindings/sound/rockchip-max98090.txt
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
downloadlinux-49bdb0440541ad1144ad08d5613f9a28bcd2a8dc.tar.xz
ASoC: rockchip: Add machine driver for max98090 codec
The driver is used for rockchip board using a max98090. Reviewed-by: Dylan Reid <dgreid@chromium.org> Signed-off-by: zhengxing <zhengxing@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rockchip-max98090.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/rockchip-max98090.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip-max98090.txt b/Documentation/devicetree/bindings/sound/rockchip-max98090.txt
new file mode 100644
index 000000000000..a805aa99ad75
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/rockchip-max98090.txt
@@ -0,0 +1,19 @@
+ROCKCHIP with MAX98090 CODEC
+
+Required properties:
+- compatible: "rockchip,rockchip-audio-max98090"
+- rockchip,model: The user-visible name of this sound complex
+- rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's
+ connected to the CODEC
+- rockchip,audio-codec: The phandle of the MAX98090 audio codec
+- rockchip,headset-codec: The phandle of Ext chip for jack detection
+
+Example:
+
+sound {
+ compatible = "rockchip,rockchip-audio-max98090";
+ rockchip,model = "ROCKCHIP-I2S";
+ rockchip,i2s-controller = <&i2s>;
+ rockchip,audio-codec = <&max98090>;
+ rockchip,headset-codec = <&headsetcodec>;
+};