rockchip,rk3288-hdmi-analog.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ROCKCHIP RK3288 with HDMI and analog audio
  2. Required properties:
  3. - compatible: "rockchip,rk3288-hdmi-analog"
  4. - rockchip,model: The user-visible name of this sound complex
  5. - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's
  6. connected to the CODEC
  7. - rockchip,audio-codec: The phandle of the analog audio codec.
  8. - rockchip,routing: A list of the connections between audio components.
  9. Each entry is a pair of strings, the first being the
  10. connection's sink, the second being the connection's
  11. source. For this driver the first string should always be
  12. "Analog".
  13. Optionnal properties:
  14. - rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the
  15. headphone (when the analog output is an headphone).
  16. - rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone
  17. (when the analog output is an headphone).
  18. - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt
  19. Example:
  20. sound {
  21. compatible = "rockchip,rk3288-hdmi-analog";
  22. rockchip,model = "Analog audio output";
  23. rockchip,i2s-controller = <&i2s>;
  24. rockchip,audio-codec = <&es8388>;
  25. rockchip,routing = "Analog", "LOUT2",
  26. "Analog", "ROUT2";
  27. rockchip,hp-en-gpios = <&gpio8 0 GPIO_ACTIVE_HIGH>;
  28. rockchip,hp-det-gpios = <&gpio7 7 GPIO_ACTIVE_HIGH>;
  29. pinctrl-names = "default";
  30. pinctrl-0 = <&headphone>;
  31. };