• Peter Rosin's avatar
    hwmon: (jc42) optionally try to disable the SMBUS timeout · de120fc9
    Peter Rosin authored
    commit 68615eb0 upstream.
    
    With a nxp,se97 chip on an atmel sama5d31 board, the I2C adapter driver
    is not always capable of avoiding the 25-35 ms timeout as specified by
    the SMBUS protocol. This may cause silent corruption of the last bit of
    any transfer, e.g. a one is read instead of a zero if the sensor chip
    times out. This also affects the eeprom half of the nxp-se97 chip, where
    this silent corruption was originally noticed. Other I2C adapters probably
    suffer similar issues, e.g. bit-banging comes to mind as risky...
    
    The SMBUS register in the nxp chip is not a standard Jedec register, but
    it is not special to the nxp chips either, at least the atmel chips
    have the same mechanism. Therefore, do not special case this on the
    manufacturer, it is opt-in via the device property anyway.
    Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
    Acked-by: default avatarRob Herring <robh@kernel.org>
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    de120fc9
Name
Last commit
Last update
..
pmbus Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
ab8500.c Loading commit data...
abituguru.c Loading commit data...
abituguru3.c Loading commit data...
abx500.c Loading commit data...
abx500.h Loading commit data...
acpi_power_meter.c Loading commit data...
ad7314.c Loading commit data...
ad7414.c Loading commit data...
ad7418.c Loading commit data...
adc128d818.c Loading commit data...
adcxx.c Loading commit data...
adm1021.c Loading commit data...
adm1025.c Loading commit data...
adm1026.c Loading commit data...
adm1029.c Loading commit data...
adm1031.c Loading commit data...
adm9240.c Loading commit data...
ads1015.c Loading commit data...
ads7828.c Loading commit data...
ads7871.c Loading commit data...
adt7310.c Loading commit data...
adt7410.c Loading commit data...
adt7411.c Loading commit data...
adt7462.c Loading commit data...
adt7470.c Loading commit data...
adt7475.c Loading commit data...
adt7x10.c Loading commit data...
adt7x10.h Loading commit data...
amc6821.c Loading commit data...
applesmc.c Loading commit data...
asb100.c Loading commit data...
asc7621.c Loading commit data...
aspeed-pwm-tacho.c Loading commit data...
asus_atk0110.c Loading commit data...
atxp1.c Loading commit data...
coretemp.c Loading commit data...
da9052-hwmon.c Loading commit data...
da9055-hwmon.c Loading commit data...
dell-smm-hwmon.c Loading commit data...
dme1737.c Loading commit data...
ds1621.c Loading commit data...
ds620.c Loading commit data...
emc1403.c Loading commit data...
emc2103.c Loading commit data...
emc6w201.c Loading commit data...
f71805f.c Loading commit data...
f71882fg.c Loading commit data...
f75375s.c Loading commit data...
fam15h_power.c Loading commit data...
fschmd.c Loading commit data...
ftsteutates.c Loading commit data...
g760a.c Loading commit data...
g762.c Loading commit data...
gl518sm.c Loading commit data...
gl520sm.c Loading commit data...
gpio-fan.c Loading commit data...
hih6130.c Loading commit data...
hwmon-vid.c Loading commit data...
hwmon.c Loading commit data...
i5500_temp.c Loading commit data...
i5k_amb.c Loading commit data...
ibmaem.c Loading commit data...
ibmpex.c Loading commit data...
ibmpowernv.c Loading commit data...
iio_hwmon.c Loading commit data...
ina209.c Loading commit data...
ina2xx.c Loading commit data...
ina3221.c Loading commit data...
it87.c Loading commit data...
jc42.c Loading commit data...
jz4740-hwmon.c Loading commit data...
k10temp.c Loading commit data...
k8temp.c Loading commit data...
lineage-pem.c Loading commit data...
lm63.c Loading commit data...
lm70.c Loading commit data...
lm73.c Loading commit data...
lm75.c Loading commit data...
lm75.h Loading commit data...
lm77.c Loading commit data...
lm78.c Loading commit data...
lm80.c Loading commit data...
lm83.c Loading commit data...
lm85.c Loading commit data...
lm87.c Loading commit data...
lm90.c Loading commit data...
lm92.c Loading commit data...
lm93.c Loading commit data...
lm95234.c Loading commit data...
lm95241.c Loading commit data...
lm95245.c Loading commit data...
ltc2945.c Loading commit data...
ltc2990.c Loading commit data...
ltc4151.c Loading commit data...
ltc4215.c Loading commit data...
ltc4222.c Loading commit data...
ltc4245.c Loading commit data...
ltc4260.c Loading commit data...
ltc4261.c Loading commit data...
ltq-cputemp.c Loading commit data...
max1111.c Loading commit data...
max16065.c Loading commit data...
max1619.c Loading commit data...
max1668.c Loading commit data...
max197.c Loading commit data...
max31722.c Loading commit data...
max31790.c Loading commit data...
max6639.c Loading commit data...
max6642.c Loading commit data...
max6650.c Loading commit data...
max6697.c Loading commit data...
mc13783-adc.c Loading commit data...
mcp3021.c Loading commit data...
menf21bmc_hwmon.c Loading commit data...
nct6683.c Loading commit data...
nct6775.c Loading commit data...
nct7802.c Loading commit data...
nct7904.c Loading commit data...
nsa320-hwmon.c Loading commit data...
ntc_thermistor.c Loading commit data...
pc87360.c Loading commit data...
pc87427.c Loading commit data...
pcf8591.c Loading commit data...
powr1220.c Loading commit data...
pwm-fan.c Loading commit data...
s3c-hwmon.c Loading commit data...
sch5627.c Loading commit data...
sch5636.c Loading commit data...
sch56xx-common.c Loading commit data...
sch56xx-common.h Loading commit data...
scpi-hwmon.c Loading commit data...
sht15.c Loading commit data...
sht21.c Loading commit data...
sht3x.c Loading commit data...
shtc1.c Loading commit data...
sis5595.c Loading commit data...
smm665.c Loading commit data...
smsc47b397.c Loading commit data...
smsc47m1.c Loading commit data...
smsc47m192.c Loading commit data...
stts751.c Loading commit data...
tc654.c Loading commit data...
tc74.c Loading commit data...
thmc50.c Loading commit data...
tmp102.c Loading commit data...
tmp103.c Loading commit data...
tmp108.c Loading commit data...
tmp401.c Loading commit data...
tmp421.c Loading commit data...
ultra45_env.c Loading commit data...
vexpress-hwmon.c Loading commit data...
via-cputemp.c Loading commit data...
via686a.c Loading commit data...
vt1211.c Loading commit data...
vt8231.c Loading commit data...
w83627ehf.c Loading commit data...
w83627hf.c Loading commit data...
w83781d.c Loading commit data...
w83791d.c Loading commit data...
w83792d.c Loading commit data...
w83793.c Loading commit data...
w83795.c Loading commit data...
w83l785ts.c Loading commit data...
w83l786ng.c Loading commit data...
wm831x-hwmon.c Loading commit data...
wm8350-hwmon.c Loading commit data...
xgene-hwmon.c Loading commit data...