clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I677d72d4d8d7ff28d2708b51ded916e2287974ff
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
5 files changed
tree: 1f198af69e3617efabeeff3fe44e8eec3913a922
  1. linux/
  2. service_files/
  3. .clang-format
  4. .clang-format-ignore
  5. CMakeLists.txt
  6. dbus_raw_peci.cpp
  7. LICENSE
  8. OWNERS
  9. peci.c
  10. peci.h
  11. peci.pc.in
  12. peci_cmds.c
  13. README.md
README.md

libpeci

libpeci is a library that provides various APIs to interface with the IOCTLs provided by the PECI driver in the OpenBMC kernel. Currently available here:

https://github.com/openbmc/linux/blob/dev-5.4/include/uapi/linux/peci-ioctl.h

peci_cmds

This repo also includes a peci_cmds command-line utility with functions that map to the libpeci APIs. It can be used to test PECI functionality across the library, driver, and hardware.

dbus_raw_peci

This repo also includes dbus_raw_peci which provides a raw-peci daemon that exposes a raw PECI interface that is accessible over D-Bus. It can be used when an application needs to send a raw PECI command without loading the full PECI library.