fsl,imx93-mipi-dsi.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/bridge/fsl,imx93-mipi-dsi.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Freescale i.MX93 specific extensions to Synopsys Designware MIPI DSI
  7. maintainers:
  8. - Liu Ying <victor.liu@nxp.com>
  9. description: |
  10. There is a Synopsys Designware MIPI DSI Host Controller and a Synopsys
  11. Designware MIPI DPHY embedded in Freescale i.MX93 SoC. Some configurations
  12. and extensions to them are controlled by i.MX93 media blk-ctrl.
  13. allOf:
  14. - $ref: snps,dw-mipi-dsi.yaml#
  15. properties:
  16. compatible:
  17. const: fsl,imx93-mipi-dsi
  18. clocks:
  19. items:
  20. - description: apb clock
  21. - description: pixel clock
  22. - description: PHY configuration clock
  23. - description: PHY reference clock
  24. clock-names:
  25. items:
  26. - const: pclk
  27. - const: pix
  28. - const: phy_cfg
  29. - const: phy_ref
  30. interrupts:
  31. maxItems: 1
  32. fsl,media-blk-ctrl:
  33. $ref: /schemas/types.yaml#/definitions/phandle
  34. description:
  35. i.MX93 media blk-ctrl, as a syscon, controls pixel component bit map
  36. configurations from LCDIF display controller to the MIPI DSI host
  37. controller and MIPI DPHY PLL related configurations through PLL SoC
  38. interface.
  39. power-domains:
  40. maxItems: 1
  41. required:
  42. - compatible
  43. - interrupts
  44. - fsl,media-blk-ctrl
  45. - power-domains
  46. unevaluatedProperties: false
  47. examples:
  48. - |
  49. #include <dt-bindings/clock/imx93-clock.h>
  50. #include <dt-bindings/gpio/gpio.h>
  51. #include <dt-bindings/interrupt-controller/arm-gic.h>
  52. #include <dt-bindings/power/fsl,imx93-power.h>
  53. dsi@4ae10000 {
  54. compatible = "fsl,imx93-mipi-dsi";
  55. reg = <0x4ae10000 0x10000>;
  56. interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
  57. clocks = <&clk IMX93_CLK_MIPI_DSI_GATE>,
  58. <&clk IMX93_CLK_MEDIA_DISP_PIX>,
  59. <&clk IMX93_CLK_MIPI_PHY_CFG>,
  60. <&clk IMX93_CLK_24M>;
  61. clock-names = "pclk", "pix", "phy_cfg", "phy_ref";
  62. fsl,media-blk-ctrl = <&media_blk_ctrl>;
  63. power-domains = <&media_blk_ctrl IMX93_MEDIABLK_PD_MIPI_DSI>;
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. panel@0 {
  67. compatible = "raydium,rm67191";
  68. reg = <0>;
  69. reset-gpios = <&adp5585gpio 6 GPIO_ACTIVE_LOW>;
  70. dsi-lanes = <4>;
  71. video-mode = <2>;
  72. port {
  73. panel_in: endpoint {
  74. remote-endpoint = <&dsi_out>;
  75. };
  76. };
  77. };
  78. ports {
  79. #address-cells = <1>;
  80. #size-cells = <0>;
  81. port@0 {
  82. reg = <0>;
  83. dsi_to_lcdif: endpoint {
  84. remote-endpoint = <&lcdif_to_dsi>;
  85. };
  86. };
  87. port@1 {
  88. reg = <1>;
  89. dsi_out: endpoint {
  90. remote-endpoint = <&panel_in>;
  91. };
  92. };
  93. };
  94. };