Re: [PATCH v3 0/8] pinctrl: Add T-Head TH1520 SoC pin controllers
From: Drew Fustini
Date: Wed Oct 02 2024 - 14:35:10 EST
On Tue, Oct 01, 2024 at 02:13:20PM +0200, Linus Walleij wrote:
> On Mon, Sep 30, 2024 at 9:51 PM Drew Fustini <dfustini@xxxxxxxxxxxxxxx> wrote:
>
> > This adds a pin control driver created by Emil for the T-Head TH1520
> > RISC-V SoC used on the Lichee Pi 4A and BeagleV Ahead boards and updates
> > the device trees to make use of it.
>
> Thanks Drew, v3 looks good. I've merged it to an immutable branch:
> https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=ib-thead-th1520
>
> Then I merged that into my "devel" branch for v6.13.
Thanks for taking this. Will that also end up in linux-next eventually?
I'm working on a TH1520 Ethernet driver which depends on the pinctrl
driver. Andrew Lunn replied to me that all the dependencies need to be
in linux-next [1].
> You can merge the DTS/DTSI files through the SoC tree, FWIW:
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Thanks, I'll take the dts through my thead tree [2].
> I think I'll make a stab at using guarded mutexes etc and see what
> you think about it!
Do you mean using scoped_guard() for thp->mutex in
th1520_pinctrl_dt_node_to_map()?
thanks,
drew
[1] https://lore.kernel.org/linux-riscv/99af411c-ff40-4396-a6e2-5aac179ba1be@xxxxxxx/T/#t
[2] https://github.com/pdp7/linux/tree/thead-dt-for-next