[2/2] dt-bindings: display/msm: Use consistent indentation in the example
Commit Message
Correct indentation in the examples to consistent 2- or 4-spaces
indentation to fix dt-check-style warnings ("example 0
[indent-consistent] indent mismatch ..."). Preferred is 4-spaces, but
re-indenting entire example just for that is too much churn.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
.../display/msm/qcom,qcs8300-mdss.yaml | 6 +-
.../display/msm/qcom,sar2130p-mdss.yaml | 4 +-
.../bindings/display/msm/qcom,sm6150-dpu.yaml | 14 ++---
.../display/msm/qcom,sm8350-mdss.yaml | 2 +-
.../display/msm/qcom,x1e80100-mdss.yaml | 60 +++++++++----------
5 files changed, 43 insertions(+), 43 deletions(-)
Comments
On Sun, Sep 13, 2026 at 02:33:33PM +0200, Krzysztof Kozlowski wrote:
> Correct indentation in the examples to consistent 2- or 4-spaces
> indentation to fix dt-check-style warnings ("example 0
> [indent-consistent] indent mismatch ..."). Preferred is 4-spaces, but
> re-indenting entire example just for that is too much churn.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
> .../display/msm/qcom,qcs8300-mdss.yaml | 6 +-
> .../display/msm/qcom,sar2130p-mdss.yaml | 4 +-
> .../bindings/display/msm/qcom,sm6150-dpu.yaml | 14 ++---
> .../display/msm/qcom,sm8350-mdss.yaml | 2 +-
> .../display/msm/qcom,x1e80100-mdss.yaml | 60 +++++++++----------
> 5 files changed, 43 insertions(+), 43 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
On Sun Sep 13, 2026 at 2:33 PM CEST, Krzysztof Kozlowski wrote:
> Correct indentation in the examples to consistent 2- or 4-spaces
> indentation to fix dt-check-style warnings ("example 0
> [indent-consistent] indent mismatch ..."). Preferred is 4-spaces, but
> re-indenting entire example just for that is too much churn.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
@@ -150,7 +150,7 @@ examples:
reg = <0>;
dpu_intf0_out: endpoint {
- remote-endpoint = <&mdss_dp0_in>;
+ remote-endpoint = <&mdss_dp0_in>;
};
};
@@ -352,9 +352,9 @@ examples:
};
port@1 {
- reg = <1>;
+ reg = <1>;
- mdss_dp_out: endpoint { };
+ mdss_dp_out: endpoint { };
};
};
@@ -248,9 +248,9 @@ examples:
remote-endpoint = <&usb_dp_qmpphy_dp_in>;
};
};
- };
+ };
- dp_opp_table: opp-table {
+ dp_opp_table: opp-table {
compatible = "operating-points-v2";
opp-162000000 {
@@ -81,7 +81,7 @@ examples:
port@1 {
reg = <1>;
dpu_intf1_out: endpoint {
- remote-endpoint = <&mdss_dsi0_in>;
+ remote-endpoint = <&mdss_dsi0_in>;
};
};
};
@@ -90,18 +90,18 @@ examples:
compatible = "operating-points-v2";
opp-19200000 {
- opp-hz = /bits/ 64 <19200000>;
- required-opps = <&rpmhpd_opp_low_svs>;
+ opp-hz = /bits/ 64 <19200000>;
+ required-opps = <&rpmhpd_opp_low_svs>;
};
opp-25600000 {
- opp-hz = /bits/ 64 <25600000>;
- required-opps = <&rpmhpd_opp_svs>;
+ opp-hz = /bits/ 64 <25600000>;
+ required-opps = <&rpmhpd_opp_svs>;
};
opp-307200000 {
- opp-hz = /bits/ 64 <307200000>;
- required-opps = <&rpmhpd_opp_nom>;
+ opp-hz = /bits/ 64 <307200000>;
+ required-opps = <&rpmhpd_opp_nom>;
};
};
};
@@ -223,7 +223,7 @@ examples:
phys = <&mdss_dsi0_phy>;
ports {
- #address-cells = <1>;
+ #address-cells = <1>;
#size-cells = <0>;
port@0 {
@@ -208,47 +208,47 @@ examples:
#sound-dai-cells = <0>;
ports {
- #address-cells = <1>;
- #size-cells = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
- port@0 {
- reg = <0>;
+ port@0 {
+ reg = <0>;
- mdss_dp0_in: endpoint {
- remote-endpoint = <&mdss_intf0_out>;
- };
- };
+ mdss_dp0_in: endpoint {
+ remote-endpoint = <&mdss_intf0_out>;
+ };
+ };
- port@1 {
- reg = <1>;
+ port@1 {
+ reg = <1>;
- mdss_dp0_out: endpoint {
- };
- };
+ mdss_dp0_out: endpoint {
+ };
+ };
};
mdss_dp0_opp_table: opp-table {
- compatible = "operating-points-v2";
+ compatible = "operating-points-v2";
- opp-160000000 {
- opp-hz = /bits/ 64 <160000000>;
- required-opps = <&rpmhpd_opp_low_svs>;
- };
+ opp-160000000 {
+ opp-hz = /bits/ 64 <160000000>;
+ required-opps = <&rpmhpd_opp_low_svs>;
+ };
- opp-270000000 {
- opp-hz = /bits/ 64 <270000000>;
- required-opps = <&rpmhpd_opp_svs>;
- };
+ opp-270000000 {
+ opp-hz = /bits/ 64 <270000000>;
+ required-opps = <&rpmhpd_opp_svs>;
+ };
- opp-540000000 {
- opp-hz = /bits/ 64 <540000000>;
- required-opps = <&rpmhpd_opp_svs_l1>;
- };
+ opp-540000000 {
+ opp-hz = /bits/ 64 <540000000>;
+ required-opps = <&rpmhpd_opp_svs_l1>;
+ };
- opp-810000000 {
- opp-hz = /bits/ 64 <810000000>;
- required-opps = <&rpmhpd_opp_nom>;
- };
+ opp-810000000 {
+ opp-hz = /bits/ 64 <810000000>;
+ required-opps = <&rpmhpd_opp_nom>;
+ };
};
};
};