| .. | .. |
|---|
| 27 | 27 | |
|---|
| 28 | 28 | Required properties (all function blocks): |
|---|
| 29 | 29 | - compatible: "mediatek,<chip>-disp-<function>", one of |
|---|
| 30 | | - "mediatek,<chip>-disp-ovl" - overlay (4 layers, blending, csc) |
|---|
| 31 | | - "mediatek,<chip>-disp-rdma" - read DMA / line buffer |
|---|
| 32 | | - "mediatek,<chip>-disp-wdma" - write DMA |
|---|
| 33 | | - "mediatek,<chip>-disp-color" - color processor |
|---|
| 34 | | - "mediatek,<chip>-disp-aal" - adaptive ambient light controller |
|---|
| 35 | | - "mediatek,<chip>-disp-gamma" - gamma correction |
|---|
| 36 | | - "mediatek,<chip>-disp-merge" - merge streams from two RDMA sources |
|---|
| 37 | | - "mediatek,<chip>-disp-split" - split stream to two encoders |
|---|
| 38 | | - "mediatek,<chip>-disp-ufoe" - data compression engine |
|---|
| 39 | | - "mediatek,<chip>-dsi" - DSI controller, see mediatek,dsi.txt |
|---|
| 40 | | - "mediatek,<chip>-dpi" - DPI controller, see mediatek,dpi.txt |
|---|
| 41 | | - "mediatek,<chip>-disp-mutex" - display mutex |
|---|
| 42 | | - "mediatek,<chip>-disp-od" - overdrive |
|---|
| 43 | | - the supported chips are mt2701, mt2712 and mt8173. |
|---|
| 30 | + "mediatek,<chip>-disp-ovl" - overlay (4 layers, blending, csc) |
|---|
| 31 | + "mediatek,<chip>-disp-ovl-2l" - overlay (2 layers, blending, csc) |
|---|
| 32 | + "mediatek,<chip>-disp-rdma" - read DMA / line buffer |
|---|
| 33 | + "mediatek,<chip>-disp-wdma" - write DMA |
|---|
| 34 | + "mediatek,<chip>-disp-ccorr" - color correction |
|---|
| 35 | + "mediatek,<chip>-disp-color" - color processor |
|---|
| 36 | + "mediatek,<chip>-disp-dither" - dither |
|---|
| 37 | + "mediatek,<chip>-disp-aal" - adaptive ambient light controller |
|---|
| 38 | + "mediatek,<chip>-disp-gamma" - gamma correction |
|---|
| 39 | + "mediatek,<chip>-disp-merge" - merge streams from two RDMA sources |
|---|
| 40 | + "mediatek,<chip>-disp-split" - split stream to two encoders |
|---|
| 41 | + "mediatek,<chip>-disp-ufoe" - data compression engine |
|---|
| 42 | + "mediatek,<chip>-dsi" - DSI controller, see mediatek,dsi.txt |
|---|
| 43 | + "mediatek,<chip>-dpi" - DPI controller, see mediatek,dpi.txt |
|---|
| 44 | + "mediatek,<chip>-disp-mutex" - display mutex |
|---|
| 45 | + "mediatek,<chip>-disp-od" - overdrive |
|---|
| 46 | + the supported chips are mt2701, mt7623, mt2712 and mt8173. |
|---|
| 44 | 47 | - reg: Physical base address and length of the function block register space |
|---|
| 45 | 48 | - interrupts: The interrupt signal from the function block (required, except for |
|---|
| 46 | 49 | merge and split function blocks). |
|---|
| .. | .. |
|---|
| 49 | 52 | For most function blocks this is just a single clock input. Only the DSI and |
|---|
| 50 | 53 | DPI controller nodes have multiple clock inputs. These are documented in |
|---|
| 51 | 54 | mediatek,dsi.txt and mediatek,dpi.txt, respectively. |
|---|
| 55 | + An exception is that the mt8183 mutex is always free running with no clocks property. |
|---|
| 52 | 56 | |
|---|
| 53 | 57 | Required properties (DMA function blocks): |
|---|
| 54 | 58 | - compatible: Should be one of |
|---|
| .. | .. |
|---|
| 59 | 63 | - larb: Should contain a phandle pointing to the local arbiter device as defined |
|---|
| 60 | 64 | in Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.txt |
|---|
| 61 | 65 | - iommus: Should point to the respective IOMMU block with master port as |
|---|
| 62 | | - argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.txt |
|---|
| 66 | + argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml |
|---|
| 63 | 67 | for details. |
|---|
| 64 | 68 | |
|---|
| 65 | 69 | Examples: |
|---|