author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
136,197 | 22.04.2020 16:37:51 | -28,800 | 78b4b148a225e558b34fdff6098f05560ef6a206 | asurada: Enable backlight GPIO
BRANCH=master
TEST=see display on | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.c",
"new_path": "board/asurada/board.c",
"diff": "@@ -375,6 +375,20 @@ void board_pd_vconn_ctrl(int port, enum usbpd_cc_pin cc_pin, int enabled)\n{\n}\n+/* Called on AP S3 -> S0 transition */\n+static void board_chipset_resume(void)\n+{\n+ ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: Enable backlight GPIO
BRANCH=master
BUG=none
TEST=see display on
Change-Id: I363fc20242dc27ac4fd20c746fd6a57979b7cb0d
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2160237 |
136,222 | 13.05.2020 17:25:08 | -28,800 | fed72520335e09b9ba401c93342dbd90ba5251d7 | chip/mt8192_scp: add system tick timers
BRANCH=none
TEST=make BOARD=asurada_scp | [
{
"change_type": "MODIFY",
"old_path": "chip/mt8192_scp/hrtimer.c",
"new_path": "chip/mt8192_scp/hrtimer.c",
"diff": "#include \"common.h\"\n#include \"hwtimer.h\"\n+#include \"registers.h\"\n+#include \"task.h\"\n-int __hw_clock_source_init(uint32_t start_t)\n+#define TIMER_SYSTEM 5\n+#define TIMER... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | chip/mt8192_scp: add system tick timers
BRANCH=none
BUG=b:146213943
BUG=b:156220843
TEST=make BOARD=asurada_scp
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Change-Id: I1c04d1df9c12b2834f0a7a2b29fe0c259ef6a195
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2198822
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,222 | 16.05.2020 22:16:48 | -28,800 | 16ded48a332ebed5e5e7b5f46e2f9cad7adc7603 | chip/mt8192_scp: support WDT
BRANCH=none
TEST=make BOARD=asurada_scp | [
{
"change_type": "MODIFY",
"old_path": "chip/mt8192_scp/build.mk",
"new_path": "chip/mt8192_scp/build.mk",
"diff": "@@ -17,3 +17,4 @@ chip-y+=uart.o\n# Optional chip modules\nchip-$(CONFIG_COMMON_TIMER)+=hrtimer.o\n+chip-$(CONFIG_WATCHDOG)+=watchdog.o\n"
},
{
"change_type": "MODIFY",
"ol... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | chip/mt8192_scp: support WDT
BRANCH=none
BUG=b:146213943
BUG=b:156220845
TEST=make BOARD=asurada_scp
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Change-Id: I311b31cea04e51dd693b13c806ffd2eadbc6fe59
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2204338
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,356 | 08.06.2020 09:34:46 | -28,800 | 7589c88c048700f349a7515539f8fe8f5c67b155 | Ezkinil: Add HDMI_POWER_EN_DB to NCT3807
This new signal is set to power PI3HDX1204 HDMI retimer IC
on/off in S0/S3.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "board/ezkinil/board.c",
"new_path": "board/ezkinil/board.c",
"diff": "@@ -156,20 +156,26 @@ const struct mft_t mft_channels[] = {\nBUILD_ASSERT(ARRAY_SIZE(mft_channels) == MFT_CH_COUNT);\n/***********************************************************************... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Ezkinil: Add HDMI_POWER_EN_DB to NCT3807
This new signal is set to power PI3HDX1204 HDMI retimer IC
on/off in S0/S3.
BUG=b:158266701
BRANCH=none
TEST=make buildall -j
Change-Id: Ie3ee0311553b587fb8686e5300f7a494b8571be3
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2234043
Reviewed-by: Edward Hill <ecgh@chromium.org> |
136,256 | 10.06.2020 14:18:27 | 21,600 | b1ea19da4db8d5ba71f0a8ee66a348cd7b076ef1 | cleanup: comment update from CL:2233794
BRANCH=none
TEST=build | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_pe_drp_sm.c",
"new_path": "common/usbc/usb_pe_drp_sm.c",
"diff": "@@ -1910,7 +1910,7 @@ static void pe_src_ready_entry(int port)\n{\nprint_current_state(port);\n- /* Ensure any aborted message sequence is properly cleaned up */\n+ /* Ensure any... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | cleanup: comment update from CL:2233794
BRANCH=none
BUG=none
TEST=build
Signed-off-by: Jett Rink <jettrink@chromium.org>
Change-Id: If012f7d746193cfc013155def10bbc7c30c8971f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2240193
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,368 | 27.05.2020 20:26:13 | 25,200 | 8a834c60790e232db196032eec905f56032c5515 | servo_v4p1: Add IO Expander functionality and board setup code
The IO Expander and board setup functionality are available in
RW and RO
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/servo_v4p1/board.c",
"new_path": "board/servo_v4p1/board.c",
"diff": "#include \"gpio.h\"\n#include \"hooks.h\"\n#include \"i2c.h\"\n+#include \"ioexpanders.h\"\n#include \"queue_policies.h\"\n#include \"registers.h\"\n#include \"spi.h\"\n#include \"usar... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | servo_v4p1: Add IO Expander functionality and board setup code
The IO Expander and board setup functionality are available in
RW and RO
BRANCH=none
BUG=b:146793000
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: Ic740169607bd1f97be5145caef08715050ece1ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2219119
Reviewed-by: Wai-Hong Tam <waihong@google.com> |
136,451 | 10.06.2020 16:03:23 | -28,800 | f8f4a60129ca984b6c1e95ba57f68c74d82ba045 | vilboz: Remove ioex C1 and config the ioexpander gpio
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "baseboard/zork/baseboard.c",
"new_path": "baseboard/zork/baseboard.c",
"diff": "@@ -114,21 +114,6 @@ int board_aoz1380_set_vbus_source_current_limit(int port,\nreturn rv;\n}\n-int board_tcpc_fast_role_swap_enable(int port, int enable)\n-{\n- int rv = EC_SUCCES... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | vilboz: Remove ioex C1 and config the ioexpander gpio
BUG=b:158125500
BRANCH=none
TEST=make buildall -j
Signed-off-by: Lu Zhang <lu.zhang@bitland.corp-partner.google.com>
Change-Id: Ica8cdd8f0b14f612f17018a3a95df5a23a6ad43f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2239593
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org> |
136,257 | 10.06.2020 17:49:28 | -28,800 | 6ba72e77e41ad4f5aa127ac9f21a0069ecc150ac | kakadu: disable virtual mux configure
BRANCH=kukui
TEST=make -j BOARD=kakadu
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/kakadu/board.c",
"new_path": "board/kakadu/board.c",
"diff": "@@ -442,7 +442,3 @@ void board_fill_source_power_info(int port,\nr->max_power = r->meas.voltage_now * r->meas.current_max;\n}\n-__override int board_has_virtual_mux(void)\n-{\n- return board_g... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | kakadu: disable virtual mux configure
BUG=b:155224587
BRANCH=kukui
TEST=make -j BOARD=kakadu
TEST=make buildall
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: I4d70c152953f1582732302d63a5a67f6ea034838
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2239597
Reviewed-by: Ting Shen <phoenixshen@chromium.org> |
136,330 | 03.06.2020 17:19:30 | 21,600 | 0fb851a34753737727725f9a91ecae320a89f700 | pe_vdm_request_run: Refactor NAK/BUSY handling
Eliminate a redundant layer of checks.
TEST=make buildall
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_pe_drp_sm.c",
"new_path": "common/usbc/usb_pe_drp_sm.c",
"diff": "@@ -4923,14 +4923,10 @@ static void pe_vdm_request_run(int port)\nif (PD_VDO_CMDT(payload[0]) == CMDT_RSP_ACK) {\nset_state_pe(port, PE_VDM_ACKED);\nreturn;\n- } else if (PD_VDO_... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | pe_vdm_request_run: Refactor NAK/BUSY handling
Eliminate a redundant layer of checks.
BUG=none
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Iae5da3a6bb5efddafab03d752e7079a67543cf46
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2234803
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,330 | 09.06.2020 10:59:34 | 21,600 | ddb0e17c669db437ba4042b15c70d23e62632557 | TCPMv2 PE: Remove partner_type field
It is redundant with tx_type and essentially unused at this point.
TEST=make buildall
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_pe_drp_sm.c",
"new_path": "common/usbc/usb_pe_drp_sm.c",
"diff": "@@ -386,11 +386,6 @@ extern enum usb_pe_state PE_PRS_FRS_SHARE_NOT_SUPPORTED;\nvoid pe_set_frs_enable(int port, int enable);\n#endif /* CONFIG_USB_PD_REV30 */\n-enum port_partner... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMv2 PE: Remove partner_type field
It is redundant with tx_type and essentially unused at this point.
BUG=b:158572770
TEST=make buildall
BRANCH=none
Change-Id: I1818acd93dacf14b657003209256010d5477c76f
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2238536
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,397 | 11.06.2020 15:57:16 | 25,200 | c7fea151a88925c8167d7ad788452cdca3635215 | unit_tests.md: refine tutorial
BRANCH=none
TEST=rendered in gitiles
Tested-by: Tom Hughes | [
{
"change_type": "MODIFY",
"old_path": "docs/unit_tests.md",
"new_path": "docs/unit_tests.md",
"diff": "@@ -71,8 +71,8 @@ void run_test(int argc, char **argv)\n}\n```\n-Create a `tasklist` file for you test that lists the tasks that should run as\n-part of the test:\n+In the [`test`] subdirectory, c... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | unit_tests.md: refine tutorial
BRANCH=none
BUG=b:157576189
TEST=rendered in gitiles
Signed-off-by: Kevin Shelton <kmshelton@chromium.org>
Change-Id: I925d396c5f0d9e9ef6fe6349c5ffb1ea2ab2eaf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2242397
Commit-Queue: Tom Hughes <tomhughes@chromium.org>
Tested-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org> |
136,282 | 11.06.2020 14:28:19 | -28,800 | 20bd502851dd0dda6ca5b43ae3b143d2635ed63d | jinlon: Update fan table
BRANCH=firmware-hatch-12672.B
TEST=Thermal team verified thermal policy is expected. | [
{
"change_type": "MODIFY",
"old_path": "board/jinlon/thermal.c",
"new_path": "board/jinlon/thermal.c",
"diff": "@@ -76,7 +76,7 @@ static const struct fan_step fan_table_clamshell[] = {\n},\n{\n/* level 6 */\n- .on = {65, -1, 62, 40},\n+ .on = {65, -1, 64, 40},\n.off = {62, -1, 61, 39},\n.rpm = {5400... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | jinlon: Update fan table
BUG=b:154564062
BRANCH=firmware-hatch-12672.B
TEST=Thermal team verified thermal policy is expected.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I6d79f2492de087af4f3576dd8faf1079100f3d12
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2241071
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> |
136,257 | 10.06.2020 15:00:32 | -28,800 | dac0ef5c373bbe418ab9d9ccbf0f12a901077b1a | damu: set charging current to 0 when enable charger OTG
When enable charger OTG, we need to set charging current to 0
BRANCH=kukui
TEST=make -j BOARD=damu
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "baseboard/kukui/usb_pd_policy.c",
"new_path": "baseboard/kukui/usb_pd_policy.c",
"diff": "@@ -63,6 +63,8 @@ int pd_set_power_supply_ready(int port)\ngpio_set_level(GPIO_EN_USBC_CHARGE_L, 1);\ngpio_set_level(GPIO_EN_PP5000_USBC, 1);\n+ if (IS_ENABLED(CONFIG_CHA... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | damu: set charging current to 0 when enable charger OTG
When enable charger OTG, we need to set charging current to 0
BUG=b:158542099
BRANCH=kukui
TEST=make -j BOARD=damu
TEST=make buildall
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: I9aed83084b8382d80dc266cce5243eba0233e536
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2239588
Reviewed-by: Ting Shen <phoenixshen@chromium.org> |
136,287 | 09.03.2020 11:59:52 | 21,600 | 13d9ff85b01bf69c78e4e3623797b4c1f5c56ffa | common: online_calibration: Add support for magnetometer
Add support for magnetometers in online calibration.
BRANCH=None
TEST=Added new unit test | [
{
"change_type": "MODIFY",
"old_path": "common/build.mk",
"new_path": "common/build.mk",
"diff": "@@ -119,7 +119,8 @@ common-$(CONFIG_RWSIG_TYPE_RWSIG)+=vboot/vb21_lib.o\ncommon-$(CONFIG_MATH_UTIL)+=math_util.o\ncommon-$(CONFIG_ONLINE_CALIB)+=stillness_detector.o kasa.o math_util.o \\\nmat44.o vec3.... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | common: online_calibration: Add support for magnetometer
Add support for magnetometers in online calibration.
BRANCH=None
BUG=b:138303797,chromium:1023858
TEST=Added new unit test
Change-Id: I3a6dafb2f5fab9b11ac8bd3b53ae4976002d18cd
Signed-off-by: Yuval Peress <peress@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2095519 |
136,311 | 09.06.2020 10:05:19 | 21,600 | f6a4262385b7eb5e97cd0a768fdfbb016325db19 | volteer: cleanup thermal limits
Cleanup the thermal limits based on information provided by hardware
team.
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "baseboard/volteer/baseboard.c",
"new_path": "baseboard/volteer/baseboard.c",
"diff": "@@ -192,9 +192,6 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);\n/******************************************************************************/\n/* EC ther... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: cleanup thermal limits
Cleanup the thermal limits based on information provided by hardware
team.
BUG=b:144941023, b:155336126
BRANCH=none
TEST=make buildall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Ibede2498cd36be6fc23748248e93d6a3fe1d8dad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2237908
Reviewed-by: Abe Levkoy <alevkoy@chromium.org> |
136,269 | 05.06.2020 11:06:02 | 25,200 | 4c17d005ff59601ae7a6bf85747dc43a5e2f2dac | test/run_device_tests.py: Fail test if flashing failed
BRANCH=none
TEST=Stop JLinkRemoteServerCLExe:
./test/run_device_tests.py -t flash_write_protect
echo $?
1 | [
{
"change_type": "MODIFY",
"old_path": "test/run_device_tests.py",
"new_path": "test/run_device_tests.py",
"diff": "@@ -194,7 +194,8 @@ def flash(test_name, board):\ntest_name + '.bin'),\n]\nlogging.debug('Running command: \"%s\"', ' '.join(cmd))\n- subprocess.run(cmd).check_returncode()\n+ complete... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | test/run_device_tests.py: Fail test if flashing failed
BRANCH=none
BUG=b:151105339
TEST=Stop JLinkRemoteServerCLExe:
./test/run_device_tests.py -t flash_write_protect
echo $?
1
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I7ca451f73a302a40f9d48fa901b55205180e0e96
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2233782
Commit-Queue: Craig Hesling <hesling@chromium.org>
Reviewed-by: Craig Hesling <hesling@chromium.org> |
136,286 | 17.06.2020 17:49:37 | -28,800 | d327b1b94317f4cfb73401c3e2484a7d31215202 | Puff: Update thermal config table
Follow the thermal team test, modify parameter that max/min Fan
rpm and thermal config table.
BRANCH=none
TEST=Thermal team verified thermal policy is expected. | [
{
"change_type": "MODIFY",
"old_path": "board/puff/board.c",
"new_path": "board/puff/board.c",
"diff": "@@ -359,9 +359,9 @@ const struct fan_conf fan_conf_0 = {\n};\nconst struct fan_rpm fan_rpm_0 = {\n- .rpm_min = 2400,\n- .rpm_start = 2400,\n- .rpm_max = 4000,\n+ .rpm_min = 2500,\n+ .rpm_start = 2... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Puff: Update thermal config table
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> |
136,282 | 17.06.2020 16:41:58 | -28,800 | 49269321d709e4128b4c31da663fb1254b0cf82e | driver/tcpm: fix ps8705 definition
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "driver/tcpm/ps8xxx.c",
"new_path": "driver/tcpm/ps8xxx.c",
"diff": "#include \"usb_pd.h\"\n#if !defined(CONFIG_USB_PD_TCPM_PS8751) && \\\n- !defined(CONIFG_USB_PD_TCPM_PS8705) && \\\n+ !defined(CONFIG_USB_PD_TCPM_PS8705) && \\\n!defined(CONFIG_USB_PD_TCPM_PS88... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | driver/tcpm: fix ps8705 definition
BUG=b:158760026
BRANCH=none
TEST=make -j buildall
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Iac79496b333c04b8a67225503b4d35060ddef2c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2249641
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,282 | 17.06.2020 16:57:16 | -28,800 | c687adf9e953e771bc0ccac1115066fd5fafdfb7 | drawcia: change TCPC to ps8705 on USBC1 port
Drawcia support ps8705 on sub-board, this patch chagnes TCPC to ps8705
to USBC1 port.
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/drawcia/board.c",
"new_path": "board/drawcia/board.c",
"diff": "* found in the LICENSE file.\n*/\n-/* Waddledee board-specific configuration */\n+/* Drawcia board-specific configuration */\n#include \"button.h\"\n#include \"charge_manager.h\"\n#include \... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | drawcia: change TCPC to ps8705 on USBC1 port
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> |
136,448 | 10.06.2020 18:10:48 | -28,800 | 5c34534e8175d60f40b05b11964e9d1c3aa12b77 | Dood: Add PPC syv682x config
Supoprt PPC SYV682X on Dood.
BRANCH=octopus
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/dood/board.c",
"new_path": "board/dood/board.c",
"diff": "#include \"driver/accelgyro_bmi_common.h\"\n#include \"driver/charger/bd9995x.h\"\n#include \"driver/ppc/nx20p348x.h\"\n+#include \"driver/ppc/syv682x.h\"\n#include \"driver/sync.h\"\n#include \"d... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Dood: Add PPC syv682x config
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> |
136,282 | 16.06.2020 14:57:48 | -28,800 | fe6ca90ed3188c5a0d890c1076ad1b0b1b9db29c | meep: enable 2nd ppc source syv682x
This patch adds 2nd ppc source syv682x base on ppc ID pin.
BRANCH=octopus
TEST=Verify system can be charged by typec charger.
Verify typec dongle works.
Verify c to HDMI dongle works. | [
{
"change_type": "MODIFY",
"old_path": "board/meep/board.c",
"new_path": "board/meep/board.c",
"diff": "#include \"driver/accelgyro_lsm6dsm.h\"\n#include \"driver/charger/bd9995x.h\"\n#include \"driver/ppc/nx20p348x.h\"\n+#include \"driver/ppc/syv682x.h\"\n#include \"driver/tcpm/anx7447.h\"\n#includ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | meep: enable 2nd ppc source syv682x
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> |
136,305 | 16.06.2020 13:42:19 | 21,600 | 52accf3dabbe1123ac243ad779623ec2cff3c48f | SM5803: Add SM5803A 3S inits
Adds recommended inits from vendor for 3S batteries on new silicon.
BRANCH=None
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "driver/charger/sm5803.c",
"new_path": "driver/charger/sm5803.c",
"diff": "@@ -265,6 +265,51 @@ static void sm5803_init(int chgnum)\nrv |= i2c_update8(chg_chips[chgnum].i2c_port, 0x37,\n0x8E, BIT(5), MASK_SET);\nrv |= main_write8(chgnum, 0x1F, 0x00);\n+ } else ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | SM5803: Add SM5803A 3S inits
Adds recommended inits from vendor for 3S batteries on new silicon.
BRANCH=None
BUG=b:155218826
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I52f4809376d1705fc06eb2cf8d8d42a4a4b97b63
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247394
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,391 | 15.06.2020 18:55:03 | -28,800 | 9958590d1293228e3cc0f28a57864297f9bd56c4 | boten: remove unused I2C
Remove I2C4.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "baseboard/dedede/variant_ec_it8320.c",
"new_path": "baseboard/dedede/variant_ec_it8320.c",
"diff": "@@ -106,10 +106,12 @@ const struct i2c_port_t i2c_ports[] = {\nGPIO_EC_I2C_SENSOR_SDA\n},\n+#if CONFIG_USB_PD_PORT_MAX_COUNT > 1\n{\n\"sub_usbc1\", I2C_PORT_SUB... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | boten: remove unused I2C
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> |
136,295 | 18.06.2020 17:02:15 | -28,800 | ce672c614e13810a40b31e8aca9a01ce553cd6af | morphius: remove mst/hdmi hpd function
This patch remove mst/hdmi hpd function due to schematic change.
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/board.c",
"new_path": "board/morphius/board.c",
"diff": "@@ -298,12 +298,6 @@ void setup_fw_config(void)\nps2_enable_channel(NPCX_PS2_CH0, 1, send_aux_data_to_host);\nsetup_mux();\n-\n- if (ec_config_has_mst_hub_rtd2141b())\n- ioex_enable_interr... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: remove mst/hdmi hpd function
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> |
136,295 | 18.06.2020 17:19:11 | -28,800 | 7431dd01830327bfadba5a995210517b8ae8c7cf | morphius: Add HDMI_POWER_EN_DB to NCT3807
The HDMI_POWER_EN_DB signal is set to power HDMI power rail.
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/board.c",
"new_path": "board/morphius/board.c",
"diff": "@@ -492,6 +492,9 @@ static void board_chipset_startup(void)\n{\n/* Normal charge current */\nsb_smart_charge_mode(SB_SMART_CHARGE_DISABLE);\n+\n+ /* hdmi retimer power on */\n+ ioex_set_le... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: Add HDMI_POWER_EN_DB to NCT3807
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> |
136,295 | 18.06.2020 11:33:54 | -28,800 | b96bad8e0de4c89bd498e3d3acf9f56ded847e0e | morphius: add ppc aoz1380
This patch add ppc aoz1380 on daughter board.
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "baseboard/zork/baseboard.c",
"new_path": "baseboard/zork/baseboard.c",
"diff": "@@ -81,7 +81,7 @@ BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT);\n* the attached NCT3807 to control a GPIO to indicate 1A5 or 3A0\n* current limits.\n*/\n-int b... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: add ppc aoz1380
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> |
136,205 | 17.06.2020 14:00:39 | -28,800 | 46b89211e0480f7acf8d1cb832aac2e20827a48e | delbin: Modify GPIO table and remove ALS sensor dependent on schematic.
1. Modity GPIO table.
2. Remove ALS sensor.
BRANCH=master
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/delbin/board.c",
"new_path": "board/delbin/board.c",
"diff": "#include \"accelgyro.h\"\n#include \"driver/accel_bma2x2.h\"\n#include \"driver/accelgyro_bmi260.h\"\n-#include \"driver/als_tcs3400.h\"\n#include \"driver/retimer/bb_retimer.h\"\n-#include \"... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | delbin: Modify GPIO table and remove ALS sensor dependent on schematic.
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> |
136,427 | 19.06.2020 14:15:21 | 21,600 | f4a6e87bd1fcc7932fc4cba148b171c514b21a1c | Zork: Don't KB_SCAN_DISABLE_LID_ANGLE in S0
Keep keyboard scan enabled in tablet mode if the AP is in S0,
so AP can decide whether to ignore input devices or not.
BRANCH=none
TEST=none | [
{
"change_type": "MODIFY",
"old_path": "baseboard/zork/baseboard.c",
"new_path": "baseboard/zork/baseboard.c",
"diff": "@@ -204,8 +204,23 @@ __overridable int board_get_temp(int idx, int *temp_k)\n#ifndef TEST_BUILD\nvoid lid_angle_peripheral_enable(int enable)\n{\n- if (ec_config_has_lid_angle_tabl... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Zork: Don't KB_SCAN_DISABLE_LID_ANGLE in S0
Keep keyboard scan enabled in tablet mode if the AP is in S0,
so AP can decide whether to ignore input devices or not.
BUG=b:159456704
BRANCH=none
TEST=none
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I7e71e2b8d593732315caa73cf585e5d20e5eb9a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2254981
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,295 | 18.06.2020 14:31:04 | -28,800 | 36cf95c854f00a6457c85edb97cedf6891cc1f6c | morphius: update gpio's for board version 3
BRANCH=b:150278507
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/board.c",
"new_path": "board/morphius/board.c",
"diff": "#include \"adc_chip.h\"\n#include \"battery_smart.h\"\n#include \"button.h\"\n+#include \"cros_board_info.h\"\n#include \"driver/accelgyro_bmi_common.h\"\n#include \"driver/accel_kionix.h\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: update gpio's for board version 3
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> |
136,282 | 20.06.2020 19:05:06 | -28,800 | 9009125752041c05fdb288935aa1f3906ce2997e | drawcia: remove board version 0 unused code
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/drawcia/board.c",
"new_path": "board/drawcia/board.c",
"diff": "#define INT_RECHECK_US 5000\n-/* C1 interrupt line swapped between board versions, track it in a variable */\n-static enum gpio_signal c1_int_line;\n-\n/* C0 interrupt line shared by BC 1.2 ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | drawcia: remove board version 0 unused code
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> |
136,368 | 26.05.2020 10:01:04 | 25,200 | 7745df7b323104633933d9b56faa906e099017d4 | servo_v4p1: Add CCD measurement functionality
The CCD measurement functionality is only
available in RO.
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/servo_v4p1/board.c",
"new_path": "board/servo_v4p1/board.c",
"diff": "#include \"adc.h\"\n#include \"adc_chip.h\"\n+#include \"ccd_measure_sbu.h\"\n#include \"common.h\"\n#include \"console.h\"\n#include \"ec_version.h\"\n@@ -327,6 +328,8 @@ static void ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | servo_v4p1: Add CCD measurement functionality
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> |
136,295 | 22.06.2020 09:16:03 | -28,800 | 0204b81f09bf4042a89d5eb031bb8e767d1aff99 | common: add CONFIG_POWER_SIGNAL_RUNTIME_CONFIG
This patch add config: CONFIG_POWER_SUGNAL_RUNTIME_CONFIG
to allow board modified power signal gpio if needed.
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "include/config.h",
"new_path": "include/config.h",
"diff": "/*****************************************************************************/\n+/* EC can choose power signal gpio by schematic version */\n+#undef CONFIG_POWER_SIGNAL_RUNTIME_CONFIG\n+\n/* EC has G... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | common: add CONFIG_POWER_SIGNAL_RUNTIME_CONFIG
This patch add config: CONFIG_POWER_SUGNAL_RUNTIME_CONFIG
to allow board modified power signal gpio if needed.
BUG=b:150278507, b:152841287
BRANCH=none
TEST=make buildall
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I5c885f9cb3400f3354a18b6d497340dfe3ad993b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2256624
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,197 | 22.06.2020 11:48:18 | -28,800 | 8ff0371009cfcd221cf140b2830150b62c8ae6d3 | include/power: Add dummy power_get_state if no CHIPSET task
BRANCH=none
TEST=make BOARD=krane -j tests | [
{
"change_type": "MODIFY",
"old_path": "include/power.h",
"new_path": "include/power.h",
"diff": "@@ -167,7 +167,13 @@ void power_set_state(enum power_state new_state);\n*\n* @return Current chipset power state\n*/\n+#ifdef HAS_TASK_CHIPSET\nenum power_state power_get_state(void);\n+#else\n+static i... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | include/power: Add dummy power_get_state if no CHIPSET task
BRANCH=none
BUG=b:159571683
TEST=make BOARD=krane -j tests
Change-Id: I0484bbb5b6dcb0703aace88be59248968a662bb5
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2256631
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,197 | 22.06.2020 11:50:26 | -28,800 | 98a373b76fafde1c2b96d9c3fb61376662d557ff | include/chipset: Define dummy init_reset_log if no CHIPSET task.
BRANCH=none
TEST=make BOARD=krane -j tests | [
{
"change_type": "MODIFY",
"old_path": "include/chipset.h",
"new_path": "include/chipset.h",
"diff": "@@ -177,6 +177,11 @@ void chipset_handle_espi_reset_assert(void);\n*/\nvoid chipset_pre_init_callback(void);\n+/**\n+ * Initialize reset logs and next reset log.\n+ */\n+void init_reset_log(void);\n... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | include/chipset: Define dummy init_reset_log if no CHIPSET task.
BRANCH=none
BUG=b:159571683
TEST=make BOARD=krane -j tests
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Change-Id: I77212f0ff3215270c0e466f2220d64e267c18efb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2256632
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,269 | 04.05.2020 14:19:54 | 25,200 | 9c644daf1420fbec28bc9837f756cae61debab74 | docs/fingerprint: Add instructions for toggling hardware write protect
BRANCH=none
TEST=none | [
{
"change_type": "MODIFY",
"old_path": "docs/fingerprint/fingerprint-dev-for-partners.md",
"new_path": "docs/fingerprint/fingerprint-dev-for-partners.md",
"diff": "@@ -355,6 +355,31 @@ The `_mv` suffix denotes millivolt and `_mw` suffix denotes milliwatt.\nSee [Power Measurement Documentation] for m... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | docs/fingerprint: Add instructions for toggling hardware write protect
BRANCH=none
BUG=none
TEST=none
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: Ibd8fa4a504798860acb85ae8fc4c4383ee55337e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2190821
Reviewed-by: Craig Hesling <hesling@chromium.org>
Commit-Queue: Craig Hesling <hesling@chromium.org> |
136,282 | 23.06.2020 23:01:02 | -28,800 | 0fd827f7df34010375837bdf219c5f9da2e9013d | drawcia: enable USB-A power 5V
BRANCH=none
TEST=make sure USB-A port works. | [
{
"change_type": "MODIFY",
"old_path": "board/drawcia/board.c",
"new_path": "board/drawcia/board.c",
"diff": "#define INT_RECHECK_US 5000\n+/* GPIO to enable/disable the USB Type-A port. */\n+const int usb_port_enable[USB_PORT_COUNT] = {\n+ GPIO_EN_USB_A_5V,\n+};\n+\n/* C0 interrupt line shared by B... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | drawcia: enable USB-A power 5V
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> |
136,197 | 22.06.2020 11:55:56 | -28,800 | 0c476173dd95f7626c3e34ce5a0bc308869e6e2f | test/flash_write_protect: Handle different WP polarity
Also handle the hard-coded case (mirrored from common/flash.c).
BRANCH=none
TEST=make BOARD=krane -j tests | [
{
"change_type": "MODIFY",
"old_path": "test/flash_write_protect.c",
"new_path": "test/flash_write_protect.c",
"diff": "test_static int check_image_and_hardware_write_protect(void)\n{\n+ int wp;\n+\nif (system_get_image_copy() != EC_IMAGE_RO) {\nccprintf(\"This test is only works when running RO\\n\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | test/flash_write_protect: Handle different WP polarity
Also handle the hard-coded case (mirrored from common/flash.c).
BRANCH=none
BUG=b:159571683
TEST=make BOARD=krane -j tests
Change-Id: I0bbdb4b6cc86226f01653c5a2dad569b6282e5b4
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2256633
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org> |
136,197 | 22.06.2020 11:56:49 | -28,800 | 7a100e971ad453dbbdfc30736d0e276b16067abc | test: Add flash_write_protect to default tests
BRANCH=none
TEST=make BOARD=krane -j tests | [
{
"change_type": "MODIFY",
"old_path": "test/build.mk",
"new_path": "test/build.mk",
"diff": "# found in the LICENSE file.\n# Device test binaries\n-test-list-y ?= pingpong timer_calib timer_dos timer_jump mutex utils utils_str\n+test-list-y ?= flash_write_protect pingpong timer_calib timer_dos time... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | test: Add flash_write_protect to default tests
BRANCH=none
BUG=b:159496910
TEST=make BOARD=krane -j tests
Change-Id: I2da037758cc1754ddad7ecab8f51b227cb631eac
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2256634
Reviewed-by: Tom Hughes <tomhughes@chromium.org> |
136,330 | 24.06.2020 11:49:56 | 21,600 | 13dd3537bb326be87185d76f2c6353bde7ca69ef | volteer: Remove DisplayPort HPD GPIOs
This function is already handled by the AP's internal mux, and the GPIOs
were already unused.
TEST=make buildall
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "board/volteer/gpio.inc",
"new_path": "board/volteer/gpio.inc",
"diff": "@@ -141,10 +141,6 @@ GPIO(EC_I2C7_EEPROM_SDA, PIN(B, 2), GPIO_INPUT)\n/* Battery signals */\nGPIO(EC_BATT_PRES_ODL, PIN(E, 1), GPIO_INPUT)\n-/* Physical HPD pins are not needed on EC as th... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: Remove DisplayPort HPD GPIOs
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> |
136,368 | 26.05.2020 10:13:07 | 25,200 | b38f3970ef0ea24c77a8ceeddd0f3eae3692c702 | servo_v4p1: Add USB3 routing to DUT or HOST functionality
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
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/servo_v4p1/board.c",
"new_path": "board/servo_v4p1/board.c",
"diff": "#include \"hooks.h\"\n#include \"i2c.h\"\n#include \"ioexpanders.h\"\n+#include \"pathsel.h\"\n#include \"queue_policies.h\"\n#include \"registers.h\"\n#include \"spi.h\"\n@@ -314,6 +3... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | servo_v4p1: Add USB3 routing to DUT or HOST functionality
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> |
136,368 | 03.06.2020 14:52:27 | 25,200 | d945012134ae499ff8903739d5472f5cdd51703a | TCPMV2: Add support for sending Alert Messages
Add support for sending Alert OVC and OVP messages
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "common/usb_common.c",
"new_path": "common/usb_common.c",
"diff": "@@ -792,3 +792,23 @@ static int command_tcpc_dump(int argc, char **argv)\nDECLARE_CONSOLE_COMMAND(tcpci_dump, command_tcpc_dump, \"<Type-C port>\",\n\"dump the TCPC regs\");\n#endif /* defined(C... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMV2: Add support for sending Alert Messages
Add support for sending Alert OVC and OVP messages
BRANCH=none
BUG=b:117854867
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: Ia436c8869880897ea9af0c2c2b0d6e9288831a8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2229285
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,295 | 23.06.2020 16:46:51 | -28,800 | 936ababb8c1bf35472fc058c1f2d314a35a1476c | berknip: remove mst/hdmi hpd function
This CL remove mst/hdmi hpd function for schematic change.
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/berknip/board.c",
"new_path": "board/berknip/board.c",
"diff": "@@ -285,12 +285,6 @@ void setup_fw_config(void)\ngpio_enable_interrupt(GPIO_6AXIS_INT_L);\nsetup_mux();\n-\n- if (ec_config_has_mst_hub_rtd2141b())\n- ioex_enable_interrupt(IOEX_MST_HPD_OUT)... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | berknip: remove mst/hdmi hpd function
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> |
136,295 | 23.06.2020 17:19:23 | -28,800 | d77a371e0a20a2af5ddb53b13c2588ea9d70eb57 | berknip: add HDMI_POWER_EN_DB to NCT3807
The HDMI_POWER_EN_DB signal is set to power HDMI power rail.
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/berknip/board.c",
"new_path": "board/berknip/board.c",
"diff": "@@ -153,6 +153,24 @@ const struct mft_t mft_channels[] = {\n};\nBUILD_ASSERT(ARRAY_SIZE(mft_channels) == MFT_CH_COUNT);\n+/*******************************************************************... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | berknip: add HDMI_POWER_EN_DB to NCT3807
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> |
136,295 | 20.06.2020 18:32:12 | -28,800 | 2976123d483824bf49c21198f26447df95db712d | morphius: support aoz and nxp ppc by gpio
BRANCH=none
TEST=make buildall
Tested-by: Edward Hill | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/board.c",
"new_path": "board/morphius/board.c",
"diff": "#include \"gpio_list.h\"\n-\n+static bool support_aoz_ppc;\n#ifdef HAS_TASK_MOTIONSENSE\n@@ -277,6 +277,7 @@ enum gpio_signal gpio_ec_ps2_reset = GPIO_EC_PS2_RESET_V1;\nstatic void board_r... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: support aoz and nxp ppc by gpio
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> |
136,330 | 25.06.2020 10:47:10 | 21,600 | 5ba7e3161913347fd992c8345bbe740692658ad1 | volteer: Remove c10_gate_change
This is unneeded, now that the EC doesn't need to control power
sequencing.
TEST=make buildall
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "board/volteer/board.h",
"new_path": "board/volteer/board.h",
"diff": "@@ -169,9 +169,6 @@ enum sensor_id {\nSENSOR_COUNT,\n};\n-/* TODO: b/143375057 - Remove this code after power on. */\n-void c10_gate_change(enum gpio_signal signal);\n-\n#endif /* !__ASSEMBL... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: Remove c10_gate_change
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> |
136,443 | 29.05.2020 13:43:14 | 25,200 | 07fc2cff6d8575ca89e563fca741a0ea454fff9d | common: Document flash_set_protect better
BRANCH=none
TEST=none | [
{
"change_type": "MODIFY",
"old_path": "common/flash.c",
"new_path": "common/flash.c",
"diff": "@@ -811,6 +811,17 @@ uint32_t flash_get_protect(void)\nreturn flags | flash_physical_get_protect_flags();\n}\n+/*\n+ * Request a flash protection flags change for |mask| flash protect flags\n+ * to |flags... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | common: Document flash_set_protect better
BRANCH=none
BUG=none
TEST=none
Signed-off-by: Craig Hesling <hesling@chromium.org>
Change-Id: I07967c32fd481f76385e65af8752c9f5c5d19d98
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2222691
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,311 | 25.06.2020 10:12:33 | 21,600 | f63835743dfc7d01a0c2a3c1cde8480a6237bac7 | tcpmv1: string reduction
De-duplicate some output strings to reduce flash sizes.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "common/usb_pd_protocol.c",
"new_path": "common/usb_pd_protocol.c",
"diff": "#include \"gpio.h\"\n#include \"hooks.h\"\n#include \"host_command.h\"\n+#include \"printf.h\"\n#include \"registers.h\"\n#include \"system.h\"\n#include \"task.h\"\n#define CPRINTF(fo... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | tcpmv1: string reduction
De-duplicate some output strings to reduce flash sizes.
BUG=none
BRANCH=none
TEST=make buildall -j
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Ide613f2641cdf7190603c37ab774121a4bd639ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2267680
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org> |
136,330 | 18.06.2020 15:13:04 | 21,600 | c0cee430c75fd428876416c7b3ede705c19dce0f | TCPMv2: Consolidate code in DPM-driven VDM code
Remove code from pe_vdm_request_dpm_run that is common to
all discovery VDM requests.
Save 104 bytes of flash on average (volteer RO: 64; volteer RW: 60).
TEST=Observe DP setup traffic with multiple dongles.
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_pe_drp_sm.c",
"new_path": "common/usbc/usb_pe_drp_sm.c",
"diff": "@@ -4701,106 +4701,63 @@ static void pe_vdm_request_dpm_entry(int port)\nstatic void pe_vdm_request_dpm_run(int port)\n{\n- if (PE_CHK_FLAG(port, PE_FLAGS_MSG_RECEIVED)) {\nuint3... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMv2: Consolidate code in DPM-driven VDM code
Remove code from pe_vdm_request_dpm_run that is common to
all discovery VDM requests.
Save 104 bytes of flash on average (volteer RO: 64; volteer RW: 60).
BUG=b:158572770
TEST=Observe DP setup traffic with multiple dongles.
BRANCH=none
Change-Id: I55178e594b0f0e8fb754204e90c28884474e1587
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2253063 |
136,368 | 26.05.2020 10:20:53 | 25,200 | 48a55c8b351bc10e5637e90814293a4b7869ac84 | servo_v4p1: Add DUT Charge Through functionality
This functionality is only available in RO and
enables the servo V4.1 to charge the DUT.
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/servo_v4p1/board.c",
"new_path": "board/servo_v4p1/board.c",
"diff": "#include \"adc.h\"\n#include \"adc_chip.h\"\n#include \"ccd_measure_sbu.h\"\n+#include \"chg_control.h\"\n#include \"common.h\"\n#include \"console.h\"\n#include \"ec_version.h\"\n@@ -... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | servo_v4p1: Add DUT Charge Through functionality
This functionality is only available in RO and
enables the servo V4.1 to charge the DUT.
BRANCH=none
BUG=b:146793000
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: I317d02081b935d69af712c6189634496f56110f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2216404
Reviewed-by: Wai-Hong Tam <waihong@google.com> |
136,368 | 24.06.2020 13:21:40 | 25,200 | 9fe816a1c3a1286a6510b92503857ded5ae4b5fe | TCPMv2: Add PE State name to pd state console command
Some faft_pd tests need to query which state the pe state
machine is in.
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_pd_console.c",
"new_path": "common/usbc/usb_pd_console.c",
"diff": "@@ -164,9 +164,14 @@ test_export_static int command_pd(int argc, char **argv)\nif (IS_ENABLED(CONFIG_USBC_VCONN))\nccprintf(\"%s \", tc_is_vconn_src(port) ? \"-VC\" : \"\");\n-... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMv2: Add PE State name to pd state console command
Some faft_pd tests need to query which state the pe state
machine is in.
BRANCH=none
BUG=b:159682253
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: I1782761328212f45bd690fd7285f016cf9285538
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2264484 |
136,257 | 29.06.2020 11:02:42 | -28,800 | 5212a44c2b5761d016d7411b6a425b4ac672ee0e | kakadu: prevent OEM name show "unkn"
ectool battery need to show proper OEM name when using dump battery.
BRANCH=kukui
TEST=make -j board=kakadu
TEST=make buildall
TEST=ectool battery | [
{
"change_type": "MODIFY",
"old_path": "baseboard/kukui/battery_max17055.c",
"new_path": "baseboard/kukui/battery_max17055.c",
"diff": "@@ -219,3 +219,15 @@ enum ec_status charger_profile_override_set_param(uint32_t param,\n{\nreturn EC_RES_INVALID_PARAM;\n}\n+\n+int get_battery_manufacturer_name(ch... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | kakadu: prevent OEM name show "unkn"
ectool battery need to show proper OEM name when using dump battery.
BUG=b:159918228
BRANCH=kukui
TEST=make -j board=kakadu
TEST=make buildall
TEST=ectool battery
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: I27e355881d6f6692edb2599fef7fb2c2c30a1062
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2269393
Reviewed-by: Ting Shen <phoenixshen@chromium.org> |
136,280 | 24.03.2020 17:36:44 | -28,800 | 5eb797bf5d4c41743157c1e48bd2c448d2639fc7 | driver/bc12: implement mt6360 driver
TEST=with CL:2189624, verify bc12 detection works correctly
BRANCH=master
Tested-by: Ting Shen | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "driver/bc12/mt6360.c",
"diff": "+/* Copyright 2020 The Chromium OS Authors. All rights reserved.\n+ * Use of this source code is governed by a BSD-style license that can be\n+ * found in the LICENSE file.\n+ */\n+\n+#include \"charger.h\"\n+#inc... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | driver/bc12: implement mt6360 driver
BUG=b:151802370
TEST=with CL:2189624, verify bc12 detection works correctly
BRANCH=master
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I0fee8e7309178be4d933ed5c246ea107ca5931bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2117871
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,286 | 29.06.2020 16:17:28 | -28,800 | b6b8b804a8f8146f1d124fc0b903299ad36f1c94 | voxel: change USB_C0_DP_HPD GPIO define
define USB_C0_DP_HPD to GPIO60
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/voxel/gpio.inc",
"new_path": "board/voxel/gpio.inc",
"diff": "@@ -140,7 +140,7 @@ GPIO(EC_I2C7_EEPROM_SDA, PIN(B, 2), GPIO_INPUT)\nGPIO(EC_BATT_PRES_ODL, PIN(E, 1), GPIO_INPUT)\n/* Physical HPD pins are not needed on EC as these are configured by PMC */\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | voxel: change USB_C0_DP_HPD GPIO define
define USB_C0_DP_HPD to GPIO60
BUG=b:155062762
BRANCH=none
TEST=make buildall
Change-Id: Id182b35e810807c538bb8e0beea125458ad923a3
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2272420
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,280 | 26.03.2020 14:27:39 | -28,800 | 6684f84b7c66a5d0b7b6fc4c13026951040bdc53 | asurada: enable bc12 chips
TEST=verify bc12 detection works for both ports
BRANCH=master
Tested-by: Ting Shen | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.c",
"new_path": "board/asurada/board.c",
"diff": "#include \"console.h\"\n#include \"driver/accel_lis2dw12.h\"\n#include \"driver/accelgyro_bmi_common.h\"\n+#include \"driver/bc12/mt6360.h\"\n+#include \"driver/bc12/pi3usb9201.h\"\n#include... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: enable bc12 chips
BUG=b:151802370
TEST=verify bc12 detection works for both ports
BRANCH=master
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I99af6eb83c133e3527e633c30d6c3df7bd50d6a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2189624
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org> |
136,368 | 26.05.2020 10:34:02 | 25,200 | 5e62b34f19a0d8a93d82990e7327491ca4ee6a1d | servo_v4p1: Add INA231S functionality
This functionality is only available in RO
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/servo_v4p1/board.c",
"new_path": "board/servo_v4p1/board.c",
"diff": "#include \"gpio.h\"\n#include \"hooks.h\"\n#include \"i2c.h\"\n+#include \"ina231s.h\"\n#include \"ioexpanders.h\"\n#include \"pathsel.h\"\n#include \"queue_policies.h\"\n@@ -317,6 +31... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | servo_v4p1: Add INA231S functionality
This 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: I37f97e8e882a8a5948aeeb669ca39cc930e32d31
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2216406
Reviewed-by: Wai-Hong Tam <waihong@google.com> |
136,295 | 01.07.2020 09:04:59 | -28,800 | eccff54c3a6ae63f77fbc8544f770fae1f100715 | morphius: revert gpio S0_PWROK_OD
This patch revert gpio S0_PWROK_OD modified for schematic update.
BRANCH=none
TEST=DUT can power on normally. | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/board.c",
"new_path": "board/morphius/board.c",
"diff": "@@ -586,7 +586,7 @@ void ps2_pwr_en_interrupt(enum gpio_signal signal)\n* Power signals\n*/\n-struct power_signal_info power_signal_list[] = {\n+const struct power_signal_info power_signal... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: revert gpio S0_PWROK_OD
This patch revert gpio S0_PWROK_OD modified for schematic update.
BUG=b:160105564
BRANCH=none
TEST=DUT can power on normally.
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I7bdf391bbf03d1d407e66e3101c0382c82f6f939
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2276120
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,330 | 18.06.2020 08:33:24 | 21,600 | cb38a889caec1ff6c40bcf244b67f75c9a3b58b2 | volteer: Configure unused GPIOs as inputs
Configure unused GPIOs as inputs to save power in deep sleep states.
TEST=make buildall
TEST=Boot image on Volteer
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "board/volteer/gpio.inc",
"new_path": "board/volteer/gpio.inc",
"diff": "@@ -28,6 +28,11 @@ GPIO_INT(PG_EC_ALL_SYS_PWRGD, PIN(F, 4), GPIO_INT_BOTH, power_signal_interrupt)\nGPIO_INT(EC_IMU_INT_L, PIN(5, 6), GPIO_INT_FALLING | GPIO_SEL_1P8V, bmi260_interrupt)\nG... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: Configure unused GPIOs as inputs
Configure unused GPIOs as inputs to save power in deep sleep states.
BUG=b:155882590,b:157609784
TEST=make buildall
TEST=Boot image on Volteer
BRANCH=none
Change-Id: I8ad71f304186d094934435aed60bde131130d1ed
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2276704
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,330 | 30.06.2020 16:06:10 | 21,600 | 17b4dc6abc25351f83b6aa8a4a189eda986d2bcc | volteer: Update GPIO names
Make them consistent with new boards.
TEST=make buildall
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "board/volteer/board.c",
"new_path": "board/volteer/board.c",
"diff": "@@ -179,15 +179,15 @@ const struct i2c_port_t i2c_ports[] = {\n.name = \"power\",\n.port = I2C_PORT_POWER,\n.kbps = 100,\n- .scl = GPIO_EC_I2C5_POWER_SCL,\n- .sda = GPIO_EC_I2C5_POWER_SDA,\n... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: Update GPIO names
Make them consistent with new boards.
BUG=b:157609784
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Ied2c768fa8fe63604597ff508c73cfe685cfe1d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2276582
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,368 | 01.07.2020 13:27:21 | 25,200 | b0f95929bff1cab085d3c6021154c6aca4a07829 | TCPMv2: Add new line to TC state query
When CONFIG_USB_PE_SM isn't enable, a new line is added
after the TC state is queried.
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_pd_console.c",
"new_path": "common/usbc/usb_pd_console.c",
"diff": "@@ -172,6 +172,8 @@ test_export_static int command_pd(int argc, char **argv)\nccprintf(\" PE State: %s, Flags: 0x%04x\\n\",\npe_get_current_state(port),\npe_get_flags(port));\n... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMv2: Add new line to TC state query
When CONFIG_USB_PE_SM isn't enable, a new line is added
after the TC state is queried.
BRANCH=none
BUG=b:159682253
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: I2456d218680210c63c2deeb0ed9dd7cc5bac6b87
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2277208
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,311 | 01.05.2020 15:04:12 | 21,600 | 07833a0fc114e28c200fcee5691c082534344bfe | volteer: create common FW_CONFIG layout
Create a common FW_CONFIG layout and access functions for Volteer
boards.
BRANCH=none
TEST=make buildall
TEST=verify FW_CONFIG data on Volteer | [
{
"change_type": "MODIFY",
"old_path": "baseboard/volteer/baseboard.c",
"new_path": "baseboard/volteer/baseboard.c",
"diff": "#include \"adc_chip.h\"\n#include \"bb_retimer.h\"\n#include \"button.h\"\n+#include \"cbi_ec_fw_config.h\"\n#include \"charge_manager.h\"\n#include \"charge_state.h\"\n#incl... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: create common FW_CONFIG layout
Create a common FW_CONFIG layout and access functions for Volteer
boards.
BUG=b:155497872
BRANCH=none
TEST=make buildall
TEST=verify FW_CONFIG data on Volteer
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I1ec14db6c816d82115caa5e6179e0258f2904ec4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247616
Reviewed-by: caveh jalali <caveh@chromium.org> |
136,311 | 01.07.2020 17:38:40 | 21,600 | 765f30881ec3e21a5724d16ffc32e25aecfe2f24 | ppc: string de-duplication
De-duplicate strings in PPC drivers. Saves 312 bytes on Volteer.
Average flash increase of 211 bytes.
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "common/usbc_ppc.c",
"new_path": "common/usbc_ppc.c",
"diff": "#ifndef TEST_BUILD\n#define CPRINTF(format, args...) cprintf(CC_USBPD, format, ## args)\n#define CPRINTS(format, args...) cprints(CC_USBPD, format, ## args)\n+\n+int ppc_prints(const char *string, i... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | ppc: string de-duplication
De-duplicate strings in PPC drivers. Saves 312 bytes on Volteer.
Average flash increase of 211 bytes.
BUG=b:158572770
BRANCH=none
TEST=make buildall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I5ca5c935f974b04216ce4d90e6f6d6b9103e8b75
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2278586
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,282 | 01.07.2020 09:04:24 | -28,800 | 2adb19bffa152cfa3fa0955b8aa5a42ab75cc6f5 | drawcia: remove unused retimer
CL:2249645 applied drawcia C1 port to ps8705. There is no need
retimer tusb544 with ps8705.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "board/drawcia/board.c",
"new_path": "board/drawcia/board.c",
"diff": "#include \"driver/bc12/pi3usb9201.h\"\n#include \"driver/charger/sm5803.h\"\n#include \"driver/sync.h\"\n-#include \"driver/retimer/tusb544.h\"\n#include \"driver/temp_sensor/thermistor.h\"\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | drawcia: remove unused retimer
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> |
136,222 | 30.06.2020 08:17:31 | -28,800 | 7850b53984dc4fe7b797ce341c25554b994165a5 | chip/mt8192_scp: add static for non-exposed functions
BRANCH=none
TEST=make BOARD=asurada_scp | [
{
"change_type": "MODIFY",
"old_path": "chip/mt8192_scp/uart.c",
"new_path": "chip/mt8192_scp/uart.c",
"diff": "@@ -116,14 +116,14 @@ void uart_tx_stop(void)\nenable_sleep(SLEEP_MASK_UART);\n}\n-void uart_process(void)\n+static void uart_process(void)\n{\nuart_process_input();\nuart_process_output()... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | chip/mt8192_scp: add static for non-exposed functions
BRANCH=none
BUG=b:146213943
BUG=b:156221696
TEST=make BOARD=asurada_scp
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Change-Id: Ie1f68fc0db45c4c46d0651c43bf7383553f2fb36
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2275707
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,222 | 30.06.2020 08:19:51 | -28,800 | fc5f9662cd4ad5bd6fe69226e2034d512c78e1b2 | chip/mt8192_scp: use 0 for dummy priority number
3rd argument of DECLARE_IRQ is dummy in core/riscv-rv32i. Uses 0 for
them to avoid misunderstanding.
BRANCH=none
TEST=make BOARD=asurada_scp | [
{
"change_type": "MODIFY",
"old_path": "chip/mt8192_scp/hrtimer.c",
"new_path": "chip/mt8192_scp/hrtimer.c",
"diff": "@@ -218,4 +218,4 @@ static void irq_group6_handler(void)\nbreak;\n}\n}\n-DECLARE_IRQ(6, irq_group6_handler, 2);\n+DECLARE_IRQ(6, irq_group6_handler, 0);\n"
},
{
"change_type"... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | chip/mt8192_scp: use 0 for dummy priority number
3rd argument of DECLARE_IRQ is dummy in core/riscv-rv32i. Uses 0 for
them to avoid misunderstanding.
BRANCH=none
BUG=b:146213943
BUG=b:156220843
BUG=b:156221696
TEST=make BOARD=asurada_scp
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Change-Id: Id0ea8e7c432eb0e09324864865bea9adc72264f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2275708
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,280 | 15.05.2020 19:41:21 | -28,800 | 12489f5be5d1c0867c83ebcfa97773edafd60259 | mt6360: implement led driver
TEST=with CL:2203474, see led lit
BRANCH=master
Tested-by: Ting Shen | [
{
"change_type": "MODIFY",
"old_path": "driver/bc12/mt6360.c",
"new_path": "driver/bc12/mt6360.c",
"diff": "#include \"timer.h\"\n#include \"usb_charge.h\"\n#include \"usb_pd.h\"\n+#include \"util.h\"\n/* Console output macros */\n#define CPRINTF(format, args...) cprintf(CC_CHARGER, format, ## args)... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | mt6360: implement led driver
BUG=b:151802370
TEST=with CL:2203474, see led lit
BRANCH=master
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: If64a851377f93aea125b7402a3f4afb771abe6e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2203473
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org> |
136,280 | 15.05.2020 19:41:40 | -28,800 | 3a6aa5f78e6ed0662d262ff73dbebcaab1863a2b | asurada: enable led
TEST=see led lit
BRANCH=master
Tested-by: Ting Shen | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.h",
"new_path": "board/asurada/board.h",
"diff": "#define I2C_PORT_USB_MUX0 IT83XX_I2C_CH_C\n#define I2C_PORT_USB_MUX1 IT83XX_I2C_CH_E\n+/* LED */\n+#define CONFIG_LED_COMMON\n+#define CONFIG_LED_ONOFF_STATES\n+#define CONFIG_LED_POWER_LED\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: enable led
BUG=b:151802370
TEST=see led lit
BRANCH=master
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I53af6a029159e88358bf7f364d28586e2b950782
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2203474
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org> |
136,280 | 27.05.2020 17:03:01 | -28,800 | 57ef57bd80563e98a1d7361c3852d32674381bb9 | asurada: enable light sensor tcs3400
TEST=accelread 4
BRANCH=none
Tested-by: Ting Shen | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.c",
"new_path": "board/asurada/board.c",
"diff": "#include \"console.h\"\n#include \"driver/accel_lis2dw12.h\"\n#include \"driver/accelgyro_bmi_common.h\"\n+#include \"driver/als_tcs3400.h\"\n#include \"driver/bc12/mt6360.h\"\n#include \"dr... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: enable light sensor tcs3400
BUG=b:150341271
TEST=accelread 4
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ied14172644ddbcd6e4dd6db9f65cbfa1d17e4def
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2217217
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org> |
136,427 | 01.07.2020 16:32:33 | 21,600 | 6e7f31783acc91e781e93e1712fc9375f8da59eb | woomax: Update USB-A and FW_CONFIG
Remove USB-A1 and correct FW_CONFIG.
BRANCH=none
TEST=none | [
{
"change_type": "MODIFY",
"old_path": "baseboard/zork/baseboard.h",
"new_path": "baseboard/zork/baseboard.h",
"diff": "@@ -284,12 +284,6 @@ enum fan_channel {\nFAN_CH_COUNT,\n};\n-enum usba_port {\n- USBA_PORT_A0 = 0,\n- USBA_PORT_A1,\n- USBA_PORT_COUNT\n-};\n-\n#ifdef VARIANT_ZORK_TREMBYLE\nenum u... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | woomax: Update USB-A and FW_CONFIG
Remove USB-A1 and correct FW_CONFIG.
BUG=b:160293750
BRANCH=none
TEST=none
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I6e415c3dac85905af812ac5ce26ad3bbf4fcf869
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2277212
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,222 | 30.06.2020 09:43:23 | -28,800 | e8d3c6227ebb1492d9ad94394a3c6ac9badb4b4e | chip/mt8192_scp: support ipi_send()
Supports ipi_send() which sends IPI messages to AP.
BRANCH=none
TEST=make BOARD=asurada_scp | [
{
"change_type": "MODIFY",
"old_path": "chip/mt8192_scp/build.mk",
"new_path": "chip/mt8192_scp/build.mk",
"diff": "@@ -17,4 +17,5 @@ chip-y+=uart.o\n# Optional chip modules\nchip-$(CONFIG_COMMON_TIMER)+=hrtimer.o\n+chip-$(CONFIG_IPI)+=ipi.o\nchip-$(CONFIG_WATCHDOG)+=watchdog.o\n"
},
{
"chan... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | chip/mt8192_scp: support ipi_send()
Supports ipi_send() which sends IPI messages to AP.
BRANCH=none
BUG=b:146213943
BUG=b:156223050
TEST=make BOARD=asurada_scp
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Change-Id: Ia146b29607bc5bf4150b637368b3a99986de677d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2275709
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,222 | 30.06.2020 10:28:04 | -28,800 | fc566f558279c272c2a4202a3be91de10594580f | core/riscv-rv32i: add atomic_inc and atomic_dec
BRANCH=none
TEST=make BOARD=asurada_scp | [
{
"change_type": "MODIFY",
"old_path": "core/riscv-rv32i/atomic.h",
"new_path": "core/riscv-rv32i/atomic.h",
"diff": "\"amo\" #op \".w.aqrl %0, %2, %1\" \\\n: \"=r\" (tmp), \"+A\" (*addr) \\\n: \"r\" (value)); \\\n+ tmp; \\\n})\nstatic inline void atomic_clear(volatile uint32_t *addr, uint32_t bits)... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | core/riscv-rv32i: add atomic_inc and atomic_dec
BRANCH=none
BUG=b:146213943
TEST=make BOARD=asurada_scp
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Change-Id: I3d87c9906df1b631fa3733eeae92d356ec287611
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2275710
Reviewed-by: Dino Li <Dino.Li@ite.com.tw>
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,200 | 03.07.2020 18:12:52 | -28,800 | 2ff280a2bd4dbba9a71196f0f76cd5675830053c | Terrador: Add EC_KB_BL_EN to enable/disable keyboard backlight
Add EC_KB_BL_EN to enable/disable keyboard backlight when enter S0/S3.
BRANCH=master
TEST=check keyboard backlight can on/off when in S0/S3.. | [
{
"change_type": "MODIFY",
"old_path": "board/terrador/board.c",
"new_path": "board/terrador/board.c",
"diff": "@@ -214,6 +214,18 @@ const struct pwm_t pwm_channels[] = {\n};\nBUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);\n+static void kb_backlight_enable(void)\n+{\n+ gpio_set_level(GPIO_E... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Terrador: Add EC_KB_BL_EN to enable/disable keyboard backlight
Add EC_KB_BL_EN to enable/disable keyboard backlight when enter S0/S3.
BUG=none
BRANCH=master
TEST=check keyboard backlight can on/off when in S0/S3..
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I54399eda3c4b313f3ccc7af91f966042e3f8cebd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2280862
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,269 | 19.06.2020 13:46:30 | 25,200 | c069beafbef2d94817acbd9108c93768160f3ae6 | docs/fingerprint: Add power measurements
BRANCH=none
TEST=view in gitiles | [
{
"change_type": "MODIFY",
"old_path": "docs/fingerprint/fingerprint-dev-for-partners.md",
"new_path": "docs/fingerprint/fingerprint-dev-for-partners.md",
"diff": "@@ -324,7 +324,7 @@ Start a fingerprint enrollment:\n> fpenroll\n```\n-### Measuring Power\n+### Measuring Power {#measure-power}\nThe D... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | docs/fingerprint: Add power measurements
BRANCH=none
BUG=b:148296085
TEST=view in gitiles
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: Ia8dde9ce8dd605777ca8eaf92fa16076bda3ef5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2254993 |
136,190 | 01.07.2020 14:37:12 | 25,200 | 90b879c1817b7ef92bf7b7c1930aebf63dcc6bfe | usb_pd: Move 'is_vdo_present()' and 'is_usb4_vdo()' to TCPMv1
BRANCH=None
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "common/usb_pd_alt_mode_dfp.c",
"new_path": "common/usb_pd_alt_mode_dfp.c",
"diff": "@@ -672,11 +672,6 @@ void usb_mux_set_safe_mode(int port)\nppc_set_sbu(port, 0);\n}\n-bool is_vdo_present(int cnt, int index)\n-{\n- return cnt > index;\n-}\n-\nstatic inline b... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | usb_pd: Move 'is_vdo_present()' and 'is_usb4_vdo()' to TCPMv1
BUG=b:156749387
BRANCH=None
TEST=make buildall -j
Signed-off-by: Ayushee <ayushee.shah@intel.com>
Change-Id: I8ecffd3084de472ec3d145c3ff69df1ca2d89a56
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2278562
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,368 | 06.07.2020 10:53:15 | 25,200 | cd5855f969d1319e4ba7abae5b3ab9249734d96f | DEDEDE: Increase board PD stack sizes
Increase dedede board PD stack sizes to prevent overflow.
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/boten/ec.tasklist",
"new_path": "board/boten/ec.tasklist",
"diff": "TASK_ALWAYS(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE) \\\nTASK_ALWAYS(POWERBTN, power_button_task, NULL, VENTI_TASK_STACK_SIZE) \\\nTASK_NOTEST(KEYSCAN, keyboard_scan_task, NUL... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | DEDEDE: Increase board PD stack sizes
Increase dedede board PD stack sizes to prevent overflow.
BRANCH=none
BUG=b:155813111
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: I061bf8e53c0f2dfe8ca5617f562bd99ed510d467
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2283693
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,200 | 02.07.2020 16:31:50 | -28,800 | 1c517d0908ebf272adf176515fc82c4ac5a8647d | Terrador: remove fan related function.
Terrador is fan less, remove fan function.
BRANCH=master
TEST=make buildall success. | [
{
"change_type": "MODIFY",
"old_path": "board/terrador/board.c",
"new_path": "board/terrador/board.c",
"diff": "@@ -80,47 +80,6 @@ __override bool board_is_tbt_usb4_port(int port)\nreturn port == USBC_PORT_C1;\n}\n-/******************************************************************************/\n-/*... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Terrador: remove fan related function.
Terrador is fan less, remove fan function.
BUG=b:151978872
BRANCH=master
TEST=make buildall success.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: Iebb74fac4ae60d20ce16073df6539df544ba7fc0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2279151
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,330 | 01.07.2020 15:28:22 | 21,600 | 47a4f56d643be2fdafc2fef171995faa3dbd5105 | TCPMv2: Correct state control flow description
Child run functions execute before parent fun functions, not after. Make
additional minor corrections and clarifications.
TEST=make buildall
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "include/usb_sm.h",
"new_path": "include/usb_sm.h",
"diff": "@@ -18,9 +18,13 @@ typedef void (*state_execution)(const int port);\n* run - Optional method that will be run repeatedly during state machine loop\n* exit - Optional method that will be run when this ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMv2: Correct state control flow description
Child run functions execute before parent fun functions, not after. Make
additional minor corrections and clarifications.
BUG=none
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Ic1b345e42269c9086f77bb6d9fe54d3f91b1002e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2277210
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,256 | 29.06.2020 12:06:49 | 21,600 | f0d151d101034f9a1d14fdb29fa887d0d3e4a973 | tcpmv2: make prints consistent
Use the same prefix for all debug statements, namely C#:
BRANCH=none
TEST=build | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_pe_drp_sm.c",
"new_path": "common/usbc/usb_pe_drp_sm.c",
"diff": "@@ -1281,7 +1281,7 @@ static void pe_send_request_msg(int port)\npd_build_request(pe[port].vpd_vdo, &rdo, &curr_limit,\n&supply_voltage, port);\n- CPRINTF(\"C%d Req [%d] %dmV %dm... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | tcpmv2: make prints consistent
Use the same prefix for all debug statements, namely C#:
BRANCH=none
BUG=none
TEST=build
Signed-off-by: Jett Rink <jettrink@chromium.org>
Change-Id: Iaa1524dfc1f8a9136259b6193b99e8d2229925f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2276316
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,256 | 29.06.2020 12:23:49 | 21,600 | 0300562d12d7c96f1d6beb4902344e35d5f119e6 | tcpmv2: remove tc_restart indirection layer
BRANCH=none
TEST=builds | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_tc_ctvpd_sm.c",
"new_path": "common/usbc/usb_tc_ctvpd_sm.c",
"diff": "@@ -194,7 +194,7 @@ void tc_state_init(int port)\n{\nint res = 0;\n- res = tc_restart_tcpc(port);\n+ res = tcpm_init(port);\nCPRINTS(\"C%d: init %s\", port, res ? \"failed\" ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | tcpmv2: remove tc_restart indirection layer
BRANCH=none
BUG=none
TEST=builds
Signed-off-by: Jett Rink <jettrink@chromium.org>
Change-Id: I2beaa8b74b313d225b9166f324d2b44cb0aa59ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2276317
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,190 | 02.07.2020 01:27:35 | 25,200 | a02be42adc7c4f6bf527eee149d0fcba181598c9 | TCPMv2: Cleanup: Add a function to set ready state
Added a function to set the PE ready state based on the power role.
BRANCH=None
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_pe_drp_sm.c",
"new_path": "common/usbc/usb_pe_drp_sm.c",
"diff": "@@ -651,6 +651,14 @@ int pd_get_vdo_ver(int port, enum tcpm_transmit_type type)\nreturn VDM_VER20;\n}\n+static void pe_set_ready_state(int port)\n+{\n+ if (pe[port].power_role ==... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMv2: Cleanup: Add a function to set ready state
Added a function to set the PE ready state based on the power role.
BUG=b:156749387
BRANCH=None
TEST=make buildall -j
Signed-off-by: Ayushee <ayushee.shah@intel.com>
Change-Id: I8d4026a3faed61606f01f71c4cd7b424d92a816a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2278720
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org> |
136,286 | 02.07.2020 16:47:58 | -28,800 | 94ff39b6e02e00882aeea8d2f5e1a417ffe00262 | voxel: supports bb_retimer for C0/C1 port
add bb retimer for C0/C1 port
BRANCH=none
TEST=make buildall PASS | [
{
"change_type": "MODIFY",
"old_path": "board/voxel/board.c",
"new_path": "board/voxel/board.c",
"diff": "@@ -147,12 +147,19 @@ const struct i2c_port_t i2c_ports[] = {\n.sda = GPIO_EC_I2C2_USB_C1_SDA,\n},\n{\n- .name = \"usb_1_mix\",\n- .port = I2C_PORT_USB_1_MIX,\n+ .name = \"usb_0_mix\",\n+ .port ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | voxel: supports bb_retimer for C0/C1 port
add bb retimer for C0/C1 port
BUG=b:155062762, b:155062762
BRANCH=none
TEST=make buildall PASS
Change-Id: I1da93b58eae4c28a8f7a7192518a130f80b848d9
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2275516
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,257 | 07.07.2020 13:39:06 | -28,800 | 8a7c9a1cd52a4b8f52d9f4a63e919386ddafc7a0 | kakadu: fix board-specific charge behavior
Request voltage always keep at 4320mV when cycle_count is over than 600.
We need at a zone for it.
BRANCH=kukui
TEST=make -j BOARD=kakadu
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "baseboard/kukui/battery_max17055.c",
"new_path": "baseboard/kukui/battery_max17055.c",
"diff": "@@ -211,9 +211,9 @@ int charger_profile_override(struct charge_state_data *curr)\nrv = battery_cycle_count(&val);\nif (!rv)\ncycle_count = val;\n- if (cycle_count >... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | kakadu: fix board-specific charge behavior
Request voltage always keep at 4320mV when cycle_count is over than 600.
We need at a zone for it.
BUG=b:153272421
BRANCH=kukui
TEST=make -j BOARD=kakadu
TEST=make buildall
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: I8d065a607226a39335e3a663ddf7a179ff73a0db
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2282739
Reviewed-by: Ting Shen <phoenixshen@chromium.org> |
136,295 | 11.06.2020 16:01:00 | -28,800 | 5a807da6a3bc2708a3a9af09d60ab3307364e494 | morphius: enable kayboard factory scanning
This patch add for factory keyboard connector test.
BRANCH=none
TEST=Short keyboard pins and make sure "ectool kbfactorytest" works. | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/board.c",
"new_path": "board/morphius/board.c",
"diff": "@@ -614,3 +614,22 @@ const struct power_signal_info power_signal_list[] = {\n},\n};\nBUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT);\n+\n+#ifdef CONFIG_KEYBOARD_FACTORY_... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: enable kayboard factory scanning
This patch add for factory keyboard connector test.
BUG=none
BRANCH=none
TEST=Short keyboard pins and make sure "ectool kbfactorytest" works.
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I9c2c2ae176af63bae811263e0533ac8925a6f130
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2241073
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org> |
136,368 | 26.05.2020 10:37:09 | 25,200 | c2981839b8879c43896ac8ba726564ce9fe7cf36 | servo_v4p1: Add CC DAC functionality
This functionality is available in both RO and RW.
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/servo_v4p1/board.c",
"new_path": "board/servo_v4p1/board.c",
"diff": "#include \"chg_control.h\"\n#include \"common.h\"\n#include \"console.h\"\n+#include \"dacs.h\"\n#include \"ec_version.h\"\n#include \"gpio.h\"\n#include \"hooks.h\"\n@@ -307,6 +308,7 ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | servo_v4p1: Add CC DAC functionality
This functionality is available in both RO and RW.
BRANCH=none
BUG=b:146793000
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: Iace11bd64fe9db2fd7ff14827cb412dae1abcbca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2216407
Reviewed-by: Wai-Hong Tam <waihong@google.com> |
136,286 | 07.07.2020 15:39:06 | -28,800 | dc1468ea7ed4b2ae8590433405f0b3cf2957ae90 | voxel: support syv682x ppc for C0 port
change C0 port ppc from SN55330 to SYV682X
BRANCH=none
TEST=make buildall PASS | [
{
"change_type": "MODIFY",
"old_path": "board/voxel/board.c",
"new_path": "board/voxel/board.c",
"diff": "#include \"driver/accel_bma2x2.h\"\n#include \"driver/accelgyro_bmi260.h\"\n#include \"driver/als_tcs3400.h\"\n-#include \"driver/ppc/sn5s330.h\"\n#include \"driver/ppc/syv682x.h\"\n#include \"d... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | voxel: support syv682x ppc for C0 port
change C0 port ppc from SN55330 to SYV682X
BUG=b:155062762, b:155062762
BRANCH=none
TEST=make buildall PASS
Change-Id: Idf03405adfa591f9f331cae79e1f7db6780afb57
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2284506
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,391 | 07.07.2020 19:25:56 | -28,800 | 8d2511c1cb49ae7de7aaad1f640bb5e32572afae | boten: add lid sensor
Lid sensor uses lis2dwl.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "board/boten/board.c",
"new_path": "board/boten/board.c",
"diff": "#include \"charge_manager.h\"\n#include \"charge_state_v2.h\"\n#include \"charger.h\"\n-#include \"driver/accel_lis2dh.h\"\n+#include \"driver/accel_lis2dw12.h\"\n#include \"driver/accelgyro_lsm... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | boten: add lid sensor
Lid sensor uses lis2dwl.
BUG=b:160671918
BRANCH=none
TEST=make buildall -j
Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com>
Change-Id: Ibb3f871ebdae3fbdeb3e78315ea5cacd80a7427d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2284514
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,451 | 08.07.2020 17:22:33 | -28,800 | 4ebc6e313a4ff802dfcd3988357b43555bbb7fff | vilboz: Add power led and battery led support.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "board/vilboz/led.c",
"new_path": "board/vilboz/led.c",
"diff": "#define LED_OFF_LVL 1\n#define LED_ON_LVL 0\n-const int led_charge_lvl_1;\n-const int led_charge_lvl_2 = 100;\n+const int led_charge_lvl_1 = 5;\n+const int led_charge_lvl_2 = 97;\nstruct led_descr... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | vilboz: Add power led and battery led support.
BRANCH=none
BUG=b:160758409
TEST=make buildall -j
Signed-off-by: Lu Zhang <lu.zhang@bitland.corp-partner.google.com>
Change-Id: Iee9219cc05321c7518e9ff374c802c0768ff497c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2287112
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org> |
136,427 | 08.07.2020 11:20:06 | 21,600 | 2702119106070fde117aa8e2078ac03f702e4177 | Zork: Remove CONFIG_HOSTCMD_SKUID
Coreboot has changed to use CBI, so CONFIG_HOSTCMD_SKUID is no
longer needed and can be cleaned up.
BRANCH=none
TEST=none | [
{
"change_type": "MODIFY",
"old_path": "baseboard/zork/baseboard.c",
"new_path": "baseboard/zork/baseboard.c",
"diff": "@@ -200,33 +200,25 @@ void lid_angle_peripheral_enable(int enable)\n}\n#endif\n-/* Unprovisioned magic value. */\n-static uint32_t sku_id = 0x7fffffff;\n-\n-uint32_t system_get_sku... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Zork: Remove CONFIG_HOSTCMD_SKUID
Coreboot has changed to use CBI, so CONFIG_HOSTCMD_SKUID is no
longer needed and can be cleaned up.
BUG=b:138600504
BRANCH=none
TEST=none
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: Ib9fc1d190d994311f2efcae77821489eddf3cea7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2288152
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,427 | 08.07.2020 11:32:38 | 21,600 | 757a836270f3b3b8890f3c68470b657a63ff7b5a | Zork: Remove CONFIG_SYSTEM_UNLOCKED
Remove CONFIG_SYSTEM_UNLOCKED and CONFIG_I2C_DEBUG from all
Zork boards.
BRANCH=none
TEST=none | [
{
"change_type": "MODIFY",
"old_path": "board/berknip/board.h",
"new_path": "board/berknip/board.h",
"diff": "#include <stdbool.h>\n#include \"baseboard.h\"\n-/*\n- * Allow dangerous commands.\n- * TODO: Remove this config before production.\n- */\n-#define CONFIG_SYSTEM_UNLOCKED\n-#define CONFIG_I2... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Zork: Remove CONFIG_SYSTEM_UNLOCKED
Remove CONFIG_SYSTEM_UNLOCKED and CONFIG_I2C_DEBUG from all
Zork boards.
BUG=b:138601010
BRANCH=none
TEST=none
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I846335e8402b719bbbf5711aa805b727a0902919
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2288153
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,311 | 09.07.2020 12:38:00 | 21,600 | 5ea96872b44d75106b6deaaa10b47d17e433f39b | volteer: disable ppc_dump command to save space
Increases flash space on Volteer by 872 bytes.
BRANCH=none
TEST=make buildall
Tested-by: Abe Levkoy | [
{
"change_type": "MODIFY",
"old_path": "baseboard/volteer/baseboard.h",
"new_path": "baseboard/volteer/baseboard.h",
"diff": "#undef CONFIG_CMD_ACCEL_INFO\n#undef CONFIG_CMD_ACCELSPOOF\n#undef CONFIG_CMD_BATTFAKE\n+#undef CONFIG_CMD_PPC_DUMP\n#define CONFIG_USB_POWER_DELIVERY\n#define CONFIG_USB_PD_... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: disable ppc_dump command to save space
Increases flash space on Volteer by 872 bytes.
BUG=chromium:1101619
BRANCH=none
TEST=make buildall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I1ffc34405a953fb21347cd41a29b1c0fcb96a501
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2290196
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Tested-by: Abe Levkoy <alevkoy@chromium.org> |
136,256 | 09.07.2020 15:59:41 | 21,600 | fca7e1e8545586fed5d1dfcd7e131468d4dc18a5 | system: correct incorrect sleep
We are using msleep instead of usleep, so we don't need to multiply by
MSEC
BRANCH=none
TEST= verify that sleep is only 20 msec and that it is enough to reset
power | [
{
"change_type": "MODIFY",
"old_path": "common/system.c",
"new_path": "common/system.c",
"diff": "@@ -888,7 +888,7 @@ static int handle_pending_reboot(enum ec_reboot_cmd cmd)\n* Give enough time to apply CC Open and brown out if\n* we are running with out a battery.\n*/\n- msleep(20 * MSEC);\n+ msle... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | system: correct incorrect sleep
We are using msleep instead of usleep, so we don't need to multiply by
MSEC
BRANCH=none
BUG=none
TEST= verify that sleep is only 20 msec and that it is enough to reset
power
Signed-off-by: Jett Rink <jettrink@chromium.org>
Change-Id: I6d0d3f4cf0ec9403c2e76a6ffbc068dd6554735a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2290833 |
136,305 | 08.07.2020 14:41:02 | 21,600 | a8b45491623ae6858dfd60e82686ed6b1d9d5136 | SM5803: Update 3S inits
Update 3S battery inits per vendor suggestion. Also correct upper range
of 3S battery platform values.
BRANCH=None
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "driver/charger/sm5803.c",
"new_path": "driver/charger/sm5803.c",
"diff": "@@ -276,7 +276,7 @@ static void sm5803_init(int chgnum)\n}\nplatform_id &= SM5803_PLATFORM_ID;\n- if (platform_id >= 0x0E && platform_id <= 0x17) {\n+ if (platform_id >= 0x0E && platform... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | SM5803: Update 3S inits
Update 3S battery inits per vendor suggestion. Also correct upper range
of 3S battery platform values.
BRANCH=None
BUG=b:155218826
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: If104233eb3e8ee13faa7417d4083aadf588902a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289032
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,305 | 08.07.2020 16:36:21 | 21,600 | 16fff6b6f974f88a0687bf7cf19d247fcf3f502a | SM5803: Add 2S battery inits
Adding 2S battery inits from vendor, with check on platform ID to
identify the 2S units.
BRANCH=None
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "driver/charger/sm5803.c",
"new_path": "driver/charger/sm5803.c",
"diff": "@@ -309,6 +309,40 @@ static void sm5803_init(int chgnum)\nrv |= chg_write8(chgnum, 0x7D, 0x67);\nrv |= chg_write8(chgnum, 0x7E, 0x04);\n+ rv |= chg_write8(chgnum, 0x33, 0x3C);\n+ } else ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | SM5803: Add 2S battery inits
Adding 2S battery inits from vendor, with check on platform ID to
identify the 2S units.
BRANCH=None
BUG=b:155218826
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I0580acf9dc812edc699b6ea04ef18a1f84415657
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289033
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,282 | 09.07.2020 09:23:15 | -28,800 | df2e38d3a169c1493c1abc7719294d9bd1083ff2 | puff: add pull up Rp to 3A
BRANCH=none
TEST=Verify current can up to 3A after attached usbc dock. | [
{
"change_type": "MODIFY",
"old_path": "board/puff/board.h",
"new_path": "board/puff/board.h",
"diff": "#define CONFIG_USB_PD_DISCHARGE_PPC\n#define CONFIG_USB_PD_DUAL_ROLE\n#define CONFIG_USB_PD_LOGGING\n+#define CONFIG_USB_PD_MAX_SINGLE_SOURCE_CURRENT TYPEC_RP_3A0\n#define CONFIG_USB_PD_PORT_MAX_C... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | puff: add pull up Rp to 3A
BUG=none
BRANCH=none
TEST=Verify current can up to 3A after attached usbc dock.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I52a346c600ce464733d0523d4ae950378b429ba8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289331
Reviewed-by: Andrew McRae <amcrae@chromium.org> |
136,282 | 08.07.2020 09:27:34 | -28,800 | 625ecdcdef9064ad20e369c46eb83bed7d82575e | drawcia: enable base accel interrupt
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "board/drawcia/board.c",
"new_path": "board/drawcia/board.c",
"diff": "@@ -196,6 +196,8 @@ void board_init(void)\ngpio_enable_interrupt(GPIO_USB_C0_INT_ODL);\ngpio_enable_interrupt(GPIO_USB_C1_INT_ODL);\ngpio_enable_interrupt(GPIO_USB_C0_CCSBU_OVP_ODL);\n+ /* E... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | drawcia: enable base accel interrupt
BUG=none
BRANCH=none
TEST=make buildall -j
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I09ff8f4d57bd7c1615135b8067dd48a687395ac0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2286430
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,205 | 09.07.2020 16:44:09 | -28,800 | 985bc9bd7ce80a6027ea7af3ba4a6b411843e338 | woomax: Enable GMR sensor
Enable GMR sensor.
BRANCH=master
TEST=manual
Check TABLET_MODE_L pin status when gmr sensor triger. | [
{
"change_type": "MODIFY",
"old_path": "board/woomax/board.c",
"new_path": "board/woomax/board.c",
"diff": "#include \"pwm_chip.h\"\n#include \"switch.h\"\n#include \"system.h\"\n+#include \"tablet_mode.h\"\n#include \"task.h\"\n#include \"temp_sensor.h\"\n#include \"usb_charge.h\"\n"
},
{
"... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | woomax: Enable GMR sensor
Enable GMR sensor.
BUG=b:160834197
BRANCH=master
TEST=manual
Check TABLET_MODE_L pin status when gmr sensor triger.
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: Ib12fd74947025fcdb92b8e257f291f5757b197f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289471
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,391 | 07.07.2020 18:48:16 | -28,800 | f49d1a0a7411cbda8c1ef68802403ec1f79add3f | boten: config volume +/- GPIOs mode
Config volume +/- GPIOs as GPIO_INT_BOTH and GPIO_PULL_UP.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "board/boten/gpio.inc",
"new_path": "board/boten/gpio.inc",
"diff": "@@ -35,8 +35,8 @@ GPIO_INT(USB_C0_CCSBU_OVP_ODL, PIN(K, 6), GPIO_INT_FALLING | GPIO_PULL_UP, c0_cc\n/* Other interrupts */\nGPIO_INT(LID_OPEN, PIN(F, 3), GPIO_INT_BOTH, lid_interrupt)\nGPIO_IN... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | boten: config volume +/- GPIOs mode
Config volume +/- GPIOs as GPIO_INT_BOTH and GPIO_PULL_UP.
BUG=b:160671909
BRANCH=none
TEST=make buildall -j
Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com>
Change-Id: I63b7a7a5a0f1b75747cb25e46a512d19a08f6ffb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2284512
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,427 | 09.07.2020 19:27:14 | 21,600 | 1c48fb8a646c53a71db970fc17b397cbe8f99e62 | Zork: remove pd_snk_is_vbus_provided
Zork uses CONFIG_USB_PD_VBUS_DETECT_TCPC and ppc_is_vbus_present()
doesn't exist.
BRANCH=none
TEST=none | [
{
"change_type": "MODIFY",
"old_path": "baseboard/zork/usb_pd_policy.c",
"new_path": "baseboard/zork/usb_pd_policy.c",
"diff": "@@ -77,11 +77,6 @@ int pd_set_power_supply_ready(int port)\nreturn EC_SUCCESS;\n}\n-int pd_snk_is_vbus_provided(int port)\n-{\n- return ppc_is_vbus_present(port);\n-}\n-\ni... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Zork: remove pd_snk_is_vbus_provided
Zork uses CONFIG_USB_PD_VBUS_DETECT_TCPC and ppc_is_vbus_present()
doesn't exist.
BUG=none
BRANCH=none
TEST=none
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I7eebf598a6bc3caf636111545a4c5e9511662d8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2290662
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,391 | 07.07.2020 17:26:13 | -28,800 | 776faf4e76a7dbc3b609eed86de2837af220d408 | boten: enable DB HDMI
Signal EC_AP_USB_C1_HDMI_HPD(EC->AP) status is opposite to signal
HDMI_HPD_SUB_ODL(HDMI->EC). Keep signal HDMI_EN_SUB_ODL low level.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "board/boten/board.c",
"new_path": "board/boten/board.c",
"diff": "#define CPRINTUSB(format, args...) cprints(CC_USBCHARGE, format, ## args)\n+static void hdmi_hpd_interrupt(enum gpio_signal s)\n+{\n+ gpio_set_level(GPIO_USB_C1_DP_HPD, !gpio_get_level(s));\n+}\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | boten: enable DB HDMI
Signal EC_AP_USB_C1_HDMI_HPD(EC->AP) status is opposite to signal
HDMI_HPD_SUB_ODL(HDMI->EC). Keep signal HDMI_EN_SUB_ODL low level.
BUG=b:160668999
BRANCH=none
TEST=make buildall -j
Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com>
Change-Id: I3d3d88e7be5543d49508bb7023c39764ab84abdf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2284511
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,305 | 30.06.2020 14:54:01 | 21,600 | a0efb9c8039ca50962976d506e738e2071bb431f | OCPC: Use enum chg_id values
Remove redundancy between the OCPC header and "enum chg_id"
BRANCH=None
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "common/charge_state_v2.c",
"new_path": "common/charge_state_v2.c",
"diff": "@@ -1256,11 +1256,11 @@ static int charge_request(int voltage, int current)\n* For OCPC systems, if the secondary charger is active, we need to\n* configure that charge IC as well. Not... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | OCPC: Use enum chg_id values
Remove redundancy between the OCPC header and "enum chg_id"
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I4058e2395ec1cbd50ce197775eb07d3bcfad95f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2277834
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,427 | 09.07.2020 18:55:06 | 21,600 | 26067e10c7cbbc3fbac7e7ff2a4568f5380958d9 | Zork: Handle USB_Cx_SBU_FAULT_ODL
Connect up USB_Cx_SBU_FAULT_ODL to pd_handle_overcurrent().
BRANCH=none
TEST=USB-C sink and source still works,
forcing USB_Cx_SBU_FAULT_ODL low is reported as fault. | [
{
"change_type": "MODIFY",
"old_path": "baseboard/zork/baseboard.c",
"new_path": "baseboard/zork/baseboard.c",
"diff": "@@ -286,3 +286,10 @@ void pi3hdx1204_retimer_power(void)\n}\nDECLARE_HOOK(HOOK_CHIPSET_RESUME, pi3hdx1204_retimer_power, HOOK_PRIO_DEFAULT);\nDECLARE_HOOK(HOOK_CHIPSET_SUSPEND, pi3... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Zork: Handle USB_Cx_SBU_FAULT_ODL
Connect up USB_Cx_SBU_FAULT_ODL to pd_handle_overcurrent().
BUG=b:138600586 b:157058003
BRANCH=none
TEST=USB-C sink and source still works,
forcing USB_Cx_SBU_FAULT_ODL low is reported as fault.
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I59ae65eed169fc5e18f72539a68017bb73c7d93e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2293102
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.