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,256 | 01.07.2020 11:40:53 | 21,600 | 8da624c01edba2410578928c6abf9094437144e4 | volteer: add workaround for CR50 double reset
BRANCH=none
TEST=tested on puff with same chip | [
{
"change_type": "MODIFY",
"old_path": "baseboard/volteer/baseboard.h",
"new_path": "baseboard/volteer/baseboard.h",
"diff": "#define CONFIG_VSTORE_SLOT_COUNT 1\n#define CONFIG_VOLUME_BUTTONS\n#define CONFIG_LOW_POWER_IDLE\n+#define CONFIG_BOARD_RESET_AFTER_POWER_ON\n/* Host communication */\n#defin... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: add workaround for CR50 double reset
BRANCH=none
BUG=none
TEST=tested on puff with same chip
Signed-off-by: Jett Rink <jettrink@chromium.org>
Change-Id: I18db9450f0a1d16d0662e09f7d5e2c6c849ee13f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2278134 |
136,427 | 12.07.2020 00:21:52 | 21,600 | 6b101e8bac62e0be5449d1266eab2b343c63b247 | host: Fix task_wait_event() to return TASK_EVENT_TIMER
BRANCH=none
TEST=make -j runhosttests | [
{
"change_type": "MODIFY",
"old_path": "common/lightbar.c",
"new_path": "common/lightbar.c",
"diff": "@@ -425,7 +425,7 @@ static uint32_t pending_msg;\ndo { \\\nuint32_t msg = task_wait_event(A); \\\nuint32_t p_msg = pending_msg; \\\n- if (msg == PENDING_MSG && p_msg != st.cur_seq) \\\n+ if (msg & P... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | host: Fix task_wait_event() to return TASK_EVENT_TIMER
BUG=none
BRANCH=none
TEST=make -j runhosttests
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: Ibd753b2eec5d81438dc0884b1a0c12c4c319afe2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2294164
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,282 | 09.07.2020 18:58:33 | -28,800 | ac66d1eb5c19e8c5b974617f2ccd0dc571027cf8 | dedede: Move adc channel to board variant
Dedede family may have different temp sensors for other ADCs channel.
This patch moves adc channel to board variant.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "baseboard/dedede/baseboard.h",
"new_path": "baseboard/dedede/baseboard.h",
"diff": "/* Common enums */\n#if defined(VARIANT_DEDEDE_EC_NPCX796FC)\n#elif defined(VARIANT_DEDEDE_EC_IT8320)\n- enum adc_channel {\n- ADC_VSNS_PP3300_A, /* ADC0 */\n- ADC_TEMP_SENSOR_... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | dedede: Move adc channel to board variant
Dedede family may have different temp sensors for other ADCs channel.
This patch moves adc channel to board variant.
BUG=none
BRANCH=none
TEST=make buildall -j
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Id34a924fc9431a553a1467068c6ccee6111102bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289478
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,257 | 13.07.2020 14:27:27 | -28,800 | e355dbfd7885ddda7c8aac613549006f2e03133a | kakadu: fix soft keyboard attach/detach suspend resume
Soft keyboard attach and detach need to wake DUT when dark resume.
BRANCH=kukui
TEST=make buildall
TEST=make -k BOARD=kakadu | [
{
"change_type": "MODIFY",
"old_path": "board/kakadu/board.h",
"new_path": "board/kakadu/board.h",
"diff": "/* Define the host events which are allowed to wakeup AP in S3. */\n#define CONFIG_MKBP_HOST_EVENT_WAKEUP_MASK \\\n(EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\\\n- EC_HOST_EVENT_MASK(EC_HOST... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | kakadu: fix soft keyboard attach/detach suspend resume
Soft keyboard attach and detach need to wake DUT when dark resume.
BUG=b:156177127
BRANCH=kukui
TEST=make buildall
TEST=make -k BOARD=kakadu
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: Ib7f3cb52d2ec5ba13ba5c2b9db94ef1fce7ae20f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2294624
Reviewed-by: Ting Shen <phoenixshen@chromium.org> |
136,222 | 30.06.2020 09:45:43 | -28,800 | 5c6eac1194777f8530d030e586e94c26c545d6df | chip/mt8192_scp: support IPI handler
Supports IPI handler which handles IPI messages from 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": "@@ -15,7 +15,11 @@ chip-y+=intc.o\nchip-y+=system.o\nchip-y+=uart.o\n+ifeq ($(CONFIG_IPI),y)\n+$(out)/RW/chip/$(CHIP)/ipi_table.o: $(out)/ipi_table_gen.inc\n+endif\n+\n# Optional chip ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | chip/mt8192_scp: support IPI handler
Supports IPI handler which handles IPI messages from 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: Ie24ff872c94d79a5559248c64c5618659f6d028d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2275711
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,208 | 20.05.2020 14:21:21 | -28,800 | b82df6c02bfdd2c8fcc4b2b6db3cdf61d9fbe027 | asurada: fix PPC vconn control
TEST=ensure vconn is turned on
BRANCH=master | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.c",
"new_path": "board/asurada/board.c",
"diff": "@@ -467,6 +467,13 @@ void board_set_charge_limit(int port, int supplier, int charge_ma,\nvoid board_pd_vconn_ctrl(int port, enum usbpd_cc_pin cc_pin, int enabled)\n{\n+ /*\n+ * We ignore the... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: fix PPC vconn control
BUG=b:152562604
TEST=ensure vconn is turned on
BRANCH=master
Change-Id: Iea3392c40551606f840f3d40acfbdd92e2c4b135
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2208336
Reviewed-by: Ting Shen <phoenixshen@chromium.org> |
136,208 | 25.05.2020 09:33:28 | -28,800 | 50fa49c2bf241d9ea2502860f25dbe603cbb8b9f | asurada: enable PSYS ADC
enable CONFIG_CHARGER_PSYS and CONFIG_CHARGER_PSYS_READ for
Psys reading on isl9238.
BRANCH=master
TEST=see output from command psys | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.h",
"new_path": "board/asurada/board.h",
"diff": "#define CONFIG_USB_CHARGER\n/* Charger */\n+#define ADC_PSYS ADC_CHARGER_PMON /* ADC name remap */\n#define CONFIG_CHARGER\n#define CONFIG_CHARGER_INPUT_CURRENT 512\n#define CONFIG_CHARGER_I... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: enable PSYS ADC
enable CONFIG_CHARGER_PSYS and CONFIG_CHARGER_PSYS_READ for
Psys reading on isl9238.
BRANCH=master
BUG=b:150341271
TEST=see output from command psys
Change-Id: I6bf86b1ccee473d543901b1131528099bd6a1e16
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2214443
Reviewed-by: Ting Shen <phoenixshen@chromium.org> |
136,280 | 02.07.2020 17:35:12 | -28,800 | 6c1c73ed078a93fd5570b49f0bb7b013f7321296 | asurada: enable usb ports power control
TEST=`usbchargemode 0 on/off`
BRANCH=master
Tested-by: Ting Shen | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.c",
"new_path": "board/asurada/board.c",
"diff": "@@ -370,6 +370,12 @@ static int board_ps8743_mux_set(const struct usb_mux *me,\nreturn ps8743_write(me, PS8743_REG_MODE, reg);\n}\n+/* USB-A */\n+const int usb_port_enable[] = {\n+ GPIO_EN_P... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: enable usb ports power control
BUG=b:150341440
TEST=`usbchargemode 0 on/off`
BRANCH=master
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I263fc80259cd091af1a97644af48bc580ae2cf71
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2278721
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org> |
136,205 | 13.07.2020 13:41:59 | -28,800 | 3e34235c49b59b9dd55d76158dd706350a76f776 | woomax: add HDMI_POWER_EN_DB to NCT3807
1. Remove MST hub code.
2. The HDMI_POWER_EN_DB signal is set to power HDMI power rail.
BRANCH=master
TEST=make buiuldall | [
{
"change_type": "MODIFY",
"old_path": "board/woomax/board.c",
"new_path": "board/woomax/board.c",
"diff": "@@ -303,9 +303,6 @@ void setup_fw_config(void)\nsetup_mux();\n- if (ec_config_has_mst_hub_rtd2141b())\n- ioex_enable_interrupt(IOEX_MST_HPD_OUT);\n-\nif (ec_config_has_hdmi_conn_hpd())\nioex_e... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | woomax: add HDMI_POWER_EN_DB to NCT3807
1. Remove MST hub code.
2. The HDMI_POWER_EN_DB signal is set to power HDMI power rail.
BUG=b:161021813
BRANCH=master
TEST=make buiuldall
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I3602ef5c49bd8afc0cdc74e7e7a0948c442804e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2294625
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,391 | 14.07.2020 10:46:02 | -28,800 | 234286a32f62067e06679faff0cc6c8f238fa877 | boten: split CONFIG_LED_PWM out into boards
It will be happy to define LED behavior in boards.
BRANCH=none
TEST=make buildall -j4 | [
{
"change_type": "MODIFY",
"old_path": "baseboard/dedede/baseboard.h",
"new_path": "baseboard/dedede/baseboard.h",
"diff": "#define CONFIG_BACKLIGHT_LID\n#define GPIO_ENABLE_BACKLIGHT GPIO_EN_BL_OD\n-/* PWM */\n+/* LED */\n#define CONFIG_LED_COMMON\n-#define CONFIG_LED_PWM\n+\n+/* PWM */\n#define CO... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | boten: split CONFIG_LED_PWM out into boards
It will be happy to define LED behavior in boards.
BUG=b:160664441
BRANCH=none
TEST=make buildall -j4
Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com>
Change-Id: Ib81fe8d20fa3ab74064958fba3576a1618635e52
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2296544
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,305 | 14.07.2020 22:50:38 | 21,600 | e478d75852ee9411f19bb2e5ea41b8ee7956a00a | Waddledoo: Only set HDMI enable when HDMI DB is present
When HDMI DB isn't present, the HDMI enable line is the SCL line for DB
i2c and shouldn't be changed.
BRANCH=None
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/waddledoo/board.c",
"new_path": "board/waddledoo/board.c",
"diff": "@@ -157,12 +157,14 @@ DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);\n/* Enable HDMI any time the SoC is on */\nstatic void hdmi_enable(void)\n{\n+ if (get_cbi_fw_config_db() ==... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Waddledoo: Only set HDMI enable when HDMI DB is present
When HDMI DB isn't present, the HDMI enable line is the SCL line for DB
i2c and shouldn't be changed.
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I0146d31c6a1ae0bacd7475fb923f52ad4ac0764f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2300685
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,222 | 30.06.2020 09:45:03 | -28,800 | 163514bfdd87ff8bca362ff1ad2f9eba9a965f32 | asurada_scp: enable basic IPI
BRANCH=none
TEST=make BOARD=asurada_scp | [
{
"change_type": "MODIFY",
"old_path": "board/asurada_scp/board.h",
"new_path": "board/asurada_scp/board.h",
"diff": "#define CONFIG_IPC_SHARED_OBJ_ADDR \\\n(ICACHE_BASE - \\\n(CONFIG_IPC_SHARED_OBJ_BUF_SIZE + 2 * 4 /* int32_t */) * 2)\n+#define CONFIG_IPI\n+\n+#define SCP_IPI_INIT 0\n+#define SCP_I... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada_scp: enable basic IPI
BRANCH=none
BUG=b:146213943
BUG=b:156223050
TEST=make BOARD=asurada_scp
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Change-Id: I506899b12fa248bfb2340a1197bbe0cfc5ce914d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2275712
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,222 | 14.07.2020 17:33:34 | -28,800 | 40e4771bb320311aa031d678f3d92b03f78b2a63 | chip/mt8192_scp: support hostcmd over IPI
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": "@@ -23,3 +23,4 @@ endif\nchip-$(CONFIG_COMMON_TIMER)+=hrtimer.o\nchip-$(CONFIG_IPI)+=ipi.o ipi_table.o\nchip-$(CONFIG_WATCHDOG)+=watchdog.o\n+chip-$(HAS_TASK_HOSTCMD)+=hostcmd.o\n"
}... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | chip/mt8192_scp: support hostcmd over IPI
BRANCH=none
BUG=b:146213943
BUG=b:160382789
TEST=make BOARD=asurada_scp
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Change-Id: Ifc2cfc127213c6951eab1aea733a6e90e3594827
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2299601
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,222 | 14.07.2020 17:34:09 | -28,800 | 54a5dae812614b05ddc45abe1129ee2fc33d0816 | asurada_scp: enable hostcmd
BRANCH=none
TEST=ectool --name=cros_scp version | [
{
"change_type": "MODIFY",
"old_path": "board/asurada_scp/board.h",
"new_path": "board/asurada_scp/board.h",
"diff": "(ICACHE_BASE - \\\n(CONFIG_IPC_SHARED_OBJ_BUF_SIZE + 2 * 4 /* int32_t */) * 2)\n#define CONFIG_IPI\n+#define CONFIG_RPMSG_NAME_SERVICE\n#define SCP_IPI_INIT 0\n#define SCP_IPI_VDEC_H... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada_scp: enable hostcmd
BRANCH=none
BUG=b:146213943
BUG=b:160382789
TEST=ectool --name=cros_scp version
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Change-Id: Ida2096f9f2959b3cbc0bfbffece8fe79fc8d78ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2299602
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,330 | 15.07.2020 10:25:47 | 21,600 | 462da130d5770fa997b466111c1ab53047f4e563 | usb_ppc: Fix broken tests build
Define ppc_prints and ppc_err_prints (to do nothing) for test builds.
TEST=make tests BOARD=ampton
BRANCH=none
Tested-by: Patryk Duda | [
{
"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+#else\n+#define CPRINTF(args...)\n+#def... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | usb_ppc: Fix broken tests build
Define ppc_prints and ppc_err_prints (to do nothing) for test builds.
BUG=none
TEST=make tests BOARD=ampton
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Ief446c4eb15def6b95173a846c634ceb5f40948f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2299417
Tested-by: Patryk Duda <pdk@semihalf.com>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,295 | 14.07.2020 17:24:31 | -28,800 | c1284dc1da4aa6865d4375a67abf6b2f8d3d2219 | morphius: update battery led on/off level
This patch update battery led on/off level
due to schematic update.
on = 1
off =0
BRANCH=none
TEST=verify led color follow EC code | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/gpio.inc",
"new_path": "board/morphius/gpio.inc",
"diff": "@@ -57,8 +57,8 @@ GPIO(EC_H1_PACKET_MODE, PIN(8, 6), GPIO_OUT_LOW) /* H1 Packet Mode */\nUNIMPLEMENTED(PCH_SMI_L)\n-GPIO(LED_FULL_L, PIN(6, 0), GPIO_OUT_HIGH)\n-GPIO(LED_CHRG_L, PIN(C, 0... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: update battery led on/off level
This patch update battery led on/off level
due to schematic update.
on = 1
off =0
BUG=b:150278507
BRANCH=none
TEST=verify led color follow EC code
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: Ifc0c1f9d3a3a24a8a9ee2b479a2182846006db9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2297068
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org> |
136,451 | 17.07.2020 13:21:09 | -28,800 | 05215cb07ddf1d7c1ad2dc22ce3f7f01b6645763 | zork: Enable 65W/3.25A PD adapter.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "baseboard/zork/baseboard.h",
"new_path": "baseboard/zork/baseboard.h",
"diff": "#define PD_VCONN_SWAP_DELAY 5000 /* us */\n#define PD_OPERATING_POWER_MW 15000\n-#define PD_MAX_POWER_MW 60000\n-#define PD_MAX_CURRENT_MA 3000\n+#define PD_MAX_POWER_MW 65000\n+#d... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | zork: Enable 65W/3.25A PD adapter.
BUG=b:161400534
BRANCH=none
TEST=make buildall -j
Signed-off-by: Lu Zhang <lu.zhang@bitland.corp-partner.google.com>
Change-Id: I50c82ea82260e3ef67f19229854bfcc86f11a350
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2304236
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Commit-Queue: Peter Marheine <pmarheine@chromium.org> |
136,282 | 16.07.2020 10:21:18 | -28,800 | 7fae3ff59d0aadaefee12a300b0af29973969ba5 | drawcia: Check interrupt lines during init
This patch land to drawcia.
BRANCH=none
TEST=Verify C0/C1 port works. | [
{
"change_type": "MODIFY",
"old_path": "board/drawcia/board.c",
"new_path": "board/drawcia/board.c",
"diff": "@@ -250,8 +250,6 @@ void board_init(void)\n{\nint on;\n- gpio_enable_interrupt(GPIO_USB_C0_INT_ODL);\n-\nif (get_cbi_fw_config_db() == DB_1A_HDMI) {\n/* Select HDMI option */\ngpio_set_level... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | drawcia: Check interrupt lines during init
This patch land https://crrev.com/c/2287550 to drawcia.
BUG=none
BRANCH=none
TEST=Verify C0/C1 port works.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ie2d74b1dd17467e0a96694b5ac4cfd3ae01d2ef2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2299608
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,282 | 16.07.2020 12:17:24 | -28,800 | a49d1a8625e9a27b9b78b2b3d1991028b4ca0fba | dedede: add FW_CONFIG field for tablet mode present or not
This patch adds FW_CONFIG field for tablet mode present or not.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "baseboard/dedede/cbi_fw_config.c",
"new_path": "baseboard/dedede/cbi_fw_config.c",
"diff": "@@ -32,3 +32,9 @@ enum fw_config_db get_cbi_fw_config_db(void)\n{\nreturn ((cached_fw_config & FW_CONFIG_DB_MASK) >> FW_CONFIG_DB_OFFSET);\n}\n+\n+enum fw_config_tablet... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | dedede: add FW_CONFIG field for tablet mode present or not
This patch adds FW_CONFIG field for tablet mode present or not.
BUG=none
BRANCH=none
TEST=make buildall -j
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I92432066dee14bb79d882daa9da5d09f4daaecb1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2299610
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,368 | 14.07.2020 12:01:09 | 25,200 | c556adf8d3689299d4da24bdfa36d09e23f73843 | servo_v4p1: Add TUSB1064 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 \"system.h\"\n#include \"task.h\"\n#include \"timer.h\"\n+#include \"tusb1064.h\"\n#include \"update_fw.h\"\n#include \"usart-stm32f0.h\"\n#include \"usart_tx_dma.h\"\n@@ -324... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | servo_v4p1: Add TUSB1064 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: I2161e5326a1869e092d0c6dd15ad45523f13ca05
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2298268
Reviewed-by: Wai-Hong Tam <waihong@google.com> |
136,427 | 17.07.2020 22:33:03 | 21,600 | 344c815877363277c71c7524355b474ae5049571 | morphius: Allow MST hub to control HPD for OPT3 DB
Use an UNIMPLEMENTED GPIO for PORT_TO_HPD so that EC does not
drive HPD for OPT3 DB.
BRANCH=none
TEST=HDMI works on OPT3 DB | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/board.h",
"new_path": "board/morphius/board.h",
"diff": "@@ -198,19 +198,15 @@ static inline bool ec_config_has_mst_hub_rtd2141b(void)\nHAS_MST_HUB_RTD2141B);\n}\n-#define HAS_HDMI_CONN_HPD \\\n- (BIT(MORPHIUS_DB_T_OPT1_USBC_HDMI))\n-\n-static i... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: Allow MST hub to control HPD for OPT3 DB
Use an UNIMPLEMENTED GPIO for PORT_TO_HPD so that EC does not
drive HPD for OPT3 DB.
BUG=b:152512560
BRANCH=none
TEST=HDMI works on OPT3 DB
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I518899d8715e187d02ef5c90fdbe1aed126e00d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2305481
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,427 | 18.07.2020 12:40:44 | 21,600 | b0d26087fd87052d614592e43f33c74a4a1157c6 | zork: Re-enable CONFIG_KEYBOARD_VIVALDI
Enable Vivaldi keyboard for all Zork devices now that the related
coreboot support is present.
BRANCH=none
TEST=enter recovery, enter VT2 | [
{
"change_type": "MODIFY",
"old_path": "baseboard/zork/baseboard.h",
"new_path": "baseboard/zork/baseboard.h",
"diff": "#define CONFIG_KEYBOARD_BOARD_CONFIG\n#define CONFIG_KEYBOARD_COL2_INVERTED\n#define CONFIG_KEYBOARD_PROTOCOL_8042\n-#undef CONFIG_KEYBOARD_VIVALDI\n/*\n* USB ID\n"
},
{
"c... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | zork: Re-enable CONFIG_KEYBOARD_VIVALDI
Enable Vivaldi keyboard for all Zork devices now that the related
coreboot support is present.
BUG=b:156200330
BRANCH=none
TEST=enter recovery, enter VT2
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: Id64a1243aa3845bc61b05f62d888e6b84a8efda9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2307716
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,418 | 16.07.2020 18:01:39 | 25,200 | 395e6112a995c017c899ecb3f594cb675a516f7e | power: Use a general name for PMIC_RESIN_L signal on sc7180 and sdm845
Don't bound to the PMIC part name.
BRANCH=None
TEST=Built the affected images. | [
{
"change_type": "MODIFY",
"old_path": "board/cheza/board.h",
"new_path": "board/cheza/board.h",
"diff": "#define I2C_PORT_EEPROM NPCX_I2C_PORT5_0\n#define I2C_PORT_SENSOR NPCX_I2C_PORT7_0\n+/* GPIO alias */\n+#define GPIO_PMIC_RESIN_L GPIO_PM845_RESIN_L\n+\n#ifndef __ASSEMBLER__\n#include \"gpio_si... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | power: Use a general name for PMIC_RESIN_L signal on sc7180 and sdm845
Don't bound to the PMIC part name.
BRANCH=None
BUG=b:148113568
TEST=Built the affected images.
Change-Id: I3c2e8851294b957aa133c6a8528de3960a3e468c
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2303815
Reviewed-by: Stephen Boyd <swboyd@chromium.org> |
136,258 | 06.07.2020 14:33:45 | 21,600 | 565fa5f2fd66c8eb64bb8c009a865380029e6666 | TCPMv2: add unit tests for packet discard logic
Add unit tests for the packet discard logic for packets while going
into SinkTxNG.
BRANCH=None
TEST=`TEST_LIST_HOST=usb_prl make runhosttests` | [
{
"change_type": "MODIFY",
"old_path": "common/mock/tcpm_mock.c",
"new_path": "common/mock/tcpm_mock.c",
"diff": "#include \"memory.h\"\n#include \"mock/tcpm_mock.h\"\n+struct mock_tcpm_t mock_tcpm[CONFIG_USB_PD_PORT_MAX_COUNT];\n+\n+/**\n+ * Gets the next waiting RX message.\n+ *\n+ * @param port T... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMv2: add unit tests for packet discard logic
Add unit tests for the packet discard logic for packets while going
into SinkTxNG.
BUG=b:160622527, b:161174072
BRANCH=None
TEST=`TEST_LIST_HOST=usb_prl make runhosttests`
Signed-off-by: Paul Fagerburg <pfagerburg@chromium.org>
Change-Id: Ied7689d2fe40da93069e58b53ea32e053ab887b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2300690
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,398 | 15.07.2020 08:56:14 | 25,200 | ef35f1046e3a70fbd4713b9ace08179d288e9b5f | trogdor: Use the virtual battery
We don't want the OS to have access to our battery or anything on our
i2c busses. It's just confuses things.
TEST=See virtual battery being used
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "baseboard/trogdor/baseboard.c",
"new_path": "baseboard/trogdor/baseboard.c",
"diff": "@@ -75,3 +75,8 @@ const struct charger_config_t chg_chips[] = {\n.drv = &isl923x_drv,\n},\n};\n+\n+int board_allow_i2c_passthru(int port)\n+{\n+ return (port == I2C_PORT_VIRT... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | trogdor: Use the virtual battery
We don't want the OS to have access to our battery or anything on our
i2c busses. It's just confuses things.
BUG=b:160784792
TEST=See virtual battery being used
BRANCH=none
Change-Id: Icab307ea945d13c0a25dd8b4cd4ff8765b1bf6a4
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2300460
Reviewed-by: Wai-Hong Tam <waihong@google.com> |
136,279 | 13.07.2020 16:05:13 | -28,800 | e4b4509e6b0e2b6015741c01284b4b2e7bdf7687 | pompom: Modify battery information
Modify battery information to match spec
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/pompom/battery.c",
"new_path": "board/pompom/battery.c",
"diff": "* Battery pack vendor provided charging profile\n*/\n-#include \"battery.h\"\n-#include \"battery_smart.h\"\n-\n-/* Shutdown mode parameter to write to manufacturer access register */\n-#d... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | pompom: Modify battery information
Modify battery information to match spec
BUG=b:160721493
BRANCH=none
TEST=make buildall
Signed-off-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com>
Change-Id: If23c5d60dceaac9feabfbd8e4378adf980903d47
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2298844
Reviewed-by: Wai-Hong Tam <waihong@google.com> |
136,368 | 09.06.2020 12:23:10 | 25,200 | 3e083f33a6739b00ea69ba1387dedfc4af8821a6 | servo_v4p1: Add DP functionality
Add DP functionality
BRANCH=none
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/servo_v4p1/board.c",
"new_path": "board/servo_v4p1/board.c",
"diff": "@@ -90,9 +90,85 @@ static void tca_evt(enum gpio_signal signal)\n}\n}\n+static volatile uint64_t hpd_prev_ts;\n+static volatile int hpd_prev_level;\n+\n+/**\n+ * Hotplug detect deferre... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | servo_v4p1: Add DP functionality
Add DP functionality
BRANCH=none
BUG=b:146793000
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: I041628a2fe01123e168e78f01a5fba9b72e80dca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2238676 |
136,279 | 13.07.2020 14:47:16 | -28,800 | 9f3a2599ad983944bfe979e3509c70efd2663c45 | pompom: implement LED behavior
Implement the EC LED code dependent on spec.
BRANCH=none
TEST=make buildall | [
{
"change_type": "MODIFY",
"old_path": "board/pompom/gpio.inc",
"new_path": "board/pompom/gpio.inc",
"diff": "@@ -94,8 +94,8 @@ GPIO(USB_A_CDP_ILIM_EN, PIN(7, 5), GPIO_OUT_HIGH) /* H: CDP, L:SDP. Only on\nGPIO(USB_A0_OC_ODL, PIN(D, 1), GPIO_ODR_HIGH)\n/* LEDs */\n-GPIO(EC_CHG_LED_Y_C1, PIN(C, 3), GP... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | pompom: implement LED behavior
Implement the EC LED code dependent on spec.
BUG=b:160744331
BRANCH=none
TEST=make buildall
Signed-off-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com>
Change-Id: I727981464c5df078351aa6df76a4040272566351
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2297215
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Wai-Hong Tam <waihong@google.com> |
136,391 | 16.07.2020 16:50:27 | -28,800 | 60e32f992378026af9586492ab6d53d727d47aa3 | malefor: configure DB PD
Fill tcpc_config[] and usb_muxes[] base on DB type, make sure DB type-C
work well.
BRANCH=none
TEST=Type-C function is OK at DB. | [
{
"change_type": "MODIFY",
"old_path": "board/malefor/board.c",
"new_path": "board/malefor/board.c",
"diff": "#include \"driver/ppc/sn5s330.h\"\n#include \"driver/ppc/syv682x.h\"\n#include \"driver/sync.h\"\n+#include \"driver/tcpm/ps8xxx.h\"\n+#include \"driver/tcpm/tcpci.h\"\n#include \"extpower.h... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | malefor: configure DB PD
Fill tcpc_config[] and usb_muxes[] base on DB type, make sure DB type-C
work well.
BUG=b:159024035, b:159157584
BRANCH=none
TEST=Type-C function is OK at DB.
Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com>
Change-Id: I4f4f34930cd0bb22467a8c88d85f30cd0be447fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2301560
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,391 | 16.07.2020 16:16:40 | -28,800 | c0b9f2e780f45f2d18a1b9acfd00095dbc0693fa | malefor: reset PD chip
Fill API board_reset_pd_mcu() for resetting DB PD chip.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "board/malefor/board.c",
"new_path": "board/malefor/board.c",
"diff": "@@ -339,7 +339,32 @@ static const struct usb_mux mux_config_p1_usb3 = {\nvoid board_reset_pd_mcu(void)\n{\n- /* TODO(b/159024035): Malefor: check USB PD reset operation */\n+ int val;\n+\n+ ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | malefor: reset PD chip
Fill API board_reset_pd_mcu() for resetting DB PD chip.
BUG=b:159024035
BRANCH=none
TEST=make buildall -j
Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com>
Change-Id: Id93777bbbcb5d2ced19e3444d5c32fc3c18b21bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2301558
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,295 | 20.07.2020 10:16:36 | -28,800 | eda8f40a9886eb209cf93c5f959ab0e46594e620 | berknip: Allow MST hub to control HPD for OPT3 DB
Use an UNIMPLEMENTED GPIO for PORT_TO_HPD so that EC does not
drive HPD for OPT3 DB.
BRANCH=none
TEST=HDMI/DP works on OPT3 DB. | [
{
"change_type": "MODIFY",
"old_path": "board/berknip/board.h",
"new_path": "board/berknip/board.h",
"diff": "@@ -205,8 +205,8 @@ static inline bool ec_config_has_hdmi_conn_hpd(void)\n#define PORT_TO_HPD(port) ((port == 0) \\\n? GPIO_USB_C0_HPD \\\n- : (ec_config_has_usbc1_retimer_ps8743()) \\\n- ? ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | berknip: Allow MST hub to control HPD for OPT3 DB
Use an UNIMPLEMENTED GPIO for PORT_TO_HPD so that EC does not
drive HPD for OPT3 DB.
BUG=b:161105355
BRANCH=none
TEST=HDMI/DP works on OPT3 DB.
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I4f6ca8e9a74f18489c6ca20d2f10e9a6840719e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2306891
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,222 | 20.07.2020 16:13:50 | -28,800 | f54bbec3624c9b211715f586f75771dae12ad74c | chip/mt8192_scp: add memory maps
Adds memory maps for mapping SCP address to AP address and vice versa.
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": "@@ -12,6 +12,7 @@ CORE:=riscv-rv32i\nchip-y+=clock.o\nchip-y+=gpio.o\nchip-y+=intc.o\n+chip-y+=memmap.o\nchip-y+=system.o\nchip-y+=uart.o\n"
},
{
"change_type": "ADD",
"old... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | chip/mt8192_scp: add memory maps
Adds memory maps for mapping SCP address to AP address and vice versa.
BRANCH=none
BUG=b:146213943
BUG=b:156222459
TEST=make BOARD=asurada_scp
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Change-Id: I5e5e34044f54d304bcbe591bf48d6e955d4ed512
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2306900
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,208 | 21.07.2020 15:16:48 | -28,800 | 168a758cc46fcbdf52c1e8470827691ccf323f7c | asurada: disable HC debug
BRANCH=none
TEST=flash_ec | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.h",
"new_path": "board/asurada/board.h",
"diff": "#define CONFIG_ACCEL_FORCE_MODE_MASK BIT(CLEAR_ALS)\n/* SPI / Host Command */\n+#undef CONFIG_HOSTCMD_DEBUG_MODE\n+#define CONFIG_HOSTCMD_DEBUG_MODE HCDEBUG_OFF\n#define CONFIG_SPI\n#define ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: disable HC debug
BRANCH=none
BUG=none
TEST=flash_ec
Change-Id: I14c10a742fa526ebf6ad8d1ab82d090c3848fc4d
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2309519
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org> |
136,269 | 19.06.2020 14:18:34 | 25,200 | acec93ba1ad7ca3e42892a63d86b45967a0b70c5 | docs/fingerprint: Format with mdformat
No content changes.
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": "@@ -28,7 +28,7 @@ fingerprint-related functionality (matching, encryption, etc). The fingerprint\nsensor itself connects to the FPMCU bo... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | docs/fingerprint: Format with mdformat
No content changes.
BRANCH=none
BUG=none
TEST=view in gitiles
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: Ib723245b20c34c0b9c65128e10cebfdd0de27ff6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2254995
Commit-Queue: Craig Hesling <hesling@chromium.org>
Reviewed-by: Craig Hesling <hesling@chromium.org> |
136,282 | 21.07.2020 17:29:44 | -28,800 | b58fffaf114f4bd35329d26d80b38c7cd8b714cc | garg: add HDMI SKU ID again
BRANCH=octopus
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "board/garg/board.c",
"new_path": "board/garg/board.c",
"diff": "@@ -299,7 +299,7 @@ void board_overcurrent_event(int port, int is_overcurrented)\n__override uint8_t board_get_usb_pd_port_count(void)\n{\n/* HDMI SKU has one USB PD port */\n- if (sku_id == 9 || ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | garg: add HDMI SKU ID again
BUG=b:161554087
BRANCH=octopus
TEST=make buildall -j
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ie3820baec4408617b7150739418bce11938c42bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2309869
Reviewed-by: Henry Sun <henrysun@google.com> |
136,208 | 22.07.2020 10:31:11 | -28,800 | 9652e15a8dd64e6546ba418cc9058e96375ba919 | riscv-rv32i: correct printf format
unsigned integer should use '%u' rather than '%d'
TEST=make BOARD=asurada
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "core/riscv-rv32i/task.c",
"new_path": "core/riscv-rv32i/task.c",
"diff": "@@ -628,7 +628,7 @@ void task_print_list(void)\nint command_task_info(int argc, char **argv)\n{\n#ifdef CONFIG_TASK_PROFILING\n- int total = 0;\n+ unsigned int total = 0;\nint i;\n#endif... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | riscv-rv32i: correct printf format
unsigned integer should use '%u' rather than '%d'
BUG=b:161768286
TEST=make BOARD=asurada
BRANCH=none
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Change-Id: I84a5419ce813a4378657c4fbfeba967262faef3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2310220
Reviewed-by: Tzung-Bi Shih <tzungbi@chromium.org>
Commit-Queue: Tzung-Bi Shih <tzungbi@chromium.org> |
136,205 | 21.07.2020 16:50:28 | -28,800 | c02e23c66b17a67b24f970c56ba115a55b572df7 | woomax: Config lid and base rotation matrix.
Config lid and base rotation matrix.
BRANCH=master
TEST=manual
Enable ec console "accelinfo on" and check angle from 0 to 360 degree. | [
{
"change_type": "MODIFY",
"old_path": "board/woomax/board.c",
"new_path": "board/woomax/board.c",
"diff": "@@ -50,6 +50,19 @@ static struct mutex g_base_mutex;\nstatic struct kionix_accel_data g_kx022_data;\nstatic struct bmi_drv_data_t g_bmi160_data;\n+/* Rotation matrix for the lid accelerometer ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | woomax: Config lid and base rotation matrix.
Config lid and base rotation matrix.
BUG=b:160933251
BRANCH=master
TEST=manual
Enable ec console "accelinfo on" and check angle from 0 to 360 degree.
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I2e8e8a7c7e31c831aa386013b473184569bbcd39
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2309527
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,208 | 21.07.2020 15:30:32 | -28,800 | f06d92218d6c44d8d97ad0600baccc33cb785ff5 | charge_state_v2: add function to check batt current is stable
This function would be useful to know if the battery current
is in a stable state.
TEST=make buildall
BRANCH=kukui | [
{
"change_type": "MODIFY",
"old_path": "common/charge_state_v2.c",
"new_path": "common/charge_state_v2.c",
"diff": "@@ -2501,6 +2501,11 @@ int charge_get_active_chg_chip(void)\n}\n#ifdef CONFIG_USB_PD_PREFER_MV\n+bool charge_is_current_stable(void)\n+{\n+ return get_time().val >= stable_ts.val;\n+}\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | charge_state_v2: add function to check batt current is stable
This function would be useful to know if the battery current
is in a stable state.
BUG=b:160448099
TEST=make buildall
BRANCH=kukui
Change-Id: I97a25a41b94dd40e2b324052841ec4bec95ee716
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2309523
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org> |
136,305 | 21.07.2020 20:38:52 | 21,600 | 6a4e89f5c4f5bb4d89633ede76e9c826d5a456ea | Wheelie: Define PACKET MODE GPIO
BRANCH=None
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "board/wheelie/gpio.inc",
"new_path": "board/wheelie/gpio.inc",
"diff": "@@ -103,6 +103,7 @@ GPIO(CCD_MODE_ODL, PIN(H, 5), GPIO_INPUT)\nGPIO(EC_BATTERY_PRES_ODL, PIN(I, 4), GPIO_INPUT)\nGPIO(PEN_DET_ODL, PIN(J, 1), GPIO_INPUT | GPIO_PULL_UP)\nGPIO(EN_KB_BL, PIN... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Wheelie: Define PACKET MODE GPIO
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I05e6fb5e39280b343bf10335a2e7e6aa0cc44748
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2311266
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,295 | 03.07.2020 16:31:10 | -28,800 | d530b344276f27d0df73b21c54e08ed8ad686664 | berknip: add thermal table support
This patch add thermal control support for berknip.
BRANCH=none
TEST=verify fan rpm follow fan curve setting. | [
{
"change_type": "MODIFY",
"old_path": "board/berknip/board.c",
"new_path": "board/berknip/board.c",
"diff": "@@ -324,9 +324,9 @@ const struct fan_conf fan_conf_0 = {\n.enable_gpio = -1,\n};\nconst struct fan_rpm fan_rpm_0 = {\n- .rpm_min = 3100,\n- .rpm_start = 3100,\n- .rpm_max = 6900,\n+ .rpm_min... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | berknip: add thermal table support
This patch add thermal control support for berknip.
BUG=b:161470415
BRANCH=none
TEST=verify fan rpm follow fan curve setting.
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I5e67a43def0df046af860298a788aa0b3de2d1b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2306892
Reviewed-by: Edward Hill <ecgh@chromium.org> |
136,269 | 21.07.2020 13:29:20 | 25,200 | 23748c2f49b52a279970e7e2f6862ba336726346 | docs: add links to fingerprint schematics
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": "@@ -31,6 +31,7 @@ This FPMCU board is the Dragonclaw Rev 0.2. |\n------------------------------------------- |\n![Dragonclaw board] |\n+... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | docs: add links to fingerprint schematics
BRANCH=none
BUG=b:147154913
TEST=view in gitiles
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I81cccf5832ff269eb476d3f8b079cd9b620e986f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2310864
Commit-Queue: Yicheng Li <yichengli@chromium.org>
Reviewed-by: Yicheng Li <yichengli@chromium.org> |
136,275 | 16.06.2020 13:45:37 | -28,800 | c10bb98f5381a477540a094dcddfe1d1c5ee7ade | ec_commands: Add host commands for regulator control.
TEST=build
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "common/build.mk",
"new_path": "common/build.mk",
"diff": "@@ -79,6 +79,7 @@ common-$(CONFIG_GESTURE_SW_DETECTION)+=gesture.o\ncommon-$(CONFIG_HOSTCMD_EVENTS)+=host_event_commands.o\ncommon-$(CONFIG_HOSTCMD_GET_UPTIME_INFO)+=uptime.o\ncommon-$(CONFIG_HOSTCMD_PD... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | ec_commands: Add host commands for regulator control.
BUG=b:149274957
TEST=build
BRANCH=none
Change-Id: I9c7b5dec7e2f66ab64750b48acd914a1c86dfd3d
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247431
Reviewed-by: Jett Rink <jettrink@chromium.org>
Commit-Queue: Jett Rink <jettrink@chromium.org> |
136,427 | 22.07.2020 20:29:57 | 21,600 | 3a31737877176ac8fb0effb2a9cf8c8a78d61cb1 | zork: Restore AP mux setting after reboot
BRANCH=none
TEST=USB3 works after AP reboot | [
{
"change_type": "MODIFY",
"old_path": "driver/usb_mux/amd_fp5.c",
"new_path": "driver/usb_mux/amd_fp5.c",
"diff": "#include \"amd_fp5.h\"\n#include \"chipset.h\"\n#include \"common.h\"\n+#include \"hooks.h\"\n#include \"i2c.h\"\n+#include \"queue.h\"\n+#include \"timer.h\"\n#include \"usb_mux.h\"\n... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | zork: Restore AP mux setting after reboot
BUG=b:158960403
BRANCH=none
TEST=USB3 works after AP reboot
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: Ia6ec65ad38933106e183747e78827d564be5aefd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2314033
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,295 | 30.06.2020 13:51:59 | -28,800 | f863427cb86267ff4b36a91c49b2733b071da178 | ps8743: use register control HPD
This patch add HPD control through register but not HW pin.
BRANCH=none
TEST=verify USBC can display without HW pin on berknip | [
{
"change_type": "MODIFY",
"old_path": "driver/usb_mux/ps8743.c",
"new_path": "driver/usb_mux/ps8743.c",
"diff": "@@ -78,14 +78,15 @@ static int ps8743_set_mux(const struct usb_mux *me, mux_state_t mux_state)\n* For CE_DP, CE_USB, and FLIP, disable pin control and enable I2C\n* control.\n*/\n- uint8... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | ps8743: use register control HPD
This patch add HPD control through register but not HW pin.
BUG=b:152841287
BRANCH=none
TEST=verify USBC can display without HW pin on berknip
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I2399f12655096b805c04f26d8e0b510125394205
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2306893
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,330 | 24.07.2020 15:14:29 | 21,600 | 5f1150d2bf8c890a5d57310b4f106814c9cb8cca | TCPMv2: Clean up typos and grammos
Also delete stale TODOs. Change CPRINTF to CPRINTS.
TEST=make buildall
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_pd_dpm.c",
"new_path": "common/usbc/usb_pd_dpm.c",
"diff": "@@ -123,44 +123,37 @@ static void dpm_attempt_mode_entry(int port)\npd_get_modes_discovery(port, TCPC_TX_SOP) != PD_DISC_COMPLETE)\nreturn;\n- /* Check if we discovered USB4 mode */\n+... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMv2: Clean up typos and grammos
Also delete stale TODOs. Change CPRINTF to CPRINTS.
BUG=none
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I8ae520c137af569526896b6e834e99522162e6f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2317902
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,330 | 24.07.2020 15:41:53 | 21,600 | d24fc3ea7a0a5516c3399db7e8b32ec2580bd6df | TCPM: Move dfp_discover_modes into usb_pd_policy.c
It is now only used by TCPMv1.
TEST=make buildall
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "common/usb_pd_alt_mode_dfp.c",
"new_path": "common/usb_pd_alt_mode_dfp.c",
"diff": "@@ -445,23 +445,6 @@ void dfp_consume_modes(int port, enum tcpm_transmit_type type, int cnt,\nPD_DISC_COMPLETE);\n}\n-/*\n- * TODO(b/152417597): Move this function to usb_pd_po... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPM: Move dfp_discover_modes into usb_pd_policy.c
It is now only used by TCPMv1.
BUG=b:152417597
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Ifcb7023afabea16486d90336994c6cd93a96d69b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2317903
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,208 | 18.06.2020 15:34:37 | -28,800 | 631269985fb986513a474cdaa3f7c0d511312505 | asurada: config EC_ENTERING_RW
BRANCH=none
TEST=in EC RO, EC_ENTERING_RW=0
in EC RW, EC_ENTERING_RW=1 | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/gpio.inc",
"new_path": "board/asurada/gpio.inc",
"diff": "@@ -81,6 +81,7 @@ GPIO(EN_PP5000_USB_A0_VBUS, PIN(B, 7), GPIO_OUT_LOW)\nGPIO(EC_BATT_PRES_ODL, PIN(C, 0), GPIO_INPUT)\nGPIO(BC12_DET_EN, PIN(J, 5), GPIO_OUT_LOW) /* EN_USB_C0_BC12_DET */\n... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: config EC_ENTERING_RW
BRANCH=none
BUG=b:150341271
TEST=in EC RO, EC_ENTERING_RW=0
in EC RW, EC_ENTERING_RW=1
Change-Id: I347ea89dbe8fdb93fc2d38c674d7e246c2f540ee
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2251478
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org> |
136,208 | 06.07.2020 11:27:16 | -28,800 | 5d8413339a0958f4be35af42c09394a9fcc7f74f | asurada: switch to TCPMV2
BRANCH=none
TEST=ensure PD comm success | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.h",
"new_path": "board/asurada/board.h",
"diff": "/* PD / USB-C / PPC */\n#define CONFIG_CMD_PPC_DUMP\n+#define CONFIG_HOSTCMD_PD_CONTROL\n#define CONFIG_USBC_PPC\n#define CONFIG_USBC_PPC_DEDICATED_INT\n#define CONFIG_USBC_PPC_POLARITY\n#de... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: switch to TCPMV2
BRANCH=none
BUG=b:152562604
TEST=ensure PD comm success
Change-Id: Iadb71cc2ef298f4cc047a290f075e341a25171ce
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2280868
Reviewed-by: Ting Shen <phoenixshen@chromium.org> |
136,282 | 22.07.2020 21:36:43 | -28,800 | 9fadd40cebcd179aebf1b12b6fbc0080e71420bc | driver/tcpm/ps8xxx: Consistent DCI disable method
This patch make consistent with DCI disable method for
PS8705/PS8805/PS8815, they are in the similar chip group.
BRANCH=none
TEST=make buildall -j. | [
{
"change_type": "MODIFY",
"old_path": "driver/tcpm/ps8xxx.c",
"new_path": "driver/tcpm/ps8xxx.c",
"diff": "#include \"usb_mux.h\"\n#include \"usb_pd.h\"\n-#if !defined(CONFIG_USB_PD_TCPM_PS8751) && \\\n+#if !defined(CONFIG_USB_PD_TCPM_PS8705) && \\\n+ !defined(CONFIG_USB_PD_TCPM_PS8751) && \\\n!def... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | driver/tcpm/ps8xxx: Consistent DCI disable method
This patch make consistent with DCI disable method for
PS8705/PS8805/PS8815, they are in the similar chip group.
BUG=b:161202452
BRANCH=none
TEST=make buildall -j.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ia919dab9fb6afd72e3b693d94fe8abee628e2f40
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2313056
Reviewed-by: Wai-Hong Tam <waihong@google.com> |
136,269 | 28.07.2020 10:36:26 | 25,200 | 2c47f57f0e296883c594fcfc18db67eb1eb06fb4 | common/mock: Fix typos
BRANCH=none
TEST=view in gitiles | [
{
"change_type": "MODIFY",
"old_path": "common/mock/README.md",
"new_path": "common/mock/README.md",
"diff": "@@ -13,12 +13,12 @@ from unit tests and fuzzers' `.mocklist` file.\n[mock control](#mock-controls) functions/variables.\nSee the [Design Patterns](#design-patterns) section\nfor more detail ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | common/mock: Fix typos
BRANCH=none
BUG=none
TEST=view in gitiles
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I7ea94d81c9faf51ae9c317fe304e22d8745e64de
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2323714
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,330 | 28.07.2020 14:02:41 | 21,600 | a3a577297d83798dd7a74771cfbc621d9228b838 | TCPMv2: Clear message Rx flag after VDM response
Avoid "receiving" VDM response again, which the TCPM was interpreting
as a protocol error.
TEST=Observe TBT setup
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "common/usbc/usb_pe_drp_sm.c",
"new_path": "common/usbc/usb_pe_drp_sm.c",
"diff": "@@ -4099,6 +4099,7 @@ static enum vdm_response_result parse_vdm_response_common(int port)\nif (!PE_CHK_FLAG(port, PE_FLAGS_MSG_RECEIVED))\nreturn VDM_RESULT_WAITING;\n+ PE_CLR_FL... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMv2: Clear message Rx flag after VDM response
Avoid "receiving" VDM response again, which the TCPM was interpreting
as a protocol error.
BUG=b:162300631,b:162192253,b:162191737
TEST=Observe TBT setup
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I86326c2560b044e37c3e120c1dcc98b961d792d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2324805
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,330 | 22.07.2020 10:31:17 | 21,600 | 3e09f177ef5021fe36b5306122439eed42fc059a | volteer: Disable USB PD extended messages
Remove support for sending or receiving extended messages, including
chunking. Save 3120 bytes in RO flash and 3128 bytes in RW.
TEST=make buildall
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "board/volteer/board.h",
"new_path": "board/volteer/board.h",
"diff": "/* Enabling USB4 mode */\n#define CONFIG_USB_PD_USB4\n+/* Disabled PD extended message support to save flash space. */\n+#undef CONFIG_USB_PD_EXTENDED_MESSAGES\n+\n/* USB Type A Features */\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: Disable USB PD extended messages
Remove support for sending or receiving extended messages, including
chunking. Save 3120 bytes in RO flash and 3128 bytes in RW.
BUG=b:160374787,b:158572770
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Iaffb8810a4240f68f646de8fd9880742ef13bc05
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2313778
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,330 | 23.07.2020 18:59:29 | 21,600 | 95aeff804bfa2269f7aab45df2342f242fabc51d | TCPMv2: Use named constants for extended messages
These correspond to MaxExtendedMsgLen and MaxExtendedMsgChunkLen
(PD 3.0, rev 2.0, ss 6.13).
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": "@@ -1942,7 +1942,7 @@ static void extended_message_not_supported(int port, uint32_t *payload)\n!IS_ENABLED(CONFIG_USB_PD_EXTENDED_MESSAGES) &&\nPD_EXT_HEADER_CHUNKED(ext_header) ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | TCPMv2: Use named constants for extended messages
These correspond to MaxExtendedMsgLen and MaxExtendedMsgChunkLen
(PD 3.0, rev 2.0, ss 6.13).
BUG=b:160374787
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I3640df18724c3c04e9f644ca59a6542563d723f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2316135
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,269 | 24.07.2020 09:10:51 | 25,200 | dd3bc8ec47443b28c1628d5565957aaf8cddfa1a | docs: Add note about downloading HTML schematics
BRANCH=none
TEST=view in gitiles | [
{
"change_type": "MODIFY",
"old_path": "docs/schematics/dragonclaw/README.md",
"new_path": "docs/schematics/dragonclaw/README.md",
"diff": "# Dragonclaw Fingerprint Development Board Schematics\n-The schematics are in the [HTML file] and viewable with any browser.\n+The schematics are in the [HTML f... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | docs: Add note about downloading HTML schematics
BRANCH=none
BUG=b:147154913
TEST=view in gitiles
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: Ide185001a90896a3ccab69e86c2810a65ff44b6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2317176 |
136,368 | 26.06.2020 12:54:36 | 25,200 | 31146a9a0acdf42ef5148a473242f77886fcbd2e | servo_v4p1: Add support for alternate charger port
A TypeC charger can be attached to the alternate charger
port to supply up to 15W to the servoV4.1.
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 \"console.h\"\n#include \"dacs.h\"\n#include \"ec_version.h\"\n+#include \"fusb302b.h\"\n#include \"gpio.h\"\n#include \"hooks.h\"\n#include \"i2c.h\"\n@@ -144,7 +145,7 @@ sta... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | servo_v4p1: Add support for alternate charger port
A TypeC charger can be attached to the alternate charger
port to supply up to 15W to the servoV4.1.
BRANCH=none
BUG=b:146793000
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: Ia88c783d23d09bfc12b34d416af98445db2d75c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2270696
Reviewed-by: Brian Nemec <bnemec@chromium.org> |
136,286 | 29.07.2020 16:56:27 | -28,800 | 1eb52d4cc5e221ba82d3585f30e23e5a2e751863 | Voxel: enable i2c channel 4
Config GPIOF2, GPIOF3 to i2c module
BRANCH=none
TEST=make buildall PASS | [
{
"change_type": "MODIFY",
"old_path": "board/voxel/gpio.inc",
"new_path": "board/voxel/gpio.inc",
"diff": "@@ -155,6 +155,7 @@ ALTERNATE(PIN_MASK(B, BIT(5) | BIT(4)), 0, MODULE_I2C, (GPIO_INPUT | GPIO_SEL_1P\nALTERNATE(PIN_MASK(9, BIT(0) | BIT(2) | BIT(1)), 0, MODULE_I2C, 0) /* I2C1 SCL / I2C2 */\n... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Voxel: enable i2c channel 4
Config GPIOF2, GPIOF3 to i2c module
BUG=b:155062762
BRANCH=none
TEST=make buildall PASS
Change-Id: Idaaaf73ef942a45f206122b3ce24c75514f8df3d
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2325524
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,368 | 26.05.2020 10:26:40 | 25,200 | 484f7178604701655ef1a144aaa7465016ad4fc1 | servo_v4p1: Add BC1.2 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 \"ina231s.h\"\n#include \"ioexpanders.h\"\n#include \"pathsel.h\"\n+#include \"pi3usb9201.h\"\n#include \"queue_policies.h\"\n#include \"registers.h\"\n#include \"spi.h\"\n@@ ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | servo_v4p1: Add BC1.2 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: Ia442010e7721553a7e155442e32f24ffbf5c4d70
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2216405
Reviewed-by: Brian Nemec <bnemec@chromium.org> |
136,282 | 29.07.2020 11:54:45 | -28,800 | a806f260be783c888d582b91f3b02a01ce03bdee | drawcia: Add more batteries support
This patch adds battery parameter as following:
1. DynaPack HIGHPOWER
2. DynaPack BYD
3. COSMX
BRANCH=none
TEST=make sure battery charging, battery cutoff works. | [
{
"change_type": "MODIFY",
"old_path": "board/drawcia/battery.c",
"new_path": "board/drawcia/battery.c",
"diff": "@@ -90,6 +90,64 @@ const struct board_batt_params board_battery_info[] = {\n},\n},\n+ /* DynaPack HIGHPOWER Battery Information */\n+ [BATTERY_DANAPACK_HIGHPOWER] = {\n+ .fuel_gauge = {\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | drawcia: Add more batteries support
This patch adds battery parameter as following:
1. DynaPack HIGHPOWER
2. DynaPack BYD
3. COSMX
BUG=b:159504964
BRANCH=none
TEST=make sure battery charging, battery cutoff works.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I5c60ace336eead9506ae420418535746b5df8d20
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2325451
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,280 | 30.07.2020 18:57:38 | -28,800 | 2076e40db6b39396b4a3a9265d1fe52e99b414b7 | asurada: swap volumn up/down buttons
TEST=manually
BRANCH=none
Tested-by: Ting Shen | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/gpio.inc",
"new_path": "board/asurada/gpio.inc",
"diff": "@@ -42,6 +42,11 @@ GPIO_INT(USB_C0_BC12_INT_ODL,PIN(J, 6), GPIO_INT_FALLING, bc12_interrupt)\nGPIO_INT(USB_C1_BC12_INT_L, PIN(J, 4), GPIO_INT_FALLING, bc12_interrupt)\n/* Volume button int... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: swap volumn up/down buttons
BUG=b:162487355
TEST=manually
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I03e1805e0e97bbf0c015a9e03a8aeeeb3047c559
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2329146
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org> |
136,282 | 31.07.2020 13:36:26 | -28,800 | c5513d539a889a29cb3e1168642cc44f24148e3c | dedede: add FW_CONFIG field for keyboard backlight present
This patch adds FW_CONFIG field for keyboard backlight present.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "baseboard/dedede/baseboard.c",
"new_path": "baseboard/dedede/baseboard.c",
"diff": "#include \"adc.h\"\n#include \"board_config.h\"\n+#include \"cbi_fw_config.h\"\n#include \"chipset.h\"\n#include \"common.h\"\n#include \"extpower.h\"\n@@ -259,3 +260,14 @@ int... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | dedede: add FW_CONFIG field for keyboard backlight present
This patch adds FW_CONFIG field for keyboard backlight present.
BUG=none
BRANCH=none
TEST=make buildall -j
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I9072a6f5a64ff922708201a5d7cc687a3d56e300
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2331976
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,286 | 31.07.2020 17:02:10 | -28,800 | 4b02aea986e0548cec28d0c9d129a60d7e16e4c3 | voxel: modify C1 port BB retimer i2c address
change i2c4 address to 0x41 of C1 port bb
retimer address.
BRANCH=none
TEST=make buildall PASS | [
{
"change_type": "MODIFY",
"old_path": "board/voxel/board.h",
"new_path": "board/voxel/board.h",
"diff": "/* Enabling USB4 mode */\n#define CONFIG_USB_PD_USB4\n+#define USBC_PORT_C0_BB_RETIMER_I2C_ADDR 0x40\n+#undef USBC_PORT_C1_BB_RETIMER_I2C_ADDR\n+#define USBC_PORT_C1_BB_RETIMER_I2C_ADDR 0x41\n/*... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | voxel: modify C1 port BB retimer i2c address
change i2c4 address to 0x41 of C1 port bb
retimer address.
BUG=b:162376062
BRANCH=none
TEST=make buildall PASS
Change-Id: I7a0ee44fb4e5df7222708b28e11d63fdde700334
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2332102
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,282 | 31.07.2020 13:46:47 | -28,800 | 1a20b9ebc8e0cfbb1e111be2aad91bd89ea831d7 | drawcia: Add keyboard backlight support
BRANCH=none
TEST=Set FW_CONFIG to 0x0100 and make sure "ectool inventory"
had keyboard backlight present. | [
{
"change_type": "MODIFY",
"old_path": "board/drawcia/board.h",
"new_path": "board/drawcia/board.h",
"diff": "#define CONFIG_TABLET_MODE_SWITCH\n#define CONFIG_GMR_TABLET_MODE\n+/* Keyboard */\n+#define CONFIG_PWM_KBLIGHT\n+\n/* TCPC */\n#define CONFIG_USB_PD_PORT_MAX_COUNT 2\n#define CONFIG_USB_PD_... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | drawcia: Add keyboard backlight support
BUG=none
BRANCH=none
TEST=Set FW_CONFIG to 0x0100 and make sure "ectool inventory"
had keyboard backlight present.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I7e0fd3ee42d5829dd6c81427c6ecbb359a5c385c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2331977
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,235 | 23.07.2020 17:54:55 | -28,800 | 84837be65cb3ff2c34374db4884ba9ec7ba2a943 | Madoo: Add battery information
Add new battery information in board/batter.c
BRANCH=none
TEST=none
Tested-by: Ko Ko | [
{
"change_type": "MODIFY",
"old_path": "board/madoo/battery.c",
"new_path": "board/madoo/battery.c",
"diff": "*/\n#include \"battery.h\"\n-#include \"battery_smart.h\"\n+#include \"battery_fuel_gauge.h\"\n#include \"common.h\"\n#include \"ec_commands.h\"\n#include \"extpower.h\"\n/* Shutdown mode pa... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Madoo: Add battery information
Add new battery information in board/batter.c
BUG=b:161955775
BRANCH=none
TEST=none
Signed-off-by: Ko_Ko <Ko_Ko@compal.corp-partner.google.com>
Change-Id: I0be10a12316859402c58572da969b60f5f143174
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2315955
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Ko Ko <ko_ko@compal.corp-partner.google.com>
Tested-by: Ko Ko <ko_ko@compal.corp-partner.google.com> |
136,205 | 29.07.2020 16:24:57 | -28,800 | af298aca642afe36670ca7dd86dbf705d2ea674d | delbin: Config lid and base rotation matrix
Config lid and base rotation matrix.
BRANCH=master
TEST=manual
Using ectool command "ectool motionsense lid_angle"
and check angle from 0 to 360 degree. | [
{
"change_type": "MODIFY",
"old_path": "board/delbin/sensors.c",
"new_path": "board/delbin/sensors.c",
"diff": "@@ -29,14 +29,14 @@ static struct bmi_drv_data_t g_bmi260_data;\n/* Rotation matrix for the lid accelerometer */\nstatic const mat33_fp_t lid_standard_ref = {\n- { FLOAT_TO_FP(1), 0, 0},\n... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | delbin: Config lid and base rotation matrix
Config lid and base rotation matrix.
BUG=b:162376060
BRANCH=master
TEST=manual
Using ectool command "ectool motionsense lid_angle"
and check angle from 0 to 360 degree.
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I40c320a6cbbb1d7163734ab9ef64a3bda3b4178f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2325498
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,408 | 03.08.2020 18:01:06 | 25,200 | 8324f717597225a325204f74083baa83e99f8ec6 | todor: sync with terrador
Sync the codes/configuration from terrador as todor replaces terrador
p1.
BRANCH=master
TEST=make BOARD=todor success. | [
{
"change_type": "MODIFY",
"old_path": "board/todor/board.h",
"new_path": "board/todor/board.h",
"diff": "@@ -161,9 +161,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-\nvoid board_reset_pd_mcu(... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | todor: sync with terrador
Sync the codes/configuration from terrador as todor replaces terrador
p1.
BUG=b:162196573
BRANCH=master
TEST=make BOARD=todor success.
Signed-off-by: YH Lin <yueherngl@chromium.org>
Change-Id: I9f96c56fcc6a66067ad7c66da6cd60d8ccdde40c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2336180
Reviewed-by: caveh jalali <caveh@chromium.org> |
136,204 | 03.08.2020 22:55:52 | -28,800 | 7ee6de2be441ba08a7a2b8fe7fbae415fc188474 | Delbin: Add the CCD_MODE_ODL to gpio.inc
From the schematics, the GPIOE5 is connected to CCD_MODE_ODL.
Adds this setting for reading the CCD_MODE_ODL through the gpioget
BRANCH=None
TEST=gpioget CCD_MODE_ODL | [
{
"change_type": "MODIFY",
"old_path": "board/delbin/gpio.inc",
"new_path": "board/delbin/gpio.inc",
"diff": "@@ -97,6 +97,7 @@ GPIO(UART2_EC_RX, PIN(7, 5), GPIO_OUT_LOW) /* H1 Packet Mode */\nGPIO(LED_1_L, PIN(C, 4), GPIO_OUT_HIGH) /* Battery Full LED: White */\nGPIO(LED_2_L, PIN(C, 3), GPIO_OUT_HI... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Delbin: Add the CCD_MODE_ODL to gpio.inc
From the schematics, the GPIOE5 is connected to CCD_MODE_ODL.
Adds this setting for reading the CCD_MODE_ODL through the gpioget
BUG=b:155034814
BRANCH=None
TEST=gpioget CCD_MODE_ODL
Change-Id: I1fdc8a3a7508adc37fc544e1d2981f7ce7d827f7
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2335097
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,275 | 16.06.2020 13:47:36 | -28,800 | 7403ebaee46fa96c47b5ff112f345fb06440c355 | driver/bc12: mt6360: Add ldo regulator controls.
TEST=build
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "driver/bc12/mt6360.c",
"new_path": "driver/bc12/mt6360.c",
"diff": "#include \"charger.h\"\n#include \"charge_manager.h\"\n#include \"console.h\"\n+#include \"crc8.h\"\n#include \"driver/bc12/mt6360.h\"\n+#include \"ec_commands.h\"\n#include \"hooks.h\"\n#incl... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | driver/bc12: mt6360: Add ldo regulator controls.
BUG=b:149274957
TEST=build
BRANCH=none
Change-Id: I557d189ab8389f539aa967be3aaea32dd604a784
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247432
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,208 | 20.04.2020 09:24:55 | -28,800 | 9a96e4e5c6685966210bbda4aed5f2848fd11d09 | asurada: Enable voltage regulator control.
Enable control of MT6360_LDO3 and MT6360_LDO5 from AP through host
commands.
TEST=make buildall
TEST=boot asurada from SD card with chromium:2234683
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.c",
"new_path": "board/asurada/board.c",
"diff": "#include \"power_button.h\"\n#include \"pwm.h\"\n#include \"pwm_chip.h\"\n+#include \"regulator.h\"\n#include \"spi.h\"\n#include \"switch.h\"\n#include \"tablet_mode.h\"\n@@ -566,8 +567,45 ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: Enable voltage regulator control.
Enable control of MT6360_LDO3 and MT6360_LDO5 from AP through host
commands.
BUG=b:149274957
TEST=make buildall
TEST=boot asurada from SD card with chromium:2234683
BRANCH=none
Change-Id: I23bcefd64b41c36dd62f172a54f56d98243ebb04
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2100327
Reviewed-by: Eric Yilun Lin <yllin@chromium.org> |
136,418 | 03.08.2020 16:06:05 | 25,200 | b9da49edc4423dfd989dd5ade792ceb53c142f64 | battery: Simplify the compensation logic by using pointers
Simplify the logic by using pointers, instead of copying the values from
and to other variables. No behavior changes.
BRANCH=None
TEST=Checked the sysfs battery info. | [
{
"change_type": "MODIFY",
"old_path": "common/battery.c",
"new_path": "common/battery.c",
"diff": "@@ -579,15 +579,15 @@ DECLARE_HOOK(HOOK_INIT, battery_init, HOOK_PRIO_DEFAULT);\nvoid battery_compensate_params(struct batt_params *batt)\n{\nint numer, denom;\n- int remain = batt->remaining_capacity... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | battery: Simplify the compensation logic by using pointers
Simplify the logic by using pointers, instead of copying the values from
and to other variables. No behavior changes.
BRANCH=None
BUG=b:162604872
TEST=Checked the sysfs battery info.
Change-Id: I2dafd0c774354bbf563be121a8bf9d65f1d4dfd3
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2335884
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,427 | 02.08.2020 18:08:48 | 21,600 | 3d07d8f54721123693624ce35235f1afc8b75b54 | test: Add PD TX and RX to usb_tcpmv2_tcpci
BRANCH=none
TEST=make -j run-usb_tcpmv2_tcpci | [
{
"change_type": "MODIFY",
"old_path": "common/mock/tcpci_i2c_mock.c",
"new_path": "common/mock/tcpci_i2c_mock.c",
"diff": "#include \"task.h\"\n#include \"tcpci.h\"\n#include \"test_util.h\"\n+#include \"timer.h\"\n+\n+#define BUFFER_SIZE 100\nstruct tcpci_reg {\n- const char *name;\n+ uint8_t offs... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | test: Add PD TX and RX to usb_tcpmv2_tcpci
BUG=b:162369240
BRANCH=none
TEST=make -j run-usb_tcpmv2_tcpci
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I61a9f99a10c3432135a91699ac04ff65690388e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2335455
Commit-Queue: Jett Rink <jettrink@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,286 | 28.07.2020 16:57:52 | -28,800 | 980cf5248b8f5479f4f54f183a55611fbafc9478 | voxel: Add battery information
config LGC battery MPPACEEASW1C
BRANCH=none
TEST=Make sure battery can cutoff by console "cutoff" or "ectool cutoff"
and resume by plug in adapter. | [
{
"change_type": "MODIFY",
"old_path": "board/voxel/battery.c",
"new_path": "board/voxel/battery.c",
"diff": "* address, mask, and disconnect value need to be provided.\n*/\nconst struct board_batt_params board_battery_info[] = {\n+ /* AP19B8M */\n+ [BATTERY_AP19B8M] = {\n+ .fuel_gauge = {\n+ .manuf... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | voxel: Add battery information
config LGC battery MPPACEEASW1C
BUG=b:162701180
BRANCH=none
TEST=Make sure battery can cutoff by console "cutoff" or "ectool cutoff"
and resume by plug in adapter.
Change-Id: I89fa4ae383c9f59434aa4111e531c775d83270b4
Signed-off-by: ben.chen2@quanta.corp-partner.google.com
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2336374
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,208 | 29.07.2020 14:35:29 | -28,800 | 85fd47d57d46b7783a6dc059483d6c744f9195a2 | asurada: do not set PPC Vconn in board hook
PPC Vconn control should have been handled in the set_vconn.
TEST=Vconn is still sourcing on asurada
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/board.c",
"new_path": "board/asurada/board.c",
"diff": "@@ -475,12 +475,10 @@ void board_set_charge_limit(int port, int supplier, int charge_ma,\nvoid board_pd_vconn_ctrl(int port, enum usbpd_cc_pin cc_pin, int enabled)\n{\n/*\n- * We ignore the ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: do not set PPC Vconn in board hook
PPC Vconn control should have been handled in the set_vconn.
BUG=b:162294637
TEST=Vconn is still sourcing on asurada
BRANCH=none
Change-Id: I205a09693cdb57b83830f986b77535d28ed3569c
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2325491
Reviewed-by: Ting Shen <phoenixshen@chromium.org> |
136,294 | 03.08.2020 16:56:31 | -28,800 | 8ebbf40016a5a9e958acd8fd25b5cffb69d4bd98 | it8xxx2_pdevb: flash code by SPI
Flash it8xxx2_pdevb code by SPI.
BRANCH=none
TEST=can flash code by SPI on board it81202_pdevb.
Tested-by: Ruibin Chang | [
{
"change_type": "MODIFY",
"old_path": "util/flash_ec",
"new_path": "util/flash_ec",
"diff": "@@ -51,7 +51,6 @@ die() {\nBOARDS_IT83XX=(\nglkrvp_ite\nit83xx_evb\n- it8xxx2_pdevb\nreef_it8320\ntglrvpu_ite\ntglrvpy_ite\n@@ -60,6 +59,7 @@ BOARDS_IT83XX=(\nBOARDS_IT83XX_SPI_PROGRAMMING=(\nit8xxx2_evb\n+... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | it8xxx2_pdevb: flash code by SPI
Flash it8xxx2_pdevb code by SPI.
BUG=none
BRANCH=none
TEST=can flash code by SPI on board it81202_pdevb.
Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw>
Change-Id: Ibc83bd5596f65fe8f9558f9575677feeb3da2f91
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2334435
Commit-Queue: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Tested-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Reviewed-by: Jett Rink <jettrink@chromium.org> |
136,205 | 04.08.2020 15:21:32 | -28,800 | 44d39b1af40f3759430cfdc995fe456a62585eff | Delbin: Configure unused GPIOs as inputs
Configure unused GPIOs as inputs to save power in deep sleep states.
BRANCH=master
TEST=make buildall
TEST=Boot image on Delbin | [
{
"change_type": "MODIFY",
"old_path": "board/delbin/gpio.inc",
"new_path": "board/delbin/gpio.inc",
"diff": "@@ -27,6 +27,12 @@ GPIO_INT(PG_EC_ALL_SYS_PWRGD, PIN(F, 4), GPIO_INT_BOTH, power_signal_interrupt\n/* Sensor Interrupts */\nGPIO_INT(EC_IMU_INT_L, PIN(5, 6), GPIO_INT_FALLING | GPIO_SEL_1P8V... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Delbin: Configure unused GPIOs as inputs
Configure unused GPIOs as inputs to save power in deep sleep states.
BUG=b:162592172
BRANCH=master
TEST=make buildall
TEST=Boot image on Delbin
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I1e2e74a5e9aeb25bf80e86459a4f906a1642cafa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2335623
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,435 | 27.07.2020 19:12:41 | 25,200 | 21ae2f37aee4580a3b142de866cd0eb794e1e16b | Dragonclaw in CQ Prototype Environment
Adding diagram for dragonclaw in CQ.
TEST=rendered with gittiles
Tested-by: Aadit Maheshkumar Modi | [
{
"change_type": "MODIFY",
"old_path": "docs/fingerprint/fingerprint-dev-for-partners.md",
"new_path": "docs/fingerprint/fingerprint-dev-for-partners.md",
"diff": "@@ -509,6 +509,9 @@ From the DUT, flash the firmware you copied:\n```bash\n(device) $ flash_fp_mcu /tmp/ec.bin\n```\n+## Commit-queue Pr... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Dragonclaw in CQ Prototype Environment
Adding diagram for dragonclaw in CQ.
BUG=b:161567966
TEST=rendered with gittiles
Change-Id: If0bf25366ac141d6d353a64b293a8032ed7bd48b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2321885
Tested-by: Aadit Maheshkumar Modi <modia@chromium.org>
Reviewed-by: Yicheng Li <yichengli@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Commit-Queue: Aadit Maheshkumar Modi <modia@chromium.org> |
136,269 | 12.06.2020 11:27:22 | 25,200 | d8181ef0bda7c7bd458348bd8f82a97da0278e16 | driver/fingerprint: Add fp_sensor_maintenance function
This function has always been in the fingerprint sensor binaries,
but somewhere along the way we lost the the declaration.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "driver/fingerprint/fpc/bep/fpc_private.h",
"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+/* Privat... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | driver/fingerprint: Add fp_sensor_maintenance function
This function has always been in the fingerprint sensor binaries,
but somewhere along the way we lost the the declaration.
BRANCH=none
BUG=b:76037094
TEST=make buildall -j
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I06899f08c4a626f9d180ecdee6f73af0020b078c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2321828
Reviewed-by: Yicheng Li <yichengli@chromium.org> |
136,269 | 12.06.2020 11:46:28 | 25,200 | 821d9748590b7fc4bde0ecb40037677b44d4186b | driver/fingerprint: Set dead pixels to unknown on init in BEP
This matches the behavior in the libfp driver.
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "driver/fingerprint/fpc/bep/fpc_private.c",
"new_path": "driver/fingerprint/fpc/bep/fpc_private.c",
"diff": "@@ -155,6 +155,8 @@ int fp_sensor_init(void)\n/* Print the BEP version and build time of the library */\nCPRINTS(\"Build information - %s\", fp_sensor_g... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | driver/fingerprint: Set dead pixels to unknown on init in BEP
This matches the behavior in the libfp driver.
BRANCH=none
BUG=b:76037094
TEST=make buildall -j
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: Iec52b30be448a40f51baf03ddb9b8e8b0ddeb28f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2321829
Reviewed-by: Yicheng Li <yichengli@chromium.org> |
136,305 | 05.08.2020 15:16:07 | 21,600 | 556eed34e390a4ed257cb56c4f1ab9c444158921 | SM5803: Set up precharge current
Add precharge current from battery configuration to the init process.
BRANCH=None
TEST=on drawcia, drain battery down to 0% and verify "battery" shows
current of about 200 mA | [
{
"change_type": "MODIFY",
"old_path": "driver/charger/sm5803.c",
"new_path": "driver/charger/sm5803.c",
"diff": "@@ -432,6 +432,15 @@ static void sm5803_init(int chgnum)\nreg |= pre_term << SM5803_VBAT_PRE_TERM_SHIFT;\nrv |= chg_write8(chgnum, SM5803_REG_PRE_FAST_CONF_REG1, reg);\n+ /*\n+ * Set up ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | SM5803: Set up precharge current
Add precharge current from battery configuration to the init process.
BRANCH=None
BUG=b:162799690
TEST=on drawcia, drain battery down to 0% and verify "battery" shows
current of about 200 mA
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I4e05a01700990020158fa8f83f85b96d9d15d27a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2341087
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,200 | 09.07.2020 21:12:15 | -28,800 | f3c24093d37253e6cb2804a20dd7f4871d3a1723 | willow: Initial EC image
Create the initial EC image for willow by copying the jacuzzi board EC
files into a new directory named for the variant.
BRANCH=master
TEST=make BOARD=willow. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "board/willow/battery.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 \"battery.h\"\n+#i... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | willow: Initial EC image
Create the initial EC image for willow by copying the jacuzzi board EC
files into a new directory named for the variant.
BUG=b:159194582
BRANCH=master
TEST=make BOARD=willow.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: Ic53290066a1e092df7d6da16f4832c9af4b0d44b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2319495
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> |
136,278 | 05.08.2020 02:59:43 | 25,200 | 50fe466db13375ad239c721601b4227ef28337bf | volteer: add support for passive USB DB
This adds support for the passive USB daughterboard. This
configuration is very similar to port C0, except that the PPC is a
SYV682.
BRANCH=none
TEST=verified PD charging works | [
{
"change_type": "MODIFY",
"old_path": "board/volteer/board.c",
"new_path": "board/volteer/board.c",
"diff": "@@ -261,13 +261,19 @@ static const struct usb_mux usbc1_usb3_db_retimer = {\n.next_mux = NULL,\n};\n-static const struct usb_mux mux_config_p1_usb3 = {\n+static const struct usb_mux mux_conf... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: add support for passive USB DB
This adds support for the passive USB daughterboard. This
configuration is very similar to port C0, except that the PPC is a
SYV682.
BRANCH=none
BUG=b:158673460
TEST=verified PD charging works
Change-Id: Ie657b68d4e8160fca30468cf4ff267b37448edd6
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2338974
Reviewed-by: Keith Short <keithshort@chromium.org> |
136,324 | 05.08.2020 07:41:27 | 21,600 | 0049193f4bf8cfa583852fcd9d857b2947232c81 | morphius: dynamic ioex remapping for board version2/3
BRANCH=none
TEST=make buildall
Tested-by: Denis Brockus | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/board.c",
"new_path": "board/morphius/board.c",
"diff": "@@ -256,20 +256,38 @@ BUILD_ASSERT(ARRAY_SIZE(usb_muxes) == USBC_PORT_COUNT);\n* Use FW_CONFIG to set correct configuration.\n*/\n+static uint32_t board_ver;\nenum gpio_signal gpio_ec_ps2_... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: dynamic ioex remapping for board version2/3
BUG=b:162700010
BRANCH=none
TEST=make buildall
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I6ec5ea7c84c731d074e088a1bf13b4b5aa1150dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2338980
Tested-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,324 | 06.08.2020 11:08:29 | 21,600 | fbc75458836042d6cb2057422a00f1eb59d6af96 | morphius: dynamic usb-c port to hpd gpio for board v2/3
BRANCH=none
TEST=make buildall
Tested-by: Denis Brockus | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/board.c",
"new_path": "board/morphius/board.c",
"diff": "@@ -255,10 +255,34 @@ BUILD_ASSERT(ARRAY_SIZE(usb_muxes) == USBC_PORT_COUNT);\n/*****************************************************************************\n* Use FW_CONFIG to set correc... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: dynamic usb-c port to hpd gpio for board v2/3
BUG=b:162700010
BRANCH=none
TEST=make buildall
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: Iceba3fda1a3e7f454fd0db6249f8c46d8c897073
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2341098
Tested-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,324 | 06.08.2020 11:54:47 | 21,600 | 4284ce1088e2dce196dfe9dcba0cb916a3fe7c18 | morphius: dynamic battery led mapping for board v2/3
BRANCH=none
TEST=make buildall
Tested-by: Denis Brockus | [
{
"change_type": "MODIFY",
"old_path": "board/morphius/led.c",
"new_path": "board/morphius/led.c",
"diff": "#include \"charge_manager.h\"\n#include \"charge_state.h\"\n#include \"chipset.h\"\n+#include \"cros_board_info.h\"\n#include \"ec_commands.h\"\n#include \"extpower.h\"\n#include \"gpio.h\"\n@... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | morphius: dynamic battery led mapping for board v2/3
BUG=b:162700010
BRANCH=none
TEST=make buildall
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I6a4d590c372ece3b0e83c7d32ed26cb0741d7f9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2341099
Tested-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org> |
136,303 | 07.08.2020 08:50:56 | -36,000 | 56a23db4b0dfadaa6810f7185fea42cd0e1c1b4e | Vilboz: Add configuration for 57w battery
BRANCH=none
TEST=make buildall -j | [
{
"change_type": "MODIFY",
"old_path": "board/vilboz/battery.c",
"new_path": "board/vilboz/battery.c",
"diff": "@@ -61,6 +61,35 @@ const struct board_batt_params board_battery_info[] = {\n},\n},\n+ /* SMP L20M3PG1 */\n+ [BATTERY_SMP_1] = {\n+ .fuel_gauge = {\n+ .manuf_name = \"SMP\",\n+ .device_name... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Vilboz: Add configuration for 57w battery
BUG=b:161470405
BRANCH=none
TEST=make buildall -j
Change-Id: I43ee0c265cf039413b910b9ef3a4b11ea38e9391
Signed-off-by: Kangheui Won <khwon@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2342177
Reviewed-by: Peter Marheine <pmarheine@chromium.org> |
136,208 | 20.07.2020 15:50:43 | -28,800 | 8e1f23e8d3dd0cdd8817768adf8e451c49b54310 | asurada: disable internal pull up of AP_SPI_EC_CS_L
BRANCH=none
TEST=make BOARD=asurada
Tested-by: Ting Shen | [
{
"change_type": "MODIFY",
"old_path": "board/asurada/gpio.inc",
"new_path": "board/asurada/gpio.inc",
"diff": "@@ -55,7 +55,7 @@ GPIO_INT(UART1_RX, PIN(B, 0), GPIO_INT_FALLING,\nuart_deepsleep_interrupt) /* UART_DEBUG_TX_EC_RX */\nGPIO_INT(WP, PIN(I, 4), GPIO_INT_BOTH,\nswitch_interrupt) /* EC_FLAS... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | asurada: disable internal pull up of AP_SPI_EC_CS_L
BRANCH=none
BUG=b:161507653
TEST=make BOARD=asurada
Change-Id: I0c2f835bd35d35071d3ddd6c0cc7ab0835df0860
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2309521
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Ting Shen <phoenixshen@chromium.org> |
136,330 | 31.07.2020 15:46:19 | 21,600 | 1c62421d797d31f2cbc05a5cfe6b9f1219f5484a | volteer: Reconfigure SSD GPIOs
Configure M2_SSD_PLN and M2_SSD_PLA as active-low and M2_SSD_PLN as
open-drain, per vendor guidance.
TEST=make buildall
BRANCH=none | [
{
"change_type": "MODIFY",
"old_path": "board/volteer/gpio.inc",
"new_path": "board/volteer/gpio.inc",
"diff": "@@ -106,11 +106,12 @@ UNIMPLEMENTED(USB_C1_RT_FORCE_PWR)\n/* Misc Signals */\nGPIO(EC_H1_PACKET_MODE, PIN(7, 5), GPIO_OUT_LOW) /* H1 Packet Mode */\n/*\n- * TODO(b/138954381): Determine th... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | volteer: Reconfigure SSD GPIOs
Configure M2_SSD_PLN and M2_SSD_PLA as active-low and M2_SSD_PLN as
open-drain, per vendor guidance.
BUG=b:138954381
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Ic0b1db3126e2704c24bb2409cef8c7f61d2e2a8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2333122
Reviewed-by: caveh jalali <caveh@chromium.org> |
136,405 | 03.10.2017 18:28:57 | 25,200 | b29d0808e22d30c3e9ce85dd31457ab8ff28dd2c | CBI: Add unit test
This patch adds unit tests for Cros Board Info APIs.
BRANCH=none
TEST=buildall | [
{
"change_type": "MODIFY",
"old_path": "board/host/board.c",
"new_path": "board/host/board.c",
"diff": "#include \"battery.h\"\n#include \"button.h\"\n+#include \"cros_board_info.h\"\n#include \"extpower.h\"\n#include \"gpio.h\"\n#include \"host_command.h\"\n#include \"power_button.h\"\n#include \"s... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | CBI: Add unit test
This patch adds unit tests for Cros Board Info APIs.
BUG=b:163038871
BRANCH=none
TEST=buildall
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: I7b2fdb2c4f13da12f8c0dc2ab526332cbd46d849
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2339393 |
136,305 | 07.08.2020 15:06:06 | 21,600 | dc63c5cf3bc6e4f62db48633328025937025cd60 | SM5803: Expand charger dump
Add some base page registers to charger dump.
BRANCH=None
TEST=on drawlat, confirm base register section prints | [
{
"change_type": "MODIFY",
"old_path": "driver/charger/sm5803.c",
"new_path": "driver/charger/sm5803.c",
"diff": "@@ -859,6 +859,17 @@ static int command_sm5803_dump(int argc, char **argv)\nif (argc > 1)\nchgnum = atoi(argv[1]);\n+ /* Dump base regs */\n+ ccprintf(\"BASE regs\\n\");\n+ for (reg = 0x... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | SM5803: Expand charger dump
Add some base page registers to charger dump.
BRANCH=None
BUG=b:161863873
TEST=on drawlat, confirm base register section prints
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I86c0c3795c4a609771cc9caa67c40cadc49d44bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2343620
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org> |
136,305 | 07.08.2020 16:35:06 | 21,600 | 4c6ca033f30dfd2fb3042cc877ab02a800f32bee | SM5803: Update inits
New inits suggested by the vendor to help with 5V output and with
charging issues.
BRANCH=None
TEST=make -j buildall | [
{
"change_type": "MODIFY",
"old_path": "driver/charger/sm5803.c",
"new_path": "driver/charger/sm5803.c",
"diff": "@@ -311,6 +311,7 @@ static void sm5803_init(int chgnum)\nrv |= chg_write8(chgnum, 0x22, 0xB3);\n+ rv |= chg_write8(chgnum, 0x4B, 0xA6);\nrv |= chg_write8(chgnum, 0x4F, 0xBF);\nrv |= chg_... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | SM5803: Update inits
New inits suggested by the vendor to help with 5V output and with
charging issues.
BRANCH=None
BUG=b:153899150,b:161863873,b:160918663
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I18941bfa66ed624c237d4ec87246318c9079c38a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2343757
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org> |
136,427 | 07.08.2020 17:22:40 | 21,600 | cbff2a675bea572f600fee350cdd87b869b0b72a | dirinboz: Remove I2C_PORT_BATTERY_V0 check
Dirinboz only uses I2C_PORT_BATTERY_V1.
BRANCH=none
TEST=none | [
{
"change_type": "MODIFY",
"old_path": "board/dirinboz/board.c",
"new_path": "board/dirinboz/board.c",
"diff": "@@ -618,20 +618,3 @@ static void usba_retimer_off(void)\nioex_set_level(IOEX_USB_A1_RETIMER_EN, 0);\n}\nDECLARE_HOOK(HOOK_CHIPSET_SUSPEND, usba_retimer_off, HOOK_PRIO_DEFAULT);\n-\n-/*\n- ... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | dirinboz: Remove I2C_PORT_BATTERY_V0 check
Dirinboz only uses I2C_PORT_BATTERY_V1.
BUG=b:155214765
BRANCH=none
TEST=none
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I0ac8d011999a6dab32960dabbec225b0e2ae60e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2343760
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,427 | 07.08.2020 17:24:23 | 21,600 | 7b8b449a79b545d00fd1c8f49e56ae65ee3cd8a2 | dalboz: Use board_version for I2C_PORT_BATTERY_V0
Change to use CBI board_version for I2C_PORT_BATTERY_V0 instead
of probing I2C.
BRANCH=none
TEST=boot to OS | [
{
"change_type": "MODIFY",
"old_path": "board/dalboz/board.c",
"new_path": "board/dalboz/board.c",
"diff": "@@ -570,6 +570,9 @@ static void setup_fw_config(void)\ngpio_set_flags(GPIO_6AXIS_INT_L, GPIO_INPUT | GPIO_PULL_DOWN);\n}\n}\n+/*\n+ * Use HOOK_PRIO_INIT_I2C + 2 to be after ioex_init().\n+ */\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | dalboz: Use board_version for I2C_PORT_BATTERY_V0
Change to use CBI board_version for I2C_PORT_BATTERY_V0 instead
of probing I2C.
BUG=b:155214765
BRANCH=none
TEST=boot to OS
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I2fd64bb51b91df028335f960a329da957af52aae
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2343761
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,427 | 07.08.2020 18:13:16 | 21,600 | 9b8b61ce037f0d4d740936edf86076accce54297 | trembyle: Use board_version for I2C_PORT_CHARGER_V0
Change to use CBI board_version for I2C_PORT_CHARGER_V0 instead
of probing I2C.
BRANCH=none
TEST=boot to OS | [
{
"change_type": "MODIFY",
"old_path": "baseboard/zork/variant_trembyle.c",
"new_path": "baseboard/zork/variant_trembyle.c",
"diff": "@@ -103,25 +103,6 @@ struct charger_config_t chg_chips[] = {\n},\n};\n-/*\n- * If the charger is found on the V0 I2C port then re-map the port.\n- * Use HOOK_PRIO_INI... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | trembyle: Use board_version for I2C_PORT_CHARGER_V0
Change to use CBI board_version for I2C_PORT_CHARGER_V0 instead
of probing I2C.
BUG=b:155214765
BRANCH=none
TEST=boot to OS
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: Id3e9d874439277af4d1c88acd6ab40a6bbea73ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2343742
Reviewed-by: Denis Brockus <dbrockus@chromium.org> |
136,286 | 07.08.2020 16:31:50 | -28,800 | 9b0b66a699ff0a6af1d0c8b10b3551fc37b9c588 | magolor: support USB-A
config USB-A pin define, and enable USB SMART function
BRANCH=none
TEST=make buildall pass, | [
{
"change_type": "MODIFY",
"old_path": "board/magolor/board.c",
"new_path": "board/magolor/board.c",
"diff": "#define CPRINTS(format, args...) cprints(CC_USBCHARGE, format, ## args)\n#define CPRINTF(format, args...) cprintf(CC_USBCHARGE, format, ## args)\n+/******************************************... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | magolor: support USB-A
config USB-A pin define, and enable USB SMART function
BUG=b:155944657
BRANCH=none
TEST=make buildall pass,
Change-Id: Icefa622bb575236ad24e33fe00ce4fb26dd4d2e7
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2342944
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,282 | 06.08.2020 19:05:07 | -28,800 | 8eb404edade37c86a879564a7c32356dd7902416 | drawcia: Correct accelerometer orientation
BRANCH=none
TEST=On Drawcia mockup, check the screen rotation was normally.
Make sure x-y-z axis direction is indeed. | [
{
"change_type": "MODIFY",
"old_path": "board/drawcia/board.c",
"new_path": "board/drawcia/board.c",
"diff": "@@ -446,6 +446,19 @@ static struct mutex g_base_mutex;\nstatic struct accelgyro_saved_data_t g_bma253_data;\nstatic struct lsm6dsm_data lsm6dsm_data = LSM6DSM_DATA;\n+/* Matrix to rotate acc... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | drawcia: Correct accelerometer orientation
BUG=none
BRANCH=none
TEST=On Drawcia mockup, check the screen rotation was normally.
Make sure x-y-z axis direction is indeed.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I383a00d69e2a4ceec22a12bb0b9b15d262c39336
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2341082
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,282 | 06.08.2020 19:55:01 | -28,800 | 62d62a164edce7b3462671d254bfdc5c6be72f81 | drawlat/drawman: Disable motion sensors
Drawlat and Drawman are clamshell, disable motion sensors base on
FW_CONFIG.
BRANCH=none
TEST=Set FW_CONFIG to 0x0, check no sensors initial on boot. | [
{
"change_type": "MODIFY",
"old_path": "board/drawcia/board.c",
"new_path": "board/drawcia/board.c",
"diff": "@@ -246,6 +246,116 @@ const struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = {\n},\n};\n+/* Sensor Mutexes */\n+static struct mutex g_lid_mutex;\n+static struct mutex g_base_mutex;\n... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | drawlat/drawman: Disable motion sensors
Drawlat and Drawman are clamshell, disable motion sensors base on
FW_CONFIG.
BUG=none
BRANCH=none
TEST=Set FW_CONFIG to 0x0, check no sensors initial on boot.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I9638c681c5c436aa45fce1f12e8bb7bcaf4257b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2341084
Reviewed-by: Diana Z <dzigterman@chromium.org> |
136,305 | 07.08.2020 11:01:29 | 21,600 | 338cf6bdc85942cf45bbe89d3b9e6007bd041566 | SM5803: Remove Vbus comparator code from OTG
With the most recent inits, the Vbus comparator no longer needs toggled
when the board sources out.
BRANCH=None
TEST=on drawcia, verify Vbus looks good on both ports | [
{
"change_type": "MODIFY",
"old_path": "driver/charger/sm5803.c",
"new_path": "driver/charger/sm5803.c",
"diff": "@@ -854,20 +854,6 @@ static enum ec_error_list sm5803_enable_otg_power(int chgnum, int enabled)\nrv = chg_write8(chgnum, SM5803_REG_ANA_EN1, reg);\n}\n- /*\n- * Vbus monitor comparator m... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | SM5803: Remove Vbus comparator code from OTG
With the most recent inits, the Vbus comparator no longer needs toggled
when the board sources out.
BRANCH=None
BUG=None
TEST=on drawcia, verify Vbus looks good on both ports
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I594a4fec7da68788c840234a0aa401e89fff33c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2343605
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |
136,235 | 11.08.2020 17:34:54 | -28,800 | b59dcfba4a1afc72d91f1262bf4a6a332b31cf7d | Project Madoo: change Gyro & Accel Sensor
Change Gyro & Accel Sensor from BMI160 to LSM6DSL.
BRANCH=none
TEST=none
Tested-by: Justin TerAvest | [
{
"change_type": "MODIFY",
"old_path": "board/madoo/board.c",
"new_path": "board/madoo/board.c",
"diff": "#include \"compile_time_macros.h\"\n#include \"driver/accel_bma2x2.h\"\n#include \"driver/accelgyro_bmi_common.h\"\n+#include \"driver/accelgyro_lsm6dsm.h\"\n#include \"driver/bc12/pi3usb9201.h\... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Project Madoo: change Gyro & Accel Sensor
Change Gyro & Accel Sensor from BMI160 to LSM6DSL.
BUG=b:163437341
BRANCH=none
TEST=none
Signed-off-by: Ko_Ko <Ko_Ko@compal.corp-partner.google.com>
Change-Id: I676878b8e11ef2c8ff8b502066f2c355d720f7b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2348736
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Justin TerAvest <teravest@chromium.org>
Tested-by: Justin TerAvest <teravest@chromium.org> |
136,363 | 11.08.2020 09:47:01 | 21,600 | 88b2a9dbfdeba3b639e54ade7224b0df2c0374b5 | Dalboz: Enable internal pull up for EC GPIOD4
Add GPIO_PULL_UP to GPIOD4 for Dalboz and variants.
TEST=None
BRANCH=None | [
{
"change_type": "MODIFY",
"old_path": "board/dalboz/gpio.inc",
"new_path": "board/dalboz/gpio.inc",
"diff": "@@ -12,7 +12,7 @@ GPIO_INT(USB_C0_TCPC_INT_ODL, PIN(3, 4), GPIO_INT_FALLING, tcpc_alert_event)\nGPIO_INT(USB_C1_TCPC_INT_ODL, PIN(F, 1), GPIO_INT_FALLING, c1_tcpc_interrupt)\nGPIO_INT(USB_C0... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Dalboz: Enable internal pull up for EC GPIOD4
Add GPIO_PULL_UP to GPIOD4 for Dalboz and variants.
BUG=b:162753456
TEST=None
BRANCH=None
Signed-off-by: Josie Nordrum <josienordrum@google.com>
Change-Id: I8e261458ca31eed1b8284387546825f5e9e79bff
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2347226
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org> |
136,363 | 11.08.2020 11:41:22 | 25,200 | 6f47ebb6bab450252396d0f1292858618bca21d6 | Dalboz: Daughterboard IO expander pin IO5 new function EN_PWR_HDMI_DB
Declare HDMI power enable signal. Add functions to turn off HDMI power
in S3.
TEST=None
BRANCH=None | [
{
"change_type": "MODIFY",
"old_path": "board/dalboz/board.c",
"new_path": "board/dalboz/board.c",
"diff": "@@ -192,6 +192,24 @@ void pcal6408_interrupt(enum gpio_signal signal)\nhook_call_deferred(&pcal6408_handler_data, 0);\n}\n+/********************************************************************... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | Dalboz: Daughterboard IO expander pin IO5 new function EN_PWR_HDMI_DB
Declare HDMI power enable signal. Add functions to turn off HDMI power
in S3.
BUG=b:162747874
TEST=None
BRANCH=None
Signed-off-by: Josie Nordrum <josienordrum@google.com>
Change-Id: I6ab4c557bdb616b8a5514940ec39186cf6366f7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2350029
Reviewed-by: Edward Hill <ecgh@chromium.org> |
136,205 | 07.08.2020 10:57:03 | -28,800 | 686a5d27c76a49d375d596b7030bea791d2c91f2 | delbin: Enable keyboard backlight
Enable keyboard backlight.
BRANCH=master
TEST=manual
1. Using ec console command "kblight".
2. Check GPIO "EC_KB_BL_EN" on S0 and S5. | [
{
"change_type": "MODIFY",
"old_path": "board/delbin/board.c",
"new_path": "board/delbin/board.c",
"diff": "@@ -399,3 +399,17 @@ static void keyboard_init(void)\nkeyscan_config.actual_key_mask[14] = 0xff;\n}\nDECLARE_HOOK(HOOK_INIT, keyboard_init, HOOK_PRIO_INIT_I2C + 1);\n+\n+/* Called on AP S0ix -... | C | BSD 3-Clause New or Revised License | coreboot/chrome-ec | delbin: Enable keyboard backlight
Enable keyboard backlight.
BUG=b:163081177
BRANCH=master
TEST=manual
1. Using ec console command "kblight".
2. Check GPIO "EC_KB_BL_EN" on S0 and S5.
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: Icf898a74cc8dbfd3d2428a6b522f3d59bc23e9ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2342171
Reviewed-by: Keith Short <keithshort@chromium.org> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.