All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ipmi: Add StarFive JHB100 KCS BMC driver
@ 2026-11-18  6:25 Mason Huo
  2026-11-18  6:25 ` [PATCH vV 1/2] dt-bindings: ipmi: Convert starfive,kcs-bmc to DT schema Mason Huo
  2026-11-18  6:25 ` [PATCH vV 2/2] ipmi: add StarFive KCS BMC driver Mason Huo
  0 siblings, 2 replies; 4+ messages in thread
From: Mason Huo @ 2026-11-18  6:25 UTC (permalink / raw)
  To: Corey Minyard, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-kernel, devicetree, openipmi-developer, Mason Huo

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-18  6:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18  6:25 [PATCH 0/2] ipmi: Add StarFive JHB100 KCS BMC driver Mason Huo
2026-11-18  6:25 ` [PATCH vV 1/2] dt-bindings: ipmi: Convert starfive,kcs-bmc to DT schema Mason Huo
2026-11-18  6:36   ` sashiko-bot
2026-11-18  6:25 ` [PATCH vV 2/2] ipmi: add StarFive KCS BMC driver Mason Huo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.