[PATCH linux dev-4.17 v3] hARM: dts: aspeed: romulus: Enable iio-hwmon-battery

Joel Stanley joel at jms.id.au
Mon Oct 22 09:22:41 AEDT 2018


On Wed, 22 Aug 2018 at 17:17, Lei YU <mine260309 at gmail.com> wrote:
>
> Add iio-hwmon-battery using adc channel 12 and enable adc to make
> adc running. This channel is used to read RTC battery voltage.
>
> Note with Romulus hardware design, it requires GPIOR3 to be pulled
> high to read the voltage, otherwise the reading is 0.
> When GPIOR3 is high, it consumes battery and impacts the battery life.
> So it is left for user space to toggle the GPIO when trying to read the
> voltage.
>
> Signed-off-by: Lei YU <mine260309 at gmail.com>

For the mailing list record: this was applied to dev-4.18 some time ago.

Cheers,

Joel


More information about the openbmc mailing list