ARM: dts: da850-lego-ev3: Fix battery voltage gpio
authorDavid Lechner <david@lechnology.com>
Sun, 3 Dec 2017 22:04:53 +0000 (16:04 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:36:23 +0000 (09:36 +0200)
commit326e61ce9761d71098c7001e51dafec067f50424
tree06c01c3077922b2a5f75110ba8aa3c1d07384a35
parent8f1a2803e4c2163c013816f7b41c85b91c9124c9
ARM: dts: da850-lego-ev3: Fix battery voltage gpio

commit c5a88cd2e1c508868922bafa0a5c3365986b98e5 upstream.

This fixes the battery voltage monitoring gpio-hog settings.

When the gpio is low, it turns off the battery voltage to the ADC chip.
However, this needs to be on all of the time so that we can monitor
battery voltage.

Also, there was a typo that prevented pinmuxing from working correctly.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/da850-lego-ev3.dts