Re: [PATCH v4 2/2] hwspinlock: add sun8i hardware spinlock support

2020-12-14 Thread Bjorn Andersson
On Fri 11 Dec 08:40 CST 2020, Samuel Holland wrote: > On 12/11/20 3:03 AM, Maxime Ripard wrote: > > Hi, > > > > On Fri, Dec 11, 2020 at 09:24:15AM +0100, Wilken Gottwalt wrote: > >> Adds the sun8i_hwspinlock driver for the hardware spinlock unit found in > >> most of the sun8i compatible SoCs. >

Re: [PATCH v4 2/2] hwspinlock: add sun8i hardware spinlock support

2020-12-11 Thread Wilken Gottwalt
On Fri, 11 Dec 2020 10:03:12 +0100 Maxime Ripard wrote: > Hi, > > On Fri, Dec 11, 2020 at 09:24:15AM +0100, Wilken Gottwalt wrote: > > Adds the sun8i_hwspinlock driver for the hardware spinlock unit found in > > most of the sun8i compatible SoCs. > > > > This unit provides at least 32 spinlocks

Re: [PATCH v4 2/2] hwspinlock: add sun8i hardware spinlock support

2020-12-11 Thread Samuel Holland
On 12/11/20 3:03 AM, Maxime Ripard wrote: > Hi, > > On Fri, Dec 11, 2020 at 09:24:15AM +0100, Wilken Gottwalt wrote: >> Adds the sun8i_hwspinlock driver for the hardware spinlock unit found in >> most of the sun8i compatible SoCs. >> >> This unit provides at least 32 spinlocks in hardware. The imp

Re: [PATCH v4 2/2] hwspinlock: add sun8i hardware spinlock support

2020-12-11 Thread Maxime Ripard
Hi, On Fri, Dec 11, 2020 at 09:24:15AM +0100, Wilken Gottwalt wrote: > Adds the sun8i_hwspinlock driver for the hardware spinlock unit found in > most of the sun8i compatible SoCs. > > This unit provides at least 32 spinlocks in hardware. The implementation > supports 32, 64, 128 or 256 32bit reg

[PATCH v4 2/2] hwspinlock: add sun8i hardware spinlock support

2020-12-11 Thread Wilken Gottwalt
Adds the sun8i_hwspinlock driver for the hardware spinlock unit found in most of the sun8i 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