| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
BRANCH=cherry
TEST=make BOARD=cherry, dojo, tomato
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I74918f310c472848320b93a3dac6f89860bd14af
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3411515
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For GPIO_EN_KEYBOARD_BACKLIGHT is only enable when the current_percent
is not 0 in common/keyboard_backlight.c, enable EN_KB_BL while
chipset resume to S0 in board.c.
BUG=b:214165183
BRANCH=cherry
TEST=pressing hot key can adjust keyboard backlight.
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I0f94f68398fa31bb8435e985e990d2d5ba2cbcd3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3403363
Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Chen-Tsung Hsieh <chentsung@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all the bring-up features.
BRANCH=cherry
BUG=b:213878214
TEST=Build image and check .config.
Change-Id: Ia8d62835cf7999f28b0e7ea2183d864aef41c5cb
Signed-off-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3403836
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Normalise the name of the tablet mode detection
GPIO so that everyboard does not need to redefine it.
BUG=none
TEST=zmake testall; make buildall
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: Ifb458e755d1e00c0cff66a02c78dfccaba2d070c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3397141
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
log level = 0 can't pass FAFT, so we have to revert CL:3310298
BUG=b:214119711
TEST=none
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I8d992a6f2b1ac32227bd7cf051d7a63b848cd1e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3386136
Reviewed-by: Tzung-Bi Shih <tzungbi@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Auto-Submit: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We found that disabling *all* console outputs makes PD response time
30% faster.
Since we can't disable all outputs, try to remove a few redundant
things first.
BUG=b:193753475
TEST=Measure the delay between Source_Cap and Request message.
15ms after this patch.
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I59047e9fb83eefe0f5d1c587401309dc2ffb7ef3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3310298
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Rong Chang <rongchang@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable preserved log for ec reboot bugs like b/207326541.
BUG=none
TEST=make
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I8c81605d199c23ede155e7b13fe1e9cb59fca480
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3293756
Tested-by: Ting Shen <phoenixshen@chromium.org>
Auto-Submit: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add led behavior for STATE_CHARGING_FULL_S5 and
STATE_DISCHARGE_S0_BAT_LOW.
BUG=b:199125941
BRANCH=none
TEST=led behavior is correct in any state
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: Ie7767850d0659838d76e34b82ff6efcfd62f267c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3246634
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As suggested in the bug below:
- Set unused pin to INPUT|PULLDOWN or OUT_LOW
- Disable DP_DEMUX_EN in S3
- Disable unused ADC 1/2
BUG=b:203369223
TEST=measure power consumption
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I1798e6417820a84675509e960037b0503a41fa17
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3230468
Reviewed-by: Parker Lin <parkerlin@google.com>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Tested-by: Parker Lin <parkerlin@google.com>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement VBUS cycle according to USB Type-C Spec R2.0:
10.3.1 Hub Downstream Facing Port State Descriptions
10.3.1.1 DSPORT.Powered-off
A hub may provide power to its downstream ports all of the time to
support power applications from a USB port. Such hubs must ensure that
Enhanced SuperSpeed devices on its downstream-facing ports attempt
Enhanced SuperSpeed connection once upstream VBUS is seen by the hub.
The recommended method to achieve this is to cycle VBUS off for a
duration or by actively discharging so that it is seen to be off by the
downstream device.
BUG=b:200772411
TEST=manually
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I674391622698b6e241b0a97063b3abbc8550e365
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3195205
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:185726892
BRANCH=main
TEST=Verify EFS2 works, see CL:3207813
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I1e95cd1532abdcb097e4a81d30742dd08f77c46d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2845562
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable Dynamic PDO Selection to provide a more efficient charging.
BUG=b:196911733
TEST=Pass PD FAFT and FAFT-EC
BRANCH=none
Change-Id: Ie615d63fbca54bf70412367e8f3befabd7db5832
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3124474
Tested-by: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GPA4/GPA5: kb backlight -> Programming I2C
GPA3: Test point -> KB_BL_PWM
GPA6: Test point -> EN_KB_BL
Since the PWM pin changed, this CL breaks kb backlight on old boards.
BUG=b:199829459
TEST=pass factory test
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I33c42708b7694aeb625ea5b0879b3ac08ec81f67
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3160457
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Tested-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CL:3023017 does not work as expected because usb_port_power_dump module
still controls the power power.
This CL disables the hooks in usb_port_power_dump and enables the
interrupt function usb_a0_interrupt instead.
BUG=b:193499785
TEST=verify USB-A port works after this change
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I56196f2a062d6b3358a9a4330e7f33ab546f5d1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3174606
Reviewed-by: Rong Chang <rongchang@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New battery: AP16L8J
BUG=none
BRANCH=none
TEST="ectool batterycutoff" can cut off the battery
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I27a047d36d64dd9f5bce482b3b1290783b81976e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3168450
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) remove board_overcurrent_event since CL:2532676 added a default empty
implementation
2) remove GPIO_EN_KB_BL control since it's already handled in
keyboard_backlight.c
3) remove unused header includes
4) remove unused it5205 sbu handler
BUG=none
TEST=make
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I0231ba6c6bf16fa0fc1bf52fd77815271e79dcbb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3160456
Tested-by: Ting Shen <phoenixshen@chromium.org>
Auto-Submit: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Rong Chang <rongchang@chromium.org>
Commit-Queue: Rong Chang <rongchang@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implements F2 refresh key to ROW3.
BUG=b:197468826
BRANCH=none
TEST=none
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: Ic1ae5fb8f5ba060674a3cc49a482433db99d4ef1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3108849
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
board_id >= 2: BMA422
board_id < 2 : KX022
BUG=b:197383637
BRANCH=none
TEST=ectool motionsense can get BMA422 data
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: Ib0582c7606c4965eec52f58f4ff0fbc026512ca6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3117365
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the use of adc_chip.h where adc.h is also used. In this
case, adc_chip.h is redundant.
BRANCH=none
BUG=b:181271666
TEST=buildall passes
Change-Id: Id7baf9aef949447a4d47934242f9bae97c971262
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3120317
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:177391887
TEST=verify pd works
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ied4516abef3d544b8b4bdf8355f0f9fc305629a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793783
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
update gpio assignment for upcoming build.
BUG=b:193602585
TEST=boot tomato
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ic828eeb76c07e79451964c4c3e5f124056d15cc9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3025873
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Parker Lin <parkerlin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193499785
TEST=manually
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I1bda9b40bb8795837d25022f6f71661f7699d1cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023017
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set unused pwm pins (PWM 3,6,7) to input
BUG=b:192320391
TEST=make
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I0e6983fe45a0ac35bfed2e7da7a9213cccfe9b58
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2991988
Tested-by: Ting Shen <phoenixshen@chromium.org>
Auto-Submit: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable PWM_CH_LED2 (Green) at init.
PWM_CH_LED1 -> amber, PWM_CH_LED3 -> blue
LED Behavior:
Charge(S0/S3/S5) Amber on
Full Charge(S0/S3/S5) Blue on
Discharge in S3 Amber on 1s off 3s
Discharge in S5 Off
Discharge in S0 Blue on
Battery Error Amber on 1s off 1s
Factory mode Blue on 2s Amber on 2s
BUG=none
BRANCH=none
TEST=LED behavior meets the SPEC
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I8ee8188b6f60434b400a5e245e3cb9186a9a7338
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2966521
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It should set GPIO_EN_KB_BL low to turn off keyboard backlight
while setting pwm duty to 0%.
BUG=none
BRANCH=none
TEST=EC console "kblight 0" can turn off keyboard backlight
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I45e4b539ac77a28b5078455a7b4d601c4bc9b3ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2966690
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change base accelgyro driver to icm42607.
BUG=b:187748640
BRANCH=none
TEST=console "accelinfo on" and ectool motionsense show correctly.
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: Ib53f72ae283a7bf5a6193dcf3b656121af94c66f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2909954
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New battery: AP16L5J
BUG=none
BRANCH=none
TEST=Check found battery info in console and cutoff work.
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: Ife754ad23063b3471fff097a5c34f7cbc57c2a5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2812600
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using ADC channel 7 to read charger temperature.
BUG=b:187463588
BRANCH=none
TEST=Console commad "temps" and ectool can read the temperature.
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I031523859c0ff91f0041263ecf6a4a48048da819
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2891283
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, all boards using the LED On/Off module have battery LEDs.
However, if we'd like to expand support to Chromeboxes then the battery
LED must become optional.
BRANCH=None
BUG=b:185508707
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ieae098829ebe6c8b103f23d5abdbf70e7bcbdf2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2832692
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the LED on/off module towards using a more flexible LED support
approach. Define a weak power LED table and setter for boards to
override when needed. Note that during run-time these functions will
not get called since led_auto_control_is_enabled() will return false for
nonexistent LEDs.
This consumes an average of 165 additional bytes of flash space on
boards which do not use a power LED.
BRANCH=None
BUG=b:185508707
TEST=make -j buildall, load on guybrush (battery LED only) and confirm
no errors are seen. Load on Boten (both LEDs) and confirm behavior
appears normal
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Iaa1e22a7f5d8be39eb8792ee13d358087d7f7482
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2832691
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:181838424
TEST=keyboard backlight works
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I7fd20808c6e8e6a1e22c060bb14c145256201756
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2785511
Tested-by: Ting Shen <phoenixshen@chromium.org>
Auto-Submit: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:178158810
TEST=`accelread 0/1/2`
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Iad128e3c94e409da000d5f11952a526a73ad64d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2730519
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:180886390,b:178158810
TEST=make
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I99631c73112a4123dc24bd25825f59a6ff948dca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2731395
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:181838424
TEST=1) EC console prints "found batt:LGC KT0030G020"
2) cutoff works
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I903d0140e75a7877fa8ae6a8f04997f44989755b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2807249
Tested-by: Ting Shen <phoenixshen@chromium.org>
Tested-by: Parker Lin <parkerlin@google.com>
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use board-specific override files when generating VIFs for boards.
BUG=b:172276715
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I197365018ceb8197c22d631cebf4cbce1c0119f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2785506
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch switches implementation of input voltage reduction to generic
one. It removes reduce_input_voltage_when_full() function from board
code and defines CONFIG_BATT_FULL_CHIPSET_OFF_INPUT_LIMIT_MV
with appropriate voltage.
Affected boards:
- Ampton
- Asurada
- Cherry
- Dratini
- Jinlon
- Liara
- Nocturne
BUG=b:182546058
BRANCH=none
TEST=Compile firmware for affected boards.
TEST=Flash EC ToT on one of affected boards. Charge battery to full.
Shutdown board and check if voltage is reduced. Power on board,
check if previous voltage is restored.
Signed-off-by: Patryk Duda <pdk@semihalf.com>
Change-Id: I8f285e75c11f84f4711d5e6a4008174b6fb639cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2773219
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove duplicate headers in baseboard.c
- remove references to asurada / hayato
- replace cherry/led.c by asurada/led_hayato.c, which should be more
close to cherry's design
BUG=b:181838424
TEST=1) `ag '(asurada|hayato)' -i baseboard/cherry board/cherry`
returns empty result
2) make
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Id9afd90d323395f38787e452b02b8da65fd15286
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2734168
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
Copied from Asurada, with minimal changes to copyright header and
makefile to make it compilable and let linter happy.
BUG=b:178158810
TEST=make BOARD=cherry -j32
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ibf75df48336203fd84885856f971fea24f4ea288
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2730642
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
|