[PATCH v2 0/2] Add hwspinlock driver for StarFive JHB100 SoC

Xingyu Wu posted 2 patches 4 weeks ago
.../hwlock/starfive,jhb100-hwspinlock.yaml    |  43 ++++++
MAINTAINERS                                   |   6 +
drivers/hwspinlock/Kconfig                    |   8 ++
drivers/hwspinlock/Makefile                   |   1 +
drivers/hwspinlock/starfive_hwspinlock.c      | 130 ++++++++++++++++++
5 files changed, 188 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinlock.yaml
create mode 100644 drivers/hwspinlock/starfive_hwspinlock.c
[PATCH v2 0/2] Add hwspinlock driver for StarFive JHB100 SoC
Posted by Xingyu Wu 4 weeks ago
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.

Changes since v1:
- Simplified the subject.
- Added 'StarFive JHB100' in documentation title.
- Modified the name of example.
- Added the property of 'clocks'.

v1: https://lore.kernel.org/all/20260424032026.62301-1-xingyu.wu@starfivetech.com/

Xingyu Wu (2):
  dt-bindings: hwlock: Add StarFive JHB100 HW lock
  hwspinlock: Add StarFive hwspinlock device

 .../hwlock/starfive,jhb100-hwspinlock.yaml    |  43 ++++++
 MAINTAINERS                                   |   6 +
 drivers/hwspinlock/Kconfig                    |   8 ++
 drivers/hwspinlock/Makefile                   |   1 +
 drivers/hwspinlock/starfive_hwspinlock.c      | 130 ++++++++++++++++++
 5 files changed, 188 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinlock.yaml
 create mode 100644 drivers/hwspinlock/starfive_hwspinlock.c

-- 
2.34.1