Skip to content

Commit

Permalink
ipmi: Add Phytium BT BMC driver support
Browse files Browse the repository at this point in the history
This patch adds a simple device driver to expose the BT interface
on Phytium SoC as a character device. Such SOCs are commonly
used as BMCs (BaseBoard Management Controllers) and this driver
implements the BMC side of the BT 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 14, 2024
1 parent ecf00ab commit 102635b
Show file tree
Hide file tree
Showing 3 changed files with 543 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/char/ipmi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@ config PHYTIUM_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_BT_IPMI_BMC
depends on ARCH_PHYTIUM
depends on REGMAP && REGMAP_MMIO && MFD_SYSCON
tristate "PHYTIUM BT BMC driver"
help
Provides a driver for the BT (Block Transfer) interface found
on Phytium SOCs. The driver implements the BMC side of
the BT interface.

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 @@ -32,3 +32,4 @@ 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
obj-$(CONFIG_PHYTIUM_BT_IPMI_BMC) += bt_bmc_phytium.o
Loading

0 comments on commit 102635b

Please sign in to comment.