summaryrefslogtreecommitdiff
path: root/board/icarus
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-058-863/+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: Convert usb_mux HPD functions to use mux_state_tDiana Z2021-08-301-1/+1
| | | | | | | | | | | | | | Since we have definitions for HPD IRQ and level in the mux flags, extend this to the HPD update function in the usb_mux structure as well. BRANCH=None BUG=b:172222942 TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I19c3a65fc821a341338d73fabd7876339b37fe7d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3095437 Reviewed-by: Keith Short <keithshort@chromium.org>
* adc: Remove adc_chip.h where adc.h is usedCaveh Jalali2021-08-271-1/+0
| | | | | | | | | | | | | | This removes the use of adc_chip.h where adc.h is also used. In this case, adc_chip.h is redundant. BRANCH=none BUG=b:181271666 TEST=buildall passes Change-Id: Id7baf9aef949447a4d47934242f9bae97c971262 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3120317 Reviewed-by: Keith Short <keithshort@chromium.org>
* keyboard_scan: Add consts needed for factory test to headerRob Barnes2021-07-281-2/+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>
* Cozmo: Add new battery informationSue Chen2021-06-292-0/+30
| | | | | | | | | | | | | new battery config : AP18C7K BUG=none BRANCH=icarus TEST=Check found battery info in console and cutoff work. Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Change-Id: Ic7c91997e495a2e7197f059a90edda286f207969 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2959007 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* kukui: move common mkbp wake events to baseboard.hEric Yilun Lin2021-06-291-4/+0
| | | | | | | | | | | | | | | | also, kodama(detachable) missed MODE_CHANGE event, add it back. BUG=none TEST=make buildall BRANCH=kukui,icarus Change-Id: Id7139ef64caf28720d389d8c048bfd724b42ba95 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2987227 Tested-by: Eric Yilun Lin <yllin@google.com> Auto-Submit: Eric Yilun Lin <yllin@google.com> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
* Cozmo: support factory keyboard test.Sue Chen2021-06-233-0/+30
| | | | | | | | | | | | | | | | | | | | | connector-to-GPIO map: {-1, -1}, {GPIO_KSO_H, 4}, {GPIO_KSO_H, 0}, {GPIO_KSO_H, 1}, {GPIO_KSO_H, 3}, {GPIO_KSO_H, 2}, {-1, -1}, {-1, -1}, {GPIO_KSO_L, 5}, {GPIO_KSO_L, 6}, {-1, -1}, {GPIO_KSO_L, 3}, {GPIO_KSO_L, 2}, {GPIO_KSI, 0}, {GPIO_KSO_L, 1}, {GPIO_KSO_L, 4}, {GPIO_KSI, 3}, {GPIO_KSI, 2}, {GPIO_KSO_L, 0}, {GPIO_KSI, 5}, {GPIO_KSI, 4}, {GPIO_KSO_L, 7}, {GPIO_KSI, 6}, {GPIO_KSI, 7}, {GPIO_KSI, 1}, {-1, -1}, {GPIO_KSO_H, 5}, {-1, -1}, {GPIO_KSO_H, 6}, {-1, -1}, {-1, -1}, BUG=none BRANCH=icarus TEST=`ectool kbfactorytest` PASS. Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Change-Id: Ifc22d87f84ce86dee6f68b33a2a9a2964f71170f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2936262 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* Cozmo: Remove CONFIG_SYSTEM_UNLOCKEDSue Chen2021-06-221-2/+0
| | | | | | | | | | | | | | | Disable CONFIG_SYSTEM_UNLOCKED for faft_ec_fw_qual test. BUG=b:191221606 BRANCH=icarus TEST=firmware_ECSystemLocked and firmware_PDProtocol.ec_wp pass. Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Change-Id: I325078cd04b85fbb91069e6fe2d557d3f64bb6ea Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2977857 Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org> Commit-Queue: Chen-Tsung Hsieh <chentsung@chromium.org>
* Cozmo: Add new battery informationSue Chen2021-05-132-0/+88
| | | | | | | | | | | | | new battery config : AP19B5K, AP19B8K, AP20CBL BUG=none BRANCH=icarus TEST=Check found battery info in console and cutoff work. Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Change-Id: Iffadbb28c03814f752e6b26727b2de22e943dd70 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2796834 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* LED On/Off: Make battery LED optionalDiana Z2021-04-221-5/+6
| | | | | | | | | | | | | | | 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>
* Cozmo: Remove motion sensorsSue Chen2021-04-064-211/+4
| | | | | | | | | | | | | For Cozmo is clamshell, it doesn't have motion sensors. BUG=b:183454206 BRANCH=icarus TEST=make BOARD=icarus Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Change-Id: I3da637bdc5a5ea4a11e1b715fdd8bff030e388b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2799331 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* Add a common header for board_is_sourcing_vbus()Simon Glass2021-03-311-1/+0
| | | | | | | | | | | | | | | | This function prototype is defined in lots of files, none of which is visible to Zephyr. Add a prototype in one place and remove the others. BUG=b:183296099 BRANCH=none TEST=make buildall Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: Ia324327a69b117483ab9ee5c85eba93c0fb5ad9c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2789799 Reviewed-by: Jack Rosenthal <jrosenth@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>
* Cozmo: Remove tablet mode relative functionSue Chen2021-03-303-3/+6
| | | | | | | | | | | | | | For Cozmo is clamshell, it doesn't need tablet mode function. BUG=b:183454206 BRANCH=icarus TEST=make sure the DUT doesn't change to tablet mode while the TABLET_MODE_L is low. Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Change-Id: I74b5d35b69a19c6fb99ee94ba7ff4e81b94dee35 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2784339 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* board/icarus: initial it81202 based boardDino Li2021-03-037-364/+213
| | | | | | | | | | | | | | | | This change is based on jacuzzi's board code and modified for it81202. BUG=b:180668427 BRANCH=none TEST=- Booted to kernel. - Battery charging/discharging works fine. - LEDs works fine. Change-Id: Ie6e7763fe7bd652ae87e69ddbba08c5022b0818c Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2706663 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
* icarus: Initial EC imageDino Li2021-03-037-0/+1076
Create the initial EC image for the icarus variant by copying the jacuzzi 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:180668427 BRANCH=None TEST=make BOARD=icarus Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Change-Id: I87556495d0b85c7a6b617bade3ec6433a2daa1ce Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2719403 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@chromium.org>