[PATCH v1 0/2] Add hwspinlock driver for StarFive JHB100 SoC
From: Xingyu Wu
Date: Fri Apr 24 2026 - 00:54:02 EST
This patch serises are to add hardware spinlock driver for the StarFive
JHB100 SoC. The first patch adds documentation for StarFive Hardware
Spinlock. The subsequent patch adds hwspinlock driver and support JHB100
SoC.
The StarFive hwspinlock supports 16 channels for using by secur core and
AP core to restrict access and protect the memory area.
Xingyu Wu (2):
dt-bindings: hwlock: Add the support of HWspinlock for StarFive JHB100
hwspinlock: Add StarFive hwspinlock device
.../hwlock/starfive,jhb100-hwspinlock.yaml | 40 ++++++
MAINTAINERS | 6 +
drivers/hwspinlock/Kconfig | 8 ++
drivers/hwspinlock/Makefile | 1 +
drivers/hwspinlock/starfive_hwspinlock.c | 130 ++++++++++++++++++
5 files changed, 185 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinlock.yaml
create mode 100644 drivers/hwspinlock/starfive_hwspinlock.c
--
2.34.1