| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the interest of making long-term branch maintenance incur as little
technical debt on us as possible, we should not maintain any files on
the branch we are not actually using.
This has the added effect of making it extremely clear when merging CLs
from the main branch when changes have the possibility to affect us.
The follow-on CL adds a convenience script to actually pull updates from
the main branch and generate a CL for the update.
BUG=b:204206272
BRANCH=ish
TEST=make BOARD=arcada_ish && make BOARD=drallion_ish
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I17e4694c38219b5a0823e0a3e55a28d1348f4b18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3262038
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For variants using the charger Vbus ADC, add a check versus
vSinkDisconnect to determine if the TC layer connection has been broken.
BRANCH=None
BUG=b:168831161
TEST=on waddledee, confirm we can reliably source 5V from a charger
without erroneously detecting disconnect
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Icd06d91cd28db068c8cfa646152596d6eab80375
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2436581
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SM charger chip has a Vbus ADC which we may use to precisely
evaluate vSafe0V and vSafe5V for waddledee and drawlat. Correct
evaluation of vSafe0V creates more robust power role swap behavior.
BRANCH=None
BUG=b:167666781,b:160996247
TEST=on drawlat, confirm monitor power role swap from SRC to SNK now
completes correctly
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Iaf5e9c1203005cfba10da0ff2863f9c109d8b1a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2406342
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the charger_* interfaces take charge indexes appropriately,
clean up the board code to no longer use chg_chip structure directly.
BRANCH=None
BUG=b:147440290
TEST=on drawlat, confirm sourcing out on both ports works
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I92925e487f90bc3965b868f3f7fc0d3175dc3df9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2376470
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds a new Vbus sink enable command which will be called on
initial sink connection and detach. This will separate out most of the
FLOW1 and FLOW2 register control from the set_mode() driver API which is
regularly called from the charger task. This means that, if charging on
a port fails, the charging will no longer be automatically re-enabled by
the charger task.
Additionally, this folds the verification that we aren't disabling
sourcing into the sink enable so board files no longer need to verify
this before calling the sink enable/disable API. It also allows the OTG
disable to fully clear the FLOW1 mode since calls to OTG are more
targeted than the sink enable/disable, which happens any time another
charge port is set.
BRANCH=None
BUG=b:163511546,b:165677311
TEST=on waddledee and drawlat, confirm expected FLOW1 contents and Vbus
level:
- sinking C0 or C1
- sourcing C0 or C1
- sourcing both C0 and C1
- sinking C0 while sourcing C1
- sinking C1 while sourcing C0
- battery cutoff with charger in C0 or C1
- no battery boot with charger in C0 or C1
- power role swap with HooToo hub in C0 and C1
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ifdc7786243bdf0a634d8db99b4deb53457232ad3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2372738
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HDMI_HPD will connect volup GPIO with HDMI DB. This change uses the
CBI FW_CONFIG field to determine if the HDMI DB should be present,
and set interrupt accordingly.
BUG=none
BRANCH=none
TEST=Set FW_CONFIG to 0x0004 and make sure C1 port works.
Set FW_CONFIG to 0x0003 and make sure HDMI port works with re-work DB.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ifbed3d24b4101b2d4b1168de1b8351ace171d532
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2284515
Reviewed-by: Diana Z <dzigterman@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>
|