summaryrefslogtreecommitdiff
path: root/board
Commit message (Collapse)AuthorAgeFilesLines
* config: rename CONFIG_HOSTCMD_SHI to CONFIG_HOST_INTERFACE_SHIKeith Short2021-11-194-4/+6
| | | | | | | | | | | | | | | | Rename CONFIG_HOSTCMD_SHI to CONFIG_HOST_INTERFACE_SHI. This makes the host interface selection configs distinct from configs used to enable/disable specific host commands. BUG=b:195416058 BRANCH=main TEST=compare_build.sh Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I35959149554f58c8911459dcd025720b6d66eb32 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3095843 Tested-by: Michał Barnaś <mb@semihalf.com> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
* config: rename CONFIG_HOSTCMD_ESPI to CONFIG_HOST_INTERFACE_ESPIKeith Short2021-11-1940-47/+47
| | | | | | | | | | | | | | | Rename CONFIG_HOSTCMD_ESPI to CONFIG_HOST_INTERFACE_ESPI. This makes the host interface selection configs distinct from configs used to enable/disable specific host commands. BUG=b:195416058 BRANCH=main TEST=compare_build.sh Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I7f52614ca9a0dd54cc7e96e51bba40453564198e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3095842 Tested-by: Michał Barnaś <mb@semihalf.com>
* config: rename CONFIG_HOSTCMD_LPC to CONFIG_HOST_INTERFACE_LPCKeith Short2021-11-197-7/+7
| | | | | | | | | | | | | | | | Rename CONFIG_HOSTCMD_LPC to CONFIG_HOST_INTERFACE_LPC. This makes the host interface selection configs distinct from configs used to enable/disable specific host commands. BUG=b:195416058 BRANCH=main TEST=compare_build.sh Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I6d8722cd314aa7801ea11c1ead5ef6bdd113fd58 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3095841 Tested-by: Michał Barnaś <mb@semihalf.com> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
* config: rename CONFIG_HOSTCMD_HECI to CONFIG_HOST_INTERFACE_HECIKeith Short2021-11-194-4/+4
| | | | | | | | | | | | | | | | Rename CONFIG_HOSTCMD_HECI to CONFIG_HOST_INTERFACE_HECI. This makes the host interface selection configs distinct from configs used to enable/disable specific host commands. BUG=b:195416058 BRANCH=main TEST=compare_build.sh Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I2a9e490c2fd6f54f7ab9be809ed2711aa3244409 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3095840 Tested-by: Michał Barnaś <mb@semihalf.com> Reviewed-by: Aaron Massey <aaronmassey@google.com>
* taeko: Calibrate the orientation matrixreno.wang2021-11-191-15/+12
| | | | | | | | | | | | | | BUG=b:201504044 BRANCH=None TEST=make -j BOARD=taeko, check x, y, z axis of sensor 1 and 2 via ectool motionsense. Signed-off-by: reno.wang <reno.wang@lcfc.corp-partner.google.com> Change-Id: I04f411f188a276adfe1c44b9f7eb644bc94df4aa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3247510 Reviewed-by: YH Lin <yueherngl@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: YH Lin <yueherngl@chromium.org>
* Brya: Add USB mux taskDiana Z2021-11-199-0/+9
| | | | | | | | | | | | | | Add the USB mux task for brya boards, since their virtual mux sets may take some non-trivial amount of time. BRANCH=None BUG=b:186777984 TEST=on brya, run validation (tracked in b/202883250) Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I150b1dc1072c65e93fb407abbf336d9df95b7a88 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3095439 Reviewed-by: caveh jalali <caveh@chromium.org>
* Felwinter : Add IOEX to control NCT38XX RT_RST_ODL.Logan_Liao2021-11-192-1/+3
| | | | | | | | | | | | | | | | | This Patch add IOEX(C1) to enable DB retimer. BUG=b:205662704 BRANCH=none TEST=test SKU1 DB USB3.2 detect success. Change-Id: Ia6b37847c7e84508422b16d35a00194aac32108d Signed-off-by: Logan_Liao <logan_Liao@compal.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3271802 Reviewed-by: Logan Liao <logan_liao@compal.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Elmo Lan <elmo_lan@compal.corp-partner.google.com> Tested-by: Logan Liao <logan_liao@compal.corp-partner.google.com> Commit-Queue: Logan Liao <logan_liao@compal.corp-partner.google.com>
* goroh: Swap C0/C1 DP-HPD pinEric Yilun Lin2021-11-191-2/+2
| | | | | | | | | | | | | | | | The schematic was reversed (wrong) so we have to fix it. BUG=b:198108240 TEST=make buildall BRANCH=main Change-Id: I5bc0b88dbd6bd88764a7abeab117b8fcbe72da4f Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3129220 Reviewed-by: Rong Chang <rongchang@chromium.org> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com>
* brask: Change USB_C1_RT_RST_R_ODL typeDavid Huang2021-11-191-1/+1
| | | | | | | | | | | | | | Change USB_C1_RT_RST_R_ODL type to GPIO_OUT_LOW. BUG=b:206986093 BRANCH=main TEST=Use "ectool gpioget" to check USB_C1_RT_RST_R_ODL can set to 1. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: If7edf0b261933d1a1fb2d4c7bfe32789b14db762 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3289578 Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
* Felwinter: define vivaldi keyboardJosh Tsai2021-11-191-5/+0
| | | | | | | | | | | | | | | | We need to support the vivaldi keyabord. So remove the undef CONFIG_KEYBOARD_VIVALDI BUG=b:206380658 BRANCH=none TEST=DUT top row key function is correct Signed-off-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com> Change-Id: Ied4e12144bee2b09534ebf9a0850cd94f4197ce4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3290990 Reviewed-by: Ko Ko <ko_ko@compal.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
* Felwinter : Correct C1 PI3USB9201 address.Logan_Liao2021-11-191-1/+1
| | | | | | | | | | | | | | | | | This Patch correct C1 port PI3USB9201 address from 0x5F to 0x5D. BUG=b:205662704 BRANCH=none TEST=test C1 PI3USB9201 scan success. Change-Id: I929329451bef8a4b130f5ab8dda9ea1fb1e5ce7f Signed-off-by: Logan_Liao <logan_Liao@compal.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3289392 Reviewed-by: Logan Liao <logan_liao@compal.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Ko Ko <ko_ko@compal.corp-partner.google.com> Tested-by: Logan Liao <logan_liao@compal.corp-partner.google.com> Commit-Queue: caveh jalali <caveh@chromium.org>
* felwinter: fan turn high and low momentary in G3 and DC onlyOwen_Ou2021-11-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | To turn the fan during deep sleep, you need to set pwm_config_dsleep and lower the frequency. The original frequency of 25000 cannot make pwm need at least two cycles,so it is changed to 1000 (recommended by nuvaton). BUG=b:198371480 BRANCH=none TEST=make -j BOARD=felwinter and flash ec.bin to brya p2 and Observe whether the fan turn high and low momentary in G3 and DC only. Signed-off-by: Owen_Ou <Owen_Ou@compal.corp-partner.google.com> Change-Id: I9fa29a21b2c5de17ed98b1af479a4b154ab60d6d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3139616 Tested-by: Owen Ou <owen_ou@compal.corp-partner.google.com> Auto-Submit: Owen Ou <owen_ou@compal.corp-partner.google.com> Reviewed-by: Elmo Lan <elmo_lan@compal.corp-partner.google.com> Reviewed-by: YH Lin <yueherngl@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
* kano: Update FW_CONFIG fieldYu-An Chen2021-11-185-41/+24
| | | | | | | | | | | | | | | | | | This patch update the FW_CONFIG field for Kano Remove daughter board configuration BUG=b:199714882 BRANCH=main TEST=make BOARD=kano Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Change-Id: Ifcc3e5c501388b53f3f3e4c48a1b5ef38d14b6bc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3288847 Tested-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Auto-Submit: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
* primus: modify rpm deviationElsie Shih2021-11-181-0/+1
| | | | | | | | | | | | | | | Currently rpm deviation is 7%, It will cause [ectool pwmsetfanrpm 5000] and [ectool pwmgetfanrpm] not accurate. BUG=b:206863093 BRANCH=none TEST=make -j BOARD=primus Signed-off-by: Elsie Shih <elsie_shih@wistron.corp-partner.google.com> Change-Id: I0d118ac043ad95a7443fe6c84f1a080558e7df76 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3290823 Reviewed-by: Scott Chao <scott_chao@wistron.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org>
* kano: Add support alternate sensorsDavid Huang2021-11-183-6/+144
| | | | | | | | | | | | | | | | | | | Add support alternate sensors. Lid accel: BMA422 and KX022. Base accel/gyro: BMI260 and ICM426XX. BUG=b:204832963 b:203724640 BRANCH=main TEST=Use "ectool motionsense" to check EC can get correct sensor and get data normally. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: I63d9404f0a063645ecc003ad87ca015492906653 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3256730 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
* bugzzy : change LCD MAX current setting on MP3372YongBeum.Ha2021-11-182-1/+2
| | | | | | | | | | | | | | | | | In order to meet the specification of LCD brightness, it is necessary to set the current value of the LCD controller. BUG=b:202344727 BRANCH=None TEST=make -j BOARD=bugzzy Signed-off-by: YongBeum.Ha <ybha@samsung.corp-partner.google.com> Change-Id: If7263054eb325b875979d790eea4fe826396b77c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3288844 Reviewed-by: Henry Sun <henrysun@google.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Henry Sun <henrysun@google.com>
* gimble: change fan tableScott Chao2021-11-181-17/+29
| | | | | | | | | | | | | | Update thermal table for settings provided by thermal team on 2021-11-17. This also add different fan speed on clamshell and tablet mode. BUG=b:206733335, b:204155635 BRANCH=none TEST=make -j BOARD=gimble Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com> Change-Id: I4be157945b56a248d4abd8260faad5e131f672cc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3256727 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* goroh: configure ADC and temp sensorsEric Yilun Lin2021-11-174-11/+46
| | | | | | | | | | | | | | BUG=b:185846337 TEST=temp; version; see the temp and board ID are valid. BRANCH=main Change-Id: I593e6e0878fbe9f5877fc85e2f2b0150efe512a3 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3113253 Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com> Reviewed-by: Rong Chang <rongchang@chromium.org> Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* goroh: configure LEDEric Yilun Lin2021-11-173-45/+62
| | | | | | | | | | | | | | | BUG=b:185846337 TEST=see the LED status changed on charging, battery low, no battery, and battery full BRANCH=main Change-Id: Ia142c5ebc0e1b49a54203ad7fb052581bbb309d7 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3105918 Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com> Reviewed-by: Rong Chang <rongchang@chromium.org> Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* goroh: enable keyboard backlightEric Yilun Lin2021-11-172-4/+4
| | | | | | | | | | | | | BUG=b:185846337 TEST=kbl 100 BRANCH=main Change-Id: I5c4f6ea746b27538938a3d5e05e699279cb543c1 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3105917 Reviewed-by: Rong Chang <rongchang@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com>
* goroh: enable fanEric Yilun Lin2021-11-175-17/+105
| | | | | | | | | | | | | | | | Goroh has a fan and it has TACH pin for RPM info. BUG=b:185846337 TEST=Fan is up in S0 and down in off state BRANCH=main Change-Id: I91f9f2472bec49f60c0b713e9624417254baf420 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3105908 Reviewed-by: Rong Chang <rongchang@chromium.org> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com>
* goroh: move USB-C code to baseboard/usbc_configEric Yilun Lin2021-11-173-1/+40
| | | | | | | | | | | | | | | | Move USB-C code to baseboard/usbc_config and correct the GPIO configuration. BUG=b:185846337 TEST=make BOARD=goroh BRANCH=none Change-Id: I3bff677b4b47b62d2fe638c50b370c3e51c5699c Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3099387 Reviewed-by: Rong Chang <rongchang@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com>
* Dewatt: Add new batterySue Chen2021-11-172-78/+12
| | | | | | | | | | | | | | Remove unused battery New battery: AP19B8M BUG=b:205094982 BRANCH=none TEST=make BOARD=dewatt Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Change-Id: Ib4081a35d0bfb7d6d34ba21cdb511feca473c221 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3274697 Reviewed-by: Diana Z <dzigterman@chromium.org>
* vell: Remove unused daughter-board typesDevin Lu2021-11-173-49/+12
| | | | | | | | | | | | | Vell only has one daughter-board type. Remove other unused types. BUG=b:186907625 BRANCH=none TEST=make BOARD=vell Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I5d81b91eb396d8aa7bfa3c3b18c186a89889c03b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3276017 Reviewed-by: caveh jalali <caveh@chromium.org>
* boten: support clamshell skuarthur.lin2021-11-172-32/+53
| | | | | | | | | | | | | | | Use tabletmode bit in FW_CONFIG to decide clamshell or convertible. Some GPIO will not to use in clamshell sku. BRANCH=dedede BUG=None TEST=make buildall -j Signed-off-by: arthur.lin <arthur.lin@lcfc.corp-partner.google.com> Change-Id: I1e0e640dd8497a4f2a36fddb77eb05a642baa312 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3281431 Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Henry Sun <henrysun@google.com>
* goroh: configure sensorsEric Yilun Lin2021-11-175-128/+111
| | | | | | | | | | | | | | | add base gyro, base accel, and lid accel. BUG=b:185846337 TEST=accelinfo BRANCH=none Change-Id: I96d4d3ee424b17d388e7720c41477a121d61c183 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3093651 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com>
* goroh: add AP_EC_WATCHDOG_L pin to filter WDT resetEric Yilun Lin2021-11-171-3/+2
| | | | | | | | | | | | | | | | | | | | There will be two cases when AP has a shutdown request: AP_EC_SHUTDOWN_REQ:1 AP_EC_WATCHDOG_L:1 -> This is a real shutdown request. AP_EC_SHUTDOWN_REQ:1 AP_EC_WATCHDOG_L:0 -> This is a WDT reset, and AP will handle this reboot, EC should not touch it. BUG=b:171029078 TEST=EC is able to handle AP's shutdown request. BRANCH=main Change-Id: Ic948091f11d7a12f5c5a7a8d7bff88295b08bfff Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3270226 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com>
* brya: LED improvementsBoris Mittelberg2021-11-162-8/+8
| | | | | | | | | | | | | | | | Reduce PWM to 50% for both sides to save power. Visually the difference is minimal. Remove the blink on EC reset BRANCH=none BUG=b:200134641 TEST=manual, compared 2 devices side-by-side Signed-off-by: Boris Mittelberg <bmbm@google.com> Change-Id: I78a2f6c7633140b915d2731f4e04a032dbd6ed27 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273753 Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Ruben Rodriguez Buchillon <coconutruben@chromium.org> Commit-Queue: Ruben Rodriguez Buchillon <coconutruben@chromium.org>
* volteer: Remove volteer_apmodeentryAbe Levkoy2021-11-162-9/+0
| | | | | | | | | | | | | | | Neither Intel nor Google are using this board anymore, and it sporadically runs out of space. BUG=none TEST=make buildall BRANCH=volteer Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I41a60bad856f3a06002f9c32a439e8b406e04aa9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3229988 Commit-Queue: Keith Short <keithshort@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
* vell: Remove board ID 1 supportDevin Lu2021-11-165-139/+14
| | | | | | | | | | | | | Vell is now p2 schematic. Remove unused board ID configuration. BUG=b:205908918 BRANCH=none TEST=make BOARD=vell Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I9c263e8af5ef8f4932328d7dd48f2babd811c8bb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3276016 Reviewed-by: caveh jalali <caveh@chromium.org>
* vell: Remove tune mp2964 settingsDevin Lu2021-11-163-50/+1
| | | | | | | | | | | | BUG=b:205908918 BRANCH=none TEST=make BOARD=vell Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Ied38e08cfb2a060ec32fb75fcd02388f7f9418f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3276015 Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
* vell: Merge generated-gpio.incDevin Lu2021-11-162-136/+119
| | | | | | | | | | | | | | | Vell does not auto-generate their GPIO definitions. Merge generated-gpio.inc to gpio.inc to customize in future. BUG=b:205908918 BRANCH=none TEST=make BOARD=vell Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I5fe4a0ee1b0a749fc230b56235ca6aa3a55a1029 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3276014 Commit-Queue: caveh jalali <caveh@chromium.org> Reviewed-by: caveh jalali <caveh@chromium.org>
* brask: Support retimer kb800x for c1David Huang2021-11-162-10/+16
| | | | | | | | | | | | | | | Support retimer kb800x for port c1. BUG=b:197505149 b:194068869 BRANCH=none TEST=Insert USB device to C1, system can get device. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: I2853a7b6a0add4b1683acade0d7f84a629bde34b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3261449 Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
* gimble: Fix keyboard backlight in G3Peter Chi2021-11-161-5/+5
| | | | | | | | | | | BRANCH=none BUG=b:206054096 TEST=make -j BOARD=gimble Signed-off-by: Peter Chi <peter_chi@wistron.corp-partner.google.com> Change-Id: I56710bba0217ec675280a384c7f1b1816b12a792 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3255463 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* vell: Initial EC imagestabilize-14345.B-mainShon Wang2021-11-1620-0/+2340
| | | | | | | | | | | | | | | | | | | | Create the initial EC image for the vell variant by copying the brya reference board EC files into a new directory named for the variant. (Auto-Generated by create_initial_ec_image.sh version 1.5.0). BUG=b:205908918 BRANCH=None TEST=make BOARD=vell, make buildall Signed-off-by: Shon Wang <shon.wang@quanta.corp-partner.google.com> Change-Id: I4e5bd91e643a8ef1a1ec6cf1dbb191d192433cb4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3277679 Reviewed-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: YH Lin <yueherngl@chromium.org> Tested-by: Devin Lu <Devin.Lu@quantatw.com> Commit-Queue: YH Lin <yueherngl@chromium.org>
* brya: Split out baseboard CBI and USB code into its own fileRajesh Kumar2021-11-164-58/+63
| | | | | | | | | | | | | | Move this out of baord.c so we can use it on Zephyr. BUG=b:202701454 BRANCH=none TEST=make BOARD=brya Signed-off-by: Rajesh Kumar <rajesh3.kumar@intel.com> Change-Id: I9f746d3ec3659e972c3e0665dbd68b92b1985104 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3276907 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* trondo: delete unused variantKeith Short2021-11-159-1246/+0
| | | | | | | | | | | | | | | Delete the trondo variant which is not used. BUG=b:205166645 BRANCH=volteer TEST=make buildall Cq-Include-Trybots: luci.chromeos.cq:cq-orchestrator Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I2969f8d227676ad3c331b097da0d9f191ba51cc2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3280026 Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: YH Lin <yueherngl@chromium.org>
* todor: delete unused variantKeith Short2021-11-159-1248/+0
| | | | | | | | | | | | | | | Delete the todor variant which is not used. BUG=b:205166645 BRANCH=volteer TEST=make buildall Cq-Include-Trybots: luci.chromeos.cq:cq-orchestrator Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I2f9775482d2abe6634cff2c94c19210481d41326 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3280025 Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: YH Lin <yueherngl@chromium.org>
* malefor: delete unused variantKeith Short2021-11-158-1211/+0
| | | | | | | | | | | | | | Delete the malefor variant which is not used. BUG=b:205166645 BRANCH=volteer TEST=make buildall Cq-Include-Trybots: luci.chromeos.cq:cq-orchestrator Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I9ac5801c10fd0256e06aff22d74377ad6aa9ab7b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3280023 Reviewed-by: YH Lin <yueherngl@chromium.org>
* lingcod: delete unused variantKeith Short2021-11-158-1154/+0
| | | | | | | | | | | | | | | Delete the lingcod variant which is not used. BUG=b:205166645 BRANCH=volteer TEST=make buildall Cq-Include-Trybots: luci.chromeos.cq:cq-orchestrator Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I18ad7b02462865dc62ad2abef4ca664d128105f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3280022 Reviewed-by: YH Lin <yueherngl@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
* halvor: delete unused variantKeith Short2021-11-159-1274/+0
| | | | | | | | | | | | | | | Delete the halvor variant which is not used. BUG=b:205166645 BRANCH=volteer TEST=make buildall Cq-Include-Trybots: luci.chromeos.cq:cq-orchestrator Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: Ieac5d3f7879d14696517f042cc382970ee3ec119 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3280021 Reviewed-by: YH Lin <yueherngl@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
* voema: delete voema_npcx796Keith Short2021-11-155-27/+1
| | | | | | | | | | | | | | | | Delete the deprecated variant voema_npcx796 BUG=b:205166645 BRANCH=volteer TEST=make buildall Cq-Include-Trybots: luci.chromeos.cq:cq-orchestrator Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I6c84a34ac8f0e6746d3a6526f5ef6f6c7caf218e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3280020 Reviewed-by: YH Lin <yueherngl@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
* bq25710: Make VSYS_TH2 Kconfig friendlyCaveh Jalali2021-11-136-0/+6
| | | | | | | | | | | | | | | | | | | This adds the CONFIG_CHARGER_BQ25720_VSYS_TH2_CUSTOM config option to decide if CONFIG_CHARGER_BQ25720_VSYS_TH2_DV should be applied. It is no longer sufficient to set CONFIG_CHARGER_BQ25720_VSYS_TH2_DV to the desired value. This matches how defines are generated by kconfig and allows IS_ENABLED() to be used. BRANCH=none BUG=b:185190976 TEST=buildall passes Signed-off-by: Caveh Jalali <caveh@chromium.org> Change-Id: Ie3a6aa2d585d7975ada2863fd20ad296b23d504c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3277938 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Keith Short <keithshort@chromium.org>
* power: Combine chipset_reset_reason and chipset_shutdown_reasonTom Hughes2021-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | When building with clang, it warns: power/amd_x86.c:59:18: error: implicit conversion from enumeration type 'enum chipset_reset_reason' to different enumeration type 'enum chipset_shutdown_reason' [-Werror,-Wenum-conversion] report_ap_reset(reason); The two enums are already set up so that they don't overlap, so just combine them into a single enum. BRANCH=none BUG=b:172020503 TEST=./util/compare_build.sh -b all -j 120 => All boards match, except: burnet cerise damu fennel jacuzzi juniper kakadu kappa katsu kodama krane kukui makomo stern willow Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I47620e59e02a84c04dde4469f36ad37dccbcd9e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3238250 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
* bugzzy : change accel/gyro sensorYongBeum.Ha2021-11-123-3/+94
| | | | | | | | | | | | | | | | | | support LSM6DSM(LSM6DSL) for accel/gyro sensor. BUG=b:204832951 BRANCH=None TEST=make -j BOARD=bugzzy then flash and check motionsensor Signed-off-by: YongBeum.Ha <ybha@samsung.corp-partner.google.com> Change-Id: I592fdc970dda1fb9bc86c27d0ed60d8e6b5ef6e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3269256 Reviewed-by: Edward Doan <edoan@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Henry Sun <henrysun@google.com> Commit-Queue: Edward Doan <edoan@chromium.org>
* drawcia_riscv: Add RISC-V variant for Nereid reworkAndrew McRae2021-11-1211-0/+1807
| | | | | | | | | | | | | | Create an EC build for a drawcia (drawlat) that uses a pin-compatible ITE81302-512 instead of a ITE8320. BUG=b:204231736 TEST=make -j buildall BRANCH=none Change-Id: Ie4bd9eab6c9c4f8c6df26ccf614584375c653a96 Signed-off-by: Andrew McRae <amcrae@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3275100 Reviewed-by: Peter Marheine <pmarheine@chromium.org>
* Felwinter: Modified the actual_key value to mask the search keyJosh Tsai2021-11-111-1/+1
| | | | | | | | | | | | | | | Wrong actual_key value causes the search key no function. Modified the correct autaul_key to fixed this issue BUG=b:205812842 BRANCH=none TEST=DUT search key is workable Signed-off-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com> Change-Id: I9c5b71f2041046f208723e7650b9401b372e5088 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3274736 Reviewed-by: Ko Ko <ko_ko@compal.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org>
* Felwinter: Modify lid_standard_ref matrix valuestabilize-14336.B-mainearl_wang2021-11-111-3/+2
| | | | | | | | | | | | | | | | Modify lid_standard_ref matrix value to fit felwinter design. BUG=b:205670200 BRANCH=main TEST=Check "ectool motionsense" to make sure all the value are right Signed-off-by: earl_wang <earl_wang@compal.corp-partner.google.com> Change-Id: I0b5eaa6c7ef60e28c1a883bab636bcad5fb58d6d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3270228 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: Ko Ko <ko_ko@compal.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: Boris Mittelberg <bmbm@google.com>
* kano: Add battery: AP19B8M and remove unused battery.David Huang2021-11-112-55/+23
| | | | | | | | | | | | | | | Add battery: AP19B8M and remove unused battery. BUG=b:201775225 BRANCH=main TEST=Check battery can cutoff and resume from cutoff. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: I02667409b59f9de5b41a864ec83b93630d9e645f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3270229 Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: caveh jalali <caveh@chromium.org>
* kano: Add temp sensor for chargerDavid Huang2021-11-102-0/+29
| | | | | | | | | | | | | | Add temp sensor for charger. BUG=None BRANCH=main TEST=Use "ectool temps 2" to check charger sensor temperature. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: Ifbc966488a7e95be08a4964642a1f1f78111c8ba Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3263848 Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>