summaryrefslogtreecommitdiff
path: root/zephyr/projects/brya/brya
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-055-180/+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>
* zephyr: convert fwctrl register to syscon driverYuval Peress2021-09-271-0/+2
| | | | | | | | | | | | | | | | Note that currently CONFIG_SYSCON=y is required. There's an ongoing PR (https://github.com/zephyrproject-rtos/zephyr/pull/38762) to remove that requirement in favor of simply detecting an enabled node in DT via the compatible string. BRANCH=none BUG=b:179900857, b:165777478, b:200642229 TEST=zmake testall Signed-off-by: Yuval Peress <peress@google.com> Change-Id: Idad1f53afbda503e0e0b2fdf2931d5267a391d4d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3177749 Reviewed-by: Sam Hurst <shurst@google.com>
* zephyr: brya: delete duplicate GPIO interrupt definitionKeith Short2021-09-171-3/+1
| | | | | | | | | | | | BUG=none BRANCH=none TEST=zmake configure -b zephyr/projects/brya/brya Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: If780dd6dfc92e0dabbe7c1aff19d2c0fe945c6d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3169561 Commit-Queue: Yuval Peress <peress@google.com> Reviewed-by: Yuval Peress <peress@google.com>
* zephyr: zmake: implement multiple toolchain support/probingJack Rosenthal2021-09-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our GitLab builder uses different toolchains than the supported ones we use for development. At present, this means that the GitLab CI needs to call -t for each build with the desired toolchain, preventing us from using the more general commands "zmake coverage" or "zmake testall". Extend the idea of toolchain in our config files to be "supported toolchains" instead (i.e., multiple toolchains can be supported instead of one. We do this by refactoring our toolchain support code to consist of two related methods: - "probe" returns True if the toolchain is detected on the system, or False otherwise - "get_toolchain_config" returns the BuildConfig associated with the toolchain for the system, mirroring the functionality previously implemented in lambda functions. Also dropped support for arm-none-eabi, as I believe this was only used early on during scarlet development, and am not aware of any current users. BUG=b:178731498 BRANCH=none TEST=./run_tests.sh TEST=zmake testall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I9b2ad508ae6703f0c3b56518fc32606c0ff1777c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3134668 Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr: rename kconfig PLATFORM_EC_VBOOTJack Rosenthal2021-08-111-1/+1
| | | | | | | | | | | | | | | | | | | Rename CONFIG_PLATFORM_EC_VBOOT to CONFIG_PLATFORM_EC_VBOOT_EFS2, since this is what is actually toggled by the config. EFS2 is only a small component of verified boot, and we have many boards which don't actually use it (e.g., trogdor family) for verified boot, making the existing name very confusing. BUG=none BRANCH=none TEST=zmake testall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I68ea5815b4a001c680fc78196bb7a02815799b52 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3088164 Commit-Queue: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org>
* zephyr: drop v2.5 support from all projectsJack Rosenthal2021-08-111-1/+0
| | | | | | | | | | | | | | | | Remove support for v2.5 for all projects which still indicate it's supported. BUG=b:195571108 BRANCH=none TEST=zmake testall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I5c22e382545741181866a4e88cb3d486a392f2f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3086365 Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* zephyr: move all the boards directories under zephyr/boardsJack Rosenthal2021-07-161-2/+0
| | | | | | | | | | | | | | | | | | | | Move all the boards directories together under zephyr/boards from their scattered locations under projects/. This is the first step towards de-coupling the concept of a Zephyr board from baseboard/board/model, as it currently is. Further work will be required to actually unify these directories and delete the baseboard-specific names from our tree. BUG=b:193814903 BRANCH=none TEST=zmake testall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I33a344af6890b2c2c54f1e91f0f0fa85caaf19d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3035222 Commit-Queue: Yuval Peress <peress@chromium.org> Reviewed-by: Yuval Peress <peress@chromium.org>
* system: Clean up system_get_board_version()Philip Chen2021-07-091-1/+2
| | | | | | | | | | | | | | | | | | | Refactor system_get_board_version() a bit so that we can remove CONFIG_BOARD_VERSION_CUSTOM and CONFIG_BOARD_VERSION from config.h. BRANCH=None BUG=b:186264627 TEST=make buildall -j TEST=zmake testall Cq-Depend: chromium:3015243 Change-Id: Id5ab809493c297b7d330ea13dcd6934ec00042a6 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3004112 Commit-Queue: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
* zephyr: fix CQ when migrating to 2.6Yuval Peress2021-06-231-0/+1
| | | | | | | | | | | | | | | As it turns out the CQ can't checkout both 2.5 and 2.6. For now each project will need to support both. BRANCH=none BUG=b:190731415, b:191892353 TEST=emerge-volteer-zephyr chromeos-base/chromeos-zephyr Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: Ib73777560ad40b5d45f79d30525ced26e1acfb41 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2983841 Reviewed-by: Jora Jacobi <jora@google.com> Commit-Queue: Jora Jacobi <jora@google.com>
* zephyr: brya: uptick zephyr version to 2.6Yuval Peress2021-06-231-1/+1
| | | | | | | | | | | BRANCH=none BUG=b:190731415 TEST=flash EC and verify sysjump Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: Ia4f0edc00399430c7a949066967c63707a7a7a64 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2983838 Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: brya: enable keyboardYuval Peress2021-06-092-2/+18
| | | | | | | | | | | | BRANCH=none BUG=b:188605676 TEST=`ksstate on` in EC console, observe keyboard matrix in real time Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I1b0d26b4ade8298bc91dec2df274d9a159e9bc39 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2932462 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: brya: enable espiYuval Peress2021-06-072-0/+10
| | | | | | | | | | | | BRANCH=none BUG=b:188605676 TEST=build and flash brya Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I204e114a460a0648dfc47da14d63ce3beb19e821 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2942930 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* zephyr: brya: move config hostcmd to the right placeYuval Peress2021-06-071-1/+3
| | | | | | | | | | | | BRANCH=none BUG=none TEST=build brya Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I6e41df8ddea88f8f1df719e7140cf8e5ee0fd479 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2942929 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
* zephyr: npcx9: add kconfig option for flash api workaroundYuval Peress2021-06-041-0/+2
| | | | | | | | | | | | | | This is needed for the ES1 version of the npcx9 chip. BRANCH=none BUG=b:188605676 TEST=none Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I80ddc717165788248f8260050fc55ffb0bd4d11e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2927770 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* zephyr: brya: enable i2cYuval Peress2021-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Enable (status = "okay") i2c ports for sensors, battery, and charger/ eeprom. uart:~$ i2c scan I2C_7_PORT_0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- 09 -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- 2 devices found on I2C_7_PORT_0 BRANCH=none BUG=b:188605676 TEST=run i2c scan shell command Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: Id841551a09aec86faa56d9bd0977f0aa1f6b24e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2932460
* zephyr: brya: enable sysinfo console commandYuval Peress2021-06-031-1/+1
| | | | | | | | | | | | BRANCH=none BUG=b:188605676 TEST=run `sysinfo` in EC shell Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: Ie593090e7afc68701e21ae4f648a0a6e3b364fcf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2932459 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org>
* zephyr: brya: wakeup from hibernationYuval Peress2021-06-033-9/+27
| | | | | | | | | | | | | configure wakeup gpios. BRANCH=none BUG=b:188605676 TEST=`hibernate` in EC console, then press the physical power button to wake up. Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: Ice839bc39393f416fea7548f5497791c10a155ec Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2932458
* zephyr: brya: Enable vbootYuval Peress2021-06-032-2/+8
| | | | | | | | | | | | | | Enable the vboot feature for brya BRANCH=none BUG=b:188605676 TEST=flash brya and see vboot's hash result Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: Ifeb3564a5a10e9aad77dd5f193d08fd4efd253ad Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2927769 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* Zephyr: brya: add basic template for brya boardYuval Peress2021-05-265-0/+125
Verify that npcx9 configuration and drivers work. BRANCH=none BUG=b:188605676 TEST=flash brya, check that LEDs work and console turns on Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I334ffc504da81ee6a6bb11b245b01a364ea05c6a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2909754 Reviewed-by: Denis Brockus <dbrockus@chromium.org>