Message ID | 20240820080659.2136906-2-rohiagar@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Devicetree updates for MT8186 | expand |
On Tue, Aug 20, 2024 at 08:06:57AM +0000, Rohit Agarwal wrote: > Add power domain binding to the mediatek DPI controller. Why? Who needs it? Why all devices suddenly have it (IOW, why is it not constrained anyhow per variant)? > > Signed-off-by: Rohit Agarwal <rohiagar@chromium.org> > --- > .../devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 3 +++ > 1 file changed, 3 insertions(+) Best regards, Krzysztof
On 20/08/24 4:40 PM, Krzysztof Kozlowski wrote: > On Tue, Aug 20, 2024 at 08:06:57AM +0000, Rohit Agarwal wrote: >> Add power domain binding to the mediatek DPI controller. > Why? Who needs it? Why all devices suddenly have it (IOW, why is it not > constrained anyhow per variant)? > Ok, my intent was to introduce only for this particular variant. Let me constrain it to this particular compatible. Thanks, Rohit. >> Signed-off-by: Rohit Agarwal <rohiagar@chromium.org> >> --- >> .../devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 3 +++ >> 1 file changed, 3 insertions(+) > Best regards, > Krzysztof >
On 20/08/2024 14:18, Rohit Agarwal wrote: > > On 20/08/24 4:40 PM, Krzysztof Kozlowski wrote: >> On Tue, Aug 20, 2024 at 08:06:57AM +0000, Rohit Agarwal wrote: >>> Add power domain binding to the mediatek DPI controller. >> Why? Who needs it? Why all devices suddenly have it (IOW, why is it not >> constrained anyhow per variant)? >> > Ok, my intent was to introduce only for this particular variant. > Let me constrain it to this particular compatible. Then add property in top-level properties and in if:then: disallow it for older devices. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index 5ca7679d5427..10b8572dd922 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -62,6 +62,9 @@ properties: - const: default - const: sleep + power-domains: + maxItems: 1 + port: $ref: /schemas/graph.yaml#/properties/port description:
Add power domain binding to the mediatek DPI controller. Signed-off-by: Rohit Agarwal <rohiagar@chromium.org> --- .../devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 3 +++ 1 file changed, 3 insertions(+)