summaryrefslogtreecommitdiff
path: root/board/voema/board.c
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-432/+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-1/+2
| | | | | | | | | | | | | | | | | 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>
* 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>
* voema: support factory keyboard test.David Huang2021-06-211-0/+17
| | | | | | | | | | | | | | | | | | | | | connector-to-GPIO map: {-1,-1}, { 0, 5}, { 1, 1}, { 1, 0}, { 0, 6}, { 0, 7}, {-1,-1}, {-1,-1}, { 1, 4}, { 1, 3}, {-1,-1}, { 1, 6}, { 1, 7}, { 3, 1}, { 2, 0}, { 1, 5}, { 2, 6}, { 2, 7}, { 2, 1}, { 2, 4}, { 2, 5}, { 1, 2}, { 2, 3}, { 2, 2}, { 3, 0}, {-1,-1}, { 0, 4}, {-1 -1}, { 8, 2}, {-1,-1}, {-1,-1}, BUG=b:185095078 BRANCH=volteer TEST=`ectool kbfactorytest` PASS. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: Id134930d78a0f33afcc2e87ad09367036883f49a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2944273 Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
* Voema: Enable FRSEric Herrmann2021-03-251-0/+2
| | | | | | | | | | | | | Set flag and configure GPIOs to enable Fast Role Swap. BUG=b:148144711 TEST=make buildall BRANCH=None Signed-off-by: Eric Herrmann <eherrmann@chromium.org> Change-Id: Ia3586858c89f37e42284c5e585adf1aca36c67a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2752271 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
* voema: Initialize the vivaldi keyboard.David Huang2021-01-261-0/+23
| | | | | | | | | | | | | | | | | | | Initialize the vivaldi keyboard. BUG=b:177274193 BRANCH=main TEST=manual 1. Scan all key. 2. Check action key function. 3. Check ALT + Volup + H. 4. Check ALT + Volup + R. 5. Check Refresh (F2) + powerbutton (EC reboot). 6. Check ESC + Refresh + powerbutton. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: Ib949e96910130971b41c3dd6017ac9b6f7e08ff8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2637155 Reviewed-by: Keith Short <keithshort@chromium.org>
* voema: Typec port remove unused config and reconfig tcpc/ppc config.David Huang2020-11-301-205/+27
| | | | | | | | | | | | | Remove unused configuration and gpio pin and reconfig tcpc/ppc config for voema typec port. BUG=b:169356808 BRANCH=master TEST=Check C0/C1 port workable. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: I0ff2322b1cf19e24f66745c1509b811eeff69161 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2550118 Reviewed-by: Keith Short <keithshort@chromium.org>
* voema: Enable/disable keyboard backlight when enter/leave S0David Huang2020-11-181-0/+12
| | | | | | | | | | | | | | | Use EC_KB_BL_EN to enable/disable keyboard backlight when enter/leave S0. BUG=b:169356808 BRANCH=master TEST=Check keyboard backlight status in S0/S3. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: I6f9288963cec676a155e6d5a47604d3a08a30818 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537527 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* voema: Remove fan functionDavid Huang2020-11-181-52/+0
| | | | | | | | | | | | | | Remove fan function. BUG=b:169356808 BRANCH=master TEST=make buildall succeed. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: Id3c0f4f638d09bd10afd1de523c0e458a7413936 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537526 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* voema: Modify LED control to gpioDavid Huang2020-11-181-28/+0
| | | | | | | | | | | | | | Change LED control from pwm to gpio. BUG=none BRANCH=master TEST=Check LED status in each state. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: Ic638b23dc0cd0eff0b8d252836f83b76503b192b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537525 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* usb: Remove references to usb23Caveh Jalali2020-11-061-3/+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>
* voema: remove board ID 0 checksKeith Short2020-11-051-14/+2
| | | | | | | | | | | | | | Board ID 0 checks were only used on the volteer reference board. BUG=b:149858568 BRANCH=firmware-volteer-13521.B-master TEST=make buildall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: Id55e4ca49aa584afe0ba74aec65cba0ef5c51ec9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2519964 Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
* voema: Initial EC imageYH Lin2020-10-301-0/+650
Create the initial EC image for the voema 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:171755775 BRANCH=none TEST=make BOARD=voema Signed-off-by: YH Lin <yueherngl@google.com> Change-Id: I5dacb311463af5572619d1cdd55b1920a46e18b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2508315 Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Tested-by: David Wu <david_wu@quanta.corp-partner.google.com> Commit-Queue: YH Lin <yueherngl@chromium.org>