ipmi: Add StarFive JHB100 KCS BMC driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: ipmi: Convert starfive,kcs-bmc to DT schemaDocumentation/ | +53 | 6 replies | |
| 2/2 | ipmi: add StarFive KCS BMC driverMAINTAINERS drivers/ drivers/ +1 more | +333 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] ipmi: Add StarFive JHB100 KCS BMC driver
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