Skip to content

Commit e3eb937

Browse files
lyt31MingcongBai
authored andcommitted
ipmi: Add Phytium KCS IPMI BMC driver support
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]>
1 parent 70ad6fc commit e3eb937

File tree

3 files changed

+450
-0
lines changed

3 files changed

+450
-0
lines changed

drivers/char/ipmi/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,18 @@ config ASPEED_KCS_IPMI_BMC
118118
The driver implements the BMC side of the KCS contorller, it
119119
provides the access of KCS IO space for BMC side.
120120

121+
config PHYTIUM_KCS_IPMI_BMC
122+
depends on ARCH_PHYTIUM
123+
select IPMI_KCS_BMC
124+
select REGMAP_MMIO
125+
tristate "Phytium KCS IPMI BMC driver"
126+
help
127+
Provides a driver for the KCS (Keyboard Controller Style) IPMI
128+
interface found on Phytium SOCs.
129+
130+
The driver implements the BMC side of the KCS contorller, it
131+
provides the access of KCS IO space for BMC side.
132+
121133
config NPCM7XX_KCS_IPMI_BMC
122134
depends on ARCH_NPCM || COMPILE_TEST
123135
select IPMI_KCS_BMC

drivers/char/ipmi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ obj-$(CONFIG_ASPEED_KCS_IPMI_BMC) += kcs_bmc_aspeed.o
3131
obj-$(CONFIG_NPCM7XX_KCS_IPMI_BMC) += kcs_bmc_npcm7xx.o
3232
obj-$(CONFIG_IPMB_DEVICE_INTERFACE) += ipmb_dev_int.o
3333
obj-$(CONFIG_SSIF_IPMI_BMC) += ssif_bmc.o
34+
obj-$(CONFIG_PHYTIUM_KCS_IPMI_BMC) += kcs_bmc_phytium.o

0 commit comments

Comments
 (0)