Skip to content

Add support PECI and PECI hwmon drivers

Jae Hyun Yoo linux-arm-kernel linux-devicetree linux-hwmon lkml openbmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 39 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Documentation: dt-bindings: Add Aspeed PECIDocumentation/devicetree/bindings/misc/aspeed-peci.txt+55 -00 replies
2/6ARM: dts: aspeed: peci: Add Aspeed PECIarch/arm/boot/dts/aspeed-g4.dtsi arch/arm/boot/dts/aspeed-g5.dtsi+28 -00 replies
3/6drivers/misc: Add driver for Aspeed PECI and generic PECI headersdrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/aspeed-peci.c +3 more+1422 -010 replies
4/6Documentation: dt-bindings: Add a generic PECI hwmonDocumentation/devicetree/bindings/hwmon/peci-hwmon.txt+33 -02 replies
5/6Documentation: hwmon: Add a generic PECI hwmonDocumentation/hwmon/peci-hwmon+74 -00 replies
6/6drivers/hwmon: Add a driver for a generic PECI hwmondrivers/hwmon/Kconfig drivers/hwmon/Makefile drivers/hwmon/peci-hwmon.c+960 -012 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH linux dev-4.10 0/6] Add support PECI and PECI hwmon drivers

From: Jae Hyun Yoo <[email protected]>

Hello,

This patch set provides support for PECI of AST2400/2500 which can give us PECI functionalities such as temperature monitoring, platform manageability, processor diagnostics and failure analysis. Also provides generic peci.h and peci_ioctl.h headers to provide compatibility to peci drivers that can be implemented later e.g. Nuvoton's BMC SoC family.

The misc peci driver can be used as a multi-purpose PECI controller driver which serializes all PECI transactions that coming from user space and from other kernel modules. This misc peci driver could be replaced with other BMC chipsets' implementation if the implementation provide compatible 'peci_ioctl' inter-module call and ioctl scheme defined in peci.h and peci_ioctl.h files.

The hwmon peci driver implements a generic PECI hwmon feature which is running with a PECI misc driver supports compatible native PECI command suite for retrieving temperatures of the CPU package, CPU cores and DIMM components.

Please review.

-Jae

Jae Hyun Yoo (6):
Documentation: dt-bindings: Add Aspeed PECI
ARM: dts: aspeed: peci: Add Aspeed PECI
drivers/misc: Add driver for Aspeed PECI and generic PECI headers
Documentation: dt-bindings: Add a generic PECI hwmon
Documentation: hwmon: Add a generic PECI hwmon drivers/hwmon: Add a driver for a generic PECI hwmon

 .../devicetree/bindings/hwmon/peci-hwmon.txt       |   33 +
 .../devicetree/bindings/misc/aspeed-peci.txt       |   55 +
 Documentation/hwmon/peci-hwmon                     |   74 ++
 arch/arm/boot/dts/aspeed-g4.dtsi                   |   14 +
 arch/arm/boot/dts/aspeed-g5.dtsi                   |   14 +
 drivers/hwmon/Kconfig                              |    6 +
 drivers/hwmon/Makefile                             |    1 +
 drivers/hwmon/peci-hwmon.c                         |  953 +++++++++++++++++
 drivers/misc/Kconfig                               |    9 +
 drivers/misc/Makefile                              |    1 +
 drivers/misc/aspeed-peci.c                         | 1130 ++++++++++++++++++++
 include/misc/peci.h                                |   11 +
 include/uapi/linux/Kbuild                          |    1 +
 include/uapi/linux/peci_ioctl.h                    |  270 +++++
 14 files changed, 2572 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/peci-hwmon.txt
 create mode 100644 Documentation/devicetree/bindings/misc/aspeed-peci.txt
 create mode 100644 Documentation/hwmon/peci-hwmon
 create mode 100644 drivers/hwmon/peci-hwmon.c
 create mode 100644 drivers/misc/aspeed-peci.c
 create mode 100644 include/misc/peci.h
 create mode 100644 include/uapi/linux/peci_ioctl.h
Signature · 1 line
2.7.4