[PATCH v3 0/3] Add StarFive JHB100 soc UFS platform driver

From: Minda Chen

Date: Fri Sep 11 2026 - 06:31:05 EST


JHB100 is a Starfive new RISC-V SoC for datacenter BMC (BaseBoard
Managent Controller). Similar with Aspeed 27x0.

The JHB100 basic driver upstream is in progress:
https://patchwork.kernel.org/project/linux-riscv/cover/20260910100357.130134-1-changhuang.liang@xxxxxxxxxxxxxxxx/

JHB100 contain 1 UFS 3.1 interface and using Synopsys designware
UFS controller/unipro/M-PHY. The ufs-starfive.c contain JHB100
UFS platform driver, unipro driver and M-PHY driver.

The patch base on kernel v7.3-rc1

previous link:
v1:
https://patchwork.kernel.org/project/linux-scsi/cover/20260421091215.120632-1-minda.chen@xxxxxxxxxxxxxxxx/
v2: can't find. (send them 2026.05.09)

changes:
v3:
follow sashiko AI review comments to modify the patch
patch1: remove freq hz setting.
syscon change to phandle because this is no argument.
patch3: Call ufshcd_pltfrm_remove(pdev) and add exit function in
module remove functions.
v2:
patch1 rename dts binding doc from starfive,ufs to starfive,jhb100-ufs

Minda Chen (3):
scsi: ufs: dt-bindings: starfive: Add UFS Host Controller for JHB100
soc
scsi: ufs: dwc: Rename amd-versal2 read/write PHY API and move to dwc
common file
scsi: ufs: starfive: Add UFS support for StarFive JHB100 SoC

.../bindings/ufs/starfive,jhb100-ufs.yaml | 71 +++++
MAINTAINERS | 6 +
drivers/ufs/host/Kconfig | 13 +
drivers/ufs/host/Makefile | 1 +
drivers/ufs/host/ufs-amd-versal2.c | 85 +----
drivers/ufs/host/ufs-starfive.c | 297 ++++++++++++++++++
drivers/ufs/host/ufshcd-dwc.c | 53 ++++
drivers/ufs/host/ufshcd-dwc.h | 20 ++
8 files changed, 478 insertions(+), 68 deletions(-)
create mode 100644 Documentation/devicetree/bindings/ufs/starfive,jhb100-ufs.yaml
create mode 100644 drivers/ufs/host/ufs-starfive.c


base-commit: 89a312991dc6e638a36adc43ccb91dbc25504c04
--
2.17.1