Thread (13 messages) 13 messages, 6 authors, 2026-03-06

Re: [PATCH v9 4/5] gpio: rpmsg: add support for NXP legacy firmware protocol

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-03-06 16:56:56
Also in: imx, linux-devicetree, linux-doc, linux-gpio, linux-remoteproc, lkml

Other vendors may add fixed up handlers in the same way to support
their existing products.
But that is exactly what we don't want. Why bother adding a generic
protocol, if vendors then hack it around to make it compatible with
whatever their legacy systems have? We want to discourage such bad
behaviour.

How do we discourage this? We add the label 'legacy' everywhere we
can, so it looks bad. We put the legacy code into a module, behind a
symbol with LEGACY in its name, which is disabled by default.

The messaging i've seen from ST is that they will use the generic
protocol. We reward them for doing this by not bloating the code they
need with legacy support for other vendors...

     Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help