Message ID | 20220530201436.902505-1-fparent@baylibre.com |
---|---|
State | New |
Headers | show |
Series | [1/7] dt-bindings: display: mediatek: dpi: add power-domains property | expand |
On 30/05/2022 22:14, Fabien Parent wrote: > Add MT8365 binding documentation for all the display components that are > compatible with the compatible string from other SoCs. > > Signed-off-by: Fabien Parent <fparent@baylibre.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> > --- > .../bindings/display/mediatek/mediatek,aal.yaml | 1 + > .../display/mediatek/mediatek,ccorr.yaml | 1 + > .../display/mediatek/mediatek,color.yaml | 1 + > .../display/mediatek/mediatek,dither.yaml | 1 + > .../bindings/display/mediatek/mediatek,dsi.yaml | 17 +++++++++++------ > .../display/mediatek/mediatek,gamma.yaml | 1 + > .../display/mediatek/mediatek,mutex.yaml | 1 + > .../bindings/display/mediatek/mediatek,ovl.yaml | 1 + > .../display/mediatek/mediatek,rdma.yaml | 1 + > 9 files changed, 19 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml > index d4d585485e7b..d47bc72f09c0 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml > @@ -33,6 +33,7 @@ properties: > - mediatek,mt8186-disp-aal > - mediatek,mt8192-disp-aal > - mediatek,mt8195-disp-aal > + - mediatek,mt8365-disp-aal > - const: mediatek,mt8183-disp-aal > > reg: > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml > index 63fb02014a56..fc999e614718 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml > @@ -32,6 +32,7 @@ properties: > - items: > - enum: > - mediatek,mt8186-disp-ccorr > + - mediatek,mt8365-disp-ccorr > - const: mediatek,mt8183-disp-ccorr > > reg: > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml > index d2f89ee7996f..9d081da433e8 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml > @@ -39,6 +39,7 @@ properties: > - mediatek,mt8186-disp-color > - mediatek,mt8192-disp-color > - mediatek,mt8195-disp-color > + - mediatek,mt8365-disp-color > - const: mediatek,mt8173-disp-color > reg: > maxItems: 1 > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml > index 8ad8187c02d1..a7706cd65675 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml > @@ -29,6 +29,7 @@ properties: > - mediatek,mt8186-disp-dither > - mediatek,mt8192-disp-dither > - mediatek,mt8195-disp-dither > + - mediatek,mt8365-disp-dither > - const: mediatek,mt8183-disp-dither > > reg: > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml > index fa5bdf28668a..d17ea215960c 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml > @@ -22,12 +22,17 @@ allOf: > > properties: > compatible: > - enum: > - - mediatek,mt2701-dsi > - - mediatek,mt7623-dsi > - - mediatek,mt8167-dsi > - - mediatek,mt8173-dsi > - - mediatek,mt8183-dsi > + oneOf: > + - enum: > + - mediatek,mt2701-dsi > + - mediatek,mt7623-dsi > + - mediatek,mt8167-dsi > + - mediatek,mt8173-dsi > + - mediatek,mt8183-dsi > + - items: > + - enum: > + - mediatek,mt8365-dsi > + - const: mediatek,mt8183-dsi > > reg: > maxItems: 1 > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml > index a89ea0ea7542..f54859cfc97b 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml > @@ -30,6 +30,7 @@ properties: > - mediatek,mt8186-disp-gamma > - mediatek,mt8192-disp-gamma > - mediatek,mt8195-disp-gamma > + - mediatek,mt8365-disp-gamma > - const: mediatek,mt8183-disp-gamma > > reg: > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml > index 3fdad71210b4..f4a12dfae77b 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml > @@ -32,6 +32,7 @@ properties: > - mediatek,mt8186-disp-mutex > - mediatek,mt8192-disp-mutex > - mediatek,mt8195-disp-mutex > + - mediatek,mt8365-disp-mutex > > reg: > maxItems: 1 > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml > index a2a27d0ca038..20e4ca4fc915 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml > @@ -41,6 +41,7 @@ properties: > - items: > - enum: > - mediatek,mt8186-disp-ovl > + - mediatek,mt8365-disp-ovl > - const: mediatek,mt8192-disp-ovl > > reg: > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml > index 0882ae86e6c4..3bc914785976 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml > @@ -40,6 +40,7 @@ properties: > - enum: > - mediatek,mt8186-disp-rdma > - mediatek,mt8192-disp-rdma > + - mediatek,mt8365-disp-rdma > - const: mediatek,mt8183-disp-rdma > > reg:
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index 77ee1b923991..caf4c88708f4 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -57,6 +57,9 @@ properties: Output port node. This port should be connected to the input port of an attached HDMI or LVDS encoder chip. + power-domains: + maxItems: 1 + required: - compatible - reg @@ -64,6 +67,7 @@ required: - clocks - clock-names - port + - power-domains additionalProperties: false @@ -71,11 +75,13 @@ examples: - | #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/clock/mt8173-clk.h> + #include <dt-bindings/power/mt8183-power.h> dpi0: dpi@1401d000 { compatible = "mediatek,mt8173-dpi"; reg = <0x1401d000 0x1000>; interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8173_POWER_DOMAIN_MM>; clocks = <&mmsys CLK_MM_DPI_PIXEL>, <&mmsys CLK_MM_DPI_ENGINE>, <&apmixedsys CLK_APMIXED_TVDPLL>;
DPI is part of the display / multimedia block in MediaTek SoCs, and always have a power-domain (at least in the upstream device-trees). Add the power-domains property to the binding documentation. Signed-off-by: Fabien Parent <fparent@baylibre.com> --- .../devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 6 ++++++ 1 file changed, 6 insertions(+)