[2/2] arm64: dts: uDPU: remove i2c-fast-mode
diff mbox series

Message ID E1iVvuv-0002sk-Sw@rmk-PC.armlinux.org.uk
State New
Headers show
Series
  • [1/2] arm64: dts: uDPU: fix broken ethernet
Related show

Commit Message

Russell King Nov. 16, 2019, 11:07 a.m. UTC
The I2C bus violates the timing specifications when run in fast mode
on the uDPU, so switch to 100kHz mode.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 ++
 1 file changed, 2 insertions(+)

Comments

Gregory CLEMENT Dec. 9, 2019, 2:38 p.m. UTC | #1
Russell King <rmk+kernel@armlinux.org.uk> writes:

> The I2C bus violates the timing specifications when run in fast mode
> on the uDPU, so switch to 100kHz mode.
>
> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>

Applied on mvebu/dt64

Thanks,

Gregory

> ---
>  arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
> index e31813a4f972..2ac1d9ae1e25 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
> @@ -119,12 +119,14 @@
>  	status = "okay";
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&i2c1_pins>;
> +	/delete-property/mrvl,i2c-fast-mode;
>  };
>  
>  &i2c1 {
>  	status = "okay";
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&i2c2_pins>;
> +	/delete-property/mrvl,i2c-fast-mode;
>  
>  	lm75@48 {
>  		status = "okay";
> -- 
> 2.20.1
>

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
index e31813a4f972..2ac1d9ae1e25 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
@@ -119,12 +119,14 @@ 
 	status = "okay";
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c1_pins>;
+	/delete-property/mrvl,i2c-fast-mode;
 };
 
 &i2c1 {
 	status = "okay";
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c2_pins>;
+	/delete-property/mrvl,i2c-fast-mode;
 
 	lm75@48 {
 		status = "okay";