Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | ROCKCHIP with MAX98090 CODEC |
| 2 | |
| 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 |
| 8 | |
| 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. |
| 14 | |
| 15 | Example: |
| 16 | |
| 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>; |
| 24 | }; |
| 25 | |
| 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>; |
| 32 | }; |
| 33 | |
| 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>; |
| 42 | }; |