arm,hdlcd.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. ARM HDLCD
  2. This is a display controller found on several development platforms produced
  3. by ARM Ltd and in more modern of its' Fast Models. The HDLCD is an RGB
  4. streamer that reads the data from a framebuffer and sends it to a single
  5. digital encoder (DVI or HDMI).
  6. Required properties:
  7. - compatible: "arm,hdlcd"
  8. - reg: Physical base address and length of the controller's registers.
  9. - interrupts: One interrupt used by the display controller to notify the
  10. interrupt controller when any of the interrupt sources programmed in
  11. the interrupt mask register have activated.
  12. - clocks: A list of phandle + clock-specifier pairs, one for each
  13. entry in 'clock-names'.
  14. - clock-names: A list of clock names. For HDLCD it should contain:
  15. - "pxlclk" for the clock feeding the output PLL of the controller.
  16. Required sub-nodes:
  17. - port: The HDLCD connection to an encoder chip. The connection is modeled
  18. using the OF graph bindings specified in
  19. Documentation/devicetree/bindings/graph.txt.
  20. Optional properties:
  21. - memory-region: phandle to a node describing memory (see
  22. Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt) to be
  23. used for the framebuffer; if not present, the framebuffer may be located
  24. anywhere in memory.
  25. Example:
  26. / {
  27. ...
  28. hdlcd@2b000000 {
  29. compatible = "arm,hdlcd";
  30. reg = <0 0x2b000000 0 0x1000>;
  31. interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
  32. clocks = <&oscclk5>;
  33. clock-names = "pxlclk";
  34. port {
  35. hdlcd_output: endpoint@0 {
  36. remote-endpoint = <&hdmi_enc_input>;
  37. };
  38. };
  39. };
  40. /* HDMI encoder on I2C bus */
  41. i2c@7ffa0000 {
  42. ....
  43. hdmi-transmitter@70 {
  44. compatible = ".....";
  45. reg = <0x70>;
  46. port@0 {
  47. hdmi_enc_input: endpoint {
  48. remote-endpoint = <&hdlcd_output>;
  49. };
  50. hdmi_enc_output: endpoint {
  51. remote-endpoint = <&hdmi_1_port>;
  52. };
  53. };
  54. };
  55. };
  56. hdmi1: connector@1 {
  57. compatible = "hdmi-connector";
  58. type = "a";
  59. port {
  60. hdmi_1_port: endpoint {
  61. remote-endpoint = <&hdmi_enc_output>;
  62. };
  63. };
  64. };
  65. ...
  66. };