Message ID | 20221125123638.823261-1-bryan.odonoghue@linaro.org |
---|---|
Headers | show |
Series | mdss-dsi-ctrl binding and dts fixes | expand |
On 25/11/2022 14:36, Bryan O'Donoghue wrote: > We will add in a number of compat strings to dsi-controller-main.yaml in > the format "qcom,socname-dsi-ctrl" convert the currently unused > qcom,dsi-ctrl-6g-qcm2290 to qcom,qcm2290-dsi-ctrl. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> I'd say, as you are going to introduce new bindings using two compat strings, just leave this binding as is, marking it as deprecated. > --- > .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > index cf782c5f5bdb0..67d08dc338925 100644 > --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > @@ -16,7 +16,7 @@ properties: > compatible: > enum: > - qcom,mdss-dsi-ctrl > - - qcom,dsi-ctrl-6g-qcm2290 > + - qcom,qcm2290-dsi-ctrl > > reg: > maxItems: 1
On 25/11/2022 14:36, Bryan O'Donoghue wrote: > There's a typo in describing the core clock as an 'escape' clock. The > accurate description is 'core'. > > Fixes: 4dbe55c97741 ("dt-bindings: msm: dsi: add yaml schemas for DSI bindings") > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> In the next spin please move this patch after first two fixes, so all three of them can be picked into -fixes. > --- > .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > index 88aac7d33555c..0c09b9230b7f5 100644 > --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > @@ -40,7 +40,7 @@ properties: > - description: Display byte clock > - description: Display byte interface clock > - description: Display pixel clock > - - description: Display escape clock > + - description: Display core clock > - description: Display AHB clock > - description: Display AXI clock >
On 25/11/2022 14:36, Bryan O'Donoghue wrote: > Add silicon specific compatible qcom,msm8996-dsi-ctrl to the > mdss-dsi-ctrl block. This allows us to differentiate the specific bindings > for msm8996 against the yaml documentation. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On 25/11/2022 14:36, Bryan O'Donoghue wrote: > Add silicon specific compatible qcom,sdm630-dsi-ctrl to the > mdss-dsi-ctrl block. This allows us to differentiate the specific bindings > for sdm630 against the yaml documentation. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > --- > arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On 25/11/2022 14:36, Bryan O'Donoghue wrote: > Add silicon specific compatible qcom,sdm660-dsi-ctrl to the > mdss-dsi-ctrl block. This allows us to differentiate the specific bindings > for sdm660 against the yaml documentation. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > --- > arch/arm64/boot/dts/qcom/sdm660.dtsi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot/dts/qcom/sdm660.dtsi > index 10bf1c45cf6ec..f8ec728e67f3d 100644 > --- a/arch/arm64/boot/dts/qcom/sdm660.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm660.dtsi > @@ -154,7 +154,8 @@ mdp5_intf2_out: endpoint { > > &mdss { > dsi1: dsi@c996000 { > - compatible = "qcom,mdss-dsi-ctrl"; > + compatible = "qcom,sdm660-dsi-ctrl", > + "qcom,mdss-dsi-ctrl"; So, we'd end up with two identical DSI hosts, but one has compatible 'qcom,sdm660-dsi-ctrl' and another one 'qcom,sdm630-dsi-ctrl'. I think, use sdm660 for both of them (for both sdm630 and sdm660) > reg = <0x0c996000 0x400>; > reg-names = "dsi_ctrl"; >
On 25/11/2022 14:36, Bryan O'Donoghue wrote: > Add silicon specific compatible qcom,sdm845-dsi-ctrl to the > mdss-dsi-ctrl block. This allows us to differentiate the specific bindings > for sdm845 against the yaml documentation. > > Reviewed-by: Douglas Anderson <dianders@chromium.org> > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On Sat, Nov 26, 2022 at 08:54:11PM +0200, Dmitry Baryshkov wrote: > On 25/11/2022 14:36, Bryan O'Donoghue wrote: > > We will add in a number of compat strings to dsi-controller-main.yaml in > > the format "qcom,socname-dsi-ctrl" convert the currently unused > > qcom,dsi-ctrl-6g-qcm2290 to qcom,qcm2290-dsi-ctrl. > > > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > > I'd say, as you are going to introduce new bindings using two compat > strings, just leave this binding as is, marking it as deprecated. But if it was unused, then it's okay to just change it. Rob