linux/drivers/hwmon/pmbus
Grant Peltier 3996187f80 hwmon: (pmbus/isl68137) add support for voltage divider on Vout
Some applications require Vout to be higher than the detectable voltage
range of the Vsense pin for a given rail. In such applications, a voltage
divider may be placed between Vout and the Vsense pin, but this results
in erroneous telemetry being read back from the part. This change adds
support for a voltage divider to be defined in the devicetree for a (or
multiple) specific rail(s) for a supported digital multiphase device and
for the applicable Vout telemetry to be scaled based on the voltage
divider configuration.

This change copies the implementation of the vout-voltage-divider
devicetree property defined in the maxim,max20730 bindings schema since
it is the best fit for the use case of scaling hwmon PMBus telemetry. The
generic voltage-divider property used by many iio drivers was determined
to be a poor fit because that schema is tied directly to iio and the
isl68137 driver is not an iio driver.

Signed-off-by: Grant Peltier <grantpeltier93@gmail.com>
Message-ID: <8c2d048f87282bcf66313afbf5e923d8fc17b4d7.1731439797.git.grantpeltier93@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-13 12:08:07 -08:00
..
acbel-fsg032.c hwmon: (pmbus/acbel-fsg032) Add firmware version debugfs attribute 2023-08-21 06:04:29 -07:00
adm1266.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
adm1275.c hwmon: (pmbus/adm1275) add adm1281 support 2024-04-28 10:08:43 -07:00
adp1050.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
bel-pfe.c hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100 2023-08-06 06:22:33 -07:00
bpa-rs600.c hwmon: Switch i2c drivers back to use .probe() 2023-06-08 06:41:17 -07:00
delta-ahe50dc-fan.c hwmon: Switch i2c drivers back to use .probe() 2023-06-08 06:41:17 -07:00
dps920ab.c hwmon: Explicitly include correct DT includes 2023-08-21 06:04:29 -07:00
fsp-3y.c hwmon: Switch i2c drivers back to use .probe() 2023-06-08 06:41:17 -07:00
ibm-cffps.c hwmon: (pmbus/ibm-cffps) fix Wvoid-pointer-to-enum-cast warning 2023-08-21 06:04:31 -07:00
inspur-ipsps.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
ir35221.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
ir36021.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
ir38064.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
irps5401.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
isl68137.c hwmon: (pmbus/isl68137) add support for voltage divider on Vout 2024-11-13 12:08:07 -08:00
Kconfig hwmon: (pmbus/ltc2978) add support for ltc7841 2024-11-10 14:48:07 -08:00
lm25066.c hwmon: (pmbus/lm25066) Let enum chips start with index 0 2024-06-11 07:25:13 -07:00
lt7182s.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
ltc2978.c hwmon: (pmbus/ltc2978) add support for ltc7841 2024-11-10 14:48:07 -08:00
ltc3815.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
ltc4286.c hwmon: (pmbus/ltc4286) Drop unused i2c device ids 2024-07-10 07:11:34 -07:00
Makefile hwmon: add MP5920 driver 2024-07-02 12:36:31 -07:00
max8688.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
max15301.c hwmon: pmbus: max15301: Use generic code 2024-09-02 07:34:02 -07:00
max16064.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
max16601.c hwmon: (pmbus/max16601) Add support for new revisions of MAX16508 2023-06-10 08:28:14 -07:00
max20730.c hwmon: (max20730) fix Wvoid-pointer-to-enum-cast warning 2023-08-21 06:04:31 -07:00
max20751.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
max31785.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
max34440.c hwmon: Switch i2c drivers back to use .probe() 2023-06-08 06:41:17 -07:00
mp2856.c hwmon: (pmbus/mp2856) Let enum chips start with index 0 2024-06-11 07:25:13 -07:00
mp2888.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
mp2891.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-11-10 14:48:05 -08:00
mp2975.c hwmon: (pmbus/mp2975) Use i2c_get_match_data() 2024-04-28 10:08:33 -07:00
mp2993.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-11-10 14:48:05 -08:00
mp5023.c hwmon: Explicitly include correct DT includes 2023-08-21 06:04:29 -07:00
mp5920.c hwmon: add MP5920 driver 2024-07-02 12:36:31 -07:00
mp5990.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
mp9941.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-11-10 14:48:05 -08:00
mpq7932.c hwmon: (pmbus/mpq7932) Constify struct regulator_desc 2024-09-08 16:37:51 -07:00
mpq8785.c hwmon: (pmbus/mpq8785) Convert comma to semicolon 2024-11-10 14:48:06 -08:00
pim4328.c hwmon: Switch i2c drivers back to use .probe() 2023-06-08 06:41:17 -07:00
pli1209bc.c hwmon: pmbus: pli12096bc: Add write delay 2024-09-02 07:34:03 -07:00
pm6764tr.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
pmbus_core.c hwmon: (pmbus/core) clear faults after setting smbalert mask 2024-11-12 13:54:55 -08:00
pmbus.c hwmon: Switch i2c drivers back to use .probe() 2023-06-08 06:41:17 -07:00
pmbus.h hwmon updates for v6.12 2024-09-18 12:40:48 +02:00
pxe1610.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
q54sj108a2.c hwmon: Explicitly include correct DT includes 2023-08-21 06:04:29 -07:00
stpddc60.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
tda38640.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
tps546d24.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
tps40422.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
tps53679.c hwmon: (pmbus/tps53679) fix Wvoid-pointer-to-enum-cast warning 2023-08-21 06:04:31 -07:00
ucd9000.c hwmon: pmbus: ucd9000: Use generic code 2024-09-02 07:34:02 -07:00
ucd9200.c hwmon: (pmbus/ucd9200) fix Wvoid-pointer-to-enum-cast warning 2023-08-21 06:04:31 -07:00
xdp710.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
xdpe152c4.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
xdpe12284.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-01 07:47:49 -07:00
zl6100.c hwmon: pmbus: zl6100: Use generic code 2024-09-02 07:34:03 -07:00