Commit 08a0d93c authored by Sven Peter's avatar Sven Peter
Browse files

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: 7275e795 ("arm64: dts: apple: Add touchbar screen nodes")
Reviewed-by: default avatarJanne Grunau <j@jannau.net>
Link: https://lore.kernel.org/r/20250611-display-pipe-mipi-warning-v1-1-bd80ba2c0eea@kernel.org


Signed-off-by: default avatarSven Peter <sven@kernel.org>
parent 811a9099
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -100,6 +100,8 @@ dfr_mipi_out_panel: endpoint@0 {

&displaydfr_mipi {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;

	dfr_panel: panel@0 {
		compatible = "apple,j293-summit", "apple,summit";
+0 −2
Original line number Diff line number Diff line
@@ -405,8 +405,6 @@ displaydfr_mipi: dsi@228600000 {
			compatible = "apple,t8103-display-pipe-mipi", "apple,h7-display-pipe-mipi";
			reg = <0x2 0x28600000 0x0 0x100000>;
			power-domains = <&ps_mipi_dsi>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";

			ports {
+2 −0
Original line number Diff line number Diff line
@@ -63,6 +63,8 @@ dfr_mipi_out_panel: endpoint@0 {

&displaydfr_mipi {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;

	dfr_panel: panel@0 {
		compatible = "apple,j493-summit", "apple,summit";
+0 −2
Original line number Diff line number Diff line
@@ -420,8 +420,6 @@ displaydfr_mipi: dsi@228600000 {
			compatible = "apple,t8112-display-pipe-mipi", "apple,h7-display-pipe-mipi";
			reg = <0x2 0x28600000 0x0 0x100000>;
			power-domains = <&ps_mipi_dsi>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";

			ports {