Thread (13 messages) 13 messages, 4 authors, 2017-12-04
STALE3132d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 2/2] ARM: dts: at91: disable the nxp, se97b SMBUS timeout on the TSE-850

From: Peter Rosin <hidden>
Date: 2017-11-27 16:31:22
Also in: linux-devicetree, linux-hwmon, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

The I2C adapter driver is sometimes slow, causing the SCL line to
be stuck low for more than the stipulated SMBUS timeout of 25-35 ms.
This causes the client device to give up which in turn causes silent
corruption of data. So, disable the SMBUS timeout in the client device.

Signed-off-by: Peter Rosin <redacted>
---
 arch/arm/boot/dts/at91-tse850-3.dts | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/at91-tse850-3.dts b/arch/arm/boot/dts/at91-tse850-3.dts
index 5f29010cdbd8..9b82cc8843e1 100644
--- a/arch/arm/boot/dts/at91-tse850-3.dts
+++ b/arch/arm/boot/dts/at91-tse850-3.dts
@@ -221,6 +221,7 @@
 	jc42 at 18 {
 		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x18>;
+		smbus-timeout-disable;
 	};
 
 	dpot: mcp4651-104 at 28 {
-- 
2.11.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help