Skip to content

Commit

Permalink
peci: Add peci-aspeed controller driver
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Co-developed-by: Iwona Winiarska <iwona.winiarska@intel.com>
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
  • Loading branch information
jaehyoo authored and intel-lab-lkp committed Jan 12, 2022
1 parent 3c5bbf5 commit 9b4f240
Show file tree
Hide file tree
Showing 6 changed files with 621 additions and 0 deletions.
8 changes: 8 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2955,6 +2955,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)
Expand Down
6 changes: 6 additions & 0 deletions drivers/peci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 3 additions & 0 deletions drivers/peci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
# Core functionality
peci-y := core.o
obj-$(CONFIG_PECI) += peci.o

# Hardware specific bus drivers
obj-y += controller/
17 changes: 17 additions & 0 deletions drivers/peci/controller/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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
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 changes: 3 additions & 0 deletions drivers/peci/controller/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only

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

0 comments on commit 9b4f240

Please sign in to comment.