| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EFS2 boards need to call system_jumped_late in HOOK_INIT to avoid
running init code twice per boot.
system_jumped_to_this_image and system_jumped_late are functionally
equivalent for non EFS2 boards.
This patch will prevent system_jumped_to_this_image from being used
for EFS2 boards when code is copied from a past project.
BUG=chromium:1072743
BRANCH=none
TEST=buildall
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: I73fb5cedc5325d1c80825f9346954013046ee1df
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2267685
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is unneeded, now that the EC doesn't need to control power
sequencing.
BUG=b:143375057
TEST=make buildall
BRANCH=none
Change-Id: I36d3ddefa5941d94b1549c1b8e1374bfa0d10b80
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2267624
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:156552519
BRANCH=none
TEST=make buildall
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I524684c6885cabe39d821081652ac8d016f0515c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2255828
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
Tested-by: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch update S0_PWROK_OD for schematic change.
BUG=b:150278507, b:152841287
BRANCH=none
TEST=make buildall, verify EC code can power on rework MB.
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: Iaf8f2458c2dfe49f40eada8dced1febe2c4c4687
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2255826
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
Tested-by: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The HDMI_POWER_EN_DB signal is set to power HDMI power rail.
BUG=b:152841287
BRANCH=none
TEST=make buildall
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I3b5ba82a670bd4308fa5fda36b81697000d526bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2260172
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL remove mst/hdmi hpd function for schematic change.
BUG=b:152841287
BRANCH=none
TEST=make buildall
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: Ifffd43ca682e5bdec103f87b52ed38934640fc15
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2260092
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The polarity signal is 1.8V so needs to be on a GPIO that supports low
voltage.
BUG=b:157236750
BRANCH=none
TEST=build
Change-Id: If125a43ad563ada348712fd6bca035d82723e830
Signed-off-by: Jeff Chase <jnchase@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2265305
Reviewed-by: Joe Tessler <jrt@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This functionality is only available in RO and enables
the USB3 ports A0 and A1 to be routed to the DUT or HOST.
BRANCH=none
BUG=b:146793000
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: I1fb11fcf918d3351094fd3e2f0553a3aa551f945
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2216403
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The board/AP can handle power sequencing without AP intervention. This
support was already disabled by default in configuration.
BUG=b:143375057,b:157609784
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I96a40530479a9916c13fc59355f253057a48a56b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2264482
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function is already handled by the AP's internal mux, and the GPIOs
were already unused.
BUG=b:157609784
TEST=make buildall
BRANCH=none
Change-Id: I2969ccbf9713d87ab24c9c1a87d917f01d303078
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2264479
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
BRANCH=none
TEST=make sure USB-A port works.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ie22f7129932b26d2b47913c4a2e49450ded4d5c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2260177
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:155235321
TEST=make BOARD=nucleo-dartmonkey tests -j
TEST=make BOARD=bloonchipper tests -j
TEST=make BOARD=dartmonkey tests -j
TEST=make BOARD=nucleo-f412zg tests -j
TEST=make BOARD=nucleo-h743zi tests -j
TEST=flash rsa unit test binary to nucleo-f412zg, run test => pass
TEST=flash rsa3 unit test binary to nucleo-f412zg, run test => pass
TEST=flash rsa unit test binary to nucleo-h743zi, run test => pass
TEST=flash rsa3 unit test binary to nucleo-h743zi, run test => pass
Signed-off-by: Yicheng Li <yichengli@chromium.org>
Change-Id: I2ebcf6f322f9c16aba65a3a627a0a83ca00d2a02
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2240516
Commit-Queue: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:154670981
BRANCH=none
TEST=Unplug type-c adapter, and plug it in: no soft reset occurred
during negotiation. (no reboot continuously)
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: Ie18f9f9a75306242dc1cfa237521c82a4b44d0b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2259414
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reset the TCPC after a power-on restart, and clear any explicit
PD contract so that the previous state is not restored.
Even though Puff does not have BBRAM, the state is required
for restarts so that PD can determine when power needs to be
renegotiated explicitly through sending a soft reset, or
not since the system is starting from a fresh connection.
The impact was that a system powered from a type-C charger
would not go into recovery since a restart assumed it was
an initial charger connection (so no soft reset was sent),
the wait for capabilities timed out, and a hard reset was sent,
causing the charger to cycle power, and thereby skipping the
recovery stage.
BUG=b:159281839
TEST=Confirm that recovery can be entered using type-C charger.
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: Ibecf75e999ae5ff15580ce69c3a58a3c49930b48
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2251706
Tested-by: Andrew McRae <amcrae@chromium.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Commit-Queue: Andrew McRae <amcrae@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Monitor the power usage and if necessary apply
throttles to reduce power demand.
go//puff-power-distro
BUG=b:151252619
TEST=Reduce power margin and check that throttling occurs.
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: Ib385cbf561795be0b424cf6a9a15c976e20d8b80
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2224677
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Commit-Queue: Andrew McRae <amcrae@chromium.org>
Tested-by: Andrew McRae <amcrae@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The CR50 will reset the EC on some platforms after power-on.
Add a reset flag to detect this and treat the second
restart as a power-on restart rather than reset.
Subsume the CONFIG_GPIO_INIT_POWER_ON_DELAY_MS config
to make it clear what the behaviour will be.
BUG=b:151329011
TEST=Confirm on dalboz, puff & variants that second reset is
treated correctly.
BRANCH=none
Change-Id: Ib66de920403f08099b87d1eff797270606b44f8f
Signed-off-by: Andrew McRae <amcrae@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2255830
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Commit-Queue: Andrew McRae <amcrae@chromium.org>
Tested-by: Andrew McRae <amcrae@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LED behavior:
Charging | Amber on (S0/S3/S5)
Full Charged | Blue on (S0/S3/S5)
Discharging S3 | Amber on 1 sec, off 3 sec
Discharging S5 | off
Error | Amber on 1 sec, off 1 sec
Discharging S0 | Blue on
Factory mode | Blue on 2 sec, Amber on 2 sec
BUG=b:158226994
BRANCH=none
TEST=make buildall -j; check led behavior in every state on Lazor
Change-Id: Ie654c64f8bb6bb6e364edc1b61009f97638e8f1a
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2235233
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Tested-by: Alexandru M Stan <amstan@chromium.org>
Commit-Queue: Alexandru M Stan <amstan@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The CCD measurement functionality is only
available in RO.
BRANCH=none
BUG=b:146793000
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: I4bf9885a8a76c8d9dbb688a72673726fb0a7efa5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2216402
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
BRANCH=none
TEST=make -j buildall
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ief6645b4103fd91a3441f2bcec3dd6fe13e25eb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2255827
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
BRANCH=b:150278507
TEST=make buildall
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I362e4797e3c59098c2b1b56277ba4771774409e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2251136
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Nami does not use RW signature (RWSIG) but it has dev_key.pem.
This is causing flash_ec to fail because flash_ec writes only
224 KB of RW but reads the entire RW region for verification.
dev_key was copied when Nami was forked from Fizz. This patch
removes dev_key.pem.
BUG=b:158864362
BRANCH=none
TEST=build BOARD=nami
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: If3a890d15550bcdd1a514863df0dd5c084471c7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2254542
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove GPF4, GPF5, GPC7, GPF1, GPL2.
Configure GPL6 and GPE6, which control MB and DB USB-A power supply.
GPE0 and GPE7 are used for DB HDMI.
BUG=b:157626290, b:158658777
BRANCH=none
TEST=make buildall -j
Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com>
Change-Id: Idb04e9d93d30c4ff8792dc92e92888a771bd02ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2245588
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When Juniper is powered up with fully drained LGC battery, its FET
states indicates battery is disconnected even it's still i2c responsive.
In MT8183 platform, !battery_is_presence() isn't blocking power on,
this function does not need to return BP_NO when battery is i2c
responsive but DFET state is off.
This patch fixes the problem of sbs-battery probe fail from host side
when a device is powered up from external power source with fully
drained battery reporting DFET state is off.
BUG=b:153710351
TEST=none
BRANCH=none
Signed-off-by: Ikjoon Jang <ikjn@chromium.org>
Change-Id: I67b750b7586fcad149c65e88e73dcbd872ca76bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247972
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Modity GPIO table.
2. Remove ALS sensor.
BUG=b:158797761
BRANCH=master
TEST=make buildall
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: Idcedfe73784807256f04bbf40ef71cc9c44a150d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247971
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch add ppc aoz1380 on daughter board.
BUG=b:156552519, b:159282505
BRANCH=none
TEST=make buildall
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I5ca87a2d524ee265626e5b163754a33dcb31853d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2251127
Reviewed-by: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The HDMI_POWER_EN_DB signal is set to power HDMI power rail.
BUG=b:150278507
BRANCH=none
TEST=make buildall
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: Ib2b79083f4518aacef31550432cb23fbf822a6b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2251703
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch remove mst/hdmi hpd function due to schematic change.
BUG=b:150278507
BRANCH=none
TEST=make buildall
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I8e61f850cc8861b20756213460c91f86d0d8bf6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2251702
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove I2C4.
BUG=b:157626290, b:158658777
BRANCH=none
TEST=make buildall -j
Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com>
Change-Id: Id1af7591e2bfcc39175470b93c27df257a5dff1f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2245577
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
3AXIS_INT_L is unused (we use polling not interrupt for reading lid
accel), and defaults to low, so change to GPIO_PULL_DOWN for a small
power saving.
BUG=b:157243373
BRANCH=none
TEST=none
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I7f5f3af692d0958237f9876ac9ad65fdd3696d1f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2253059
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On earlier board versions (prior to version 2) the hotplug detect signal
was routed only through an IO expander, but latency in that
configuration is too high- new hardware routes it directly to an EC
GPIO. Because the old one was too slow, drop support for it and use the
new direct IO exclusively.
BUG=b:153399461
TEST=HPD passthrough works on new boards.
BRANCH=None
Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Change-Id: If7a0cc8f57e8264a8910291879515de4eb1c338e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247968
Reviewed-by: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds 2nd ppc source syv682x base on ppc ID pin.
BUG=b:156019835
BRANCH=octopus
TEST=Verify system can be charged by typec charger.
Verify typec dongle works.
Verify c to HDMI dongle works.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I8b8452399340f36878cb5a14d11622f87f382f00
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247433
Reviewed-by: Marco Chen <marcochen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Supoprt PPC SYV682X on Dood.
BUG=b:158054901
BRANCH=octopus
TEST=make buildall
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: Ibd60e0ab06204a6a369a19956a848aed1151d987
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2239598
Reviewed-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com>
Reviewed-by: Marco Chen <marcochen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create the initial EC image for the delbin variant by copying the
volteer reference board EC files into a new directory named for
the variant.
(Auto-Generated by create_initial_ec_image.sh version 1.0.3).
BUG=b:158797761
BRANCH=none
TEST=make BOARD=delbin
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I3f5ebc5e7c58748fdba443907fc185696a3fe024
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247969
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
USB4 an Thunderbolt support is not complete in the TCPMv2 stack. Create
a new board project called "volteer_tcpmv1" that can be used to continue
developing USB4 and Thunderbolt support in the BIOS and kernel.
BUG=b:145756626
BRANCH=none
TEST=make buildall
TEST=make BOARD=volteer, confirm image uses TCPMv2 stack
TEST=make BOARD=volteer_tcpmv1, confirm image uses TCPMv1 stack
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I975f9c6af037dc344a0f4e4fb573a9400ca6bb49
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2243317
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drawcia support ps8705 on sub-board, this patch chagnes TCPC to ps8705
to USBC1 port.
BUG=b:159013131
BRANCH=none
TEST=make -j buildall
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ie360d490078afafdd98fa85a9e6a7d07291ae933
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2249645
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:155230812, b:155235321
TEST=make -j BOARD={dartmonkey, bloonchipper, nucleo-dartmonkey,
nucleo-f412zg, nucleo-h743zi} test-utils
TEST=flash the utils test binary, then runtest on bloonchipper and
nucleo-f412zg ==> Pass!
Signed-off-by: Yicheng Li <yichengli@chromium.org>
Change-Id: Ia45b494111f2a536876a5ca60fdc12c06f870e1f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2242356
Tested-by: Tom Hughes <tomhughes@chromium.org>
Commit-Queue: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Follow the thermal team test, modify parameter that max/min Fan
rpm and thermal config table.
BUG=b:159172924
BRANCH=none
TEST=Thermal team verified thermal policy is expected.
Change-Id: I9b1442c8c2591dea5e7fcbdcd106ca19a3a7f4ae
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2249650
Reviewed-by: Andrew McRae <amcrae@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create the initial EC image for the drawcia variant by copying the
waddledee reference board EC files into a new directory named for
the variant.
(Auto-Generated by create_initial_ec_image.sh version 1.0.3).
BUG=b:158540280
BRANCH=none
TEST=make BOARD=drawcia
Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
Change-Id: I0f3f70faa1c5a3cbecd2bfea9fec1aba9d95a955
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2237493
Reviewed-by: Marco Chen <marcochen@chromium.org>
Commit-Queue: Marco Chen <marcochen@chromium.org>
Tested-by: Marco Chen <marcochen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support SYV682x PPC config in function check, that
Board version is 5 and PPC ID pin is High status.
BUG=b:154772847, b:156711950
BRANCH=octopus
TEST=Check setup ppc syv682x by board id and PPC ID pin
Change-Id: I47561e81ce8e92b497e7e47f6decb00a798d8dc4
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247958
Reviewed-by: Marco Chen <marcochen@chromium.org>
Tested-by: David Huang <david.huang@quanta.corp-partner.google.com>
Commit-Queue: Marco Chen <marcochen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch add for factory keyboard connector test.
BUG=none
BRANCH=none
TEST=short keyboard pins and make sure "ectool kbfactorytest" works.
Change-Id: I7c93322d6644163a58e2ec0890cd12b9d0c186b8
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2246012
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, set EC_HOST_EVENT_LID_OPEN, EC_HOST_EVENT_POWER_BUTTON, and
EC_HOST_EVENT_MODE_CHANGE (for DP alt mode) as S3 wake up source.
BRANCH=none
BUG=b:150341271
TEST=Boot asurada, see that cros-ec probes correctly
Change-Id: I6043ca5f81fe44ee04a8b298135fcfca43ae4b05
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2172292
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=master
BUG=b:150341271
TEST=> temps
SubPMIC : 305 K = 32 C
Ambient : 302 K = 29 C
Charger : 304 K = 31 C
AP : 304 K = 31 C
Change-Id: I58fd0b466ca818e105b69ec84660aebffaa0868e
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2182114
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=None
BUG=b:158676970
TEST=Force fan off/run heavy workload
Use temps command in ec console, see temp
> temps
CHARGER : 318 K = 45 C 64%
5V : 316 K = 43 C 61%
GPU : 343 K = 70 C 100%
F75303_Local : 331 K = 58 C
F75303_GPU : 340 K = 67 C
F75303_GPU_Power : 332 K = 59 C
Change-Id: I0af47849cc606eb03eee652bb261fce11896e2ab
Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2240512
Reviewed-by: Bob Moragues <moragues@chromium.org>
Reviewed-by: Shelley Chen <shchen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable CONFIG_USB_PORT_POWER_DUMB for enabling/disabling charging from
USB-A ports. This change also enables disables the USB1 low power limit
by default.
BUG=b:157147239, b:158708115
BRANCH=none
TEST=make buildall -j
TEST=Run "ectool usbchargemode 0 0" and verify USB VBUS turns off.
TEST=Run "test_that -b volteer firmware_ECUsbPorts"
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I89343fb4ed2d6c15bd1862f5a64e7a5cd68bdf69
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2223823
Tested-by: Eric Herrmann <eherrmann@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove battery HW V0 since vilboz doesn't have it.
BUG=b:155214765
BRANCH=none
TEST=make buildall -j
Signed-off-by: Lu Zhang <lu.zhang@bitland.corp-partner.google.com>
Change-Id: I2e4b8f96904daccf98a9ebd9e962448749b46057
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2245572
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
Tested-by: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:147689571
BRANCH=kukui
TEST=make -j BOARD=damu
TEST=make buildall
TEST=boot into OS and screen show normally.
Change-Id: Ib163eb7edee9c79efbf650b9889c6bb16fd3cd05
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2241090
Tested-by: Casper Chang <casper.chang@bitland.corp-partner.google.com>
Reviewed-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Reviewed-by: Li-jen Chen <lijen@google.com>
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Commit-Queue: Casper Chang <casper.chang@bitland.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a thermistor which near to 5V regulator.
BUG=b:157711232
BRANCH=none
TEST=Verified console "temps" can read temperature.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I0020fc74b9b4b3f16dae7a1263e793ec2783b665
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2234047
Commit-Queue: Edward Hill <ecgh@chromium.org>
Tested-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are some differences with temperature sensors for each zork variant.
This patch move temperature sensors definition to board variant.
BUG=b:157711232
BRANCH=none
TEST=Verified console "temps" can read temperature.
Build all zork board variant.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ib109ea5adc98e6b6825f8c91db19911dc682a52e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2227787
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
Tested-by: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The polarity gpio is used to detect the USB-C plug orientation since
Endeavour does not have a PD controller. This will be read using
ectool by the factory test.
The PSE controller reset signal was moved from PLTRST to an EC gpio
output. Not currently used since we reset using an I2C register.
BUG=b:157236750, b:156399232
TEST=ectool gpioget USB_C0_POL_L, EC_RST_LTC4291_L
BRANCH=none
Change-Id: Ic6abec17654b8d30486f6e4bbb23f70b11d18e43
Signed-off-by: Jeff Chase <jnchase@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2241183
Reviewed-by: Joe Tessler <jrt@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use charger/TCPC RAA48900 instead of TCPC IT8320 + charger SM5803
combination at MB side.
BUG=b:157626290, b:158023819
BRANCH=none
TEST=make buildall -j
Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com>
Change-Id: Ibb97a41e1d280da7c92cf2c00202b5eb205f99b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2239599
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
|