Re: [PATCH v7 2/2] hwspinlock: add sun6i hardware spinlock support

2021-03-18 Thread Wilken Gottwalt
On Mon, 15 Mar 2021 17:12:20 +0100 Maxime Ripard wrote: > On Sun, Mar 14, 2021 at 10:31:13AM +0100, Wilken Gottwalt wrote: > > Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in > > most of the sun6i compatible SoCs. > > > > This unit provides at least 32 spinlocks in hardw

Re: [PATCH v7 2/2] hwspinlock: add sun6i hardware spinlock support

2021-03-15 Thread Maxime Ripard
On Sun, Mar 14, 2021 at 10:31:13AM +0100, Wilken Gottwalt wrote: > Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in > most of the sun6i compatible SoCs. > > This unit provides at least 32 spinlocks in hardware. The implementation > supports 32, 64, 128 or 256 32bit register

[PATCH v7 2/2] hwspinlock: add sun6i hardware spinlock support

2021-03-14 Thread Wilken Gottwalt
Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in most of the sun6i compatible SoCs. This unit provides at least 32 spinlocks in hardware. The implementation supports 32, 64, 128 or 256 32bit registers. A lock can be taken by reading a register and released by writing a 0 to