diff mbox series

[v2,2/5] arm64: dts: qcom: sdm845: remove unnecessary properties for dsi nodes

Message ID 20190724044906.12007-3-vkoul@kernel.org
State New
Headers show
Series arm64: dts: qcom: sdm845: Fix DTS warnings | expand

Commit Message

Vinod Koul July 24, 2019, 4:49 a.m. UTC
We get a warning about unnecessary properties of

arch/arm64/boot/dts/qcom/sdm845.dtsi:2211.22-2257.6: Warning (avoid_unnecessary_addr_size): /soc/mdss@ae00000/dsi@ae94000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm64/boot/dts/qcom/sdm845.dtsi:2278.22-2324.6: Warning (avoid_unnecessary_addr_size): /soc/mdss@ae00000/dsi@ae96000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

So, remove these properties

Signed-off-by: Vinod Koul <vkoul@kernel.org>

Reviewed-by: Stephen Boyd <swboyd@chromium.org>

---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ------
 1 file changed, 6 deletions(-)

-- 
2.20.1

Comments

Amit Kucheria July 24, 2019, 5:01 a.m. UTC | #1
On Wed, Jul 24, 2019 at 10:20 AM Vinod Koul <vkoul@kernel.org> wrote:
>

> We get a warning about unnecessary properties of

>

> arch/arm64/boot/dts/qcom/sdm845.dtsi:2211.22-2257.6: Warning (avoid_unnecessary_addr_size): /soc/mdss@ae00000/dsi@ae94000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

> arch/arm64/boot/dts/qcom/sdm845.dtsi:2278.22-2324.6: Warning (avoid_unnecessary_addr_size): /soc/mdss@ae00000/dsi@ae96000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

>

> So, remove these properties

>

> Signed-off-by: Vinod Koul <vkoul@kernel.org>

> Reviewed-by: Stephen Boyd <swboyd@chromium.org>


Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>

> ---

>  arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ------

>  1 file changed, 6 deletions(-)

>

> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi

> index e81f4a6d08ce..2985df032179 100644

> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi

> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi

> @@ -2234,9 +2234,6 @@

>

>                                 status = "disabled";

>

> -                               #address-cells = <1>;

> -                               #size-cells = <0>;

> -

>                                 ports {

>                                         #address-cells = <1>;

>                                         #size-cells = <0>;

> @@ -2301,9 +2298,6 @@

>

>                                 status = "disabled";

>

> -                               #address-cells = <1>;

> -                               #size-cells = <0>;

> -

>                                 ports {

>                                         #address-cells = <1>;

>                                         #size-cells = <0>;

> --

> 2.20.1

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index e81f4a6d08ce..2985df032179 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -2234,9 +2234,6 @@ 
 
 				status = "disabled";
 
-				#address-cells = <1>;
-				#size-cells = <0>;
-
 				ports {
 					#address-cells = <1>;
 					#size-cells = <0>;
@@ -2301,9 +2298,6 @@ 
 
 				status = "disabled";
 
-				#address-cells = <1>;
-				#size-cells = <0>;
-
 				ports {
 					#address-cells = <1>;
 					#size-cells = <0>;