Re: [PATCH v2 04/18] dt-bindings: msm: dsi-controller-main: Fix clock declarations

From: Dmitry Baryshkov
Date: Tue Nov 08 2022 - 08:00:36 EST


On 08/11/2022 02:56, Bryan O'Donoghue wrote:
When converting from .txt to .yaml dt-binding descriptions we appear to
have missed some of the previous detail on the number and names of
permissible clocks.

Fixes: 4dbe55c97741 ("dt-bindings: msm: dsi: add yaml schemas for DSI bindings")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
Cc: Rob Clark <robdclark@xxxxxxxxx>
Cc: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>
Cc: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
Cc: Sean Paul <sean@xxxxxxxxxx>
Cc: David Airlie <airlied@xxxxxxxxx>
Cc: Daniel Vetter <daniel@xxxxxxxx>
Cc: Rob Herring <robh+dt@xxxxxxxxxx>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx>
Cc: linux-arm-msm@xxxxxxxxxxxxxxx
Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
Cc: freedreno@xxxxxxxxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

However it might be easier to move this patch after the patch adding the per-platform compat strings. Then you can push these items into the clauses where they are required.

---
.../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 0f7747e55b9be..cab38a20a54b0 100644
--- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
@@ -35,6 +35,10 @@ properties:
- description: Display escape clock
- description: Display AHB clock
- description: Display AXI clock
+ - description: Core MultiMedia SubSystem clock
+ - description: MDP Core clock
+ - description: MNOC clock
+ minItems: 6
clock-names:
items:
@@ -44,6 +48,10 @@ properties:
- const: core
- const: iface
- const: bus
+ - const: core_mmss
+ - const: mdp_core
+ - const: mnoc
+ minItems: 6
phys:
maxItems: 1

--
With best wishes
Dmitry