summaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2026-02-10 16:51:10 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-22 15:44:23 +0300
commitaf980a79bfed43c4a0be12cca786be46f1a0c5e8 (patch)
tree4fbce73c95d11d7effa6b50b9d9d4f9357cf6d09 /include/linux/input
parentf789b8cc39f0dc46b1654aff84e420927bea4272 (diff)
downloadlinux-af980a79bfed43c4a0be12cca786be46f1a0c5e8.tar.xz
iio: dac: ds4424: add Rfs-based scale and per-variant limits
Parse optional maxim,rfs-ohms values to derive the per-channel output current scale (mA per step) for the IIO current ABI. Behavior changes: - If maxim,rfs-ohms is present, IIO_CHAN_INFO_SCALE becomes available and reports mA/step derived from Rfs. - If maxim,rfs-ohms is missing, SCALE is not exposed to keep older DTs working without requiring updates. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions