diff mbox series

[8/9] arm64: dts: exynos: Drop incorrect use of io-channel-ranges property.

Message ID 20201115192951.1073632-9-jic23@kernel.org
State New
Headers show
Series dt-bindings: IIO: Drop wrong use of io-channel-ranges then drop it as well. | expand

Commit Message

Jonathan Cameron Nov. 15, 2020, 7:29 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>


This property is for consumers of io-channels. Here it is used in
providers of those channels.

Note dt_schema will currently flag this as an error due to a dependency
between this property and io-channels.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Cc: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm64/boot/dts/exynos/exynos5433.dtsi | 1 -
 arch/arm64/boot/dts/exynos/exynos7.dtsi    | 1 -
 2 files changed, 2 deletions(-)

-- 
2.28.0

Comments

Krzysztof Kozlowski Nov. 17, 2020, 7:48 p.m. UTC | #1
On Sun, Nov 15, 2020 at 07:29:50PM +0000, Jonathan Cameron wrote:
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

> 

> This property is for consumers of io-channels. Here it is used in

> providers of those channels.

> 

> Note dt_schema will currently flag this as an error due to a dependency

> between this property and io-channels.

> 

> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

> Cc: Krzysztof Kozlowski <krzk@kernel.org>

> ---

>  arch/arm64/boot/dts/exynos/exynos5433.dtsi | 1 -

>  arch/arm64/boot/dts/exynos/exynos7.dtsi    | 1 -

>  2 files changed, 2 deletions(-)


Thanks, applied.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi
index 8eb4576da8f3..ac33372f611b 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi
@@ -1445,7 +1445,6 @@  adc: adc@14d10000 {
 			clock-names = "adc";
 			clocks = <&cmu_peric CLK_PCLK_ADCIF>;
 			#io-channel-cells = <1>;
-			io-channel-ranges;
 			status = "disabled";
 		};
 
diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi
index b9ed6a33e290..1f59e437e606 100644
--- a/arch/arm64/boot/dts/exynos/exynos7.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi
@@ -567,7 +567,6 @@  adc: adc@13620000 {
 			clocks = <&clock_peric0 PCLK_ADCIF>;
 			clock-names = "adc";
 			#io-channel-cells = <1>;
-			io-channel-ranges;
 			status = "disabled";
 		};