| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Change-Id: I0f03f432ada1064ffba9595be78ca7ab4d25ecd1
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3155219
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Owners-Override: Jora Jacobi <jora@google.com>
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The memory-mapped AC_PRESENT flag needs to be initialized for
the batteryless projects.
BUG=chrome-os-partner:40384
TEST=make -j buildall, make -j tests
BRANCH=None
Signed-off-by: Ted Kuo <tedkuo@ami.com.tw>
Change-Id: Ia64ad6564f99b4aae060d29a572b4fe173da62d9
Reviewed-on: https://chromium-review.googlesource.com/273082
Tested-by: Ted Kuo <tedkuo@ami.com.tw>
Reviewed-by: Mohammed Habibulla <moch@google.com>
Commit-Queue: Ted Kuo <tedkuo@ami.com.tw>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fellow Hoofer charger's setting. (Disable the LDO mode, Enable
SYSOVP)
BUG=chrome-os-partner:39355
BRANCH=orco
TEST=Build FW and check battery charge to full.
Change-Id: I21f6908b95dec085a825aff8771a02bb5a2fc690
Signed-off-by: H.J. Liao <h.j.liao@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/266864
Reviewed-by: Sheng-liang Song <ssl@chromium.org>
Reviewed-by: Mohammed Habibulla <moch@google.com>
Commit-Queue: Keith Tzeng <keith.tzeng@quantatw.com>
Tested-by: Keith Tzeng <keith.tzeng@quantatw.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The green book is a function in battery that adjust charge current based
on temperature or other condition.
BUG=chrome-os-partner:39355
BRANCH=orco
TEST=Build FW and check battery charge to full.
Change-Id: I31113cb8abff751bb18a6ebe779df9f860ad8aa4
Signed-off-by: H.J. Liao <h.j.liao@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/266863
Reviewed-by: Mohammed Habibulla <moch@google.com>
Commit-Queue: Keith Tzeng <keith.tzeng@quantatw.com>
Tested-by: Keith Tzeng <keith.tzeng@quantatw.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use "ectool batterycutoff at-shutdown" instead of "ectool
batterycutoff".
BRANCH=orco
BUG=chrome-os-partner:39356
TEST=Build F/W and run command "ectool batterycutoff
at-shutdown;poweroff". The system won't boot up until the AC plugin.
Change-Id: I97b8fdc62c1c10483f2c870151f76f303a565360
Signed-off-by: H.J. Liao <h.j.liao@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/266857
Reviewed-by: Mohammed Habibulla <moch@google.com>
Commit-Queue: Keith Tzeng <keith.tzeng@quantatw.com>
Tested-by: Keith Tzeng <keith.tzeng@quantatw.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the battery parameters from battery spec.
BUG=chrome-os-partner:39355
BRANCH=orco
TEST=Build FW and check battery charge to full.
Change-Id: I4120736e8888cfe873ab41b0a7430118df820681
Signed-off-by: H.J. Liao <h.j.liao@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/266614
Reviewed-by: Mohammed Habibulla <moch@google.com>
Commit-Queue: Keith Tzeng <keith.tzeng@quantatw.com>
Tested-by: Keith Tzeng <keith.tzeng@quantatw.com>
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit edd4022a94fd6059d23f0ceda80a2c56eb9a50a3.
Change-Id: I68d483d4d558529bcc5a652a69fa34b1750d1092
Reviewed-on: https://chromium-review.googlesource.com/266781
Reviewed-by: Mohammed Habibulla <moch@google.com>
Commit-Queue: Mohammed Habibulla <moch@google.com>
Tested-by: Mohammed Habibulla <moch@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add brightness up/down button to control display panel backlight.
BUG=chrome-os-partner:39182
TEST=Compiled, verified
BRANCH=None
Signed-off-by: Ted Kuo <tedkuo@ami.com.tw>
Change-Id: I817297137d9e318603362767620f153af58b988d
Reviewed-on: https://chromium-review.googlesource.com/265848
Reviewed-by: Mohammed Habibulla <moch@google.com>
Commit-Queue: Ted Kuo <tedkuo@ami.com.tw>
Tested-by: Ted Kuo <tedkuo@ami.com.tw>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Copy enguarde setting to init board.
BUG=none
BRANCH=orco
TEST=Run "make BOARD=orco" and "make buildall -j" to build code
and ec.bin can be generated.
Change-Id: I0b3f4b21f16ad5d1e36c872a1694decd175e8d65
Signed-off-by: H.J. Liao <h.j.liao@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/264270
Commit-Queue: 凰志 廖 <H.J.Liao@quantatw.com>
Tested-by: 凰志 廖 <H.J.Liao@quantatw.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable recovery button function.
BUG=chrome-os-partner:38707
TEST=make -j buildall, make -j tests
BRANCH=None
Signed-off-by: Ted Kuo <tedkuo@ami.com.tw>
Change-Id: I0518f26722d3af0932d82c23c30d906799ab7348
Reviewed-on: https://chromium-review.googlesource.com/263384
Tested-by: Ted Kuo <tedkuo@ami.com.tw>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Commit-Queue: Ted Kuo <tedkuo@ami.com.tw>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the discharge temperature to 0~60C.
BUG=chrome-os-partner:38705
BRANCH=banjo
TEST=make BOARD=banjo
Change-Id: I9c76f1a409709aea7bf6b1b5ae5747a93a04f023
Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/263663
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on the code cloned from Rambi, and implement power LED control.
BUG=None
TEST=make -j buildall, make -j tests
BRANCH=None
Signed-off-by: Ted Kuo <tedkuo@ami.com.tw>
Change-Id: I9c89186dd6731a5bbacbd153847288896cd573dc
Reviewed-on: https://chromium-review.googlesource.com/263160
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Commit-Queue: Ted Kuo <tedkuo@ami.com.tw>
Tested-by: Ted Kuo <tedkuo@ami.com.tw>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding 100 us dealy will improve the SMbus error for battery.
BUG=chrome-os-partner:37842
BRANCH=banjo
TEST=test with banjo, 100us. With the particular battery, no error
occurs.
CQ-DEPEND=CL:262853
Change-Id: Ica34f071185ad5104bfa47f0dccb4b24ed9850fc
Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/262854
Reviewed-by: Sheng-liang Song <ssl@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some battery pack can't response ec command.
Adding some dealy will improve it.
BUG=chrome-os-partner:37842
BRANCH=banjo
TEST=test with banjo, 100us. With the particular battery, no error occurs.
Change-Id: Ia40dc7d5286525d54641893d900dfe3a345a2156
Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/262853
Reviewed-by: Sheng-liang Song <ssl@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. remove battery and charger
2. remove keyboard
BUG=None
TEST='emerge-ninja chromeos-ec', 'emerge-sumo chromeos-ec'
BRANCH=None
Signed-off-by: Ted Kuo <tedkuo@ami.com.tw>
Change-Id: I87d030583e653535433f2efd9e9e62b570c000c8
Reviewed-on: https://chromium-review.googlesource.com/262352
Tested-by: Ted Kuo <tedkuo@ami.com.tw>
Reviewed-by: Mohammed Habibulla <moch@google.com>
Commit-Queue: Ted Kuo <tedkuo@ami.com.tw>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cloned from Rambi to Ninja with only string changes
BUG=None
TEST=emerge-ninja chromeos-ec
BRANCH=None
Signed-off-by: Ted Kuo <tedkuo@ami.com.tw>
Change-Id: Ie7a8ce21ee710a74468792d0d5d6b84b4a6d4577
Reviewed-on: https://chromium-review.googlesource.com/260748
Tested-by: Ted Kuo <tedkuo@ami.com.tw>
Reviewed-by: Mohammed Habibulla <moch@google.com>
Commit-Queue: Ted Kuo <tedkuo@ami.com.tw>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
BRANCH=None
Signed-off-by: Kayalvizhi Dhandapani <kayalvizhid@ami.com>
Change-Id: I4e3679d9c8e5ea99fa290f578a45fc4a476a35e1
Reviewed-on: https://chromium-review.googlesource.com/255160
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Commit-Queue: kayalvizhi dhandapani <kayalvizhid@ami.com>
Tested-by: kayalvizhi dhandapani <kayalvizhid@ami.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The sensor location of Banjo is different to Gnawty.
Swap the two sensor locations will make it normal.
BUG=chrome-os-partner:37423
BRANCH=banjo
TEST="make BOARD=banjo"
Change-Id: I5f980f6c64aa50a13cfc113371ca33539860639a
Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/255852
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Banjo shares Yuna's battery.
So keep the battery parameters same as Yuna.
BUG=chrome-os-partner:36311
BRANCH=banjo
TEST=The charger and battery work properly.
CQ-DEPEND=CL:251946
Change-Id: Icda19c5cc1874c561ba95e89641e8d4a843f960c
Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/251947
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=chrome-os-partner:36311
BRANCH=banjo
TEST=Use board banjo and enable BQ24717 config.
The 4S battery works properly. (BQ24715 limit the charge voltage to
0x3ff0)
Change-Id: I3abf53373a667002c73a8429981b75671236a485
Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/251946
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New led control from Yuna since it is close to CrOS UI.
BUG=none
BRANCH=banjo
TEST="make BOARD=banjo"
Change-Id: If7315c7da67f1d08ca0ed4cb584950f9c14dfeee
Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/253330
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Copy gnawty setting to init board.
BUG=none
BRANCH=banjo
TEST=Run "make BOARD=banjo" and "make buildall -j" to build code
and ec.bin can be generated.
Change-Id: I627bb46f5dca0a4e1f76b09ed9103b9a15d5b9b9
Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/248950
Tested-by: Katherine Hsieh <Katherine.Hsieh@quantatw.com>
Reviewed-by: Mohammed Habibulla <moch@google.com>
Commit-Queue: David Wu <david_wu@quantatw.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add BAT_PRESENT_L to distinguish battery/non-battery SKU.
BUG=chrome-os-partner:33527
BRANCH=none
TEST=make -j buildall, make -j tests
Change-Id: Id69843826424f1bfc2d37b813239f18923f21318
Signed-off-by: Grover Yen <Grover_Yen@wistron.com>
Reviewed-on: https://chromium-review.googlesource.com/236850
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Candy use TS_EN to enable touchscreen, and TOUCH_RST_L for RESETB signal,
so we need add TOUCHSCREEN_ENABLE control for Elan touchscreen power-on sequence.
BUG=chrome-os-partner:32284
BRANCH=rambi
TEST=manual
Candy use TS_EN to enable touchscreen, and TOUCH_RST_L for RESETB signal.
Signed-off-by: Bruce Wan <Bruce.Wan@quantatw.com>
Change-Id: Ia1f568302c17ab7ed31220370412b1c27ae5dc2f
Reviewed-on: https://chromium-review.googlesource.com/228983
Tested-by: Bruce Wan <Bruce.Wan@quantatw.com>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Commit-Queue: Devin Lu <Devin.Lu@quantatw.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=master
BUG=chrome-os-partner:29139
TEST=Buiid an EC FW image and run on Rambi to test if key loss is
improved and any side effect somes with this change. Need more test
units to confirm this.
Signed-off-by: Kenji Chen <kenji.chen@intel.com>
Change-Id: I2399e33d2ca3defe8cd9b1f94ab0af1db7f84635
Reviewed-on: https://chromium-review.googlesource.com/226005
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=Compiled, Tested on rambi
BRANCH=Rambi 5216.B
Change-Id: Ie9ff81f8c9a5ed2e45473cc14106183b6850f201
Signed-off-by: Kayalvizhi Dhandapani <kayalvizhid@ami.com>
Reviewed-on: https://chromium-review.googlesource.com/223131
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Exchange PWM channel of battery LED and change battery LED green color
to blue color.
BUG=none
BRANCH=none
TEST=Confirm battery LED is violet color in normal charge case
and it is blue if battery level near full.
Change-Id: Ib0b945d547c4f1cba16018d9c5622d5e4d777e44
Signed-off-by: Grover Yen <Grover_Yen@wistron.com>
Reviewed-on: https://chromium-review.googlesource.com/221411
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add LED behavior for candy that will the same as wolf.
BUG=None
BRANCH=rambi
TEST=manual
Check battery LED show white when battery in charging.
Check battery LED turn off when battery fully with ac mode.
Check battery LED show amber and blinking every 500ms when charging error.
Check battery LED show amber when battery capacity under 15%.
Change-Id: Ia445f3b233aaa5d0bcf70accfdc950f1c8158c36
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/216391
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add battery present pin.
BUG=none
BRANCH=rambi
TEST=manual
Check system can boot up quickly with ac only.
Change-Id: I6daa4b35d904014134f88a511819e7c6602e2860
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/215901
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set input current to 3072mA for 65w adpater and config battery configuration for candy.
BUG=None
BRANCH=rambi
TEST=manual
build ec and flash to candy board,
Verify input current with 'adc' console command
while system charging the battery and under heavy load.
verify battery works.
Change-Id: I3a104ab4e29a8d055c9ee5d4713bbfef82025757
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/215811
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Copy rambi and rename for candy.
BUG=None
BRANCH=rambi
TEST=manual
Run "make -j buildall"
Run "make -j BOARD=candy tests"
Change-Id: Ia35c00e914f56ccf9b48298315bc93bd077aef05
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/214160
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
System was reset by stack overflow in charger task,
when battery i2c communication is failed.
Winky system needs a minimum of 520 byte
to use stack in charger task.
So, stack size in charger task should be changed to 640 byte.
BUG=chrome-os-partner:31568
TEST=emerge-winky chromeos-ec
Check stack size in charger task
Change-Id: I130aecbdb973f1a2e7f18a46e49625844ffc827a
Reviewed-on: https://chromium-review.googlesource.com/213996
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Reviewed-by: YongBeum Ha <ybha@samsung.com>
Commit-Queue: YongBeum Ha <ybha@samsung.com>
Tested-by: YongBeum Ha <ybha@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on the code cloned from rambi, and
1.Apply PM6 as LAN power control pin.
2.Enable LAN power in S0 and S3.
BUG=chrome-os-partner:30749
BRANCH=none
TEST=make -j buildall, make -j tests
Change-Id: I27031b26f595cfcb790c919aff347eb310a626d5
Signed-off-by: Grover Yen <Grover_Yen@wistron.com>
Reviewed-on: https://chromium-review.googlesource.com/212598
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Base on the code cloned from rambi and disable key scan task.
BUG=none
BRANCH=none
TEST=make -j buildall, make -j tests
Change-Id: I216b66ffbc08470b6037c78bc972f2a72f02d9f8
Signed-off-by: Grover Yen <Grover_Yen@wistron.com>
Reviewed-on: https://chromium-review.googlesource.com/212903
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on the code cloned from rambi, and apply PH2 as VIDEO_DISABLE_L
pin, keep OD high after chip init.
BUG=none
BRANCH=none
TEST=make -j buildall, make -j tests
Change-Id: I0774f64f8c4044535f34280001b24ef714beb100
Signed-off-by: Grover Yen <Grover_Yen@wistron.com>
Reviewed-on: https://chromium-review.googlesource.com/212597
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on the code cloned from rambi, and implement power LED control.
BUG=chrome-os-partner:30453
BRANCH=none
TEST=make -j buildall, make -j tests
Change-Id: Ic1d05adcce9026678df7ae7bed05725636a7a5b3
Signed-off-by: Grover Yen <Grover_Yen@wistron.com>
Reviewed-on: https://chromium-review.googlesource.com/212471
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on the code cloned from rambi and enable recovery button function.
BUG=chrome-os-partner:30750
BRANCH=none
TEST=make -j buildall, make -j tests
Change-Id: I9a8a5efedc6a4cbf3448df517555b2050461b186
Signed-off-by: Grover Yen <Grover_Yen@wistron.com>
Reviewed-on: https://chromium-review.googlesource.com/212593
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on the code cloned from rambi, implement volume up/down button.
BUG=chrome-os-partner:30747
BRANCH=none
TEST=make -j buildall, make -j tests
Change-Id: I0097d9b6b93fd247bb1d7f4469a10db71ae959e0
Signed-off-by: Grover Yen <Grover_Yen@wistron.com>
Reviewed-on: https://chromium-review.googlesource.com/212611
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PWR_STATE_CHARGE_NEAR_FULL also need to change
charging current by FCC * 0.6 for battery safety and charging time.
BUG=chrome-os-partner:31146
TEST=emerge-winky chromeos-ec
Check charging current by i2c register.
Change-Id: I1c0ea803c663dcc4147a31a3af33864b592bf89b
Reviewed-on: https://chromium-review.googlesource.com/211554
Reviewed-by: yoojin lee <yoojin7.lee@samsung.com>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Reviewed-by: YongBeum Ha <ybha@samsung.com>
Commit-Queue: YongBeum Ha <ybha@samsung.com>
Tested-by: YongBeum Ha <ybha@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'struct batt_params' has no member named 'full_capacity'
BUG=chrome-os-partner:31146
TEST=emerge-winky chromeos-ec
Check charging current by i2c register.
Change-Id: Idaeb5fcd6c322c552793fc955e64d669c0b09fa4
Reviewed-on: https://chromium-review.googlesource.com/211561
Reviewed-by: yoojin lee <yoojin7.lee@samsung.com>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Commit-Queue: yoojin lee <yoojin7.lee@samsung.com>
Tested-by: yoojin lee <yoojin7.lee@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stop to charge and enter battery error state
when system keeps low voltage for more than 2hours.
Battery error state by this reason is cleared only once
when battery was reconnected.
BUG=chrome-os-partner:30951
TEST=emerge-winky chromeos-ec
Check to stop and start charging
by low voltage during 2hours.
Change-Id: I0bf22c165d676b3d7637dd78c01db21b6d658874
Reviewed-on: https://chromium-review.googlesource.com/211124
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Reviewed-by: yoojin lee <yoojin7.lee@samsung.com>
Commit-Queue: yoojin lee <yoojin7.lee@samsung.com>
Tested-by: yoojin lee <yoojin7.lee@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Charging current should be changed by FCC * 0.6
for battery safety and charging time.
BUG=chrome-os-partner:31146
TEST=emerge-winky chromeos-ec
Check charging current by i2c register.
Change-Id: I56bc565934f5788e169a9d345fe180623cc27226
Reviewed-on: https://chromium-review.googlesource.com/211123
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Reviewed-by: yoojin lee <yoojin7.lee@samsung.com>
Tested-by: yoojin lee <yoojin7.lee@samsung.com>
Commit-Queue: yoojin lee <yoojin7.lee@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Charging start temperature : T<0 or T≥45
Charging stop temperature : T<0 or T≥60
Start condition of charge : 0≤T<45
BUG=chrome-os-partner:30951
TEST=emerge-winky chromeos-ec
Check to stop and start charging by overtemperature.
Change-Id: If73df8423c3d997598a49fcbc2926b290958c829
Reviewed-on: https://chromium-review.googlesource.com/211081
Reviewed-by: yoojin lee <yoojin7.lee@samsung.com>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Commit-Queue: yoojin lee <yoojin7.lee@samsung.com>
Tested-by: yoojin lee <yoojin7.lee@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stop to charge and enter battery error state
when battery pack voltage is higher than charging voltage.
Battery error state by overvoltage is cleared only once
when battery was reconnected.
Battery error should be checked
before translate battery flags.
BUG=chrome-os-partner:30951
TEST=emerge-winky chromeos-ec
Check battery error state by over voltage.
Change-Id: I485d3be9f75bf32e0f2769401eeab8ec887f83ae
Reviewed-on: https://chromium-review.googlesource.com/210016
Reviewed-by: yoojin lee <yoojin7.lee@samsung.com>
Tested-by: yoojin lee <yoojin7.lee@samsung.com>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Commit-Queue: yoojin lee <yoojin7.lee@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Winky system needs to change over-temperature conditions
on discharging state to meet spec.
Spec : T <= -20 or T >= 70
BUG=chrome-os-partner:31144
TEST=emerge-winky chromeos-ec
Check to stop discharging by over temperature.
Change-Id: I8372f99072bccafbbfab91c2873564c15c33189d
Reviewed-on: https://chromium-review.googlesource.com/211067
Reviewed-by: YongBeum Ha <ybha@samsung.com>
Tested-by: YongBeum Ha <ybha@samsung.com>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Commit-Queue: YongBeum Ha <ybha@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RSMRST# has to come 10us after the P1.0V is stable.
Before, RSMRST# was high before P1.0V_AUX and P1.8V_AUX high.
So, 1.1ms Delay was added on EC code.
On this, RSMRST# is high after all SUS_Rails up.
(P3.3V_AUX, P1.0V_AUX and P1.8V_AUX)
BUG=chrome-os-partner:31116
TEST=emerge-winky chromeos-ec
Measure signal waveforms in power up sequence.
Change-Id: I55af36a6f4f2e7ea44ddf6b576df54f55cd3c8b0
Reviewed-on: https://chromium-review.googlesource.com/210954
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: YongBeum Ha <ybha@samsung.com>
Tested-by: YongBeum Ha <ybha@samsung.com>
Commit-Queue: YongBeum Ha <ybha@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Winky included PCIe device.
Intel BYT-M spec. :
Core well stable to DRAM_CORE_PWROK and PMC_CORE_PWROK assertion
for power rails needed by PCIe devices is minimum 99ms.
BUG=chrome-os-partner:31116
TEST=emerge-winky chromeos-ec
Measure signal waveforms in power up sequence.
Change-Id: I2afde9f1216b360c926c254f98d64124d2dbf080
Reviewed-on: https://chromium-review.googlesource.com/210952
Reviewed-by: YongBeum Ha <ybha@samsung.com>
Tested-by: YongBeum Ha <ybha@samsung.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Commit-Queue: YongBeum Ha <ybha@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=Compiled
BRANCH=rambi-5216.B
Signed-off-by: Roger Smith <rogers@ami.com>
Change-Id: I96554f67f23c528bfda50bfcd599521e9d51d809
Reviewed-on: https://chromium-review.googlesource.com/210482
Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-by: Roger Smith <rogers@ami.com>
Commit-Queue: Roger Smith <rogers@ami.com>
Tested-by: Roger Smith <rogers@ami.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's too short to check battery responsive
during 30sec to winky system.
Samsung spec is 3min to check i2c communication is failed.
So, EC checks i2c communication during setting time
when battery is inserted.
BUG=chrome-os-partner:30951
TEST=emerge-winky chromeos-ec
Check battery responsive with defect battery.
Change-Id: Id37aa5bc6d8faef330fed2f65aeb76f6df7e66f4
Reviewed-on: https://chromium-review.googlesource.com/210018
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
Reviewed-by: yoojin lee <yoojin7.lee@samsung.com>
Commit-Queue: yoojin lee <yoojin7.lee@samsung.com>
Tested-by: yoojin lee <yoojin7.lee@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set the charge voltage(0x15) in non-charging state.
When EC set charge voltage below 4096mA,
charge voltage of charger was actually 9008mA(POR).
POR can not ensure battery stability.
BUG=chrome-os-partner:30194
TEST=emerge-winky chromeos-ec
Check charger values was set normally by read i2c.
To check the battery can be charging normally.
Change-Id: Ib90bc91bad7f726b893056c9c705415f51001e00
Reviewed-on: https://chromium-review.googlesource.com/206449
Reviewed-by: YongBeum Ha <ybha@samsung.com>
Tested-by: YongBeum Ha <ybha@samsung.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Commit-Queue: YongBeum Ha <ybha@samsung.com>
|