diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-04-28 15:49:24 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-05 23:29:28 +0000 |
commit | 212ef472cc13372a0a70351f24fc0e1bbf29de8f (patch) | |
tree | 34aaeacf121458b0473830ced021a148f3539838 /zephyr/Kconfig.charger | |
parent | 73d4d92b07937932794d0e37d923300e4cb72481 (diff) | |
download | chrome-ec-212ef472cc13372a0a70351f24fc0e1bbf29de8f.tar.gz |
chargesplash: State machine implementation
This is much of the legwork required for go/cros-charging-splash, at
least the portion of connecting the charger from chipset off state.
What remains is:
- Examining battery state and charger supply to make better decisions
about when we can show the splash.
- Consider assertion of PROCHOT during bootup of a low power charger,
or after display initialization before the power button is pressed.
The next CL adds a simple text-based UI on top of this.
BUG=b:228370390
BRANCH=none
TEST=connect charger and boot to splash on brya (using ghost image)
(with full CL stack)
TEST=provided integration tests pass
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: Ic114e975109a338ffaa3be977094020251fc36e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3575089
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Diffstat (limited to 'zephyr/Kconfig.charger')
-rw-r--r-- | zephyr/Kconfig.charger | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zephyr/Kconfig.charger b/zephyr/Kconfig.charger index 6bb196929e..fe2dd9f408 100644 --- a/zephyr/Kconfig.charger +++ b/zephyr/Kconfig.charger @@ -63,6 +63,12 @@ config PLATFORM_EC_CHARGE_MANAGER source is available on the hardware, so cannot be built without PLATFORM_EC_USBC. +config PLATFORM_EC_CHARGESPLASH + bool "Charging splashscreen support" + help + Enable visual charging indicator to display on-screen when + AC is initially connected. + config PLATFORM_EC_CHARGER_ISL9237 bool "Use the ISL9237 charger" depends on PLATFORM_EC_I2C |