Files
linux-st/drivers/hwspinlock
Fabien Dessenne 4810162d80 hwspinlock: allow sharing of hwspinlocks
The current implementation does not allow different devices to use a
common hwspinlock. Offer the possibility to use the same hwspinlock by
several users.
If a device registers to the framework with #hwlock-cells = 2, then
the second parameter of the 'hwlocks' DeviceTree property defines
whether an hwlock is requested for an exclusive or a shared usage.
If a device registers with #hwlock-cells = 1, then all the hwlocks are
for an exclusive usage.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Change-Id: I3998171e6de2c036e47dbdbffec48acbce8c5f93
2022-03-25 16:14:46 +01:00
..