Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add StarFive JHB100 SuperIO and KCS BMC drivers
@ 2026-12-04  6:06 Mason Huo
  2026-12-04  6:06 ` [PATCH v2 1/3] dt-bindings: mfd: Add StarFive JHB100 SuperIO Mason Huo
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mason Huo @ 2026-12-04  6:06 UTC (permalink / raw)
  To: Lee Jones, Corey Minyard, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: mfd, 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 the SuperIO (SIO) blocks of the SoC,
which the host accesses over the eSPI bus. The layout of an SIO block is
fixed, so v2 describes it as a single devicetree node and adds an MFD
driver which registers the KCS channels. The KCS driver is a backend of
the KCS BMC core.

Changes in v2:
- Describe an SIO block as a single node, add its binding and an MFD driver
- Drop the binding of a single KCS channel and the "starfive,sio-id"
- ipmi: Rename the "espi_rst" interrupt to "espi"

v1: https://lore.kernel.org/lkml/20261118062526.1436893-3-mason.huo@starfivetech.com/

Mason Huo (3):
  dt-bindings: mfd: Add StarFive JHB100 SuperIO
  mfd: Add StarFive JHB100 SuperIO driver
  ipmi: Add StarFive KCS BMC driver

 .../bindings/mfd/starfive,jhb100-sio.yaml     |  75 +++++
 MAINTAINERS                                   |  11 +
 drivers/char/ipmi/Kconfig                     |  16 +
 drivers/char/ipmi/Makefile                    |   1 +
 drivers/char/ipmi/kcs_bmc_starfive.c          | 273 ++++++++++++++++++
 drivers/mfd/Kconfig                           |  13 +
 drivers/mfd/Makefile                          |   1 +
 drivers/mfd/starfive-jhb100-sio.c             | 188 ++++++++++++
 8 files changed, 578 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/starfive,jhb100-sio.yaml
 create mode 100644 drivers/char/ipmi/kcs_bmc_starfive.c
 create mode 100644 drivers/mfd/starfive-jhb100-sio.c

-- 
2.50.1


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

end of thread, other threads:[~2026-12-04  8:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04  6:06 [PATCH v2 0/3] Add StarFive JHB100 SuperIO and KCS BMC drivers Mason Huo
2026-12-04  6:06 ` [PATCH v2 1/3] dt-bindings: mfd: Add StarFive JHB100 SuperIO Mason Huo
2026-12-04  6:06 ` [PATCH v2 2/3] mfd: Add StarFive JHB100 SuperIO driver Mason Huo
2026-12-04  8:30   ` Uwe Kleine-König
2026-12-04  6:06 ` [PATCH v2 3/3] ipmi: Add StarFive KCS BMC driver Mason Huo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox