treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / sound / rockchip-max98090.txt
blobe9c58b2043994bc1b5cea10e774a73d911bc37e3
1 ROCKCHIP with MAX98090 CODEC
3 Required properties:
4 - compatible: "rockchip,rockchip-audio-max98090"
5 - rockchip,model: The user-visible name of this sound complex
6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's
7   connected to the CODEC
9 Optional properties:
10 - rockchip,audio-codec: The phandle of the MAX98090 audio codec.
11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is
12                           required if there is rockchip,audio-codec.
13 - rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec.
15 Example:
17 /* For max98090-only board. */
18 sound {
19         compatible = "rockchip,rockchip-audio-max98090";
20         rockchip,model = "ROCKCHIP-I2S";
21         rockchip,i2s-controller = <&i2s>;
22         rockchip,audio-codec = <&max98090>;
23         rockchip,headset-codec = <&headsetcodec>;
26 /* For HDMI-only board. */
27 sound {
28         compatible = "rockchip,rockchip-audio-max98090";
29         rockchip,model = "ROCKCHIP-I2S";
30         rockchip,i2s-controller = <&i2s>;
31         rockchip,hdmi-codec = <&hdmi>;
34 /* For max98090 plus HDMI board. */
35 sound {
36         compatible = "rockchip,rockchip-audio-max98090";
37         rockchip,model = "ROCKCHIP-I2S";
38         rockchip,i2s-controller = <&i2s>;
39         rockchip,audio-codec = <&max98090>;
40         rockchip,headset-codec = <&headsetcodec>;
41         rockchip,hdmi-codec = <&hdmi>;