linux/drivers/hwmon
Jean Delvare eabb038101 [PATCH} hwmon: (jc42) Properly detect TSE2004-compliant devices again
Commit b3e992f69c ("hwmon: (jc42)  Strengthen detect function")
attempted to make the detect function more robust for
TSE2004-compliant devices by checking capability bits which, according
to the JEDEC 21-C specification, should always be set. Unfortunately,
not all real-world implementations fully adhere to this specification,
so this change caused a regression.

Stop testing bit 7 (EVSD) of the Capabilities register, as it was
found to be 0 on one real-world device.

Also stop testing bits 0 (EVENT) and 2 (RANGE) as vendor datasheets
(Renesas TSE2004GB2B0, ST STTS2004) suggest that they may not always
be set either.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Message-ID: <20241014141204.026f4641@endymion.delvare>
Fixes: b3e992f69c ("hwmon: (jc42)  Strengthen detect function")
Message-ID: <20241014220426.0c8f4d9c@endymion.delvare>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-10-14 19:14:08 -07:00
..
occ move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
peci
pmbus hwmon updates for v6.12 2024-09-18 12:40:48 +02:00
abituguru.c
abituguru3.c
acpi_power_meter.c
ad7314.c
ad7414.c
ad7418.c
adc128d818.c
adcxx.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm1177.c
adm9240.c
ads7828.c
ads7871.c
adt7x10.c hwmon: (adt7x10) Use multi-byte regmap operations 2024-07-31 10:43:51 -07:00
adt7x10.h
adt7310.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
adt7410.c
adt7411.c
adt7462.c
adt7470.c hwmon: (adt7470) Use multi-byte regmap operations 2024-07-31 10:43:51 -07:00
adt7475.c hwmon: (adt7475) Fix memory leak in adt7475_fan_pwm_config() 2024-10-07 08:42:31 -07:00
aht10.c
amc6821.c hwmon: (amc6821) Use multi-byte regmap operations 2024-07-31 10:43:51 -07:00
applesmc.c
aquacomputer_d5next.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
as370-hwmon.c
asb100.c
asc7621.c
aspeed-g6-pwm-tach.c hwmon: (aspeed-g6-pwm-tacho): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
aspeed-pwm-tacho.c hwmon: (aspeed-pwm-tacho): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
asus-ec-sensors.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
asus_atk0110.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
asus_rog_ryujin.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
asus_wmi_sensors.c
atxp1.c
axi-fan-control.c
bt1-pvt.c
bt1-pvt.h
chipcap2.c hwmon: (chipcap2) Drop cc2_disable() in the probe and return dev_err_probe() 2024-08-27 08:10:23 -07:00
coretemp.c
corsair-cpro.c
corsair-psu.c
cros_ec_hwmon.c
da9052-hwmon.c
da9055-hwmon.c
dell-smm-hwmon.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
dme1737.c
drivetemp.c
ds620.c
ds1621.c
emc6w201.c
emc1403.c
emc2103.c
emc2305.c
f71805f.c
f71882fg.c
f75375s.c
fam15h_power.c
fschmd.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
ftsteutates.c
g760a.c
g762.c hwmon: (g762) Initialize fans after configuring clock 2024-07-09 15:45:48 -07:00
gigabyte_waterforce.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
gl518sm.c
gl520sm.c
gpio-fan.c
gsc-hwmon.c hwmon: (gsc-hwmon) fix module autoloading 2024-08-27 08:10:23 -07:00
gxp-fan-ctrl.c
hih6130.c
hp-wmi-sensors.c platform/x86: wmi: Pass event data directly to legacy notify handlers 2024-09-05 17:21:59 +02:00
hs3001.c
hwmon-vid.c
hwmon.c hwmon: Remove devm_hwmon_device_unregister() API function 2024-09-13 07:27:36 -07:00
i5k_amb.c
i5500_temp.c
ibmaem.c
ibmpex.c
ibmpowernv.c
iio_hwmon.c Char/Misc and other driver changes for 6.11-rc1 2024-07-19 15:55:08 -07:00
ina2xx.c hwmon: (ina2xx) Use shunt voltage to calculate current 2024-08-30 08:34:23 -07:00
ina209.c
ina238.c
ina3221.c hwmon: (ina3221): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
intel-m10-bmc-hwmon.c hwmon: intel-m10-bmc-hwmon: relabel Columbiaville to CVL Die Temperature 2024-10-07 08:42:31 -07:00
it87.c
jc42.c [PATCH} hwmon: (jc42) Properly detect TSE2004-compliant devices again 2024-10-14 19:14:08 -07:00
k8temp.c
k10temp.c hwmon updates for v6.12 2024-09-18 12:40:48 +02:00
Kconfig hwmon: (max1668) Add missing dependency on REGMAP_I2C 2024-10-07 08:42:32 -07:00
lan966x-hwmon.c
lenovo-ec-sensors.c
lineage-pem.c
lm63.c
lm70.c
lm73.c
lm75.c
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c hwmon: (lm90): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
lm92.c hwmon: (lm92) Convert to with_info hwmon API 2024-08-27 08:10:23 -07:00
lm93.c
lm95234.c hwmon: (lm95234) Use multi-byte regmap operations 2024-07-31 10:43:52 -07:00
lm95241.c
lm95245.c hwmon: (lm95245) Use multi-byte regmap operations 2024-07-31 10:43:51 -07:00
lochnagar-hwmon.c
ltc2945.c
ltc2947-core.c hwmon: (ltc2947) Move to firmware agnostic API 2024-07-31 10:43:52 -07:00
ltc2947-i2c.c
ltc2947-spi.c
ltc2947.h
ltc2990.c
ltc2991.c hwmon: ltc2991: fix register bits defines 2024-09-01 06:39:57 -07:00
ltc2992.c hwmon: (ltc2992) use device_for_each_child_node_scoped() to access child nodes 2024-07-31 10:43:52 -07:00
ltc4151.c
ltc4215.c
ltc4222.c
ltc4245.c
ltc4260.c
ltc4261.c
ltc4282.c
ltq-cputemp.c
Makefile hwmon: Add sophgo SG2042 external hardware monitor support 2024-08-27 08:11:15 -07:00
max127.c
max197.c
max1111.c
max1619.c hwmon: (max1619) Improve chip detection code 2024-07-31 10:43:53 -07:00
max1668.c hwmon: (max1668) Convert to use with_info hwmon API 2024-07-31 10:43:53 -07:00
max6620.c
max6621.c
max6639.c hwmon: (max6639) Use multi-byte regmap operations 2024-07-31 10:43:51 -07:00
max6650.c
max6697.c hwmon: (max6697) Document discrepancy in overtemperature status bit values 2024-07-31 10:43:53 -07:00
max16065.c hwmon: (max16065) Fix alarm attributes 2024-07-31 10:43:52 -07:00
max31722.c
max31730.c
max31760.c
max31790.c
max31827.c
mc34vr500.c
mc13783-adc.c
mcp3021.c
menf21bmc_hwmon.c
mlxreg-fan.c
mr75203.c
nct6683.c
nct6775-core.c
nct6775-i2c.c
nct6775-platform.c hwmon: (nct6775) add G15CF to ASUS WMI monitoring list 2024-08-27 08:10:23 -07:00
nct6775.h
nct7802.c hwmon: (nct7802): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
nct7904.c
npcm750-pwm-fan.c hwmon: (npcm750-pwm-fan): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
nsa320-hwmon.c
ntc_thermistor.c hwmon: (ntc_thermistor) fix module autoloading 2024-08-27 08:10:23 -07:00
nzxt-kraken2.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
nzxt-kraken3.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
nzxt-smart2.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
oxp-sensors.c hwmon: (oxp-sensors) Add missing breaks to fix -Wimplicit-fallthrough with clang 2024-08-28 13:33:53 -07:00
pc87360.c hwmon: (pc87360) Use min() macro 2024-08-27 08:12:23 -07:00
pc87427.c
pcf8591.c
powerz.c
powr1220.c
pt5161l.c hwmon: (pt5161l) Fix invalid temperature reading 2024-08-26 20:58:05 -07:00
pwm-fan.c hwmon: (pwmfan) Do not force disable pwm controller 2024-08-27 08:12:23 -07:00
raspberrypi-hwmon.c
sbrmi.c
sbtsi_temp.c
sch56xx-common.c
sch56xx-common.h hwmon: (sch5627) Remove unused declaration sch56xx_watchdog_unregister() 2024-08-27 08:10:23 -07:00
sch5627.c
sch5636.c hwmon: (sch5636) Print unknown ID in error string via %*pE 2024-09-12 14:27:37 -07:00
scmi-hwmon.c
scpi-hwmon.c
sfctemp.c
sg2042-mcu.c hwmon: Add sophgo SG2042 external hardware monitor support 2024-08-27 08:11:15 -07:00
sht3x.c
sht4x.c
sht15.c
sht21.c hwmon: (sht21) Use %*ph to print small buffer 2024-09-12 14:17:29 -07:00
shtc1.c hwmon updates for v6.11-rc1 2024-07-15 17:39:13 -07:00
sis5595.c
sl28cpld-hwmon.c
smpro-hwmon.c
smsc47b397.c
smsc47m1.c
smsc47m192.c
sparx5-temp.c
spd5118.c
stts751.c hwmon: (stts751) Add "st" vendor prefix to "stts751" compatible string 2024-08-27 08:10:23 -07:00
surface_fan.c
surface_temp.c hwmon: Add thermal sensor driver for Surface Aggregator Module 2024-08-27 08:10:23 -07:00
sy7636a-hwmon.c
tc74.c
tc654.c
thmc50.c
tmp102.c
tmp103.c
tmp108.c
tmp401.c hwmon: (tmp401) Use multi-byte regmap operations 2024-07-31 10:43:51 -07:00
tmp421.c hwmon: (tmp421): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
tmp464.c hwmon: (tmp464): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
tmp513.c
tps23861.c
ultra45_env.c
vexpress-hwmon.c hwmon: (vexpress) Use of_property_present() 2024-08-27 08:10:11 -07:00
via-cputemp.c
via686a.c
vt1211.c
vt8231.c
w83l785ts.c
w83l786ng.c
w83627ehf.c
w83627hf.c
w83773g.c
w83781d.c
w83791d.c
w83792d.c
w83793.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
w83795.c
wm831x-hwmon.c
wm8350-hwmon.c
xgene-hwmon.c