diff options
author | Matt Wang <matt_wang@compal.corp-partner.google.com> | 2022-07-01 09:28:14 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-01 09:13:08 +0000 |
commit | ff6956c428b61dbee4c881e562f547b7e39a4943 (patch) | |
tree | 784f03468ee0c7817da63535ab4e64dbff996a73 /board/kinox | |
parent | 11c4a92bcbd9b51f25c838d0f95b53f7718a6f31 (diff) | |
download | chrome-ec-ff6956c428b61dbee4c881e562f547b7e39a4943.tar.gz |
kinox: LED_PWR_L change to open drain
According to the LED_PWR_L GPIO change to OD from push-pull.
So modify the setting.
BUG=b:237482098
BRANCH=none
TEST=The LED can light up at S0, breath at suspend, off at shutdown.
Signed-off-by: Matt Wang <matt_wang@compal.corp-partner.google.com>
Change-Id: Ibbfe291adc4b2c2df1463e630c206f47534d1e78
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3739981
Reviewed-by: Ricky Chang <rickytlchang@chromium.org>
Diffstat (limited to 'board/kinox')
-rw-r--r-- | board/kinox/pwm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/kinox/pwm.c b/board/kinox/pwm.c index 112ee62c8c..90db5670f7 100644 --- a/board/kinox/pwm.c +++ b/board/kinox/pwm.c @@ -13,7 +13,8 @@ const struct pwm_t pwm_channels[] = { [PWM_CH_LED_GREEN] = { .channel = 0, - .flags = PWM_CONFIG_ACTIVE_LOW | PWM_CONFIG_DSLEEP, + .flags = PWM_CONFIG_ACTIVE_LOW | PWM_CONFIG_DSLEEP | + PWM_CONFIG_OPEN_DRAIN, .freq = 2000 }, [PWM_CH_FAN] = { |