dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes
@ 2023-01-18  3:24 Dmitry Baryshkov
  2023-01-18  3:24 ` [PATCH 1/4] dt-bindings: display/msm: dsi-controller-main: remove #address/#size-cells Dmitry Baryshkov
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Dmitry Baryshkov @ 2023-01-18  3:24 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Clark, Sean Paul,
	Abhinav Kumar, Rob Herring, Krzysztof Kozlowski
  Cc: devicetree, linux-arm-msm, dri-devel, Stephen Boyd, freedreno

A small set of patches to go on top of Bryan's changes to fix a small
number of remaining issues.

Dependencies: [1]

[1] https://lore.kernel.org/linux-arm-msm/20230116225217.1056258-1-bryan.odonoghue@linaro.org/

Dmitry Baryshkov (4):
  dt-bindings: display/msm: dsi-controller-main: remove
    #address/#size-cells
  dt-bindings: display/msm: dsi-controller-main: account for apq8064
  dt-bindings: display/msm: dsi-controller-main: allow using fewer lanes
  dt-binbings: display/msm: dsi-controller-main: add missing supplies

 .../display/msm/dsi-controller-main.yaml      | 26 ++++++++++++-------
 1 file changed, 17 insertions(+), 9 deletions(-)

-- 
2.39.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/4] dt-bindings: display/msm: dsi-controller-main: remove #address/#size-cells
  2023-01-18  3:24 [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes Dmitry Baryshkov
@ 2023-01-18  3:24 ` Dmitry Baryshkov
  2023-01-18 16:39   ` Rob Herring
  2023-01-18  3:24 ` [PATCH 2/4] dt-bindings: display/msm: dsi-controller-main: account for apq8064 Dmitry Baryshkov
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Dmitry Baryshkov @ 2023-01-18  3:24 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Clark, Sean Paul,
	Abhinav Kumar, Rob Herring, Krzysztof Kozlowski
  Cc: devicetree, linux-arm-msm, dri-devel, Stephen Boyd, freedreno

Stop mentioning #address-cells/#size-cells which are defined in
display/dsi-controller.yaml. Use unevaluatedProperties instead of
additionalProperties to allow skipping properties defined in other
schema files.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 .../bindings/display/msm/dsi-controller-main.yaml           | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
index 7c326f8927fc..b07bdddc1570 100644
--- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
@@ -72,10 +72,6 @@ properties:
     deprecated: true
     const: dsi
 
-  "#address-cells": true
-
-  "#size-cells": true
-
   syscon-sfpb:
     description: A phandle to mmss_sfpb syscon node (only for DSIv2).
     $ref: "/schemas/types.yaml#/definitions/phandle"
@@ -357,7 +353,7 @@ allOf:
             - const: iface
             - const: bus
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/4] dt-bindings: display/msm: dsi-controller-main: account for apq8064
  2023-01-18  3:24 [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes Dmitry Baryshkov
  2023-01-18  3:24 ` [PATCH 1/4] dt-bindings: display/msm: dsi-controller-main: remove #address/#size-cells Dmitry Baryshkov
@ 2023-01-18  3:24 ` Dmitry Baryshkov
  2023-01-18 16:39   ` Rob Herring
  2023-01-18  3:24 ` [PATCH 3/4] dt-bindings: display/msm: dsi-controller-main: allow using fewer lanes Dmitry Baryshkov
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Dmitry Baryshkov @ 2023-01-18  3:24 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Clark, Sean Paul,
	Abhinav Kumar, Rob Herring, Krzysztof Kozlowski
  Cc: devicetree, linux-arm-msm, dri-devel, Stephen Boyd, freedreno

APQ8064 requires listing four clocks in the assigned-clocks /
assigned-clock-parents properties. Account for that.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 .../bindings/display/msm/dsi-controller-main.yaml         | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
index b07bdddc1570..357036470b1f 100644
--- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
@@ -83,12 +83,16 @@ properties:
       2 DSI links.
 
   assigned-clocks:
-    maxItems: 2
+    minItems: 2
+    maxItems: 4
     description: |
       Parents of "byte" and "pixel" for the given platform.
+      For DSIv2 platforms this should contain "byte", "esc", "src" and
+      "pixel_src" clocks.
 
   assigned-clock-parents:
-    maxItems: 2
+    minItems: 2
+    maxItems: 4
     description: |
       The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block.
 
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 3/4] dt-bindings: display/msm: dsi-controller-main: allow using fewer lanes
  2023-01-18  3:24 [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes Dmitry Baryshkov
  2023-01-18  3:24 ` [PATCH 1/4] dt-bindings: display/msm: dsi-controller-main: remove #address/#size-cells Dmitry Baryshkov
  2023-01-18  3:24 ` [PATCH 2/4] dt-bindings: display/msm: dsi-controller-main: account for apq8064 Dmitry Baryshkov
@ 2023-01-18  3:24 ` Dmitry Baryshkov
  2023-01-18 16:40   ` Rob Herring
  2023-01-18  3:24 ` [PATCH 4/4] dt-binbings: display/msm: dsi-controller-main: add missing supplies Dmitry Baryshkov
  2023-01-26 19:00 ` [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes Dmitry Baryshkov
  4 siblings, 1 reply; 11+ messages in thread
From: Dmitry Baryshkov @ 2023-01-18  3:24 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Clark, Sean Paul,
	Abhinav Kumar, Rob Herring, Krzysztof Kozlowski
  Cc: devicetree, linux-arm-msm, dri-devel, Stephen Boyd, freedreno

Some platforms might use less than full 4 lanes DSI interface. Allow
using any amount of lanes starting from 1 up to 4.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 .../devicetree/bindings/display/msm/dsi-controller-main.yaml  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
index 357036470b1f..dc318762ef7a 100644
--- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
@@ -123,7 +123,7 @@ properties:
             properties:
               data-lanes:
                 maxItems: 4
-                minItems: 4
+                minItems: 1
                 items:
                   enum: [ 0, 1, 2, 3 ]
 
@@ -139,7 +139,7 @@ properties:
             properties:
               data-lanes:
                 maxItems: 4
-                minItems: 4
+                minItems: 1
                 items:
                   enum: [ 0, 1, 2, 3 ]
 
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 4/4] dt-binbings: display/msm: dsi-controller-main: add missing supplies
  2023-01-18  3:24 [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes Dmitry Baryshkov
                   ` (2 preceding siblings ...)
  2023-01-18  3:24 ` [PATCH 3/4] dt-bindings: display/msm: dsi-controller-main: allow using fewer lanes Dmitry Baryshkov
@ 2023-01-18  3:24 ` Dmitry Baryshkov
  2023-01-18 16:40   ` Rob Herring
  2023-01-26 19:00 ` [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes Dmitry Baryshkov
  4 siblings, 1 reply; 11+ messages in thread
From: Dmitry Baryshkov @ 2023-01-18  3:24 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Clark, Sean Paul,
	Abhinav Kumar, Rob Herring, Krzysztof Kozlowski
  Cc: devicetree, linux-arm-msm, dri-devel, Stephen Boyd, freedreno

Describe DSI supplies used on apq8064 (vdda-supply) and msm8994/96
(vcca-supply).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 .../bindings/display/msm/dsi-controller-main.yaml         | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
index dc318762ef7a..31d389249c1d 100644
--- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
@@ -147,6 +147,14 @@ properties:
       - port@0
       - port@1
 
+  avdd-supply:
+    description:
+      Phandle to vdd regulator device node
+
+  vcca-supply:
+    description:
+      Phandle to vdd regulator device node
+
   vdd-supply:
     description:
       VDD regulator
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/4] dt-bindings: display/msm: dsi-controller-main: remove #address/#size-cells
  2023-01-18  3:24 ` [PATCH 1/4] dt-bindings: display/msm: dsi-controller-main: remove #address/#size-cells Dmitry Baryshkov
@ 2023-01-18 16:39   ` Rob Herring
  0 siblings, 0 replies; 11+ messages in thread
From: Rob Herring @ 2023-01-18 16:39 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Sean Paul, devicetree, Krzysztof Kozlowski, linux-arm-msm,
	Bjorn Andersson, Abhinav Kumar, Rob Herring, Stephen Boyd,
	Konrad Dybcio, Andy Gross, dri-devel, freedreno


On Wed, 18 Jan 2023 05:24:29 +0200, Dmitry Baryshkov wrote:
> Stop mentioning #address-cells/#size-cells which are defined in
> display/dsi-controller.yaml. Use unevaluatedProperties instead of
> additionalProperties to allow skipping properties defined in other
> schema files.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>  .../bindings/display/msm/dsi-controller-main.yaml           | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 2/4] dt-bindings: display/msm: dsi-controller-main: account for apq8064
  2023-01-18  3:24 ` [PATCH 2/4] dt-bindings: display/msm: dsi-controller-main: account for apq8064 Dmitry Baryshkov
@ 2023-01-18 16:39   ` Rob Herring
  0 siblings, 0 replies; 11+ messages in thread
From: Rob Herring @ 2023-01-18 16:39 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: devicetree, Sean Paul, Bjorn Andersson, Abhinav Kumar, dri-devel,
	Stephen Boyd, Konrad Dybcio, Rob Herring, Andy Gross,
	Krzysztof Kozlowski, linux-arm-msm, freedreno


On Wed, 18 Jan 2023 05:24:30 +0200, Dmitry Baryshkov wrote:
> APQ8064 requires listing four clocks in the assigned-clocks /
> assigned-clock-parents properties. Account for that.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>  .../bindings/display/msm/dsi-controller-main.yaml         | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 3/4] dt-bindings: display/msm: dsi-controller-main: allow using fewer lanes
  2023-01-18  3:24 ` [PATCH 3/4] dt-bindings: display/msm: dsi-controller-main: allow using fewer lanes Dmitry Baryshkov
@ 2023-01-18 16:40   ` Rob Herring
  0 siblings, 0 replies; 11+ messages in thread
From: Rob Herring @ 2023-01-18 16:40 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: freedreno, devicetree, linux-arm-msm, Bjorn Andersson,
	Abhinav Kumar, dri-devel, Stephen Boyd, Konrad Dybcio,
	Rob Herring, Andy Gross, Krzysztof Kozlowski, Sean Paul


On Wed, 18 Jan 2023 05:24:31 +0200, Dmitry Baryshkov wrote:
> Some platforms might use less than full 4 lanes DSI interface. Allow
> using any amount of lanes starting from 1 up to 4.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>  .../devicetree/bindings/display/msm/dsi-controller-main.yaml  | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 4/4] dt-binbings: display/msm: dsi-controller-main: add missing supplies
  2023-01-18  3:24 ` [PATCH 4/4] dt-binbings: display/msm: dsi-controller-main: add missing supplies Dmitry Baryshkov
@ 2023-01-18 16:40   ` Rob Herring
  2023-01-18 16:42     ` Rob Herring
  0 siblings, 1 reply; 11+ messages in thread
From: Rob Herring @ 2023-01-18 16:40 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: devicetree, Krzysztof Kozlowski, freedreno, Bjorn Andersson,
	Abhinav Kumar, Rob Herring, Stephen Boyd, Konrad Dybcio,
	Andy Gross, dri-devel, linux-arm-msm, Sean Paul


On Wed, 18 Jan 2023 05:24:32 +0200, Dmitry Baryshkov wrote:
> Describe DSI supplies used on apq8064 (vdda-supply) and msm8994/96
> (vcca-supply).
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>  .../bindings/display/msm/dsi-controller-main.yaml         | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 4/4] dt-binbings: display/msm: dsi-controller-main: add missing supplies
  2023-01-18 16:40   ` Rob Herring
@ 2023-01-18 16:42     ` Rob Herring
  0 siblings, 0 replies; 11+ messages in thread
From: Rob Herring @ 2023-01-18 16:42 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: devicetree, Krzysztof Kozlowski, freedreno, Bjorn Andersson,
	Abhinav Kumar, dri-devel, Stephen Boyd, Konrad Dybcio,
	Andy Gross, linux-arm-msm, Sean Paul

On Wed, Jan 18, 2023 at 10:41 AM Rob Herring <robh@kernel.org> wrote:
>
>
> On Wed, 18 Jan 2023 05:24:32 +0200, Dmitry Baryshkov wrote:
> > Describe DSI supplies used on apq8064 (vdda-supply) and msm8994/96
> > (vcca-supply).
> >
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> > ---
> >  .../bindings/display/msm/dsi-controller-main.yaml         | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> >
>
> Acked-by: Rob Herring <robh@kernel.org>

That is, with the typo in the subject fixed.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes
  2023-01-18  3:24 [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes Dmitry Baryshkov
                   ` (3 preceding siblings ...)
  2023-01-18  3:24 ` [PATCH 4/4] dt-binbings: display/msm: dsi-controller-main: add missing supplies Dmitry Baryshkov
@ 2023-01-26 19:00 ` Dmitry Baryshkov
  4 siblings, 0 replies; 11+ messages in thread
From: Dmitry Baryshkov @ 2023-01-26 19:00 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Clark, Sean Paul,
	Abhinav Kumar, Rob Herring, Krzysztof Kozlowski,
	Dmitry Baryshkov
  Cc: devicetree, linux-arm-msm, dri-devel, Stephen Boyd, freedreno


On Wed, 18 Jan 2023 05:24:28 +0200, Dmitry Baryshkov wrote:
> A small set of patches to go on top of Bryan's changes to fix a small
> number of remaining issues.
> 
> Dependencies: [1]
> 
> [1] https://lore.kernel.org/linux-arm-msm/20230116225217.1056258-1-bryan.odonoghue@linaro.org/
> 
> [...]

Applied, thanks!

[1/4] dt-bindings: display/msm: dsi-controller-main: remove #address/#size-cells
      https://gitlab.freedesktop.org/lumag/msm/-/commit/65e835945aab
[2/4] dt-bindings: display/msm: dsi-controller-main: account for apq8064
      https://gitlab.freedesktop.org/lumag/msm/-/commit/2f8e5f8b2ea4
[3/4] dt-bindings: display/msm: dsi-controller-main: allow using fewer lanes
      https://gitlab.freedesktop.org/lumag/msm/-/commit/2fd5293df88d
[4/4] dt-binbings: display/msm: dsi-controller-main: add missing supplies
      https://gitlab.freedesktop.org/lumag/msm/-/commit/05c578d51624

Best regards,
-- 
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-01-26 19:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-18  3:24 [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes Dmitry Baryshkov
2023-01-18  3:24 ` [PATCH 1/4] dt-bindings: display/msm: dsi-controller-main: remove #address/#size-cells Dmitry Baryshkov
2023-01-18 16:39   ` Rob Herring
2023-01-18  3:24 ` [PATCH 2/4] dt-bindings: display/msm: dsi-controller-main: account for apq8064 Dmitry Baryshkov
2023-01-18 16:39   ` Rob Herring
2023-01-18  3:24 ` [PATCH 3/4] dt-bindings: display/msm: dsi-controller-main: allow using fewer lanes Dmitry Baryshkov
2023-01-18 16:40   ` Rob Herring
2023-01-18  3:24 ` [PATCH 4/4] dt-binbings: display/msm: dsi-controller-main: add missing supplies Dmitry Baryshkov
2023-01-18 16:40   ` Rob Herring
2023-01-18 16:42     ` Rob Herring
2023-01-26 19:00 ` [PATCH 0/4] dt-bindings: display/msm: more dsi-controller fixes Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).