[PATCH 0/2] ipmi: Add StarFive JHB100 KCS BMC driver
From: Mason Huo
Date: Wed Nov 18 2026 - 01:25:54 EST
This series adds support for the KCS (Keyboard Controller Style) interface
of the StarFive JHB100 SoC, a RISC-V SoC used as a BMC on server boards.
KCS is used for in-band IPMI communication between the host and the BMC.
The KCS channels are functions of a Super I/O (SIO) block which the host
accesses over the eSPI bus. The driver is a backend for the existing KCS
BMC core, like the ASPEED and Nuvoton drivers.
Notes for review:
- The channel number is not described in the devicetree. It is derived
from the register offset of the channel and the "starfive,sio-id"
property of the parent SIO node.
- The hardware has an IBF interrupt only, there is no OBE interrupt.
- The "espi_rst" interrupt fires when the host de-asserts the eSPI bus
reset. The reset clears the KCS interrupt enable register, so the
driver restores it from a shadow copy.
Mason Huo (2):
dt-bindings: ipmi: Convert starfive,kcs-bmc to DT schema
ipmi: add a StarFive KCS BMC driver
.../bindings/ipmi/starfive,kcs-bmc.yaml | 53 +++
MAINTAINERS | 6 +
drivers/char/ipmi/Kconfig | 15 +
drivers/char/ipmi/Makefile | 1 +
drivers/char/ipmi/kcs_bmc_starfive.c | 311 ++++++++++++++++++
5 files changed, 386 insertions(+)
create mode 100644 Documentation/devicetree/bindings/ipmi/starfive,kcs-bmc.yaml
create mode 100644 drivers/char/ipmi/kcs_bmc_starfive.c