Re: [PATCH v4 09/15] hwspinlock: sun6i: use new callback to initialize hwspinlock priv
From: Wilken Gottwalt
Date: Tue Mar 10 2026 - 06:23:09 EST
On Tue, 10 Mar 2026 11:03:30 +0100
Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi ChenYu,
>
> > > bank_fail:
> > > clk_disable_unprepare(priv->ahb_clk);
> >
> > Just a note, I see further code savings in using the clk and reset devm_
> > helpers. I'll do this after this series is merged, as the context overlaps.
>
> Yes, I saw this, too, but thought that this needs HW for proper testing.
> Great that you are up for it!
Not only that. You may also need to run the CRUST firmware on the OpenRISC
companion core. Getting that hwspinlock driver done and tested was some real
pain in the past. I still have everything on github for this
(https://github.com/wgottwalt/sunxi_hwspinlock). But I may not be able to test
that in time. I moved a while ago and, uhm, quite some hardware disappeared.
greetings