Hi Bjorn, > -----Original Message----- > From: Shenwei Wang > Sent: Friday, March 13, 2026 2:59 PM > To: Linus Walleij <[email protected]>; Bartosz Golaszewski <[email protected]>; > Jonathan Corbet <[email protected]>; Rob Herring <[email protected]>; Krzysztof > Kozlowski <[email protected]>; Conor Dooley <[email protected]>; Bjorn > Andersson <[email protected]>; Mathieu Poirier > <[email protected]>; Frank Li <[email protected]>; Sascha Hauer > <[email protected]>; [email protected] > Cc: Shuah Khan <[email protected]>; [email protected]; linux- > [email protected]; [email protected]; Pengutronix Kernel Team > <[email protected]>; Fabio Estevam <[email protected]>; Shenwei > Wang <[email protected]>; Peng Fan <[email protected]>; > [email protected]; [email protected]; > [email protected]; [email protected]; dl-linux-imx > <linux- > [email protected]>; Bartosz Golaszewski <[email protected]>; Andrew Lunn > <[email protected]> > Subject: [PATCH v12 3/5] gpio: rpmsg: add generic rpmsg GPIO driver >
Since I rewrote this version based on your earlier feedback --- "My expectation is that it will be better to just have two separate drivers - but reuse all the design-work done in the gpio-virtio." --- I'd glad to hear what you think about this patch. Thanks, Shenwei > On an AMP platform, the system may include two processors: > - An MCU running an RTOS > - An MPU running Linux > > These processors communicate via the RPMSG protocol. > The driver implements the standard GPIO interface, allowing the Linux side to > control GPIO controllers which reside in the remote processor via RPMSG > protocol. > > Cc: Bartosz Golaszewski <[email protected]> > Cc: Andrew Lunn <[email protected]> > Signed-off-by: Shenwei Wang <[email protected]> > --- > drivers/gpio/Kconfig | 17 ++ > drivers/gpio/Makefile | 1 + > drivers/gpio/gpio-rpmsg.c | 596 ++++++++++++++++++++++++++++++++++++++ > 3 files changed, 614 insertions(+) > create mode 100644 drivers/gpio/gpio-rpmsg.c > > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index > b45fb799e36c..cff0fda8a283 100644

