summaryrefslogtreecommitdiff
path: root/zephyr
Commit message (Collapse)AuthorAgeFilesLines
* zephyr/projects/nissa/src/xivu/usbc.c: Format with clang-formatJack Rosenthal2022-06-301-10/+6
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Idf967e6ea2fe9e76f2e201e3631e8bac2b2ee4d1 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730800 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/projects/nissa/src/joxer/keyboard.c: Format with clang-formatJack Rosenthal2022-06-301-2/+2
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ibc56eaea4e90722c4c4c1e6769c19507eb535652 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730786 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/include/board.h: Format with clang-formatJack Rosenthal2022-06-301-1/+1
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ibcf7f7f1cebb24e03ae0454180e9a644b73e80a8 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730581 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/src/led_driver/led.h: Format with clang-formatJack Rosenthal2022-06-301-17/+15
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ie005916fb68efea716ab9c35636f9b61c3184ba9 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3727424 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/test/ap_power/src/events.c: Format with clang-formatJack Rosenthal2022-06-301-5/+4
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: If2e5528dc1a1603871ad8fecf82144659ba31b32 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730923 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/src/fan.c: Format with clang-formatJack Rosenthal2022-06-301-18/+16
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I8faa6e36dac7495d740fb0cb5647b14e22145992 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730891 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/test/drivers/src/console_cmd/charge_state.c: Format with clang-formatJack Rosenthal2022-06-301-3/+2
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: If6106ff351a8cbf620c4c0882840cee1200d70a8 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730987 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/src/charger.c: Format with clang-formatJack Rosenthal2022-06-301-11/+15
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I01028c2433d4943a202004c4b46eb6a52ff26aa4 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730865 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/src/led_driver/led_pwm.c: Format with clang-formatJack Rosenthal2022-06-301-38/+31
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ia70dd0ced03306b61560ad07d2af683f7540a55b Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3727464 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/src/gpio_id.c: Format with clang-formatJack Rosenthal2022-06-301-14/+6
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I3cb1c7b3013f42ae594f0b94621e8967aae765a3 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730893 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/emul/include/flash_chip.h: Format with clang-formatJack Rosenthal2022-06-301-6/+6
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ifad0a3f615bba0abfd528c7c503d976d41d4238e Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730701 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/subsys/ap_pwrseq/x86_non_dsx_chipset_power_state.c: Format with ↵Jack Rosenthal2022-06-301-2/+1
| | | | | | | | | | | | | clang-format BUG=b:236386294 BRANCH=none TEST=none Change-Id: I5e1dc3771d716cc9d10705dbee761afcee8c2f8b Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730921 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/chip/npcx/npcx_monitor/npcx_monitor.c: Format with clang-formatJack Rosenthal2022-06-301-9/+8
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I3d16dcc47681995c1257d8b821c1fb838e9554e0 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730822 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/include/zephyr_adc.h: Format with clang-formatJack Rosenthal2022-06-301-5/+3
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I1b67566d3e8993412dab9f399291f4eee24b6dd3 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730845 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/emul/tcpc/emul_tcpci_partner_src.c: Format with clang-formatJack Rosenthal2022-06-301-32/+27
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ia459e46935e165da7ea559b0d8ac47258f7cfb24 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730708 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr: tests: init the TCPCI revisionDawid Niedzwiecki2022-06-3012-41/+27
| | | | | | | | | | | | | | | | | | Some tests don't initialize the TCPCI revision. It causes failures when the order of test runs is changed. Add ZTEST_RULE to initialize the revision to 2.0. Tests that need the revision 1.0 have to reconfigure it. BUG=b:233645785 TEST=enable the test shuffling; make sure there is no "defined only for revision" string in the output BRANCH=main Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: I94ab33f56f1e582d1e8420eaf87617d616309c7e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3735402 Reviewed-by: Yuval Peress <peress@google.com> Commit-Queue: Dawid Niedzwiecki <dawidn@google.com>
* corsola: Unify common configurationslschyi2022-06-303-12/+8
| | | | | | | | | | | | | | | | | | | | Unify common configurations used in Corsola projects for npcx993 and it81202. BUG=b:236769856 BRANCH=none TEST=run build for each project, can get firmwares without an error (1) zmake build kingler --clobber (2) zmake build steelix --clobber (3) zmake build krabby --clobber (4) zmake build tentacruel --clobber Signed-off-by: lschyi <lschyi@google.com> Change-Id: Ic159257d192c06f0bca82c39a0d4bcba7218e7f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3737662 Commit-Queue: Sung-Chi Li <lschyi@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@google.com> Tested-by: Sung-Chi Li <lschyi@chromium.org>
* corsola: Cleanup project wise Kconfiglschyi2022-06-305-79/+51
| | | | | | | | | | | | | | | | | | | | | | | | Cleanup shared project wise config from npcx993_base, it81202_base, and some from device specific Kconfig files. BUG=b:236769856 BRANCH=none TEST=run build for each project, can get firmwares without an error (1) zmake build kingler --clobber (2) zmake build steelix --clobber (3) zmake build krabby --clobber (4) zmake build tentacruel --clobber Also checked before/after of the file build/zephyr/$PROJECT/build-rw/zephyr/include/generated/autoconf.h, content of files are the same. Signed-off-by: lschyi <lschyi@google.com> Change-Id: I40e3e930dccc41b127153924bed584c6adec97ed Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3736405 Reviewed-by: Eric Yilun Lin <yllin@google.com> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Sung-Chi Li <lschyi@chromium.org> Tested-by: Sung-Chi Li <lschyi@chromium.org>
* corsola: Restructure Kconfigs of krabby and tentacruellschyi2022-06-304-138/+144
| | | | | | | | | | | | | | | | | | | | | | | Tentacruel shares most of of configurations from krabby. Add an intermediate Kconfig to share the base configuration for projects use it81202, then krabby and tentacruel share this base Kconfig. BUG=b:236769856 BRANCH=none TEST=run build for each project, can get firmwares without an error (1) zmake build krabby --clobber (2) zmake build tentacruel --clobber Also checked before/after of the file build/zephyr/$PROJECT/build-rw/zephyr/include/generated/autoconf.h, content of files are the same. Signed-off-by: lschyi <lschyi@google.com> Change-Id: I8b9094fcb820d0fda93c41806112da6c3316b8f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733882 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Sung-Chi Li <lschyi@chromium.org> Tested-by: Sung-Chi Li <lschyi@chromium.org>
* corsola: Restructure Kconfigs of kingler and steelixlschyi2022-06-304-135/+140
| | | | | | | | | | | | | | | | | | | | | | | Steelix shares most of configurations from kingler. Add an intermediate Kconfig to share the base configuration for projects use npcx993, then kingler and steelix share this base Kconfig. BUG=b:236769856 BRANCH=none TEST=run build for each project, can get firmwares without an error (1) zmake build kingler --clobber (2) zmake build steelix --clobber Also checked before/after of the file build/zephyr/$PROJECT/build-rw/zephyr/include/generated/autoconf.h, content of files are the same. Signed-off-by: lschyi <lschyi@google.com> Change-Id: Ie4051c632d1d6fe436c187759ea58f4f58138712 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733881 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Sung-Chi Li <lschyi@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@google.com> Tested-by: Sung-Chi Li <lschyi@chromium.org>
* zephyr: mtlrvp: enable zephyr inbuilt pwrseqLi Feng2022-06-306-17/+15
| | | | | | | | | | | | | BUG=b:223985632 BRANCH=none TEST=MTL RVP boot up to kernel Signed-off-by: Li Feng <li1.feng@intel.com> Change-Id: I2371d9bb85434bb8ddbd4d4d8ff326b30218bc0a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3630884 Reviewed-by: Tanu Malhotra <tanu.malhotra@intel.com> Reviewed-by: Andrew McRae <amcrae@google.com> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
* zephyr: Make a minimal example project directoryJack Rosenthal2022-06-3010-26/+131
| | | | | | | | | | | | | | | | | Similar to posix-ec, make a minimal project example for npcx9 and it8xxx2 as well. This deprecates the posix-ec project as well, replacing it with minimal-posix (with a very similar set of features enabled). BUG=b:237431976 BRANCH=none TEST=zmake build -a Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: Ifa1698502f05d55ed2bd39c1651da6cc613382b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3732803 Reviewed-by: Andrew McRae <amcrae@google.com>
* Zephyr: intelrvp: make BOARD_RESET_AFTER_POWER_ON common flagLi Feng2022-06-302-1/+3
| | | | | | | | | | | | | | | | | | CONFIG_PLATFORM_EC_BOARD_RESET_AFTER_POWER_ON is common flag for RVP. And it needs to be set for both shim power sequencing and native power sequencing. Without this flag, after reboot plug in Type-C device for first time, the device is not getting detected. BUG=none BRANCH=none TEST=Boot up MTL RVP, plug in Type-C pen drive, detected. Signed-off-by: Li Feng <li1.feng@intel.com> Change-Id: I376b171c76753908755d9fd1a7d4425f7b1200b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3734449 Reviewed-by: Andrew McRae <amcrae@google.com> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
* zephyr: tests: Add test for USB-PD Rev 3 Get_Battery_CapabilitiesTristan Honscheid2022-06-302-0/+163
| | | | | | | | | | | | | | | | Add a new test suite to verify the functionality of USB-PD rev 3 support and the Get_Battery_Capabilities request and its response handler. The new tests validate that a response from the TCPC is received and contains correct battery data BUG=b:223452169 BRANCH=None TEST=zmake test test-drivers Signed-off-by: Tristan Honscheid <honscheid@google.com> Change-Id: I85403fdfa220a4edb2ee2f1673a2dcaaffca1620 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3715699 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
* GPU: Add Nvidia GPU D-Notify driverDaisuke Nojiri2022-06-291-0/+10
| | | | | | | | | | | | | | | | | (Based on the driver written by Tim Wawrzynczak.) This patch adds Nvidia GPU D-Notify driver. It asserts a GPIO, sends a host event, and sets D-Notify level in shared memory when power availability changes (i.e. AC plug/unplug, battery charge/discharge). BUG=b:216485035 BRANCH=None TEST=make run-nvidia_gpu && make buildall Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I231619157fe03fb357882540ffa34b4d48fba253 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3716794 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* Revert "Skyrim: Enable SoC OCP and thermal interrupts"Jonathon Murphy2022-06-293-41/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f5dfa5378ab30df20ccc40d1a30d3bf635432d48. Reason for revert: 15W SKUs are pulling OCP, need to understand and debug. This is causing 15W SKUs not to boot Original change's description: > Skyrim: Enable SoC OCP and thermal interrupts > > Enable interrupts for SoC OCP and thermal warnings, and shutdown on each > with a console print to log the scenario. > > BRANCH=None > BUG=b:231996265 > TEST=on skyrim, run a normal boot/shutdown sequence and verify neither > interrupt is erroneously detected > > Signed-off-by: Diana Z <dzigterman@chromium.org> > Change-Id: Ic5af489965a6a2e88e5eba23e35d13bdfb1bdb8b > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3712024 > Reviewed-by: Robert Zieba <robertzieba@google.com> > Commit-Queue: Robert Zieba <robertzieba@google.com> Bug: b:231996265 Change-Id: If3128e5b1d8aeec1ec58ee39be745f39c87d17b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3735637 Commit-Queue: Diana Z <dzigterman@chromium.org> Tested-by: Jonathon Murphy <jpmurphy@google.com> Reviewed-by: Diana Z <dzigterman@chromium.org> Auto-Submit: Jonathon Murphy <jpmurphy@google.com>
* zephyr: test: Verify DisplayPort mode reentryAbe Levkoy2022-06-291-0/+40
| | | | | | | | | | | | | | Verify that TCPM can enter DP mode, then exit, then re-enter. Cover Exit Mode flow in DPM and DP state machines. BUG=b:235984702 TEST=zmake testall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I823b07989b6036fb13fd03a50947af98c2634ed2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3724162 Reviewed-by: Aaron Massey <aaronmassey@google.com>
* zephyr: emul: Support Exit Mode in PD partnerAbe Levkoy2022-06-291-0/+18
| | | | | | | | | | | | | | | | Respond to SOP Exit Mode REQ VDMs in USB PD partner emulator. For now, only support exiting DisplayPort mode. This supports testing Exit Mode flows in the TCPM. BUG=b:235984702 TEST=zmake testall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I92ee8046932c076f99c103523ec9873089cf1a85 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3724161 Reviewed-by: Aaron Massey <aaronmassey@google.com>
* zephyr: test: Enter DisplayPort via host commandAbe Levkoy2022-06-292-0/+7
| | | | | | | | | | | | | | | | | | Enable AP-driven mode entry in the test-drivers config. Use a host command to drive DP mode entry in tests. This covers a bit more DPM code related to mode entry and supports future testing of TBT3 and USB4 mode entry using the flow from production systems. BUG=b:235984702 TEST=zmake testall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I6e5587d76fcedd1e97496abe0565ba7ebc3802f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3724160 Reviewed-by: Aaron Massey <aaronmassey@google.com>
* zephyr: test: Wrap TYPEC_CONTROL in util functionAbe Levkoy2022-06-292-0/+27
| | | | | | | | | | | | | | | | Define host_cmd_typec_control to make it easier to use HOST_CMD_TYPEC_CONTROL in tests. For the time being, only support sub-commands that don't require extra arguments or that require a mode SVID (enter mode). BUG=b:235984702 TEST=zmake testall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I7eb91f0b7fa8ba6414263efe1d578b52420b2185 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3724159 Reviewed-by: Aaron Massey <aaronmassey@google.com>
* zephyr/test/drivers/src/bb_retimer.c: Format with clang-formatJack Rosenthal2022-06-291-131/+154
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ifb12c6ba58b1164ad7aacced27be4533c4efcc12 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730953 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/test/drivers/src/console_cmd/charge_manager.c: Format with clang-formatJack Rosenthal2022-06-291-5/+3
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I401bdf237c85534a4b0580966428f0feff216942 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730926 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/subsys/ap_pwrseq/x86_non_dsx_adlp_pwrseq_sm.c: Format with clang-formatJack Rosenthal2022-06-291-6/+5
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I357a0172467701f4687a23f4ad94fcdf67ae5c08 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730920 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/include/zephyr_gpio_signal.h: Format with clang-formatJack Rosenthal2022-06-291-14/+12
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I9b0b1c50c0ff65373d37f7006a16f68cae90c44f Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730857 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/chip/npcx/include/system_chip.h: Format with clang-formatJack Rosenthal2022-06-291-20/+20
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I53a878319e615355e127ec46fa3a587de1eed8c9 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728331 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/drivers/cros_kb_raw/cros_kb_raw_xec.c: Format with clang-formatJack Rosenthal2022-06-291-3/+3
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ib1ea3e96c3dcb1e85271e8b94f4aded220135e8b Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730672 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/test/drivers/src/tcpci_test_common.c: Format with clang-formatJack Rosenthal2022-06-291-55/+59
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Iab2f835cb1c5dbb629b2e30130e449a41f997572 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730959 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/src/ioex.c: Format with clang-formatJack Rosenthal2022-06-291-2/+2
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I9e65930ba40a3db466514ff4f14bd3ae0275118c Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730910 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/src/pwm_led.c: Format with clang-formatJack Rosenthal2022-06-291-49/+48
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I4d4de18b7f9101d0211f39903af90a14521a65e8 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730899 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/emul/tcpc/emul_tcpci_partner_faulty_snk.c: Format with clang-formatJack Rosenthal2022-06-291-13/+11
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I96460ef3600e1a95f9caa24bb5e618748d69bbc4 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730706 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/include/emul/tcpc/emul_tcpci_partner_common.h: Format with clang-formatJack Rosenthal2022-06-291-32/+25
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I9c828a3704968437e55ded67fcc99c47d2ac64b3 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730727 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/subsys/ap_pwrseq/include/ap_power_override_functions.h: Format with ↵Jack Rosenthal2022-06-291-2/+2
| | | | | | | | | | | | | clang-format BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ic376a20daae54775269618b80c4f2875c11ca463 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730949 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/include/emul/emul_smart_battery.h: Format with clang-formatJack Rosenthal2022-06-291-3/+3
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I0cc3f1c7d5ce5f6c8407229eee2673be1b1d172c Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730722 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/include/config_chip.h: Format with clang-formatJack Rosenthal2022-06-291-77/+73
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I6a84314646a9f9fa1c4ce48bb035725c5fb172df Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730566 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/emul/emul_flash.c: Format with clang-formatJack Rosenthal2022-06-291-13/+10
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I811a3e32401a34c14c4da50af783cb2fbcd604e9 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730690 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/chip/mchp/system_download_from_flash.c: Format with clang-formatJack Rosenthal2022-06-291-25/+23
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I9904ab09f9da42808908646c72c26e1059461472 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730819 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/drivers/cros_system/cros_system_xec.c: Format with clang-formatJack Rosenthal2022-06-291-5/+5
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I73a547c4c018d600df8e5f4279992519dec8fae8 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730683 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/include/zephyr_mkbp_event.h: Format with clang-formatJack Rosenthal2022-06-291-8/+7
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I522ba0d925cdcf613cc791c73f83a00cf941ab86 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730860 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/src/led_driver/led.c: Format with clang-formatJack Rosenthal2022-06-291-44/+40
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I09b767bc19465392efb3349d770786eeddde8e89 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730911 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr/shim/include/usbc/ppc_sn5s330.h: Format with clang-formatJack Rosenthal2022-06-291-6/+4
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Iebb8cc4010a20ff74e984f5d9e081da0581a5edf Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730835 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>