| 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the relevant configuration of beetley to the blipper ec code
BUG=b:199479277
BRANCH=dedede
TEST=make BOARD=blipper pass,and we have done some tests on the modified
Blipper device,the basic functions are normal.
Signed-off-by: wuzhongtian <wuzhongtian@huaqin.corp-partner.google.com>
Change-Id: Ie6e246755779201faa12f6f48670b018b816351f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3151049
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Shou-Chieh Hsu <shouchieh@chromium.org>
Tested-by: wen zhang <zhangwen6@huaqin.corp-partner.google.com>
Commit-Queue: Shou-Chieh Hsu <shouchieh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL enables CONFIG_KEYBOARD_STRICT_DEBOUNCE for Blipper.
It also defines keyscan_config to equalize debounce_down_us
and debounce_up_us.
BUG=b:193505909
BRANCH=Dedede
TEST=Drop test and typing test on Blipper.
Change-Id: I1378b8829f14f9d20a08993245ed9d4959e4ddf1
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3046503
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SSFC bit definition started diverging between coreboot and EC. To
avoid conflicts move the definitions of SSFC bits within EC to per
board instead of at a baseboard level.
Base sensor and Lid sensor components are common across all boards
Base Sensor - bits 0-2
Lid Sensor - bits 3-5
In addition, Sasuke uses bits 6-8 for usb superspeed mux
Cret board uses bits 9-11 in coreboot for audio codec
BRANCH=firmware-dedede-13606.B
BUG=b:187694527
TEST=make buildall
Signed-off-by: Parth Malkan <parthmalkan@google.com>
Change-Id: Ib0f732e5d41668135ff180c545ff4bb6a1cb1427
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3021932
Reviewed-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Marco Chen <marcochen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable CONFIG_ASSERT_CCD_MODE_ON_DTS_CONNECT on all dedede boards. This
will assert GPIO_CCD_MODE_ODL when a debug device is connected to a CCD
port. GPIO_CCD_MODE_ODL must be configured as an open drain so EC and
Cr50 don't drive fight.
BUG=b:190189242
TEST=Build dedede
BRANCH=None
Change-Id: I2d71312967f2d4a693ac9753279f49478e8c092c
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2976759
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to reduce the power consumption of Z-state, we need
disable charger ADC function at Z-state, and we use HW solution
to solve AC cannot wake up Z-state issue.
BUG=b:186717219
BRANCH=dedede
TEST=EE verify the power consumption ok,and AC can wakeup Z-state
at rework duts
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: I674f0b73d0b593ea88973aa5b8b3447bd34b81ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2994881
Reviewed-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From Blipper HW circuit, some GPIO in EC side is NC or unused.
So, we can configure it as NC to optimize EC power consumption.
1. HDMI_EN_SUB_ODL (GPE0)
2. EC_SUB_IO_1 (GPF0)
3. EC_SUB_IO_1 (GPL3)
4. EC_SUB_ANALOG (GPL0/ADC13)
5. EC_I2C_SENSOR (GPF6/GPF7)
BUG=b:185044041
BRANCH=dedede
TEST=make -j BOARD=blipper
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: I8e04a2ef03fc540a4fc7544ca4ad5b2038ced988
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2918807
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.add a new thermal sensor for detect typeC field temp
2.modify sensor name
BUG=b:188367187
BRANCH=dedede
TEST=make BOARD=blipper,'ectool temps all' test ok
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: Iae0624ca33a80125b58b92e5b564c6211c107931
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2902061
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove CONFIG_SYSTEM_UNLOCKED for firmware qual test
BUG=b:183472826
BRANCH=dedede
TEST=make BOARD=blipper,and test firmware_ECSystemLocked pass
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: I2959ad2e1a020c22e506cb927f37fda6bee801ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2886464
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable CONFIG_USB_Enable CONFIG_USB_PORT_POWER_DUMB for enabling/disabling
charging from USB-A ports.
BUG=b:183472826
BRANCH=dedede
TEST=make -j BOARD=blipper
TEST=Run "test_that -b dedede firmware_ECUsbPorts" and pass
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: I8639fb6f63e60acfd504aef60338324419ff1412
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2883380
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix AC not detect issue when charger in hibernate.
BRANCH=dedede
BUG=b:186717219
TEST=make -j BOARD=blipper
Signed-off-by: jesen <wangganxiang@huaqin.corp-partner.google.com>
Change-Id: Ic3103bae090c77d93bd49dda1af9cf2c2945e604
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2859343
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Commit-Queue: Henry Sun <henrysun@google.com>
Tested-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, all boards using the LED On/Off module have battery LEDs.
However, if we'd like to expand support to Chromeboxes then the battery
LED must become optional.
BRANCH=None
BUG=b:185508707
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ieae098829ebe6c8b103f23d5abdbf70e7bcbdf2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2832692
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the previous change to disable the ASGATE from the charger side,
this actually ended up breaking sourcing VBUS.
This commit enables the ASGATE when we are attempting to source VBUS.
BUG=b:183220414
BRANCH=dedede
TEST=Build and flash madoo, plug in a Type-C sink, verify that VBUS is
sourced.
TEST=Verify that DUT can PR_Swap with peripheral.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I1938f2b827e57a04ef72e2ad35ad6ff29ce18712
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2795073
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a reland of f7fbc629f0655229cc7ffdadfb18c9e13118e3d2
Original change's description:
> dedede/raa489000: Disable ASGATE from READY state
>
> On the boards which use the RAA489000, we keep the ADC enabled while
> giving VBUS control to the charger side. This can cause a situation
> where VBUS is not quite zero volts when a charger is removed. This
> commit uses the charger side registers to control the ASGATE when
> selecting our active charge port. This is done in addition to the
> existing implementation which uses the TCPCI registers to control
> ASGATE. When we place the parts into low power mode, we move the VBUS
> control from the TCPC side of the IC to the charger side. It should
> be safe to issue both commands as if the TCPC side has control, the IC
> ignores the setting from the charger side registers.
>
> BUG=b:183220414
> BRANCH=dedede
> TEST=Build and flash madoo, plug in charger to port, unplug, verify
> that VBUS falls to < 200mV and decays from there.
>
> Signed-off-by: Aseda Aboagye <aaboagye@google.com>
> Change-Id: I8e8c8cc32575d18c9d3d1210ed3c5cf69ad5ca4b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793058
> Tested-by: Aseda Aboagye <aaboagye@chromium.org>
> Reviewed-by: Diana Z <dzigterman@chromium.org>
> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Bug: b:183220414
Change-Id: I36db53f3e13ba848308cd7e0c94a1b5a3551c600
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2797549
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit f7fbc629f0655229cc7ffdadfb18c9e13118e3d2.
Reason for revert: Breaks sourcing of VBUS.
Original change's description:
> dedede/raa489000: Disable ASGATE from READY state
>
> On the boards which use the RAA489000, we keep the ADC enabled while
> giving VBUS control to the charger side. This can cause a situation
> where VBUS is not quite zero volts when a charger is removed. This
> commit uses the charger side registers to control the ASGATE when
> selecting our active charge port. This is done in addition to the
> existing implementation which uses the TCPCI registers to control
> ASGATE. When we place the parts into low power mode, we move the VBUS
> control from the TCPC side of the IC to the charger side. It should
> be safe to issue both commands as if the TCPC side has control, the IC
> ignores the setting from the charger side registers.
>
> BUG=b:183220414
> BRANCH=dedede
> TEST=Build and flash madoo, plug in charger to port, unplug, verify
> that VBUS falls to < 200mV and decays from there.
>
> Signed-off-by: Aseda Aboagye <aaboagye@google.com>
> Change-Id: I8e8c8cc32575d18c9d3d1210ed3c5cf69ad5ca4b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793058
> Tested-by: Aseda Aboagye <aaboagye@chromium.org>
> Reviewed-by: Diana Z <dzigterman@chromium.org>
> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Bug: b:183220414
Change-Id: Ibf6c161adca9981a065e969b6c3b73dd408ef1ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2796411
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On the boards which use the RAA489000, we keep the ADC enabled while
giving VBUS control to the charger side. This can cause a situation
where VBUS is not quite zero volts when a charger is removed. This
commit uses the charger side registers to control the ASGATE when
selecting our active charge port. This is done in addition to the
existing implementation which uses the TCPCI registers to control
ASGATE. When we place the parts into low power mode, we move the VBUS
control from the TCPC side of the IC to the charger side. It should
be safe to issue both commands as if the TCPC side has control, the IC
ignores the setting from the charger side registers.
BUG=b:183220414
BRANCH=dedede
TEST=Build and flash madoo, plug in charger to port, unplug, verify
that VBUS falls to < 200mV and decays from there.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I8e8c8cc32575d18c9d3d1210ed3c5cf69ad5ca4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793058
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Blipper delete the function row key of "forward"
and add a new function key of "snapshot".
BUG=b:182018600
BRANCH=dedede
TEST=make -j BOARD=blipper
Change-Id: I8124c3e051d15034268b3ffd23935c8dfe15d4b7
Signed-off-by: Zhongtian Wu <wuzhongtian@huaqin.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2786800
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable keypad function
BUG=b:182018600
BRANCH=dedede
TEST=make BOARD=blipper pass, then test keypad function ok
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: I313ceba51290ea8968ca25962551431d73518184
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2755358
Reviewed-by: Henry Sun <henrysun@google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For some reason, when the RAA489000 TCPC exits low power mode, CC
status doesn't appear changed when using a servo v4. This causes us
to think no connection is present and immediately but the IC back into
low power mode. If we wait 100ms before querying the CC status reg,
it seems that then the right values are reported.
This commit adds a workaround by setting the LPM exit debounce time to
100ms.
BUG=b:182429150,b:181308089
BRANCH=dedede
TEST=Build and flash a board, verify that servo v4 with an external
charger is detected.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: Ic0c2406fa20d0dad82adee865cd87c46d7126b9f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2752250
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a new GPIO, GPIO_EC_ENTERING_RW2 which does the same
thing as GPIO_EC_ENTERING_RW. However, it's on a pin that's more well
behaved around init time.
This commit also overrides the board_pulse_ec_entering_rw() function
such that both lines can be pulsed.
BUG=b:182063215
BRANCH=dedede
TEST=Build and flash blipper, verify it boots.
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: If15afb6058c5019f05c13be23fa624226330168b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2745183
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create blipper initial ec image
BUG=b:181296159
BRANCH=dedede
TEST=make BOARD=blipper OK
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: Ie51580575ac917f25af60c5dafa089c606389a5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2725476
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
Create the initial EC image for the blipper 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.5.0).
BUG=b:179648964
BRANCH=None
TEST=make BOARD=blipper
Signed-off-by: chenzanxi <chenzanxi@huaqin.corp-partner.google.com>
Change-Id: Id5ad16b3bbb2c09c69f8cd7230c22bfed919dc6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2717848
Reviewed-by: Henry Sun <henrysun@google.com>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Henry Sun <henrysun@google.com>
Tested-by: Henry Sun <henrysun@google.com>
|