Skip to content

Commit

Permalink
ipmi: Add Phytium KCS IPMI BMC driver support
Browse files Browse the repository at this point in the history
This driver exposes the KCS interface on Phytium SOCs as a
character device. Such SOCs are commonly used as BMCs and this driver
implements the BMC side of the KCS interface.

Signed-off-by: Li Yuting <[email protected]>
Signed-off-by: Cheng Quan <[email protected]>
Signed-off-by: Chen Zhenhua <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
  • Loading branch information
lyt31 committed May 13, 2024
1 parent 0b3ca80 commit 8d35e8e
Show file tree
Hide file tree
Showing 3 changed files with 450 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/char/ipmi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,18 @@ config ASPEED_KCS_IPMI_BMC
The driver implements the BMC side of the KCS contorller, it
provides the access of KCS IO space for BMC side.

config PHYTIUM_KCS_IPMI_BMC
depends on ARCH_PHYTIUM
select IPMI_KCS_BMC
select REGMAP_MMIO
tristate "Phytium KCS IPMI BMC driver"
help
Provides a driver for the KCS (Keyboard Controller Style) IPMI
interface found on Phytium SOCs.

The driver implements the BMC side of the KCS contorller, it
provides the access of KCS IO space for BMC side.

config NPCM7XX_KCS_IPMI_BMC
depends on ARCH_NPCM || COMPILE_TEST
select IPMI_KCS_BMC
Expand Down
1 change: 1 addition & 0 deletions drivers/char/ipmi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ obj-$(CONFIG_ASPEED_KCS_IPMI_BMC) += kcs_bmc_aspeed.o
obj-$(CONFIG_NPCM7XX_KCS_IPMI_BMC) += kcs_bmc_npcm7xx.o
obj-$(CONFIG_IPMB_DEVICE_INTERFACE) += ipmb_dev_int.o
obj-$(CONFIG_SSIF_IPMI_BMC) += ssif_bmc.o
obj-$(CONFIG_PHYTIUM_KCS_IPMI_BMC) += kcs_bmc_phytium.o
Loading

0 comments on commit 8d35e8e

Please sign in to comment.