diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2022-05-18 11:27:16 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-20 00:09:45 +0000 |
commit | f4a64c7feb5e97396c3de25ee3eb47493975a02b (patch) | |
tree | 972c1d952cc25fa208b6993166daabdb0a732f88 /include | |
parent | d621541e408b0f0e7425812976545c375f00f498 (diff) | |
download | chrome-ec-f4a64c7feb5e97396c3de25ee3eb47493975a02b.tar.gz |
RGBKBD: Add late initialization
is31fl3743b does not successfully change the GCC or scale registers
during power-on after a cold reset.
This patch adds a delayed initialization to rgbkbd_enable so that the
chip will be re-initialized on the first operation (e.g. enable, set
brightness, set color).
BUG=b:232443638
BRANCH=None
TEST=Vell
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: Ie78983dab73c608aa9d14b3e1f9d1edd2def2e54
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3654489
Reviewed-by: Parth Malkan <parthmalkan@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 100cd12020..4a849e5a7c 100644 --- a/include/config.h +++ b/include/config.h @@ -3155,6 +3155,9 @@ #undef CONFIG_LED_DRIVER_IS31FL3743B /* Lumissil IS31FL3743B on SPI */ #undef CONFIG_LED_DRIVER_AW20198 /* Awinic AW20198 on I2C */ +/* Enable late init for is31fl3743b. Work around b:232443638. */ +#undef CONFIG_IS31FL3743B_LATE_INIT + /* Offset in flash where little firmware will live. */ #undef CONFIG_LFW_OFFSET |