dw_hdmi.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. DesignWare HDMI bridge bindings
  2. Required properties:
  3. - compatible: platform specific such as:
  4. * "snps,dw-hdmi-tx"
  5. * "fsl,imx6q-hdmi"
  6. * "fsl,imx6dl-hdmi"
  7. * "rockchip,rk3288-dw-hdmi"
  8. - reg: Physical base address and length of the controller's registers.
  9. - interrupts: The HDMI interrupt number
  10. - clocks, clock-names : must have the phandles to the HDMI iahb and isfr clocks,
  11. as described in Documentation/devicetree/bindings/clock/clock-bindings.txt,
  12. the clocks are soc specific, the clock-names should be "iahb", "isfr"
  13. -port@[X]: SoC specific port nodes with endpoint definitions as defined
  14. in Documentation/devicetree/bindings/media/video-interfaces.txt,
  15. please refer to the SoC specific binding document:
  16. * Documentation/devicetree/bindings/display/imx/hdmi.txt
  17. * Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt
  18. Optional properties
  19. - reg-io-width: the width of the reg:1,4, default set to 1 if not present
  20. - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
  21. - clocks, clock-names: phandle to the HDMI CEC clock, name should be "cec"
  22. Example:
  23. hdmi: hdmi@0120000 {
  24. compatible = "fsl,imx6q-hdmi";
  25. reg = <0x00120000 0x9000>;
  26. interrupts = <0 115 0x04>;
  27. gpr = <&gpr>;
  28. clocks = <&clks 123>, <&clks 124>;
  29. clock-names = "iahb", "isfr";
  30. ddc-i2c-bus = <&i2c2>;
  31. port@0 {
  32. reg = <0>;
  33. hdmi_mux_0: endpoint {
  34. remote-endpoint = <&ipu1_di0_hdmi>;
  35. };
  36. };
  37. port@1 {
  38. reg = <1>;
  39. hdmi_mux_1: endpoint {
  40. remote-endpoint = <&ipu1_di1_hdmi>;
  41. };
  42. };
  43. };