brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 73577ac Raw
37 lines · plain
1ROCKCHIP RK3288 with HDMI and analog audio2 3Required properties:4- compatible: "rockchip,rk3288-hdmi-analog"5- rockchip,model: The user-visible name of this sound complex6- rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's7  connected to the CODEC8- rockchip,audio-codec: The phandle of the analog audio codec.9- rockchip,routing: A list of the connections between audio components.10		    Each entry is a pair of strings, the first being the11		    connection's sink, the second being the connection's12		    source. For this driver the first string should always be13		    "Analog".14 15Optional properties:16- rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the17  headphone (when the analog output is an headphone).18- rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone19  (when the analog output is an headphone).20- pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt21 22Example:23 24sound {25	compatible = "rockchip,rk3288-hdmi-analog";26	rockchip,model = "Analog audio output";27	rockchip,i2s-controller = <&i2s>;28	rockchip,audio-codec = <&es8388>;29	rockchip,routing = "Analog", "LOUT2",30			   "Analog", "ROUT2";31	rockchip,hp-en-gpios = <&gpio8 0 GPIO_ACTIVE_HIGH>;32	rockchip,hp-det-gpios = <&gpio7 7 GPIO_ACTIVE_HIGH>;33	pinctrl-names = "default";34	pinctrl-0 = <&headphone>;35};36 37