summaryrefslogtreecommitdiff
path: root/board/elemi/board.h
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-051-156/+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>
* keyboard_scan: Add consts needed for factory test to headerRob Barnes2021-07-281-5/+0
| | | | | | | | | | | | | | | | | Add keyboard_factory_scan_pins and keyboard_factory_scan_pins_used to keyboard_scan header so they do not need to be declared as extern by individual boards. These constants need to be defined if CONFIG_KEYBOARD_FACTORY_TEST is enabled. BUG=None TEST=Build BRANCH=None Change-Id: I1a100f626b3cea251ca72703d17b2d27db0f8f28 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053101 Commit-Queue: Diana Z <dzigterman@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
* elemi: Tune Vconn_Swap delayDevin Lu2021-04-271-0/+3
| | | | | | | | | | | | | The Vconn source should ready before PS_RDY. BUG=b:186079130 BRANCH=firmware-volteer-13672.B-main TEST=PDtrace to make sure the timing of Vconn_Swap. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I3c60ea73219497c661b6fec5add77c73a7f116b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2847714 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
* elemi: Remove CONFIG_SYSTEM_UNLOCKEDDevin Lu2021-03-121-2/+0
| | | | | | | | | | | | | Remove CONFIG_SYSTEM_UNLOCKED for firmware qual. BUG=none BRANCH=volteer TEST=make buildall Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Iba80311009ebd0b78dee68d7184e892564c43c40 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2744557 Reviewed-by: Keith Short <keithshort@chromium.org>
* elemi: Remove CONFIG_BYPASS_CBI_EEPROM_WP_CHECKDevin Lu2021-03-121-1/+0
| | | | | | | | | | | | | Remove CONFIG_BYPASS_CBI_EEPROM_WP_CHECK for firmware qual. BUG=none BRANCH=volteer TEST=make buildall Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Ie3af6ba0b6a2661c071150908a3748e3220c305c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2744556 Reviewed-by: Keith Short <keithshort@chromium.org>
* copano,drobit,elemi,lindar,voema: add CONFIG_BYPASS_CBI_EEPROM_WP_CHECKZhuohao Lee2021-03-041-0/+1
| | | | | | | | | | | | | | | In order to bypass the cbi eeprom write protection, we add the config CONFIG_BYPASS_CBI_EEPROM_WP_CHECK to bypass the write protection gpio check. BUG=b:169034911 BRANCH=volteer TEST=`ectool cbi set` is working Change-Id: Ibd1e8af4eb8f7ead506999c4ce3803fa0e341c10 Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2719725 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
* elemi: Enable keyboard factory scanningDevin Lu2021-02-041-0/+8
| | | | | | | | | | | | | | This patch add for factory keyboard connector test. BUG=none BRANCH=firmware-volteer-13672.B-main TEST=Short keyboard pins and make sure "ectool kbfactorytest" works. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I2acd2df29e477a564dbb6a13039d14749f81f935 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2666555 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* config: Provide default VCONN Swap delayAbe Levkoy2021-01-221-1/+0
| | | | | | | | | | | | | | | | | Almost every relevant board copy-pastes 5000 us. Make that the default and get rid of the redundant definitions. This is the approximate result of this command: find . -type f -name *.h | xargs sed -i -E \ '/#define CONFIG_USBC_VCONN_SWAP_DELAY_US[[:space:]]+5000[[:space:]]/d' BUG=b:144165680 TEST=make buildall BRANCH=none Change-Id: Ife86f9752971abcd7ab5ad5a5e607eb2ccbde2ba Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2628132 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
* config: Make VCONN Swap delay a documented optionAbe Levkoy2021-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | Replace PD_VCONN_SWAP_DELAY with CONFIG_USBC_VCONN_SWAP_DELAY_US. This is the approximate result of the following command, run from platform/ec: find . -type f -\( -name '*.c' -o -name '*.h' -\) | \ xargs sed -iE 's/PD_VCONN_SWAP_DELAY/CONFIG_USBC_VCONN_SWAP_DELAY/g' Fix some latent formatting errors in usb_pd_protocol.c, because they were preventing pre-upload hooks from passing. BUG=b:144165680 TEST=make buildall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: Icaf3b309c08fdcd162e960cf5dc88185016b5d2d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2628131 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
* cleanup: elemi: Remove unused sensor idDevin Lu2021-01-211-9/+0
| | | | | | | | | | | BUG=none BRANCH=firmware-volteer-13672.B-main TEST=make buildall Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I18703b4ba24e0bbdda48504c3b77023f87fe2e5b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2639421 Reviewed-by: Keith Short <keithshort@chromium.org>
* elemi: Remove CONFIG_USB_PD_TBT_COMPAT_MODEDevin Lu2021-01-191-3/+0
| | | | | | | | | | | BUG=b:177635229 BRANCH=firmware-volteer-13672.B-main TEST=make buildall Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I1c8bf9a0a6dead6ab1c0c1ad7f3b29e32c435c9d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2635873 Reviewed-by: Keith Short <keithshort@chromium.org>
* Elemi: Remove sensorsDevin Lu2020-11-301-28/+5
| | | | | | | | | | | | | | This commit remove sensors and tablet mode, since Elemi doesn't support that. BUG=b:163012636 BRANCH=firmware-volteer-13521.B-master TEST=Verified boot without sensors initial. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Icf23456763699024d934d78ac2cc20fcfcc5b9bb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2554171 Reviewed-by: Keith Short <keithshort@chromium.org>
* Elemi: Change EC chip to npcx7m7fcDevin Lu2020-11-301-0/+6
| | | | | | | | | | | | | Chagne EC chip to npcx7m7fc to board version 1. BUG=b:169118044, b:174275667 BRANCH=firmware-volteer-13521.B-master TEST=Verified boot with npcx7m7fc re-worked board. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I334f56b2f47c21ff38aeccc346b6be43fb71b7ce Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2554172 Reviewed-by: Keith Short <keithshort@chromium.org>
* elemi: Remove unused daughterboard configurationDevin Lu2020-11-161-4/+7
| | | | | | | | | | | | | | This patch remove unused daughterboard configuration since Elemi only support USB3 active doughterboard. BUG=b:173033778 BRANCH=firmware-volteer-13521.B-master TEST=Make sure daughterboard C1 port still works. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I1fd856488652aa0be8d4f1ed171609c0fcfedf8d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2534438 Reviewed-by: Keith Short <keithshort@chromium.org>
* usb: Remove references to usb23Caveh Jalali2020-11-061-11/+0
| | | | | | | | | | | | | | | | | The TCSS port mapping is not used by the EC and the higher layers no longer query the EC for this mapping. We can remove this feature and disable CONFIG_INTEL_VIRTUAL_MUX which was added to enable it. BRANCH=none BUG=b:153941950 TEST=buildall passes Change-Id: I2d7f51212f3e64d74827d7f82654eb93534b8db4 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2427632 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Commit-Queue: Keith Short <keithshort@chromium.org>
* COIL: Rename CONFIG_I2C_CONTROLLERDiana Z2020-11-051-1/+1
| | | | | | | | | | | | | Rename CONFIG_I2C_CONTROLLER and related comments. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Ied6a1829bf54a5c9a32e6772982a4b8aa31aaf23 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2518659 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
* elemi: Add batteries configurationDevin Lu2020-10-291-1/+2
| | | | | | | | | | | | | | | | Add batteries configuration as following: 1. Simplo 996QA193H 2. Cosmx CA407792G BUG=b:169409487 BRANCH=firmware-volteer-13521.B-master TEST=make sure battery charging, battery cutoff works. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I637b3bf1ea3faa5a7283de80ab9cffb196264c04 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2484114 Reviewed-by: Keith Short <keithshort@chromium.org>
* elemi: Implement LED behaviorDevin Lu2020-10-291-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Elemi have two charging leds on left side and right side. Each side have two colors amber and white. The led behavior define as following: 1. Charging led: led on with charging port active, other port is off. 2. Charging: Amber. 3. Discharging: Off. 4. Battery Error: Blinking white (0.4 sec on, 0.4 sec off) 5. Fuel < 10%: Blinking white on right side port (1 sec on, 1 sec off) 6. Force idle for factory: Blinking amber (1 sec on, 1 sec off) 7. S0ix without charging state: Blinking both side LED white (1 sec on, 1 sec off) BUG=b:169409487 BRANCH=firmware-volteer-13521.B-master TEST=make sure led behavior intended. make sure ectool led left white/amber/off/auto work correctly. make sure ectool led right white/amber/off/auto work correctly. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I9e4837ddbf300ec7a6c0e0dc8660dc157f9228aa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2484115 Reviewed-by: Keith Short <keithshort@chromium.org>
* volteer: remove volteer_tcpmv1Keith Short2020-10-161-15/+0
| | | | | | | | | | | | | | | The volteer_tpcmv1 AP image has been removed, so the EC build based on the TCPMv1 stack is no longer needed. BUG=b:170658751 BRANCH=none TEST=make buildall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I8c5c3ffc95a588d4f24846eac3558184add9a444 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2481224 Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
* elemi: Initial EC imageDevin Lu2020-09-301-0/+213
Create the initial EC image for the elemi variant by copying the volteer reference board EC files into a new directory named for the variant. (Auto-Generated by create_initial_ec_image.sh version 1.2.0). BUG=b:169409487 BRANCH=none TEST=make BOARD=elemi Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I44ad440cbc63d05b3e14288a50fa499134fadfc8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2431317 Reviewed-by: Keith Short <keithshort@chromium.org>