1 ROCKCHIP with MAX98090 CODEC 1 ROCKCHIP with MAX98090 CODEC 2 2 3 Required properties: 3 Required properties: 4 - compatible: "rockchip,rockchip-audio-max9809 4 - compatible: "rockchip,rockchip-audio-max98090" 5 - rockchip,model: The user-visible name of thi 5 - rockchip,model: The user-visible name of this sound complex 6 - rockchip,i2s-controller: The phandle of the 6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's 7 connected to the CODEC 7 connected to the CODEC 8 8 9 Optional properties: 9 Optional properties: 10 - rockchip,audio-codec: The phandle of the MAX 10 - rockchip,audio-codec: The phandle of the MAX98090 audio codec. 11 - rockchip,headset-codec: The phandle of Ext c 11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is 12 required if there is 12 required if there is rockchip,audio-codec. 13 - rockchip,hdmi-codec: The phandle of HDMI dev 13 - rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec. 14 14 15 Example: 15 Example: 16 16 17 /* For max98090-only board. */ 17 /* For max98090-only board. */ 18 sound { 18 sound { 19 compatible = "rockchip,rockchip-audio- 19 compatible = "rockchip,rockchip-audio-max98090"; 20 rockchip,model = "ROCKCHIP-I2S"; 20 rockchip,model = "ROCKCHIP-I2S"; 21 rockchip,i2s-controller = <&i2s>; 21 rockchip,i2s-controller = <&i2s>; 22 rockchip,audio-codec = <&max98090>; 22 rockchip,audio-codec = <&max98090>; 23 rockchip,headset-codec = <&headsetcode 23 rockchip,headset-codec = <&headsetcodec>; 24 }; 24 }; 25 25 26 /* For HDMI-only board. */ 26 /* For HDMI-only board. */ 27 sound { 27 sound { 28 compatible = "rockchip,rockchip-audio- 28 compatible = "rockchip,rockchip-audio-max98090"; 29 rockchip,model = "ROCKCHIP-I2S"; 29 rockchip,model = "ROCKCHIP-I2S"; 30 rockchip,i2s-controller = <&i2s>; 30 rockchip,i2s-controller = <&i2s>; 31 rockchip,hdmi-codec = <&hdmi>; 31 rockchip,hdmi-codec = <&hdmi>; 32 }; 32 }; 33 33 34 /* For max98090 plus HDMI board. */ 34 /* For max98090 plus HDMI board. */ 35 sound { 35 sound { 36 compatible = "rockchip,rockchip-audio- 36 compatible = "rockchip,rockchip-audio-max98090"; 37 rockchip,model = "ROCKCHIP-I2S"; 37 rockchip,model = "ROCKCHIP-I2S"; 38 rockchip,i2s-controller = <&i2s>; 38 rockchip,i2s-controller = <&i2s>; 39 rockchip,audio-codec = <&max98090>; 39 rockchip,audio-codec = <&max98090>; 40 rockchip,headset-codec = <&headsetcode 40 rockchip,headset-codec = <&headsetcodec>; 41 rockchip,hdmi-codec = <&hdmi>; 41 rockchip,hdmi-codec = <&hdmi>; 42 }; 42 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.