clang-tidy: Initial commit

Added initial .clang-tidy configuration file with recommended C++ checks
aligned with the OpenBMC-approved checklist. This setup enforces modern
C++ best practices and helps catch common issues early in development.

Change-Id: I6b29c1584dc7492bbed79affbec418efe45c40d2
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
1 file changed
tree: d0a04b95561af396bbce0f810caf6ffa7a0eafb2
  1. linux/
  2. service_files/
  3. subprojects/
  4. .clang-format
  5. .clang-format-ignore
  6. .clang-tidy
  7. dbus_raw_peci.cpp
  8. LICENSE
  9. meson.build
  10. meson.options
  11. OWNERS
  12. peci.c
  13. peci.h
  14. peci.pc.in
  15. peci_cmds.c
  16. 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.