summaryrefslogtreecommitdiff
path: root/board/brask
Commit message (Collapse)AuthorAgeFilesLines
* 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>