xref: /freebsd/sys/contrib/device-tree/Bindings/sound/rockchip-max98090.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1ROCKCHIP with MAX98090 CODEC
2
3Required 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
8
9Optional 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.
14
15Example:
16
17/* For max98090-only board. */
18sound {
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>;
24};
25
26/* For HDMI-only board. */
27sound {
28	compatible = "rockchip,rockchip-audio-max98090";
29	rockchip,model = "ROCKCHIP-I2S";
30	rockchip,i2s-controller = <&i2s>;
31	rockchip,hdmi-codec = <&hdmi>;
32};
33
34/* For max98090 plus HDMI board. */
35sound {
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>;
42};
43