Skip to content

Commit 08a0d93

Browse files
committed
arm64: dts: apple: Move touchbar mipi {address,size}-cells from dtsi to dts
Move the {address,size}-cells property from the (disabled) touchbar screen mipi node inside the dtsi file to the model-specific dts file where it's enabled to fix the following W=1 warnings: t8103.dtsi:404.34-433.5: Warning (avoid_unnecessary_addr_size): /soc/dsi@228600000: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property t8112.dtsi:419.34-448.5: Warning (avoid_unnecessary_addr_size): /soc/dsi@228600000: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property Fixes: 7275e79 ("arm64: dts: apple: Add touchbar screen nodes") Reviewed-by: Janne Grunau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sven Peter <[email protected]>
1 parent 811a909 commit 08a0d93

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

arch/arm64/boot/dts/apple/t8103-j293.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@
100100

101101
&displaydfr_mipi {
102102
status = "okay";
103+
#address-cells = <1>;
104+
#size-cells = <0>;
103105

104106
dfr_panel: panel@0 {
105107
compatible = "apple,j293-summit", "apple,summit";

arch/arm64/boot/dts/apple/t8103.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,6 @@
405405
compatible = "apple,t8103-display-pipe-mipi", "apple,h7-display-pipe-mipi";
406406
reg = <0x2 0x28600000 0x0 0x100000>;
407407
power-domains = <&ps_mipi_dsi>;
408-
#address-cells = <1>;
409-
#size-cells = <0>;
410408
status = "disabled";
411409

412410
ports {

arch/arm64/boot/dts/apple/t8112-j493.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363

6464
&displaydfr_mipi {
6565
status = "okay";
66+
#address-cells = <1>;
67+
#size-cells = <0>;
6668

6769
dfr_panel: panel@0 {
6870
compatible = "apple,j493-summit", "apple,summit";

arch/arm64/boot/dts/apple/t8112.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,6 @@
420420
compatible = "apple,t8112-display-pipe-mipi", "apple,h7-display-pipe-mipi";
421421
reg = <0x2 0x28600000 0x0 0x100000>;
422422
power-domains = <&ps_mipi_dsi>;
423-
#address-cells = <1>;
424-
#size-cells = <0>;
425423
status = "disabled";
426424

427425
ports {

0 commit comments

Comments
 (0)