Re: [PATCH v3 0/5] sh: mach-rsk: rsk7203: switch to using static device property, drop legacy gpio API

From: Arnd Bergmann

Date: Mon Nov 23 2026 - 03:45:51 EST


On Mon, Nov 23, 2026, at 07:44, Dmitry Torokhov wrote:
> On Wed, Sep 30, 2026 at 11:37:10AM +0300, Andy Shevchenko wrote:
>> On Wed, Sep 30, 2026 at 09:23:21AM +0200, Arnd Bergmann wrote:
> ...
>> > The patches look good to me. I have build-tested this with the snippet
>> > below and my series from
>> > https://lore.kernel.org/all/20260907090956.2825703-2-arnd@xxxxxxxxxx/
>> > to check that no use of the legacy interfaces remain.
>> > You can probably fold my one-liner into your last patch.
> ...
>> > I would guess even with access to hardware testing is going to be
>> > challenging, I noticed that the defconfig kernel does not fit on the
>> > 4MB flash any more (even without rootfs), and the USB support was
>> > never added for rsk7203, only for 7264/7269.
>>
>> ...which induces a practical question, shouldn't we just drop the whole thing
>> for good?
>
> Gentle ping on this series. Will you be applying these patches (possibly
> with Arnd's Kconfig tweak folded in), or would you prefer patches
> removing rsk7203 support altogether since it is not working anyway?

Hi Dmitry,

I just noticed that neither your series nor mine [1] has made it into
v7.4, so we have the same conflict again for 7.5.

I would suggest that in order to get it moving, I'll send my patches
as v8 without the rsk7203 oneliner so we can merge that through the
gpio tree.

If you rebase yours to drop both the '#include linux/gpio.h' and
'select GPIOLIB_LEGACY', then your patch is correct both with and
without mine and there is no conflict other than rsk7203 having
an intermittent build failure that I hope nobody cares about.

Arnd

[1] https://lore.kernel.org/all/CAMRc=McRc9Aw-5WBipW5QhqqHp4+UKch15ui3E8a0srk2CUN7g@xxxxxxxxxxxxxx/