summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/rockchip-max98090.txt
blob: e9c58b2043994bc1b5cea10e774a73d911bc37e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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

Optional properties:
- rockchip,audio-codec: The phandle of the MAX98090 audio codec.
- rockchip,headset-codec: The phandle of Ext chip for jack detection. This is
                          required if there is rockchip,audio-codec.
- rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec.

Example:

/* For max98090-only board. */
sound {
	compatible = "rockchip,rockchip-audio-max98090";
	rockchip,model = "ROCKCHIP-I2S";
	rockchip,i2s-controller = <&i2s>;
	rockchip,audio-codec = <&max98090>;
	rockchip,headset-codec = <&headsetcodec>;
};

/* For HDMI-only board. */
sound {
	compatible = "rockchip,rockchip-audio-max98090";
	rockchip,model = "ROCKCHIP-I2S";
	rockchip,i2s-controller = <&i2s>;
	rockchip,hdmi-codec = <&hdmi>;
};

/* For max98090 plus HDMI board. */
sound {
	compatible = "rockchip,rockchip-audio-max98090";
	rockchip,model = "ROCKCHIP-I2S";
	rockchip,i2s-controller = <&i2s>;
	rockchip,audio-codec = <&max98090>;
	rockchip,headset-codec = <&headsetcodec>;
	rockchip,hdmi-codec = <&hdmi>;
};