Mårten Lindahl 4a235369da 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 <marten.lindahl@axis.com>
Link: https://lore.kernel.org/r/20220614095144.3472305-1-marten.lindahl@axis.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2022-07-13 08:38:20 -07:00
..
2022-06-03 11:48:47 -07:00
2022-06-30 08:21:43 +09:00
2022-06-21 16:36:09 +02:00
2022-06-26 14:12:56 -07:00
2022-05-15 18:31:28 -06:00
2022-06-28 17:56:57 +02:00
2022-05-29 11:38:27 -07:00
2022-06-20 08:38:29 -05:00
2022-06-24 17:01:31 -07:00
2022-06-07 15:00:29 -07:00
2022-06-02 15:23:54 -07:00
2022-06-02 15:23:54 -07:00
2022-06-30 15:26:55 -07:00
2022-05-25 16:18:27 -07:00
2022-05-25 15:02:26 +02:00
2022-06-03 11:48:47 -07:00
2022-06-02 15:23:54 -07:00
2022-05-23 21:06:11 -07:00
2022-05-19 16:56:17 +02:00
2022-06-29 09:32:06 -07:00
2022-06-03 11:48:47 -07:00
2022-06-02 15:23:54 -07:00
2022-07-01 11:19:14 -07:00
2022-06-03 11:48:47 -07:00
2022-06-01 13:49:15 -07:00
2022-06-05 09:25:12 -07:00
2022-06-05 09:25:12 -07:00