clang-format: copy latest and re-format

clang-format-17 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: I2dc163b785f76d8712d411772e130136fb0887ce
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
3 files changed
tree: 053fa196902cdb6cf717b8b59eb87a2081918d49
  1. linux/
  2. service_files/
  3. subprojects/
  4. .clang-format
  5. .clang-format-ignore
  6. dbus_raw_peci.cpp
  7. LICENSE
  8. meson.build
  9. meson.options
  10. OWNERS
  11. peci.c
  12. peci.h
  13. peci.pc.in
  14. peci_cmds.c
  15. 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.