summaryrefslogtreecommitdiff
path: root/board/marzipan/board.h
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* mkbp: Move key simulation to input devicesBoris Mittelberg2021-05-101-0/+1
| | | | | | | | | | | | | | | | | | Today some platforms include MKBP_KEYBOARD because they use side buttons, switches or other events that share the same driver with MKBP keyboard. Those platforms don't enable KEYSCAN task. The CL is moving key emulation functionality to MKBP input devices, to make a clear separation between the real keyboard usage and emulation/buttons/switches/etc. All boards that were selecting `CONFIG_KEYBOARD_PROTOCOL_MKBP` without KEYSCAN task are now updated to select `CONFIG_MKBP_INPUT_DEVICES` BUG=b:170966461 BRANCH=main,firmware-dedede-13606.B,firmware-volteer-13672.B-main TEST=None Signed-off-by: Boris Mittelberg <bmbm@google.com> Change-Id: I515140ebf6e175f4b29991329f92266ffca232a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2824044
* Add a common header for board_vbus_sink_enable()Simon Glass2021-03-311-2/+0
| | | | | | | | | | | | | | | | This function prototype is defined in quite a few 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: I2f3f1e08614408e7b8f6bb0633a478765c73beaa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2789800 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
* Add a common header for board_is_sourcing_vbus()Simon Glass2021-03-311-2/+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>
* marzipan: Add batteries configurationDevin Lu2021-03-241-5/+2
| | | | | | | | | | | | | | | | | Add batteries configuration as following: 1. CosMX B00C3169B6D002 2. Simplo 996QA222H BUG=b:183169525 BRANCH=firmware-trogdor-13577.B-master TEST=make BOARD=marzipan Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I7bdc073f4f6bc0d357ca082210a51a7faae5b7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2780762 Reviewed-by: Wai-Hong Tam <waihong@google.com> Commit-Queue: Wai-Hong Tam <waihong@google.com>
* marzipan: Configure boardDevin Lu2021-03-241-14/+1
| | | | | | | | | | | | | | | | | | | 1. Remove ln9310 support. 2. Remove unused board REV. 3. Add support PS8755 4. Remove USB-A support 5. Remove unused GPIOs 6. Remove SKUID definition BUG=none BRANCH=firmware-trogdor-13577.B-master TEST=make BOARD=marzipan Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I8b0be5363d775d136b587bca5b0372ae94da1015 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2772407 Reviewed-by: Wai-Hong Tam <waihong@google.com> Commit-Queue: Wai-Hong Tam <waihong@google.com>
* marzipan: Initial EC imageDevin Lu2021-03-231-0/+131
Create the initial EC image for the marzipan variant by copying the lazor 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:182018606 BRANCH=firmware-trogdor-13577.B-master TEST=make BOARD=marzipan Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I8d15d2de1d104d85c12b86a7f2137d17bf2f2bdd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2780455 Reviewed-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@google.com> Commit-Queue: Wai-Hong Tam <waihong@google.com>