mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
coral: Remove LED signals from pwm channel list
The GPIO lines for the charger LED are being used as simple on/off and no PWM control is used. Removed them from the pwm channel list so that it reflects more accurately what PWM is used for on Coral. BUG=b:64192049 BRANCH=None TEST=make -j BOARD=coral Change-Id: I3546001f96cb01f81fa1c373de28e460b63012c1 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/717187 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
5436afc8f6
commit
35ed69cde8
@@ -167,8 +167,6 @@ BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT);
|
||||
|
||||
/* PWM channels. Must be in the exactly same order as in enum pwm_channel. */
|
||||
const struct pwm_t pwm_channels[] = {
|
||||
[PWM_CH_LED_GREEN] = { 2, PWM_CONFIG_DSLEEP, 100 },
|
||||
[PWM_CH_LED_RED] = { 3, PWM_CONFIG_DSLEEP, 100 },
|
||||
[PWM_CH_KBLIGHT] = { 4, PWM_CONFIG_DSLEEP, 100 },
|
||||
};
|
||||
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);
|
||||
|
||||
@@ -231,9 +231,7 @@ enum adc_channel {
|
||||
};
|
||||
|
||||
enum pwm_channel {
|
||||
PWM_CH_LED_GREEN = 0,
|
||||
PWM_CH_LED_RED,
|
||||
PWM_CH_KBLIGHT,
|
||||
PWM_CH_KBLIGHT = 0,
|
||||
/* Number of PWM channels */
|
||||
PWM_CH_COUNT
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user