aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorGrant Peltier <grantpeltier93@gmail.com>2024-11-12 14:09:28 -0600
committerGuenter Roeck <linux@roeck-us.net>2024-11-13 12:08:07 -0800
commit3996187f80a0e24bff1959609065d49041cf648d (patch)
treebf7f5c4b620ab3cb1bba34a6935b3f02c33e0751 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent71d689f60b51113a9a6de343bde35d9375c22c57 (diff)
downloadlinux-3996187f80a0e24bff1959609065d49041cf648d.tar.gz
linux-3996187f80a0e24bff1959609065d49041cf648d.tar.bz2
linux-3996187f80a0e24bff1959609065d49041cf648d.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions