rockchip-vop.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. device-tree bindings for rockchip soc display controller (vop)
  2. VOP (Visual Output Processor) is the Display Controller for the Rockchip
  3. series of SoCs which transfers the image data from a video memory
  4. buffer to an external LCD interface.
  5. Required properties:
  6. - compatible: value should be one of the following
  7. "rockchip,rk3036-vop";
  8. "rockchip,rk3126-vop";
  9. "rockchip,rk3288-vop";
  10. "rockchip,rk3368-vop";
  11. "rockchip,rk3366-vop";
  12. "rockchip,rk3399-vop-big";
  13. "rockchip,rk3399-vop-lit";
  14. "rockchip,rk3228-vop";
  15. "rockchip,rk3328-vop";
  16. - interrupts: should contain a list of all VOP IP block interrupts in the
  17. order: VSYNC, LCD_SYSTEM. The interrupt specifier
  18. format depends on the interrupt controller used.
  19. - clocks: must include clock specifiers corresponding to entries in the
  20. clock-names property.
  21. - clock-names: Must contain
  22. aclk_vop: for ddr buffer transfer.
  23. hclk_vop: for ahb bus to R/W the phy regs.
  24. dclk_vop: pixel clock.
  25. - resets: Must contain an entry for each entry in reset-names.
  26. See ../reset/reset.txt for details.
  27. - reset-names: Must include the following entries:
  28. - axi
  29. - ahb
  30. - dclk
  31. - iommus: required a iommu node
  32. - port: A port node with endpoint definitions as defined in
  33. Documentation/devicetree/bindings/media/video-interfaces.txt.
  34. Example:
  35. SoC specific DT entry:
  36. vopb: vopb@ff930000 {
  37. compatible = "rockchip,rk3288-vop";
  38. reg = <0xff930000 0x19c>;
  39. interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
  40. clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>;
  41. clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
  42. resets = <&cru SRST_LCDC1_AXI>, <&cru SRST_LCDC1_AHB>, <&cru SRST_LCDC1_DCLK>;
  43. reset-names = "axi", "ahb", "dclk";
  44. iommus = <&vopb_mmu>;
  45. vopb_out: port {
  46. #address-cells = <1>;
  47. #size-cells = <0>;
  48. vopb_out_edp: endpoint@0 {
  49. reg = <0>;
  50. remote-endpoint=<&edp_in_vopb>;
  51. };
  52. vopb_out_hdmi: endpoint@1 {
  53. reg = <1>;
  54. remote-endpoint=<&hdmi_in_vopb>;
  55. };
  56. };
  57. };