From: Mason Huo <mason.huo@starfivetech.com>
To: Lee Jones <lee@kernel.org>, Corey Minyard <corey@minyard.net>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: mfd@lists.linux.dev, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org,
openipmi-developer@lists.sourceforge.net,
Mason Huo <mason.huo@starfivetech.com>
Subject: [PATCH v2 0/3] Add StarFive JHB100 SuperIO and KCS BMC drivers
Date: Fri, 4 Dec 2026 14:06:20 +0800 [thread overview]
Message-ID: <20261204060623.2994008-1-mason.huo@starfivetech.com> (raw)
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
next reply other threads:[~2026-12-04 6:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 6:06 Mason Huo [this message]
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 6:06 ` [PATCH v2 3/3] ipmi: Add StarFive KCS BMC driver Mason Huo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261204060623.2994008-1-mason.huo@starfivetech.com \
--to=mason.huo@starfivetech.com \
--cc=conor+dt@kernel.org \
--cc=corey@minyard.net \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mfd@lists.linux.dev \
--cc=openipmi-developer@lists.sourceforge.net \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox