mbox series

[0/3] Add support for hwspinlock on A64 SoC

Message ID 20200210170143.20007-1-nborisov@suse.com (mailing list archive)
Headers show
Series Add support for hwspinlock on A64 SoC | expand

Message

Nikolay Borisov Feb. 10, 2020, 5:01 p.m. UTC
Here are a couple of patches that add support for hwspinlock ip block in the A64
SoC. I tested the driver on a pine64-lts and it seems to work - clock gating is
disabled and soft reset is de-asserted.

Nikolay Borisov (3):
  hwspinlock: sunxi: Implement support for Allwinner's A64 SoC
  arm64: dts: allwinner: a64: Add hwspinlock node
  dt-bindings: hwlock: Document A64 hwspinlock bindings

 .../bindings/hwlock/sunxi-hwspinlock.txt      |  27 +++
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi |   9 +
 drivers/hwspinlock/Kconfig                    |   9 +
 drivers/hwspinlock/Makefile                   |   1 +
 drivers/hwspinlock/sunxi_hwspinlock.c         | 181 ++++++++++++++++++
 5 files changed, 227 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwlock/sunxi-hwspinlock.txt
 create mode 100644 drivers/hwspinlock/sunxi_hwspinlock.c

--
2.17.1