drivers/peci: Add a PECI adapter driver for Aspeed AST24xx/AST25xx
Subsystems (2)
PATCH v5 6/13 drivers/peci: Add a PECI adapter driver for Aspeed AST24xx/AST25xx
This commit adds PECI adapter driver implementation for Aspeed AST24xx/AST25xx SoCs.
Signed-off-by Jae Hyun Yoo <[email protected]>
Reviewed-by Haiyue Wang <[email protected]>
Reviewed-by James Feist <[email protected]>
Reviewed-by Vernon Mauery <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Greg KH <[email protected]>
Cc Robin Murphy <[email protected]>
Cc Ryan Chen <[email protected]>
--- drivers/peci/Kconfig | 27 ++ drivers/peci/Makefile | 3 + drivers/peci/peci-aspeed.c | 498 +++++++++++++++++++++++++++++++++++++ 3 files changed, 528 insertions(+) create mode 100644 drivers/peci/peci-aspeed.c
drivers/peci/Kconfig +27 -0
@@ -11,3 +11,30 @@ config PECI interface that provides a communication channel between Intel processors and chipset components to external monitoring or control devices. + + If you want PECI support, you should say Y here and also to the + specific driver for your bus adapter(s) below. + +if PECI + +# +# PECI hardware bus configuration +# + +menu "PECI Hardware Bus support" + +config PECI_ASPEED + tristate "ASPEED PECI support" + select REGMAP_MMIO + depends on OF + depends on ARCH_ASPEED || COMPILE_TEST + help + Say Y here if you want support for the Platform Environment Control + Interface (PECI) bus adapter driver on the ASPEED SoCs. + + This support is also available as a module. If so, the module + will be called peci-aspeed. + +endmenu + +endif # PECI
drivers/peci/Makefile +3 -0
@@ -4,3 +4,6 @@ # Core functionality obj-$(CONFIG_PECI) += peci-core.o + +# Hardware specific bus drivers +obj-$(CONFIG_PECI_ASPEED) += peci-aspeed.o
drivers/peci/peci-aspeed.c new file +498 -0
498 lines not on this page · raw message
Signature · 1 line
2.17.0