]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: aspeed: Reserve battery sensing channel for on-demand use
authorBilly Tsai <billy_tsai@aspeedtech.com>
Fri, 20 Mar 2026 05:46:38 +0000 (13:46 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2026 15:52:22 +0000 (15:52 +0000)
commit58b98c66e6b0e7bcd0799105dadad263a826d425
treeee55d49c7bc372be8dac9742f6ec60b73dc7b027
parent66ab53c286989634acaa2c4a5703c0f647cb9aa3
iio: adc: aspeed: Reserve battery sensing channel for on-demand use

For controllers with battery sensing capability (AST2600/AST2700), the
last channel uses a different circuit design optimized for battery
voltage measurement. This channel should not be enabled by default
along with other channels to avoid potential interference and power
efficiency issues.
This ensures optimal power efficiency for normal ADC operations while
maintaining full functionality when battery sensing is needed.

Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/aspeed_adc.c