This enables the battery on snow so that you can see the battery status
on the gui.
BUG=none
TEST=manual:
boot on snow; see that the battery gauge comes up after a few seconds
Change-Id: I4363674eca57d16201b4ddedd49a21fa44dd17de
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/26835
Commit-Ready: Grant Grundler <grundler@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Tested-by: Grant Grundler <grundler@chromium.org>
interrupt-parent = <&wakeup_eint>;
};
+ battery: sbs-battery@b {
+ compatible = "sbs,sbs-battery";
+ reg = <0xb>;
+ sbs,poll-retry-count = <1>;
+ };
// i2c4 hsic hub @0x8, eeprom @0x50, batt @0xb
};
# CONFIG_WATCHDOG_NOWAYOUT is not set
# CONFIG_XFRM_USER is not set
CONFIG_XZ_DEC_X86=y
+
+CONFIG_BATTERY_SBS=y