summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gitlab: Only run CI in main and coverage branchesfirmware-14947.B-mainJeremy Bettis2022-09-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | This workflow rule will prevent this CI config from running unless the branch name is "main" or "coverage". It will have to be cherry-picked into all the other branches to make them stop running sadly. BRANCH=None BUG=b:244766499 TEST=Used yaml validator at https://gitlab.com/zephyr-ec/ec/-/ci/editor?branch_name=main&tab=2 Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: I536de3e3fdbca1c48505e61de5737f865bd0e233 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872545 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Simon Glass <sjg@chromium.org> Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org> (cherry picked from commit 15612bc4af40cb2a824ff2590508df29f27fbf56) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3883770
* Agah: Enable Nvidia GPU D-Notify driverDaisuke Nojiri2022-06-294-98/+146
| | | | | | | | | | | | | | | | This patch enables Nvidia GPU D-Notify driver for Agah. BUG=b:216485035, b:236674641 BRANCH=None TEST=On Agah, plug & unplug BJ & USB-C and verify expected modes (nvdc, nvdc_chrg, bypass, bypass_chrg, bat) are selected. TEST=On Agah, plug & unplug BJ & USB-C and verify expected D-levels are selected. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I17b60e6054c91c60a7c1931e10a738607951055c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3704268 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* GPU: Add Nvidia GPU D-Notify driverDaisuke Nojiri2022-06-2913-6/+468
| | | | | | | | | | | | | | | | | (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>
* isl9241: Fix bypass modeDaisuke Nojiri2022-06-292-48/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes isl9241's enable_bypass_mode. Test1: 0. Boot on battery. 1. Plug BJ. Bypass mode enabled. 2. Plug USB-C. No switching. 3. Unplug BJ. Switch to USB-C. Bypass mode disabled. 4. Unplug USB-C. Test2: 0. Boot on battery. 1. Plug USB-C. 2. Plug BJ. Switch to BJ. Bypass mode enabled. 3. Unplug USB-C. 4. Unplug BJ. BUG=b:214057333, b:236852816 BRANCH=None TEST=On Agah. See above. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: Ife4ea0454a4c231ce033ff4a8a1646081357efca Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733424 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* isl9241: Get bypass mode statusDaisuke Nojiri2022-06-291-0/+20
| | | | | | | | | | | | | | This patch makes isl9241's get_status additionally get the bypass gate status. BUG=b:214057333 BRANCH=None TEST=On Agah. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I704b64a0bc21108906ec4c9a6ba952a77070edb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733423 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* isl9241: Add get_vsys_voltageDaisuke Nojiri2022-06-292-0/+35
| | | | | | | | | | | | | This patch implements get_vsys_voltage for isl9241. BUG=None BRANCH=None TEST=On agah. Print vsys by vbus command with/without AC. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I73afd0138291d99eb2e79565d8422c345b905125 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733422 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* adlrvpp_mchp1521: Disable commands to create ROM spaceDaisuke Nojiri2022-06-291-0/+4
| | | | | | | | | | | BUG=None BRANCH=None TEST=buildall Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I1a3f92e541c8a11c57c9841712e083ea2c65ea06 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733421 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* volteer: Disable commands to create ROM spaceDaisuke Nojiri2022-06-291-0/+3
| | | | | | | | | | | BUG=None BRANCH=None TEST=buildall Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: Ida7cdfcec94c7129f4d08a1693ac34dcd4aa4691 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733420 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* Make vbus command print vsys as wellDaisuke Nojiri2022-06-291-5/+14
| | | | | | | | | | | | | | | | | | | This patch makes vbus console command print vsys as well. > vbus VBUS VSYS P0 19008mV 16416mV P1 19008mV 16416mV P2 19008mV 16416mV BUG=None BRANCH=None TEST=On Agah. See above. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I3c4e56b945773a552967bde845b996419e58040f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733419 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* driver/fingerprint/fpc/libfp/fpc_private.h: Format with clang-formatJack Rosenthal2022-06-291-73/+93
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=./util/compare_build.sh -b fp Change-Id: I510e7201e5155bc60bd369dc4f3454dd9268266a Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729976 Commit-Queue: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
* board/nocturne_fp/ro_workarounds.c: Format with clang-formatJack Rosenthal2022-06-291-4/+3
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=./util/compare_build.sh -b fp Change-Id: I5099ad5aa2c16e76cd7c68da7abb93861b57a1a8 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728764 Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org> Commit-Queue: Tom Hughes <tomhughes@chromium.org>
* test/system_is_locked.c: Format with clang-formatJack Rosenthal2022-06-291-1/+1
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Iaaae0e420e256e4927a2f9ef90010e12f7dd61b2 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730526 Commit-Queue: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* test/stm32f_rtc.c: Format with clang-formatJack Rosenthal2022-06-291-1/+1
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Id33ec7f442223a25bd1fde3050638596865f5148 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730524 Commit-Queue: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
* test/fpsensor_hw.c: Format with clang-formatJack Rosenthal2022-06-291-1/+0
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I4921435a853da5a79d9f404bfb22600ac9b58b7f Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730503 Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
* driver/fingerprint/fpc/libfp/fpc_sensor_pal.c: Format with clang-formatJack Rosenthal2022-06-291-2/+2
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=./util/compare_build.sh -b fp Change-Id: I07dc3df1f97ece2d11a26fee8c2330060079cae8 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729977 Reviewed-by: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Tom Hughes <tomhughes@chromium.org>
* driver/fingerprint/fpc/libfp/fpc_bio_algorithm.h: Format with clang-formatJack Rosenthal2022-06-291-8/+8
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=./util/compare_build.sh -b fp Change-Id: Ieda9ca814ea98ca1d0fe1a270f13bfe9b29fb586 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729974 Commit-Queue: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
* driver/fingerprint/fpc/libfp/fpc1145_private.h: Format with clang-formatJack Rosenthal2022-06-291-7/+7
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=./util/compare_build.sh -b fp Change-Id: Ibfea8a03a8b66b5a6323a07aa242bea9eb59153d Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729973 Reviewed-by: Tom Hughes <tomhughes@chromium.org> Commit-Queue: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* driver/fingerprint/fpc/bep/fpc_bio_algorithm.h: Format with clang-formatJack Rosenthal2022-06-291-11/+11
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=./util/compare_build.sh -b fp Change-Id: I561f719b6da27d3f6bc65836e23ec26327dd2620 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729945 Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org> Commit-Queue: Tom Hughes <tomhughes@chromium.org>
* driver/fingerprint/fpc/bep/fpc1035_private.h: Format with clang-formatJack Rosenthal2022-06-291-8/+8
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=./util/compare_build.sh -b fp Change-Id: Ic49ad37fcb46834d5743c2c5f61540124edf971d Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729944 Reviewed-by: Tom Hughes <tomhughes@chromium.org> Commit-Queue: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* board/nocturne_fp/board_ro.c: Format with clang-formatJack Rosenthal2022-06-291-1/+0
| | | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=./util/compare_build.sh -b fp Change-Id: Ie68d506cc96702fec0c9443b7a4ed2d53bf04778 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728763 Commit-Queue: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
* chgstv2: Wake on HOOK_POWER_SUPPLY_CHANGEDaisuke Nojiri2022-06-291-0/+1
| | | | | | | | | | | | | | This patch makes the charger task wake on HOOK_POWER_SUPPLY_CHANGE so that it can respond to power supplier changes (of the same port). BUG=b:214057333 BRANCH=None TEST=Agah. Plug USB-C & BJ adapters. Unplug USB-C & BJ adapters. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: Ic050e872871b110f0c6da44ad1b376a169fb2103 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733418 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* chgstv2: Support bypass modeDaisuke Nojiri2022-06-293-0/+25
| | | | | | | | | | | | | | | This patch adds bypass mode to charge_state_v2. Bypass mode allows a charger to deliver the input power directly from an adapter to the system, avoiding loss in buck-boost conversion. BUG=b:214057333 BRANCH=None TEST=buildall Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: Ia3c244190416cd9b9d89dac67cccf9bc033ed691 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733417 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>
* test: add shuffle utility for testing teamYuval Peress2022-06-291-0/+37
| | | | | | | | | | | | | | | The testing team is working to find test order dependency bugs. This small script helps us run the tests _n_ times quickly to verify or detect new bugs. It should be removed in a month or so. BRANCH=none BUG=none TEST=./util/shuffle_test.h bmi260.c: Signed-off-by: Yuval Peress <peress@google.com> Change-Id: I8fcfb006644ee51205cb41c4c4cc63d4dcecd7a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3735631 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* charger: Add get_vsys_voltageDaisuke Nojiri2022-06-292-2/+32
| | | | | | | | | | | | | | get_vsys_voltage returns a Vsys voltage measured by the charger if it's supported by the charger. BUG=None BRANCH=None TEST=buildall Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I49a024860504ee4c8ec172b025dbb3cdaf3ac214 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733416 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* throttle_ap: Add throttle_gpu and THROTTLE_SRC_ACDaisuke Nojiri2022-06-291-0/+5
| | | | | | | | | | | | | | throttle_gpu will be used to throttle a GPU. THROTTLE_SRC_AC indicates throttling is needed for a charger change. BUG=b:216485035 BRANCH=None TEST=None Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: Ide3094d0a757b36db2730e148d35f5ca9b0e12d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733415 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* charge_manager: Export is_pd_portDaisuke Nojiri2022-06-292-1/+4
| | | | | | | | | | | | | | is_pd_port tells whether a port is a PD port or not. This patch makes it available to other compilation units. BUG=b:216206104 BRANCH=None TEST=buildall Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I12dde5032b9e6422eed504591d1d005895b1daac Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3733414 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
* 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>
* chip/stm32/debug_printf.h: Fix header guardBobby Casey2022-06-291-3/+3
| | | | | | | | | | | | | | | | The include guard on debug_printf.h was __CROS_EC_DEBUG_H rather than __CROS_EC_DEBUG_PRINTF_H. Unfortunately, debug.h also used __CROS_EC_DEBUG_H which resulted in errors if both were included by a single compilation unit. BRANCH=none BUG=b:180144572 TEST=./util/compare_build.sh -b all -j90 Signed-off-by: Bobby Casey <bobbycasey@google.com> Change-Id: I2354181644e1d50bf06a20ec51d432f4d583b50a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3735349 Reviewed-by: Tom Hughes <tomhughes@chromium.org>
* 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>
* board/woomax/thermal.c: Format with clang-formatJack Rosenthal2022-06-291-25/+23
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I2c97230cc5882680b41e6759f9b487d46022983a Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729117 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* driver/retimer/pi3hdx1204.h: Format with clang-formatJack Rosenthal2022-06-291-35/+34
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ifa7073e92e54fd841136711fd6d1611225b306ed Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730046 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* include/watchdog.h: Format with clang-formatJack Rosenthal2022-06-291-1/+3
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ifa56ecd8d1fe1d73152fec203f8c95c50baca8e5 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730458 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* chip/stm32/registers-stm32f4.h: Format with clang-formatJack Rosenthal2022-06-291-784/+771
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ia9264aeb205217ae4c6788ac78cf0429ae9668bd Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729529 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* board/icarus/led.c: Format with clang-formatJack Rosenthal2022-06-291-16/+21
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I5b114460d5e2a33361076b77b469a34e06dd4601 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728512 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* board/it8xxx2_pdevb/board.c: Format with clang-formatJack Rosenthal2022-06-291-11/+10
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I78b7d23ccc42f44af826f0bd953ffc43909a82ea Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728513 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>
* board/brya/charger.c: Format with clang-formatJack Rosenthal2022-06-291-1/+90
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ia87e329e22e4906f2f70030a2b65e5c37c904f39 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728044 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* board/redrix/sensors.c: Format with clang-formatJack Rosenthal2022-06-291-42/+30
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I767ffd788ff072951f28734022c136e24828e1cb Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728861 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* chip/it83xx/watchdog.c: Format with clang-formatJack Rosenthal2022-06-291-5/+5
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Idfc118387ac3981e85ae0afbf6b670d4d07edbd3 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729218 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* common/cbi.c: Format with clang-formatJack Rosenthal2022-06-291-32/+29
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I4d68e68e8098b86aff1ed991c510256d01a70bb7 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729596 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* include/keyboard_config.h: Format with clang-formatJack Rosenthal2022-06-291-43/+43
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Icd3b054eb6673729ea6da9f4301915632db554ee Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730296 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* test/genvif/src/board.h: Format with clang-formatJack Rosenthal2022-06-291-4/+4
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I01991cfe362c233fbef6815a2592fc017ff5c3e1 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730504 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* board/osiris/fw_config.c: Format with clang-formatJack Rosenthal2022-06-291-1/+1
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I2a505c57d7ae865a9996adce3126e468bb28be88 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728798 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* board/kukui/board.c: Format with clang-formatJack Rosenthal2022-06-291-50/+36
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: I878676141511fb7ca59b20c5b1a10b786d5c53ca Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728590 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* board/chronicler/usbc_config.c: Format with clang-formatJack Rosenthal2022-06-291-10/+9
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ibe468d063a9d4f171abd21d71b0bfdec9cc65119 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728149 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* test/base32.c: Format with clang-formatJack Rosenthal2022-06-291-9/+6
| | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Id21980730b1fd999ae0645bee15ccffc6846109f Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730470 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>