| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On dedede and keeby boards, the thermistors are powered by the EC's
GPIO_EN_PP3300_A pin. If the thermistors are read before they are
powered then the EC may force a thermal shutdown due to the bad reading.
This commit simply defines CONFIG_TEMP_SENSOR_POWER_GPIO along with a
CONFIG_TEMP_SENSOR_FIRST_READ_DELAY_MS to ensure we don't get any false
positive thermal shutdowns.
BUG=b:192053176
BRANCH=dedede
TEST=Build and flash lalala. Unplug AC charger from DUT, press
refresh+power button to reset DUT, verify that DUT boots up
automatically.
TEST=Repeat above test with madoo.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I2a49e2f896c4120a8f01f440ea22c9b3763c6589
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2988364
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Auto-Submit: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update fw_config_db to meet cbi_fw_config table on lantis.
BUG=b:186393848
BRANCH=dedede
TEST=on lantis, make sure that all DB configs act correctly.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I7cade5d603f815a60ba89c6cdf86ac48b41eafe3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2902073
Reviewed-by: Henry Sun <henrysun@google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Henry Sun <henrysun@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the SM5803 shares an interrupt line with the TCPC, allow the
PD_INT task for C1 to process interrupts for this chip. This will
ensure that any interrupts from the charger are handled at a high
priority and cannot leave the shared IRQ line low for extended periods.
BUG=none
BRANCH=dedede
TEST=On lantis, confirm charger attach to C1 works reliably.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: Id363b743eb7825f4a03f7119248218d0259e9d5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2804004
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function prototype is defined in lots of files, none of which is
visible to Zephyr.
Add a prototype in one place and remove the others.
BUG=b:183296099
BRANCH=none
TEST=make buildall
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: Ia324327a69b117483ab9ee5c85eba93c0fb5ad9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2789799
Reviewed-by: Jack Rosenthal <jrosenth@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 commit syncs with crrev.com/c/2719104 on lantis.
BUG=b:181085178
BRANCH=dedede
TEST=Build and flash lantis, verify it boots.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I33f44dbbe4959b96e5805d7f2833c9fa20984537
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2719779
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Lantis has progressed enough in development that we no longer need to
force an unlocked state on the EC.
BUG=b:180982041
BRANCH=dedede
TEST=make -j buildall
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: Ia63c5e072e2e4e0e7112c58a3fff756ce7634928
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2712219
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initialize vivaldi keyboard on lantis.
BUG=b:175672478
BRANCH=dedede
TEST=Make sure that all top row keys work correctly.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: If6edd4f2638ec79dc444ce013ae11a6ed6844fcf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2635878
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This header cannot currently be accessed by Zephyr since it is in a
driver directory, not an include directory. This header has quite a
bit of public stuff in it, so it seems reasonable to consider
everything public.
Move the header file and update all users.
BUG=b:175434113
BRANCH=none
TEST=make buildall -j30
build volteer on zephyr
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: Ibba37f47a06783fafb5095f853f2a68d92b6df87
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2607745
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the DPM will be handling source-out decisions for TCPMv2,
remove references to its old configuration options from TCPMv2 boards in
order to avoid any confusion as to what code is running now. Also
remove the charge manager notifications of sink attach/detach since the
policy is being centralized into the DPM.
Note that the previous configuration options only ever allocated one 3.0
A port, and so the default number of 3.0 A ports has been set to 1.
BRANCH=None
BUG=b:168862110,b:141690755
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ie452e3da32b04226503539daa67b6b9f4a58aa58
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2597431
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL increases task stack sizes along with crrev.com/c/2587794
since lantis was initialed with drawcia's image.
BUG=None
BRANCH=dedede
TEST=Verify that new task stacks sizes are present and that there
is plenty of free RAM left.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I0e1e18e23fdd1aa90db0588d8f4e859e781edc40
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2591830
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is an option in the task_set_event function which force
the calling task to wait for an event. However, the option is never
used thus remove it.
This also will help in the Zephyr migration process.
BUG=b:172360521
BRANCH=none
TEST=make buildall
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: Ic152fd3d6862d487bcc0024c48d136556c0b81bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2521599
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL updates the OCPC PID constants along with crrev.com/c/2567036
since lantis was initialed with drawcia's image.
BUG=b:174167890
BRANCH=dedede
TEST=Verify that at low SOC, charging from the sub board results in
lower overshoot and reduced time to correct steady state error.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: If4f40913e533901fa6b8280857b480adb8c68e11
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2589134
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that this CL updates the battery config on lantis. Also, we update
the comment in that lantis was initialed with drawcia's EC image.
BUG=b:175184763
BRANCH=dedede
TEST=Make sure battery charging, battery cutoff works.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: Id8ca23b3c17a09680fd1267624f7a1fc06fbfaf2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2581159
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In lantis, we have a power LED and two battery LEDs. Also, we have two
USB-C ports, and which battery LED takes action related to different
charging states will depend on which USB-C port has been plugged in for
power charge. We blink power LED to indicate system suspend, and we also
override battery LEDs for clamshell SKU, which doesn't have power LED.
BUG=b:171546871
BRANCH=dedede
TEST=Make sure that all LEDs act correctly.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I32e931efad9477f64e83e75057b3ae04db997e63
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2556726
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that this CL update DB FW_CONFIG according to crrev.com/c/2548269
since lantis's EC image was initialed with drawcia's EC image.
BUG=b:171742626
BRANCH=dedede
TEST=Load on lantis and confirm correct number of PD ports up.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I373fd0bd6bcd31e6355734a354d9be1ce9fe3aa9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2562917
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the thermal concern has already been solved, we don't have to
limit C1 charging current to 2A in lantis.
BUG=b:161942987
BRANCH=dedede
TEST=In lantis, make sure that C1 charging current is not limited
to 2A.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I9c3e13b2e1fa2acaeb9dfae17f8ed1639550689b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2557283
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
Create the initial EC image for the lantis variant by copying the
drawcia reference board EC files into a new directory named for
the variant.
(Auto-Generated by create_initial_ec_image.sh version 1.2.0).
BUG=b:171546871
BRANCH=none
TEST=make BOARD=lantis
Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Change-Id: I01eeb9dda6110f72aba4b253ac2ecca57f12bdd5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2534437
Tested-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Henry Sun <henrysun@google.com>
Commit-Queue: Henry Sun <henrysun@google.com>
|