summaryrefslogtreecommitdiff
path: root/board/brask
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-0512-1366/+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>
* Add math_lib for 32 bit boards that use pd_timerDenis Brockus2021-09-271-0/+3
| | | | | | | | | | | | | | | | | | pd_timer was changed to use bitmask_uint64 to create the equivalent of BIT(o) for uint64_t bitmasks BUG=none BRANCH=none TEST=make buildall Signed-off-by: Denis Brockus <dbrockus@google.com> Change-Id: I7cc6a24771a9c5e1050fa1c3ff1391ef77518b80 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3182631 Tested-by: Denis Brockus <dbrockus@chromium.org> Auto-Submit: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Yuval Peress <peress@google.com> Reviewed-by: Yuval Peress <peress@google.com>
* brask: Change maximum power for typecDavid Huang2021-09-231-2/+2
| | | | | | | | | | | | | | Add typec support power to 100W. BUG=b:197702356 BRANCH=None TEST=make buildall success. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: I8e8527cdfe80a59e05cef6a2aa7962c6fe90a255 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3178340 Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
* BB Retimer: Add new HPD callback to boardsDiana Z2021-09-161-0/+2
| | | | | | | | | | | | | | | Now that the BB retimer has its own HPD interface, add this interface to every board using the bb_usb_retimer driver. BRANCH=None BUG=b:195773400 TEST=on voxel, pass tast typec.Mode*.manual Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Ia70d139431739e8f2c0577359cb3aaa7fb906d0a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3163930 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
* brask: Add led controlDavid Huang2021-09-154-1/+269
| | | | | | | | | | | | | | | Add led control from puff. BUG=b:197471359 BRANCH=none TEST=make buildall -j succeeded. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: Iab7d9c207d72c18658c3345c4467b20a23e48b5f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3139714 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Commit-Queue: Boris Mittelberg <bmbm@google.com>
* brask: Support cecDavid Huang2021-09-032-1/+8
| | | | | | | | | | | | | | Enable support cec function BUG=b:197474873 BRANCH=None TEST=make builadall -j Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: I6e626425853ef7261efdb8f40905ddcbfd4f48f1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3139615 Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Commit-Queue: Zhuohao Lee <zhuohao@chromium.org>
* brask: modify the usbc settingZhuohao Lee2021-08-257-204/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | There are 3 usb typec ports in the brask. The configuration listed below: Port 0: TCPC NCT3808-1, TCPPC SYV682B, Burnside Bridge retimer. Port 1: TCPC RT1716, TCPPC SYV682B, Kandou KB8002. Port 2: TCPC NCT3808-2, TCPPC SYV682B, Burnside Bridge retimer. In order to support the above configuration, this patch modifies: 1. use syv682v instead of using nv20p3483. 2. use rt1716 instead of using ps8815. 3. use kb800x retimer. 4. remove the fw_config because we don't need it to switch the different DBs. BUG=b:191637086 BRANCH=None TEST=make BOARD=brask Change-Id: Ie09aef9dc7cc7a532b34d86ea022127099f7735e Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3115807 Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com>
* brask: configure the usb type-a portZhuohao Lee2021-08-251-1/+1
| | | | | | | | | | | | | Set USB_PORT_COUNT to 4 to support 4 usb type-a ports. BUG=b:191637086 BRANCH=None TEST=make BOARD=brask Change-Id: I5c958e04a41af99448e03d79533a847959972408 Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114502 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* brask: add the barrel jack supportZhuohao Lee2021-08-251-0/+3
| | | | | | | | | | | | | | This patch adds the barrel jack support. BUG=b:191637086 BRANCH=None TEST=make BOARD=brask Change-Id: Iea2df9c6a478b45cfc4a56e11f1aeb6d6b2adba2 Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114501 Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com>
* brask: add recovery button supportZhuohao Lee2021-08-251-0/+2
| | | | | | | | | | | | | | | | | There is a dedicated recovery button for the brask. This patch adds the CONFIG_DEDICATED_RECOVERY_BUTTON and CONFIG_DEDICATED_RECOVERY_BUTTON_2 to enable it. Besides, the CONFIG_EMULATED_SYSRQ and CONFIG_MKBP_INPUT_DEVICES are added to let the EC pass the button state to the AP BUG=b:191637086 BRANCH=None TEST=make BOARD=brask Change-Id: Ic6ea693bbbc0bcd0d502d2636636bc38e080b1e9 Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114500 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* brask: modify adc and sensor nameZhuohao Lee2021-08-252-45/+39
| | | | | | | | | | | | | | | This patch modifies the adc and sensor name according to the brask rev0818 schematics. BUG=b:191637086 BRANCH=None TEST=make BOARD=brask Change-Id: I3cab36d79041dd203fe9c31994ac99795afd384e Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114499 Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com>
* brask: modify gpio.inc and i2c.cZhuohao Lee2021-08-255-75/+135
| | | | | | | | | | | | | | | This patch modifies the gpio.in and i2c.c based on the brask rev0818 schematics. Since pins' name are changed, the board.c and usbc_config.c are changed to avoid the build error. BUG=b:191637086 BRANCH=None TEST=make BOARD=brask Change-Id: If20fccac4543611bbcea067abbf91638ac4d66b3 Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114498 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* brask: remove unnecessary configurationZhuohao Lee2021-08-2514-963/+35
| | | | | | | | | | | | | | | | | | | | | This patch removes the configuration for the battery, charger, fan control, board id, keyboard, keyboard backlight, sensor, hibernate and led. In order to make the build pass, the CONFIG_ADC, CONFIG_POWER_BUTTON_IGNORE_LID and CONFIG_POWER_BUTTON_INIT_IDLE are added to the board.h/baseboard.h. In additional, the function board_set_active_charge_port() and board_set_charge_limit() are added to the board.c to avoid build error. BUG=b:191637086 BRANCH=None TEST=make BOARD=brask Change-Id: I15c01820dbd2f58f5722c87de51ebf425ffca13a Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114497 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: caveh jalali <caveh@chromium.org>
* Brask: Initial the baseboard and boardZhuohao Lee2021-08-2518-0/+2120
The baseboard/brask and board/brask are copied from the brya. Two difference are make: 1. change BASEBOARD to brask in the build.mk to point to the brask. 2. move the generated-gpio.inc to the gpio.inc BUG=b:191637086 BRANCH=None TEST=Build passed with: 1.make BOARD=brask 2.make buildall Change-Id: I57439cffa770b3e838f372f60ed1670ac0b435d8 Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3115806 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: caveh jalali <caveh@chromium.org>