inno_hdmi-rockchip.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Rockchip specific extensions to the Innosilicon HDMI
  2. ================================
  3. Required properties:
  4. - compatible:
  5. "rockchip,rk3036-inno-hdmi";
  6. - reg:
  7. Physical base address and length of the controller's registers.
  8. - clocks, clock-names:
  9. Phandle to hdmi controller clock, name should be "pclk"
  10. - interrupts:
  11. HDMI interrupt number
  12. - ports:
  13. Contain one port node with endpoint definitions as defined in
  14. Documentation/devicetree/bindings/graph.txt.
  15. - pinctrl-0, pinctrl-name:
  16. Switch the iomux of HPD/CEC pins to HDMI function.
  17. Example:
  18. hdmi: hdmi@20034000 {
  19. compatible = "rockchip,rk3036-inno-hdmi";
  20. reg = <0x20034000 0x4000>;
  21. interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  22. clocks = <&cru PCLK_HDMI>;
  23. clock-names = "pclk";
  24. pinctrl-names = "default";
  25. pinctrl-0 = <&hdmi_ctl>;
  26. status = "disabled";
  27. hdmi_in: port {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. hdmi_in_lcdc: endpoint@0 {
  31. reg = <0>;
  32. remote-endpoint = <&lcdc_out_hdmi>;
  33. };
  34. };
  35. };
  36. &pinctrl {
  37. hdmi {
  38. hdmi_ctl: hdmi-ctl {
  39. rockchip,pins = <1 8 RK_FUNC_1 &pcfg_pull_none>,
  40. <1 9 RK_FUNC_1 &pcfg_pull_none>,
  41. <1 10 RK_FUNC_1 &pcfg_pull_none>,
  42. <1 11 RK_FUNC_1 &pcfg_pull_none>;
  43. };
  44. };
  45. };