18c2ecf20Sopenharmony_ciROCKCHIP RK3288 with HDMI and analog audio 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: "rockchip,rk3288-hdmi-analog" 58c2ecf20Sopenharmony_ci- rockchip,model: The user-visible name of this sound complex 68c2ecf20Sopenharmony_ci- rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's 78c2ecf20Sopenharmony_ci connected to the CODEC 88c2ecf20Sopenharmony_ci- rockchip,audio-codec: The phandle of the analog audio codec. 98c2ecf20Sopenharmony_ci- rockchip,routing: A list of the connections between audio components. 108c2ecf20Sopenharmony_ci Each entry is a pair of strings, the first being the 118c2ecf20Sopenharmony_ci connection's sink, the second being the connection's 128c2ecf20Sopenharmony_ci source. For this driver the first string should always be 138c2ecf20Sopenharmony_ci "Analog". 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciOptionnal properties: 168c2ecf20Sopenharmony_ci- rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the 178c2ecf20Sopenharmony_ci headphone (when the analog output is an headphone). 188c2ecf20Sopenharmony_ci- rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone 198c2ecf20Sopenharmony_ci (when the analog output is an headphone). 208c2ecf20Sopenharmony_ci- pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciExample: 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_cisound { 258c2ecf20Sopenharmony_ci compatible = "rockchip,rk3288-hdmi-analog"; 268c2ecf20Sopenharmony_ci rockchip,model = "Analog audio output"; 278c2ecf20Sopenharmony_ci rockchip,i2s-controller = <&i2s>; 288c2ecf20Sopenharmony_ci rockchip,audio-codec = <&es8388>; 298c2ecf20Sopenharmony_ci rockchip,routing = "Analog", "LOUT2", 308c2ecf20Sopenharmony_ci "Analog", "ROUT2"; 318c2ecf20Sopenharmony_ci rockchip,hp-en-gpios = <&gpio8 0 GPIO_ACTIVE_HIGH>; 328c2ecf20Sopenharmony_ci rockchip,hp-det-gpios = <&gpio7 7 GPIO_ACTIVE_HIGH>; 338c2ecf20Sopenharmony_ci pinctrl-names = "default"; 348c2ecf20Sopenharmony_ci pinctrl-0 = <&headphone>; 358c2ecf20Sopenharmony_ci}; 368c2ecf20Sopenharmony_ci 37