summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorNikhil Gautam <nikhilgtr@gmail.com>2026-04-14 22:33:08 +0530
committerJonathan Cameron <jic23@kernel.org>2026-04-27 09:58:20 +0100
commit416e983c913742cfae1720982720fe06fc7d3bba (patch)
treeaf55d711b003dccaf0cb666b60f37b192612e08f /scripts/patch-kernel
parent090839ecff2b30fa87b73f5001cdb150673a4d4c (diff)
downloadlinux-416e983c913742cfae1720982720fe06fc7d3bba.tar.gz
linux-416e983c913742cfae1720982720fe06fc7d3bba.zip
iio: dac: mcp4821: add configurable gain support
Add support for configuring the DAC gain using the GA bit The MCP4821 supports two gain settings: - 1x gain → 2.048V full-scale - 2x gain → 4.096V full-scale Scale write support is added in the IIO interface. Only scale values advertised via the scale_available attribute are accepted, ensuring consistency between the configured gain and exposed scale values. Signed-off-by: Nikhil Gautam <nikhilgtr@gmail.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions