summaryrefslogtreecommitdiff
path: root/board/collis
Commit message (Collapse)AuthorAgeFilesLines
* ish: Trim down the release branchstabilize-wristpin-14469.59.B-ishstabilize-voshyr-14637.B-ishstabilize-quickfix-14695.187.B-ishstabilize-quickfix-14695.124.B-ishstabilize-quickfix-14526.91.B-ishstabilize-14695.85.B-ishstabilize-14695.107.B-ishstabilize-14682.B-ishstabilize-14633.B-ishstabilize-14616.B-ishstabilize-14589.B-ishstabilize-14588.98.B-ishstabilize-14588.14.B-ishstabilize-14588.123.B-ishstabilize-14536.B-ishstabilize-14532.B-ishstabilize-14528.B-ishstabilize-14526.89.B-ishstabilize-14526.84.B-ishstabilize-14526.73.B-ishstabilize-14526.67.B-ishstabilize-14526.57.B-ishstabilize-14498.B-ishstabilize-14496.B-ishstabilize-14477.B-ishstabilize-14469.9.B-ishstabilize-14469.8.B-ishstabilize-14469.58.B-ishstabilize-14469.41.B-ishstabilize-14442.B-ishstabilize-14438.B-ishstabilize-14411.B-ishstabilize-14396.B-ishstabilize-14395.B-ishstabilize-14388.62.B-ishstabilize-14388.61.B-ishstabilize-14388.52.B-ishstabilize-14385.B-ishstabilize-14345.B-ishstabilize-14336.B-ishstabilize-14333.B-ishrelease-R99-14469.B-ishrelease-R98-14388.B-ishrelease-R102-14695.B-ishrelease-R101-14588.B-ishrelease-R100-14526.B-ishfirmware-cherry-14454.B-ishfirmware-brya-14505.B-ishfirmware-brya-14505.71.B-ishfactory-kukui-14374.B-ishfactory-guybrush-14600.B-ishfactory-cherry-14455.B-ishfactory-brya-14517.B-ishJack Rosenthal2021-11-059-1234/+0
| | | | | | | | | | | | | | | | | | | | | | In the interest of making long-term branch maintenance incur as little technical debt on us as possible, we should not maintain any files on the branch we are not actually using. This has the added effect of making it extremely clear when merging CLs from the main branch when changes have the possibility to affect us. The follow-on CL adds a convenience script to actually pull updates from the main branch and generate a CL for the update. BUG=b:204206272 BRANCH=ish TEST=make BOARD=arcada_ish && make BOARD=drallion_ish Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I17e4694c38219b5a0823e0a3e55a28d1348f4b18 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3262038 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
* USB MUX: Update mux HPD update interface to use mux_state_tDiana Z2021-09-161-3/+4
| | | | | | | | | | | | | | | | | Since the drivers are now taking a mux_state_t set of flags to update, go ahead and unify the usb_mux API this way as well. It makes the parameters more apparent than the 1/0 inputs, and aligns the stack to use the same parameters. BRANCH=None BUG=b:172222942 TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Ie943dbdf03818d8497c0e328adf2b9794585d96e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3095438 Commit-Queue: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
* collis: The Type-C PDO "PD_MAX_POWER_MW" change to 45wMichael5 Chen12021-08-171-2/+3
| | | | | | | | | | | | | | | The Type-C PDO "PD_MAX_POWER_MW" change to 45w from 60w BUG=b:196325467 BRANCH=firmware-volteer-13672.B TEST=manual Check PDO using command "ectool usbpdpower". Signed-off-by: Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: Ie9d892eb22f9b486ceabfa2824819a6689b4046c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3093350 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* collis: Remove config for first stable firmwareJacky Wang2021-08-101-4/+0
| | | | | | | | | | | | | | | 1.Remove CONFIG_SYSTEM_UNLOCKED 2.Remove CONFIG_BYPASS_CBI_EEPROM_WP_CHECK BUG=b:186334929 BRANCH=firmware-volteer-13672.B TEST=make BOARD=collis Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Change-Id: Ia8563c578bca64a828817dfe2ffb09623a60050d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3081040 Reviewed-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> Reviewed-by: Keith Short <keithshort@chromium.org>
* collis: Remove TBT/USB4 settingJacky Wang2021-08-052-20/+2
| | | | | | | | | | | | | | | 1. Disable Thunderbolt-compatible mode 2. Disable USB4 mode BUG=b:188021567 BRANCH=firmware-volteer-13672.B TEST=make BOARD=collis 1. Verified pass by QTC. Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Change-Id: Ic6730be5667dcf0d6d86b9e0f7ca372fb709a380 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3063862 Reviewed-by: Keith Short <keithshort@chromium.org>
* lid_angle: Create a common callback for lid angle changesWai-Hong Tam2021-08-051-19/+0
| | | | | | | | | | | | | | | | | | | | | | Each board defines its own callback lid_angle_peripheral_enable(). The implementation is very similar. Create a common implementation and reduce the duplicated code. This CL removes the board callbacks which are identifical to the common callback. If it is slightly different, keep it and add the __override tag. The check of TEST_BUILD is unnecessary as the board callback is not linked in the test build. BRANCH=None BUG=b:194922043 TEST=Build all the images. Change-Id: I73d381730f35b80eff69399cdfc5fb54f839aee0 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3069175 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
* keyboard: Use __override for keyboard_scan_configDaisuke Nojiri2021-07-231-1/+1
| | | | | | | | | | | | | | | | | Currently keyboard_scan_config is defined by each board using CONFIG_KEYBOARD_BOARD_CONFIG. This patch makes it defined as __override hence removes CONFIG_KEYBOARD_BOARD_CONFIG. BUG=None BRANCH=None TEST=buildall Change-Id: I53a356741ba4d00e829ca59b74ee6dc704188728 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044403 Tested-by: Gwendal Grignou <gwendal@chromium.org> Commit-Queue: Gwendal Grignou <gwendal@chromium.org> Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
* collis: gyro sensor add 2nd source icm-40608Jacky Wang2021-07-143-2/+75
| | | | | | | | | | | | | | | | | | gyro sensor add 2nd source icm-40608 BUG=b:193476997 BRANCH=firmware-volteer-13672.B TEST=make BOARD=collis 1. Set CBI SSFC 0x2 and using command "watch ectool motionsense lid_angle" for sensor icm-40608. 2. Using command "watch ectool motionsense lid_angle" for BMI160. Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Change-Id: I4633cb25f9ef7f93d556370b7bc8d78489f75813 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023505 Reviewed-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> Reviewed-by: Keith Short <keithshort@chromium.org> Tested-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
* collis: gyro sensor add 2nd source KX022Jacky Wang2021-07-122-3/+39
| | | | | | | | | | | | | | | | Gyro sensor add 2nd source KX022. BUG=b:193378998 BRANCH=firmware-volteer-13672.B TEST=make BOARD=collis 1. Set CBI SSFC 0x10 and using command "ectool motionsense" for sensor kxo22. 2. Using command "ectool motionsense" for sensor BMA253. Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Change-Id: If7ad58f8291743dcde87cf084e990ae312f2fd8a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3020643 Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
* collis: Config lid rotation matrix.Michael5 Chen12021-06-021-2/+2
| | | | | | | | | | | | | | | | Config lid rotation matrix. BUG=b:189906883 BRANCH=volteer TEST=manual Using ectool command "ectool motionsense lid_angle" and check angle from 0 to 360 degree. Signed-off-by: Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: I1e7b474d16c36741420de0fc9094c85da9d0721a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2931752 Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com>
* collis: Fine tune keyboard backlight PWM frequencyMichael5 Chen12021-05-121-1/+1
| | | | | | | | | | | | | | Fine tune keyboard backlight PWM frequency from 2.4kHz to 10kHz. BUG=b:187664424 BRANCH=firmware-volteer-13672 TEST=make BOARD=collis Signed-off-by: Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: I6942a24a3764123e98895d83c483d3da4eb3eea2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2887024 Reviewed-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
* collis: Config the EC battery setting.Jacky Wang2021-05-122-19/+19
| | | | | | | | | | | | | | | | | | | Config the EC battery setting depend on battery spec. BUG=b:187366003, b:186609352 BRANCH=firmware-volteer-13672.B TEST=make BOARD=collis 1. Check battery found on EC log. 2. Check battery cutoff function on EC console. 3. Check battery charging FET status when battery full. Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Change-Id: I76f24e2ca0d0f6806e597fdcafaa9a39f8bd84d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2875912 Reviewed-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Commit-Queue: Zhuohao Lee <zhuohao@chromium.org>
* LED On/Off: Make battery LED optionalDiana Z2021-04-221-4/+5
| | | | | | | | | | | | | | | Currently, all boards using the LED On/Off module have battery LEDs. However, if we'd like to expand support to Chromeboxes then the battery LED must become optional. BRANCH=None BUG=b:185508707 TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Ieae098829ebe6c8b103f23d5abdbf70e7bcbdf2d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2832692 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
* genvif: Use VIF overrides by defaultAbe Levkoy2021-03-301-0/+3
| | | | | | | | | | | | | | Use board-specific override files when generating VIFs for boards. BUG=b:172276715 TEST=make buildall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I197365018ceb8197c22d631cebf4cbce1c0119f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2785506 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
* collis: Initial TCPC configurationJacky Wang2021-03-252-49/+75
| | | | | | | | | | | | | Update TCPC configuration from RT1715 to PS8815 BUG=b:182960982 BRANCH=firmware-volteer-13672.B TEST=make BOARD=collis Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Change-Id: I382e828cb656e80ea1892f8c60d7f21d89f86368 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2767055 Reviewed-by: Keith Short <keithshort@chromium.org>
* collis: Config the GPIO setting for lid and tablet modeJacky Wang2021-03-221-2/+2
| | | | | | | | | | | | | | | 1. Swap EC_LID_OPEN and TABLET_MODE_L GPIO setting base on schematics BUG=b:183076725 BRANCH=firmware-volteer-13672.B TEST=make BOARD=collis Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Change-Id: Icce3bdfa5fa5fc60d770a50e024f9e36531f3f51 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2772400 Reviewed-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
* collis: Initial EC imageMichael5 Chen12021-03-118-0/+1134
Create the initial EC image for the collis variant by copying the copano 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:182227204 BRANCH=None TEST=make BOARD=collis Signed-off-by: Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: Idd409872bf244651d138dd2a102e084cc6349498 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2747557 Reviewed-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>