Re: [PATCH] x86/olpc: select GPIOLIB_LEGACY

Arnd Bergmann
2026-04-28T13:57:32Z

On Mon, Apr 27, 2026, at 22:13, Linus Walleij wrote:
> On Mon, Apr 27, 2026 at 4:43 PM Arnd Bergmann <arnd@kernel.org> wrote:
>> Select CONFIG_GPIOLIB_LEGACY for this platform and make sure the
>> sound driver portion cannot be compiled without this.
>>
>> Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
> Reviewed-by: Linus Walleij <linusw@kernel.org>
>
> I started to try to fix up this driver but it's such a mess. I feel
> the OLPC XO1 support needs to be deleted unless someone
> steps up to actually test and maintain it.

I understand where you're coming from: the machine was certainly
never really nice and was already quite underpowered 20 years ago,
Pretty much any distro that used to support it has stopped
years ago.

On the other hand, even the XO-1 was widely shipped to both users
and developers, super durable, and influential. There are a handful
of other upstream board files for the SCx200/Geode family, but this
is probably the most common one by far.

I see that the display controller driver (olpc_dcon) was removed
two years ago after being broken for years. It was first
removed in 2016 but restored immediately as there were still
users at the time.

I've added Andres Salomon, James Cameron and Lubomir Rintel
to Cc, they may have more information about who is still using
XO-1, and if anyone is still updating kernels.

Arnd