diff options
author | zhengxing <zhengxing@rock-chips.com> | 2015-07-19 13:33:48 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-20 19:15:07 +0200 |
commit | 49bdb0440541ad1144ad08d5613f9a28bcd2a8dc (patch) | |
tree | 867751ced03f3b0a0d1e00e2a77eaedd9cda4c66 /Documentation | |
parent | Linux 4.2-rc2 (diff) | |
download | linux-49bdb0440541ad1144ad08d5613f9a28bcd2a8dc.tar.xz linux-49bdb0440541ad1144ad08d5613f9a28bcd2a8dc.zip |
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')
-rw-r--r-- | Documentation/devicetree/bindings/sound/rockchip-max98090.txt | 19 |
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>; +}; |