[PATCH v3 4/4] iio: adc: aspeed: Reserve battery sensing channel for on-demand use
Jonathan Cameron
jic23 at kernel.org
Sun Mar 22 02:51:27 AEDT 2026
On Fri, 20 Mar 2026 12:33:32 +0200
Andy Shevchenko <andriy.shevchenko at intel.com> wrote:
> On Fri, Mar 20, 2026 at 01:46:38PM +0800, Billy Tsai wrote:
> > 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.
>
>
> ...
>
> > + /*
> > + * After enable a new channel need to wait some time for ADC stable
>
> Missed period at the end. And you probably wanted to say
> "...for ADC to stabilize."
Tweaked and tidied up line wrap.
Series applied to the togreg branch of iio.git.
thanks,
Jonathan
>
> > + * Experiment result is 1ms.
> > + */
> > + fsleep(1000);
> > + }
>
More information about the Linux-aspeed
mailing list