arm64: dts: qcom: sdm845: Add size/address-cells to dsi[01]
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Sat, 2 Oct 2021 00:13:57 +0000 (02:13 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 24 Oct 2021 03:41:52 +0000 (22:41 -0500)
Add the aforementioned properties in the SoC DTSI so that everybody doesn't
have to copy that into their device DTs, effectively reducing code
duplication.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211002001358.45920-5-konrad.dybcio@somainline.org
arch/arm64/boot/dts/qcom/sdm845-mtp.dts
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts
arch/arm64/boot/dts/qcom/sdm845.dtsi

index 5ad934f..588f899 100644 (file)
        qcom,dual-dsi-mode;
        qcom,master-dsi;
 
-       #address-cells = <1>;
-       #size-cells = <0>;
-
        ports {
                port@1 {
                        endpoint {
index aaa9f33..8bad4c9 100644 (file)
        status = "okay";
        vdda-supply = <&vdda_mipi_dsi0_1p2>;
 
-       #address-cells = <1>;
-       #size-cells = <0>;
-
        /*
         * Both devices use different panels but all other properties
         * are common. Compatible line is declared in device dts.
index 46cca67..09d06ba 100644 (file)
        status = "okay";
        vdda-supply = <&vreg_l26a_1p2>;
 
-       #address-cells = <1>;
-       #size-cells = <0>;
-
        panel@0 {
                compatible = "tianma,fhd-video";
                reg = <0>;
index a898f6e..c7c8ca1 100644 (file)
 
                                status = "disabled";
 
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
                                ports {
                                        #address-cells = <1>;
                                        #size-cells = <0>;
 
                                status = "disabled";
 
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
                                ports {
                                        #address-cells = <1>;
                                        #size-cells = <0>;