Skip to content

Commit

Permalink
arm64: dts: qcom: sdm845: Add size/address-cells to dsi[01]
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Konrad Dybcio <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
Konrad Dybcio authored and andersson committed Oct 24, 2021
1 parent 4a5622c commit 26b59eb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions arch/arm64/boot/dts/qcom/sdm845-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,6 @@
qcom,dual-dsi-mode;
qcom,master-dsi;

#address-cells = <1>;
#size-cells = <0>;

ports {
port@1 {
endpoint {
Expand Down
3 changes: 0 additions & 3 deletions arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,6 @@
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.
Expand Down
3 changes: 0 additions & 3 deletions arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,6 @@
status = "okay";
vdda-supply = <&vreg_l26a_1p2>;

#address-cells = <1>;
#size-cells = <0>;

panel@0 {
compatible = "tianma,fhd-video";
reg = <0>;
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/qcom/sdm845.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -4294,6 +4294,9 @@

status = "disabled";

#address-cells = <1>;
#size-cells = <0>;

ports {
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -4363,6 +4366,9 @@

status = "disabled";

#address-cells = <1>;
#size-cells = <0>;

ports {
#address-cells = <1>;
#size-cells = <0>;
Expand Down

0 comments on commit 26b59eb

Please sign in to comment.