summaryrefslogtreecommitdiff
path: root/board/spherion
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-606/+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>
* 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>
* spherion: enable USMEric Yilun Lin2021-08-202-1/+13
| | | | | | | | | | | | | | | | | | Ultrasonic Module(USM) is used for noise cancelling the buzzing sound while charging. The sound is louder if we have USB peripheral connected. We only enable this function in S0, and disable it in S3 because the power consumption is significant. BUG=b:185978753 TEST=make buildall BRANCH=asurada Change-Id: Ic2bfbf5a1364f5da6d776a1be56abb66934f9496 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3105905 Tested-by: Eric Yilun Lin <yllin@google.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com>
* spherion: config GPIOA2 to INPUT + PULL DOWNBen Chen2021-08-021-1/+1
| | | | | | | | | | | | | | sysjump to RW the GPIO init PULL up, will cause keyboard backlight blinking. BUG=b:194047863 BRANCH=asurada TEST=sysjump RO/RW to check, backlight don't blinking. Change-Id: I27adfb99b2b9c7708302556eb07b87d5130db777 Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3063877 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* spherion: support thermal charge policyBen Chen2021-06-162-1/+47
| | | | | | | | | | | | | | | | | | | | | | supports skin temperature thermal policy from charge current setting via charger temperature threshols hit/release. setting input max current to 3.1A. The charging limitation is listed below: While NB in OS, sample temperature as chager task Tsens < 48 degree C , No limitation Tesen > 48 degree C , Limit charge current at 3.1A Tsens > 52 degree C , Limit charge current at 2.2A BUG=b:183174897 BRANCH=asurada TEST=The thermal test report PASS, make builadall PASS. Change-Id: I1d66fb133324e186c58a716b9c61e07b3edbdd7e Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2962200 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
* spherion: support 65w adapterstabilize-14013.B-mainBen Chen2021-06-041-0/+9
| | | | | | | | | | | | | | modify max power and max current to support 65w adapter, SYV682X_HV_ILIM to 5.5A BUG=b:183174897 BRANCH=asurada TEST=make buildall PASS Change-Id: I704ad3a647a2007b808d55928298fd38c34387fe Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793851 Reviewed-by: Eric Yilun Lin <yllin@google.com>
* asurada: implement customized usb port power controlTing Shen2021-05-261-1/+2
| | | | | | | | | | | | | | | | | | | | | Some Sandisk stickers would enter fault status (down-train to USB2 or not detected) if Vbus is applied before xhci initialization. To fix this, copy usb_port_power_dumb.c to baseboard folder to implement board-specific enable mechanic. BUG=b:187149602 TEST=manually BRANCH=asurada Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: I80536b640b4f67a4c17a3da7b193c92ab2f7b3eb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2909972 Tested-by: Ting Shen <phoenixshen@chromium.org> Auto-Submit: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Eric Yilun Lin <yllin@google.com>
* hayato: Modify HS Detector threshold of PS8743 setting valueMichael5 Chen12021-05-101-0/+9
| | | | | | | | | | | | | | | Modify HS detector threshold setting (0x3C) to 0x60 for USB-C C1 port signal quality. BUG=b:177980418 BRANCH=asurada TEST=manual Run command "ectool i2cread 8 4 0x20 0x3c" to check register value. Signed-off-by: Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: I97b6bb16e7c5298ff42e35d936e0f9e60ec3b730 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2845564 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* asruada: undef USB_PD_DEBUG_LEVELEric Yilun Lin2021-04-271-1/+0
| | | | | | | | | | | | | | BUG=none TEST=make buildall BRANCH=asurada Change-Id: Ice2b4f5bf95fe88bd075fda892731ba0d6c96d0e Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2853086 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>
* asurada: move board_get_vbus_adc to common codeEric Yilun Lin2021-04-271-13/+0
| | | | | | | | | | | | | | BUG=none TEST=make buildall -j BRANCH=asurada Change-Id: I03bc55c3d55927866355b457ec4b17f75d32f60f Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2852359 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>
* spherion: add new keyboardBen Chen2021-04-231-0/+2
| | | | | | | | | | | | | This CL implements F2 refresh key to ROW3 BUG=b:181102461 BRANCH=asurada TEST=none Change-Id: I49a05c6ea3b2fcce8c2d914f3d9390903e49c617 Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2825716 Reviewed-by: Ting Shen <phoenixshen@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>
* spherion: fix kblight will blinking in DC mode.Ben Chen2021-04-202-1/+2
| | | | | | | | | | | | | | Undefine CONFIG_LOW_POWER_S0, don't enter power saving in S0 state. BUG=b:185438302 BRANCH=asurada TEST=make buildall PASS, the kb light function is PASS. Change-Id: Ife9796c0ada5213cd8d9e9cf9fbb086603b76d1d Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2830667 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* asurada: drop CONFIG_BRINGUPEric Yilun Lin2021-04-201-1/+0
| | | | | | | | | | | | | | The power sequence status is stable now. BUG=none TEST=make buildall BRANCH=asurada Change-Id: Ibdf644336f1aaefd185d983cd36efde67614d951 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2835257 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
* asurada/spherion: Remove CONFIG_SYSTEM_UNLOCKEDYu-Ping Wu2021-04-191-1/+0
| | | | | | | | | | | | | | | | Remove CONFIG_SYSTEM_UNLOCKED for asurada, hayato and spherion to avoid unnecessary sysjump when flashing EC with write protect enabled. BUG=b:160229421, b:185433646 TEST=emerge-asurada chromeos-ec TEST=firmware_WriteProtectFunc passed on Hayato BRANCH=asurada Change-Id: I76c9f381a1dd3b4f0e4e3e990ceb7a8c3c0e4128 Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2834754 Reviewed-by: Eric Yilun Lin <yllin@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@chromium.org>
* spherion: config ADC thermal sensor and KB_BL_ENBen Chen2021-04-133-4/+62
| | | | | | | | | | | | | | config adc temp senosr enable, re-config KB_BL_EN to gpioG3 from GPIOI7 BUG=b:184885443 BRANCH=asurada TEST=make buildall PASS Change-Id: Ia0d12724ca33295f2817ee2a9a32dbff09aba87a Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2816939 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* asurada : measure VBUS by ADC.Eric Yilun Lin2021-04-081-6/+2
| | | | | | | | | | | | | | | | | | | | Dual VBUS ADC are supported since board revision >= 4. This is to address the inaccurate VBUS present detection on SYV682x. SYV682X assumes can only recognize VBUS equals Vsafe5V or Vsafe0V. If the VBUS is not falling at the both range, it assume the VBUS > vSafe5V and thus VBUS is presented. But if the votlage is fallint between Vsafe5V and Vsafe0V, it still thinks VBUS presented, and this is a false positive. BUG=b:181203590 TEST=ensure VBUS ADC reports reasonable value BRANCH=asurada Change-Id: I1b57395216f1d6788bcd09306b503bdd3b49ddc8 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793853 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* spherion: remove motion sensor functionBen Chen2021-04-064-150/+4
| | | | | | | | | | | | | | Not supports tablet mode, disable motion sensor function. BUG=b:183064682 BRANCH=asurada TEST=check ec console don't initialize motion sensors. Change-Id: Ibeadb05849bb7e4bdd8bb780be805ef1d057e945 Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2794201 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@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>
* spherion: enable GPIO_EN_SPL_Z at hibernate processBen Chen2021-03-251-1/+0
| | | | | | | | | | | | | Default implement GPIO_EN_SLP_Z at hibernate process BUG=b:183574877 BRANCH=asurada TEST=make buildall PASS Change-Id: I58c26fa8505c4f528507e5eae4d48d4751fceda5 Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2784325 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* spherion : Add battery AP15O5LBen Chen2021-03-222-1/+30
| | | | | | | | | | | | | | | | Add new battery AP15O5L BUG=b:183159433, b:183140396 BRANCH=asurada TEST=1) See "[found batt:PANASONIC KT00305013]" on EC console 2) battery readings looks reasonable. 3) cutoff workable. Change-Id: I5d27a25fd0bc3211545cb9220384671be21aea6e Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2772409 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
* spherion: config PWM KB backlight controlBen Chen2021-03-193-1/+41
| | | | | | | | | | | | | | | | | | Move asurada baseboard PWM channels definition to board control. Config gpio keyboard backlight en pin, and enable/disable in power on/off sequence BUG=b:181799718 BRANCH=none TEST=make buildall TEST=run 'kblight' EC console command to verify keyboard backight TEST=run 'ectool verify pwmsetkblight' to verify keyboard backlight Change-Id: If7afbd4f21dd6b0500525d08ec7786071c3523c1 Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2738494 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Yilin Yang (kerker) <kerker@chromium.org>
* spherion: Reconfig LED conftol, and update Led behaviorBen Chen2021-03-043-61/+21
| | | | | | | | | | | | | | | | | | | | | | CONFIG GPIOA0, GPIOA1, GPIOA2 to INPUT type Supports the LED control Behavior as below Charge: Amber on (S0/S3/S5) Full: Blue on (S0/S3/S5) Discharge in s0: Blue on Discharge in s3: Amber on 1 sec off 3 sec Discharge in s5: off Error: Amber on 1 sec off 1 sec Factory mode: Blue on 2 sec Amber on 2 sec BUG=b:181799732 BRANCH=none TEST=make buildall PASS Change-Id: Ia54bc078cd26b80d8ca44517d72663b1482d0378 Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2734062 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* spherion: add new boardEric Yilun Lin2021-02-057-0/+603
Copy asurada board with some minor fix to build successfully. BUG=b:178440482 TEST=make BOARD=spherion BRANCH=none Change-Id: Ia679a542460ace781eae0f9d60ad65a25d96eb3c Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2677608 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>