Re: [PATCH v6 1/2] hwmon: (pmbus/isl68137) add support for voltage divider on Vout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 30, 2024 at 05:40:58PM -0500, Grant Peltier wrote:
> 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@xxxxxxxxx>

Applied, after fixing several alignment problems reported by
checkpatch --strict.

Guenter




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux