[PATCH v4 0/4] Add StarFive JHB100 soc UFS platform driver
From: Minda Chen
Date: Thu Nov 12 2026 - 03:08:00 EST
JHB100 is a Starfive new RISC-V SoC for datacenter BMC (BaseBoard
Managent Controller). Similar with Aspeed 27x0.
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.4-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)
v3: https://patchwork.kernel.org/project/linux-scsi/cover/20260911102359.83288-1-minda.chen@xxxxxxxxxxxxxxxx/
changes:
v4:
patch1: and operating-table-v2 to required attribue and add it to
example dts
Add new patch2 to make PHY register DME attribute tables per-call
to fix sashiko ai review bug.
new patch3 change commit message.
new patch4 fix sashiko ai review bug.
1. remove the main clock and make it enable in core clk
function.
2. add phy_rst flag and phy reset assert while phy init failed.
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 (4):
scsi: ufs: dt-bindings: starfive: Add UFS Host Controller for JHB100
SoC
scsi: ufs: amd-versal2: Make PHY register DME attribute tables
per-call
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 | 81 +++++
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 | 283 ++++++++++++++++++
drivers/ufs/host/ufshcd-dwc.c | 61 ++++
drivers/ufs/host/ufshcd-dwc.h | 20 ++
8 files changed, 482 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: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
--
2.17.1