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/[email protected]/ 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

