Commit a85e4c52 authored by Jae Hyun Yoo's avatar Jae Hyun Yoo Committed by Greg Kroah-Hartman
Browse files

peci: Add peci-aspeed controller driver



ASPEED AST24xx/AST25xx/AST26xx SoCs support the PECI electrical
interface (a.k.a PECI wire) that provides a communication channel with
Intel processors.
This driver allows BMC to discover devices connected to it and
communicate with them using PECI protocol.

Co-developed-by: default avatarIwona Winiarska <iwona.winiarska@intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
Acked-by: default avatarJoel Stanley <joel@jms.id.au>
Signed-off-by: default avatarJae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Signed-off-by: default avatarIwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20220208153639.255278-6-iwona.winiarska@intel.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6523d3b2
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2986,6 +2986,14 @@ S: Maintained
F:	Documentation/devicetree/bindings/net/asix,ax88796c.yaml
F:	drivers/net/ethernet/asix/ax88796c_*
ASPEED PECI CONTROLLER
M:	Iwona Winiarska <iwona.winiarska@intel.com>
L:	linux-aspeed@lists.ozlabs.org (moderated for non-subscribers)
L:	openbmc@lists.ozlabs.org (moderated for non-subscribers)
S:	Supported
F:	Documentation/devicetree/bindings/peci/peci-aspeed.yaml
F:	drivers/peci/controller/peci-aspeed.c
ASPEED PINCTRL DRIVERS
M:	Andrew Jeffery <andrew@aj.id.au>
L:	linux-aspeed@lists.ozlabs.org (moderated for non-subscribers)
+6 −0
Original line number Diff line number Diff line
@@ -13,3 +13,9 @@ menuconfig PECI

	  This support is also available as a module. If so, the module
	  will be called peci.

if PECI

source "drivers/peci/controller/Kconfig"

endif # PECI
+3 −0
Original line number Diff line number Diff line
@@ -3,3 +3,6 @@
# Core functionality
peci-y := core.o
obj-$(CONFIG_PECI) += peci.o

# Hardware specific bus drivers
obj-y += controller/
+18 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only

config PECI_ASPEED
	tristate "ASPEED PECI support"
	depends on ARCH_ASPEED || COMPILE_TEST
	depends on OF
	depends on HAS_IOMEM
	depends on COMMON_CLK
	help
	  This option enables PECI controller driver for ASPEED AST2400,
	  AST2500 and AST2600 SoCs. It allows BMC to discover devices
	  connected to it, and communicate with them using PECI protocol.

	  Say Y here if your system runs on ASPEED SoC and you are using it
	  as BMC for Intel platform.

	  This driver can also be built as a module. If so, the module will
	  be called peci-aspeed.
+3 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only

obj-$(CONFIG_PECI_ASPEED)	+= peci-aspeed.o
Loading