Thread (30 messages) 30 messages, 7 authors, 2022-08-31

Re: [PATCH] gpio: Allow user to customise maximum number of GPIOs

From: Davide Ciminaghi <hidden>
Date: 2022-08-31 21:49:14
Also in: linux-arch, linux-doc, linux-gpio, lkml

On Thu, Sep 01, 2022 at 12:07:26AM +0300, Andy Shevchenko wrote:
On Wed, Aug 31, 2022 at 5:14 PM Davide Ciminaghi [off-list ref] wrote:
quoted
On Wed, Aug 31, 2022 at 03:32:25PM +0200, Linus Walleij wrote:
quoted
On Tue, Aug 30, 2022 at 9:58 AM Davide Ciminaghi [off-list ref] wrote:
quoted
the sta2x11 was a chip containing AMBA peripherals and a PCIe to AMBA bridge
(it is still in production as far as I know, but deprecated for new designs).
It would typically be installed on x86 machines, so you needed to build and
run AMBA drivers in an x86 environment. The original drivers we started from
had platform data, but then we were told to switch to DTS.
For the record I think that was bad advice, I hope it wasn't me.
But the world was different back then I suppose.
Adding DTS to x86 which is inherently ACPI is not a good idea.
Especially if you look at how SBSA ACPI UARTS were done
in drivers/tty/serial/amba-pl011.c.
now that I think of it, ACPI was also listed as a possible choice, but the
problem was that we didn't know much about ACPI, and took the DTS way.
So there was no bad advice, just fear of the unknown :-)
Feel free to ask, we have experts in the mailing list(s).
Thanks ! I'll keep that in mind in case I need some ACPI advice.
I'm afraid it's too late for the sta2x11, though. Its kernel is now a
downstream one, and it's been freezed, as the SOC has been deprecated
for new designs.
As Alessandro said, we'll submit (or ack) patches for removal.



Thanks again and regards
Davide

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help