[PATCH v4 09/15] hwspinlock: sun6i: use new callback to initialize hwspinlock priv
Wilken Gottwalt
wilken.gottwalt at posteo.net
Tue Mar 10 03:22:23 PDT 2026
On Tue, 10 Mar 2026 11:03:30 +0100
Wolfram Sang <wsa+renesas at sang-engineering.com> 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
More information about the linux-arm-kernel
mailing list