forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. 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> Reviewed-by: Joel Stanley <joel@jms.id.au>
- Loading branch information
1 parent
6d22574
commit 35075a61a26913806122a9b500915dc66ad678bd
Showing
6 changed files
with
637 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -3,3 +3,6 @@ | ||
| # Core functionality | ||
| peci-y := core.o | ||
| obj-$(CONFIG_PECI) += peci.o | ||
|
|
||
| # Hardware specific bus drivers | ||
| obj-y += controller/ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # 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 | ||
| select 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Oops, something went wrong.