[1/2] ARM: dts: marvell: drop i2c timeout-ms property
diff mbox series

Message ID 21ba4c9abd5e411ba936ead8f043c5a7e490d530.1588134636.git.baruch@tkos.co.il
State New
Headers show
Series
  • [1/2] ARM: dts: marvell: drop i2c timeout-ms property
Related show

Commit Message

Baruch Siach April 29, 2020, 4:30 a.m. UTC
The timeout-ms property for i2c master nodes is undocumented, and as
never been supported. Drop it.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 arch/arm/boot/dts/armada-370-xp.dtsi | 2 --
 arch/arm/boot/dts/armada-375.dtsi    | 2 --
 arch/arm/boot/dts/armada-38x.dtsi    | 2 --
 arch/arm/boot/dts/armada-39x.dtsi    | 4 ----
 arch/arm/boot/dts/dove.dtsi          | 1 -
 5 files changed, 11 deletions(-)

Comments

Andrew Lunn April 29, 2020, 6:22 p.m. UTC | #1
On Wed, Apr 29, 2020 at 07:30:35AM +0300, Baruch Siach wrote:
> The timeout-ms property for i2c master nodes is undocumented, and as
> never been supported. Drop it.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Gregory CLEMENT May 17, 2020, 4:02 p.m. UTC | #2
Hello Baruch,

> The timeout-ms property for i2c master nodes is undocumented, and as
> never been supported. Drop it.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Applied on mvebu/dt

Thanks,

Gregory

> ---
>  arch/arm/boot/dts/armada-370-xp.dtsi | 2 --
>  arch/arm/boot/dts/armada-375.dtsi    | 2 --
>  arch/arm/boot/dts/armada-38x.dtsi    | 2 --
>  arch/arm/boot/dts/armada-39x.dtsi    | 4 ----
>  arch/arm/boot/dts/dove.dtsi          | 1 -
>  5 files changed, 11 deletions(-)
>
> diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
> index c15f5e92f97f..0b8c2a64b36f 100644
> --- a/arch/arm/boot/dts/armada-370-xp.dtsi
> +++ b/arch/arm/boot/dts/armada-370-xp.dtsi
> @@ -114,7 +114,6 @@ i2c0: i2c@11000 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				interrupts = <31>;
> -				timeout-ms = <1000>;
>  				clocks = <&coreclk 0>;
>  				status = "disabled";
>  			};
> @@ -124,7 +123,6 @@ i2c1: i2c@11100 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				interrupts = <32>;
> -				timeout-ms = <1000>;
>  				clocks = <&coreclk 0>;
>  				status = "disabled";
>  			};
> diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
> index 2932a29ae272..9805e507c695 100644
> --- a/arch/arm/boot/dts/armada-375.dtsi
> +++ b/arch/arm/boot/dts/armada-375.dtsi
> @@ -236,7 +236,6 @@ i2c0: i2c@11000 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
> -				timeout-ms = <1000>;
>  				clocks = <&coreclk 0>;
>  				status = "disabled";
>  			};
> @@ -247,7 +246,6 @@ i2c1: i2c@11100 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
> -				timeout-ms = <1000>;
>  				clocks = <&coreclk 0>;
>  				status = "disabled";
>  			};
> diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> index e038abc0c6b4..348116501aa2 100644
> --- a/arch/arm/boot/dts/armada-38x.dtsi
> +++ b/arch/arm/boot/dts/armada-38x.dtsi
> @@ -153,7 +153,6 @@ i2c0: i2c@11000 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
> -				timeout-ms = <1000>;
>  				clocks = <&coreclk 0>;
>  				status = "disabled";
>  			};
> @@ -164,7 +163,6 @@ i2c1: i2c@11100 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
> -				timeout-ms = <1000>;
>  				clocks = <&coreclk 0>;
>  				status = "disabled";
>  			};
> diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi
> index b1b86934c688..e0b7c2099831 100644
> --- a/arch/arm/boot/dts/armada-39x.dtsi
> +++ b/arch/arm/boot/dts/armada-39x.dtsi
> @@ -108,7 +108,6 @@ i2c0: i2c@11000 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
> -				timeout-ms = <1000>;
>  				clocks = <&coreclk 0>;
>  				status = "disabled";
>  			};
> @@ -119,7 +118,6 @@ i2c1: i2c@11100 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
> -				timeout-ms = <1000>;
>  				clocks = <&coreclk 0>;
>  				status = "disabled";
>  			};
> @@ -130,7 +128,6 @@ i2c2: i2c@11200 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
> -				timeout-ms = <1000>;
>  				clocks = <&coreclk 0>;
>  				status = "disabled";
>  			};
> @@ -141,7 +138,6 @@ i2c3: i2c@11300 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
> -				timeout-ms = <1000>;
>  				clocks = <&coreclk 0>;
>  				status = "disabled";
>  			};
> diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
> index 3081b04e8c08..a551fabae851 100644
> --- a/arch/arm/boot/dts/dove.dtsi
> +++ b/arch/arm/boot/dts/dove.dtsi
> @@ -175,7 +175,6 @@ i2c: i2c@11000 {
>  				#size-cells = <0>;
>  				interrupts = <11>;
>  				clock-frequency = <400000>;
> -				timeout-ms = <1000>;
>  				clocks = <&core_clk 0>;
>  				status = "okay";
>  			};
> -- 
> 2.26.2
>

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index c15f5e92f97f..0b8c2a64b36f 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -114,7 +114,6 @@  i2c0: i2c@11000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				interrupts = <31>;
-				timeout-ms = <1000>;
 				clocks = <&coreclk 0>;
 				status = "disabled";
 			};
@@ -124,7 +123,6 @@  i2c1: i2c@11100 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				interrupts = <32>;
-				timeout-ms = <1000>;
 				clocks = <&coreclk 0>;
 				status = "disabled";
 			};
diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
index 2932a29ae272..9805e507c695 100644
--- a/arch/arm/boot/dts/armada-375.dtsi
+++ b/arch/arm/boot/dts/armada-375.dtsi
@@ -236,7 +236,6 @@  i2c0: i2c@11000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
-				timeout-ms = <1000>;
 				clocks = <&coreclk 0>;
 				status = "disabled";
 			};
@@ -247,7 +246,6 @@  i2c1: i2c@11100 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
-				timeout-ms = <1000>;
 				clocks = <&coreclk 0>;
 				status = "disabled";
 			};
diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index e038abc0c6b4..348116501aa2 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -153,7 +153,6 @@  i2c0: i2c@11000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
-				timeout-ms = <1000>;
 				clocks = <&coreclk 0>;
 				status = "disabled";
 			};
@@ -164,7 +163,6 @@  i2c1: i2c@11100 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
-				timeout-ms = <1000>;
 				clocks = <&coreclk 0>;
 				status = "disabled";
 			};
diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi
index b1b86934c688..e0b7c2099831 100644
--- a/arch/arm/boot/dts/armada-39x.dtsi
+++ b/arch/arm/boot/dts/armada-39x.dtsi
@@ -108,7 +108,6 @@  i2c0: i2c@11000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
-				timeout-ms = <1000>;
 				clocks = <&coreclk 0>;
 				status = "disabled";
 			};
@@ -119,7 +118,6 @@  i2c1: i2c@11100 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
-				timeout-ms = <1000>;
 				clocks = <&coreclk 0>;
 				status = "disabled";
 			};
@@ -130,7 +128,6 @@  i2c2: i2c@11200 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-				timeout-ms = <1000>;
 				clocks = <&coreclk 0>;
 				status = "disabled";
 			};
@@ -141,7 +138,6 @@  i2c3: i2c@11300 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
-				timeout-ms = <1000>;
 				clocks = <&coreclk 0>;
 				status = "disabled";
 			};
diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index 3081b04e8c08..a551fabae851 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -175,7 +175,6 @@  i2c: i2c@11000 {
 				#size-cells = <0>;
 				interrupts = <11>;
 				clock-frequency = <400000>;
-				timeout-ms = <1000>;
 				clocks = <&core_clk 0>;
 				status = "okay";
 			};