diff options
author | Mårten Lindahl <[email protected]> | 2022-06-14 11:51:44 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2022-07-13 08:38:20 -0700 |
commit | 4a235369dae5aa366c007fa46f670375cd845374 (patch) | |
tree | 356423d6cb1795e9f83e8c62a14d9099ea75651a /drivers/usb/cdns3/cdns3-trace.c | |
parent | 2a20db9bfc42b71fa311ace70265ba16f5a3ab80 (diff) |
hwmon: (pmbus/ltc2978) Set voltage resolution
The LTC2977 regulator does not set the regulator_desc .n_voltages value
which is needed in order to let the regulator core list the regulator
voltage range.
This patch defines a regulator_desc with a voltage range, and uses it
for defining voltage resolution for regulators LTC2972/LTC2974/LTC2975/
LTC2977/LTC2978/LTC2979/LTC2980/LTM2987 based on that they all have a 16
bit ADC with the same stepwise 122.07uV resolution. It also scales the
resolution to a 1mV resolution which is easier to handle.
Signed-off-by: Mårten Lindahl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions