[PATCH v5 4/5] gpio: imx-rpmsg: add imx-rpmsg GPIO driver
Peng Fan
peng.fan at oss.nxp.com
Thu Nov 6 00:12:03 PST 2025
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 at bgdev.pl>
>Cc: Andrew Lunn <andrew at lunn.ch>
>Signed-off-by: Shenwei Wang <shenwei.wang at nxp.com>
>---
> 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
More information about the linux-arm-kernel
mailing list