Skip to contentSkip to conversation

arm64: dts: uDPU: remove i2c-fast-mode

PATCH In review Russell King 2 participants 2 messages Nov 16, 2019 – Dec 9, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 arm64: dts: uDPU: remove i2c-fast-mode

The I2C bus violates the timing specifications when run in fast mode on the uDPU, so switch to 100kHz mode.

---
 arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts +2 -0
index e31813a4f972..2ac1d9ae1e25 100644
@@ -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";
Signature · 1 line
2.20.1
maintainer
#1 lore raw
Quoted 4 lines · Russell King

The I2C bus violates the timing specifications when run in fast mode on the uDPU, so switch to 100kHz mode.

Applied on mvebu/dt64

Thanks,

Gregory

Quoted 26 lines
---
 arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts +2 -0
index e31813a4f972..2ac1d9ae1e25 100644
@@ -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";
Signature · 1 line
2.20.1
Signature · 3 lines
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com