| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drawcia has progressed enough in development that we no longer need to
force an unlocked state on the EC.
BRANCH=None
BUG=b:171741987
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I3d3df9392c52652a17a0bb563990cceed73b7020
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2546027
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:173174333
BRANCH=none
TEST=Test on charging/discharging/battery cut off pass.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ide3560ccbbbc0c65d5c3c72d8ed184d21271b860
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537523
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:172173517
BRANCH=none
TEST=On drawcia. Plug in CDP, SDP, DCP, type-C and PD charger:
1. EC console chgsup to make sure voltage/current is indeed.
2. PDtrace to make sure we ramp current to a reasonable value.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ie8f2816cb1df1f6c885fe1d6c6d8bb8f0db84570
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2512628
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch add for factory keyboard connector test.
BUG=b:170699805
BRANCH=none
TEST=Short keyboard pins and make sure "ectool kbfactorytest" works.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I7da348a36611f06da700787774bf1521360a0c66
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2469639
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default combined Rbatt resistance is actually higher than what was
currently specified. The wrong Rds(on) value was used as well as the
sense resistor was missed.
This commit updates the default resistances for these boards.
BUG=none
BRANCH=none
TEST=Build and flash drawlat, verify default resistance is updated.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I6b669dfcd1ec11cb2f456b19e83ac4c2783c0b8a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2441803
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove VSYNC sensor, and related GPIOs and configs.
BRANCH=None
BUG=b:169056723
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ib37e648ea04b5da3ed9ce6a660fcd60f2bfe264a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2424891
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
define CONFIG_USB_PD_TCPC_LOW_POWER to enable TCPC low
power mode for draw* family of hardware.
BUG=b:165030094
BRANCH=none
TEST=Build/flash the fw and check the port C1 low power mode prints
Cq-Depend: chromium:2362372
Signed-off-by: Divagar Mohandass <divagar.mohandass@intel.com>
Change-Id: I82c427be551344983527612ce90ff056bf6ee4a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2381570
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the PWM related defines and arrays into the board level, to allow
customization of what PWM channels boards use (if they choose to use the
PWM at all).
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Id417a7be079511c17de9f2e5d03c729467435804
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2358899
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit enables OCPC for the Draw* boards. Default constants and
resistances are the same as waddledee.
BUG=b:161863872
BRANCH=None
TEST=Build and flash on drawlat. Verify that DUT can charge from the
sub board.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I6b95fc0e9fdb6c758fda5509c29da9059d75642e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2330818
Reviewed-by: Diana Z <dzigterman@chromium.org>
Tested-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drawlat and Drawman are clamshell, disable motion sensors base on
FW_CONFIG.
BUG=none
BRANCH=none
TEST=Set FW_CONFIG to 0x0, check no sensors initial on boot.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I9638c681c5c436aa45fce1f12e8bb7bcaf4257b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2341084
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
BRANCH=none
TEST=Set FW_CONFIG to 0x0100 and make sure "ectool inventory"
had keyboard backlight present.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I7e0fd3ee42d5829dd6c81427c6ecbb359a5c385c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2331977
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drawcia is using lsm6dsl on base, bma 253 on lid. This patch is
enabling sensors.
BUG=none
BRANCH=none
TEST=ectool motionsense
Motion sensing active
Sensor 0: -3408 14368 -6240
Sensor 1: -89 -213 8341
Sensor 2: 0 0 0
Sensor 3: 0 0 0
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I0234ba7ba5f211c213ff8ee0b2eab58be6bd28ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2325490
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds battery parameter as following:
1. DynaPack HIGHPOWER
2. DynaPack BYD
3. COSMX
BUG=b:159504964
BRANCH=none
TEST=make sure battery charging, battery cutoff works.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I5c60ace336eead9506ae420418535746b5df8d20
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2325451
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Charging: Amber.
Discharging: Off.
Fully: White.
Battery Error: Blinking white (0.5 sec on, 0.5 sec off)
Fuel <10%: Blinking white (1 sec on, 1 sec off)
Force idle for factory: Blinking amber (1 sec on, 1 sec off)
System suspend without charging (Clamshell SKU):
Blinking white (1 sec on, 1 sec off)
BUG=none
BRANCH=none
TEST=make sure led is showing amber while battery is charging.
make sure led is showing white while battery is fully charged.
make sure led is blinking white while battery low.
make sure led is blinking white on suspend without charging.
make sure led is blinking white quickly while battery error.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Iaba98c96bec1c1b9c0c66b01ba99c2c07e50008e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289330
Reviewed-by: Marco Chen <marcochen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It will be happy to define LED behavior in boards.
BUG=b:160664441
BRANCH=none
TEST=make buildall -j4
Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com>
Change-Id: Ib81fe8d20fa3ab74064958fba3576a1618635e52
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2296544
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds more temp sensors, one is near charger for
temp sensor 3. Another one is near to 5V regular for temp sensor 4.
BUG=none
BRANCH=none
TEST=EC console temps to verify both sensors are present.
Memory : 301 K = 28 C
Ambient : 306 K = 33 C
Charger : 298 K = 25 C
5V regular : 297 K = 24 C
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ib276e392c46204af582a81a6d2bacf82685cc6ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289479
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dedede family may have different temp sensors for other ADCs channel.
This patch moves adc channel to board variant.
BUG=none
BRANCH=none
TEST=make buildall -j
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Id34a924fc9431a553a1467068c6ccee6111102bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289478
Reviewed-by: Diana Z <dzigterman@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CL:2249645 applied drawcia C1 port to ps8705. There is no need
retimer tusb544 with ps8705.
BUG=none
BRANCH=none
TEST=make buildall -j
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I6123cd8034a39837f90c051d6643fb6fcd9ebac0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2276118
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds battery parameter as following:
1. DynaPack CosMX
2. DynaPack ATL
3. Samsung SDI
4. Simplo CosMX
5. Simplo HIGHPOWER
BUG=b:159504964
BRANCH=none
TEST=make sure battery charging, battery cutoff works.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I732a6eb3975a921dd605ce5dd06dac1e62affb1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2257518
Reviewed-by: Diana Z <dzigterman@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
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>
|