Merge tag 'trace-v4.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / rockchip,rk3288-hdmi-analog.txt
1 ROCKCHIP RK3288 with HDMI and analog audio
2
3 Required properties:
4 - compatible: "rockchip,rk3288-hdmi-analog"
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 - 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 the
11                     connection's sink, the second being the connection's
12                     source. For this driver the first string should always be
13                     "Analog".
14
15 Optionnal properties:
16 - rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the
17   headphone (when the analog output is an headphone).
18 - rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone
19   (when the analog output is an headphone).
20 - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt
21
22 Example:
23
24 sound {
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