| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove these includes as they're not needed in this header. Instead,
the includes should go where they're actually being used.
BRANCH=none
BUG=b:240574048
TEST=make buildall -j
TEST=zmake build -a
Signed-off-by: Yuval Peress <peress@google.com>
Change-Id: I64b10af3216654b2a20caa1cabd267661a0bca39
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3791980
Reviewed-by: Tristan Honscheid <honscheid@google.com>
Commit-Queue: Tristan Honscheid <honscheid@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I39406aae25be91a1e47cbabb83698c592c975ba7
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3727918
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One of the checks that runs as part of "repo upload" looks for a single
newline at the end of each file. I'm getting warnings about this when I
touch files that do not follow this, even though I didn't add the extra
newlines.
This commit fixes all files by running the following:
for f in $(find . -name '*.[ch]');
do printf '%s\n' "$(cat ${f})" > ${f};
done
BRANCH=none
BUG=b:172020503
TEST=./util/compare_build.sh -b all -j 120
=> MATCH
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: Ia3ece5b64b549d21ca11708791368002bb6e9b0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3229797
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Copy from krane, which is a model from Kukui.
Modified for building pass.
It will need to be revised later.
BUG=b:171763111
BRANCH=master
TEST=make -j BOARD=kakadu
Change-Id: I87fcf8c8e3bd4fa669e0bcb7fbb9d125a9926cdb
Signed-off-by: wen zhang <zhangwen6@huaqin.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2501801
Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Request voltage always keep at 4320mV when cycle_count is over than 600.
We need at a zone for it.
BUG=b:153272421
BRANCH=kukui
TEST=make -j BOARD=kakadu
TEST=make buildall
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: I8d065a607226a39335e3a663ddf7a179ff73a0db
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2282739
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.If cycle count > 300, set Charge Voltage=4320,
cycle count > 600, set Charge Voltage=4300,
cycle count > 1000, set Charge Voltage=4250
2.If charging over 48 hours and Charge Voltage > 4.25V,
set Charge Voltage = 4.25V
3.If charging over 2 hours,battery voltage over 4.1V and
battery temperature over 45°C, switch to discharge mode and
set Charge Voltage = 4.1V
BUG=b:153272421
BRANCH=kukui
TEST=make -j BOARD=kakadu
TEST=make buildall
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: I4968308b984f08a58491586a90b0b239eec07328
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2280865
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ectool battery need to show proper OEM name when using dump battery.
BUG=b:159918228
BRANCH=kukui
TEST=make -j board=kakadu
TEST=make buildall
TEST=ectool battery
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: I27e355881d6f6692edb2599fef7fb2c2c30a1062
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2269393
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After power team experiment, change those parameter can reduce charging
time.
BUG=b:156398259
BRANCH=kukui
TEST=make -j BOARD=kakadu
TEST=make buildall
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: I636ac4608e7af4afcc8d1adbadeead75d3e6c3b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2198815
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When battery charge enter CV mode, it can be charged more power if the setting changed to 200.
BUG=b:153832582
BRANCH=kukui
TEST=make -j BOARD=kakadu
TEST=make buildall
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: Ie2bdff88ca230a3f05458a9cb1b9a3fb546a7f15
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2145551
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Configure battery parameter for gauge max17055 on kakadu.
BUG=b:151899905
BRANCH=kukui
TEST=make -j BOARD=kakadu
TEST=make buildall
Change-Id: I5253f248f0ec4dd0a8e41cf1609160d82212ee6e
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2089221
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
This CL introduces config option VARIANT_KUKUI_BATTERY_* and
VARIANT_KUKUI_CHARGER_* for derivatives to pick their battery / charger
option.
BUG=b:137172860
TEST=build and deploy on Krane, verify that `battery` and `charger`
console output looks reasonable.
BRANCH=master
Change-Id: Ic5c33a233ec30c9bc71414c95603157301281041
Signed-off-by: Ting Shen <phoenixshen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1697781
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|