Re: [PATCH v5 4/5] gpio: imx-rpmsg: add imx-rpmsg GPIO driver

From: Peng Fan

Date: Thu Nov 06 2025 - 03:11:23 EST


Hi Shenwei,

On Tue, Nov 04, 2025 at 02:33:14PM -0600, Shenwei Wang wrote:
>On i.MX SoCs, 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 <brgl@xxxxxxxx>
>Cc: Andrew Lunn <andrew@xxxxxxx>
>Signed-off-by: Shenwei Wang <shenwei.wang@xxxxxxx>
>---
> drivers/gpio/Kconfig | 17 ++
> drivers/gpio/Makefile | 1 +
> drivers/gpio/gpio-imx-rpmsg.c | 475 ++++++++++++++++++++++++++++++++++

The patch looks good to me, but since the protocol is already generic
enough, I would prefer to drop "imx" in this patch.

Thanks,
Peng