| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each board defines its own callback lid_angle_peripheral_enable().
The implementation is very similar. Create a common implementation
and reduce the duplicated code.
This CL removes the board callbacks which are identifical to the
common callback. If it is slightly different, keep it and add
the __override tag.
The check of TEST_BUILD is unnecessary as the board callback is not
linked in the test build.
BRANCH=None
BUG=b:194922043
TEST=Build all the images.
Change-Id: I73d381730f35b80eff69399cdfc5fb54f839aee0
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3069175
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
BRANCH=dedede
TEST=on kracko mockup, make sure that with "ectool motionsense",
correct matrix values are reported under corresponding orientation.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I6a268d5c2d71d47bbad4dd0eec87db58b017aae0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2966692
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To avoid shortage, we add second source of lid accel kx022 for
kracko.
BUG=none
BRANCH=dedede
TEST=on kracko, make sure that lid accel kx022 works with related
SSFC value.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I4b5a270ad609982355bab36ed3f0d18a2d033d10
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2962193
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update fw_config_db to meet cbi_fw_config table on kracko.
BUG=b:189131006
BRANCH=dedede
TEST=on kracko, make sure that all DB configs act correctly.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I0a2ccd9a90127a51042c115176e382900c396bf4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2902075
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Henry Sun <henrysun@google.com>
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.
(This CL aligns with CL:2803462)
BUG=none
BRANCH=dedede
TEST=On kracko, confirm charger attach to C1 works reliably.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I21622c1ca06db9b600079487053f6efdaa8cf88e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2817138
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit syncs with crrev.com/c/2719104 on kracko.
BUG=b:181262149
BRANCH=dedede
TEST=Build and flash kracko, verify it boots.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: Iaecc91d1cad7f3872b6761ae2ca619c00dfd3b7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2719785
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
Create the initial EC image for the kracko 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.5.0).
BUG=b:178092096
BRANCH=None
TEST=make BOARD=kracko
Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Change-Id: Ib76db1a171dd5075140ab61b3c49de3ee558c3b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2670603
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Tested-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|