Re: [PATCH v5 3/5] docs: staging: gpio-rpmsg: gpio over rpmsg bus

From: Shenwei Wang

Date: Thu Nov 13 2025 - 17:23:42 EST




> -----Original Message-----
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Sent: Wednesday, November 12, 2025 3:18 PM
> To: Daniel Baluta <daniel.baluta@xxxxxxxxx>; Rob Herring <robh@xxxxxxxxxx>
> Cc: Shenwei Wang <shenwei.wang@xxxxxxx>; Bjorn Andersson
> <andersson@xxxxxxxxxx>; Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>;
> Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>; Conor Dooley
> <conor+dt@xxxxxxxxxx>; Shawn Guo <shawnguo@xxxxxxxxxx>; Sascha Hauer
> <s.hauer@xxxxxxxxxxxxxx>; Jonathan Corbet <corbet@xxxxxxx>; Linus Walleij
> <linus.walleij@xxxxxxxxxx>; Bartosz Golaszewski <brgl@xxxxxxxx>; Pengutronix
> Kernel Team <kernel@xxxxxxxxxxxxxx>; Fabio Estevam <festevam@xxxxxxxxx>;
> Peng Fan <peng.fan@xxxxxxx>; linux-remoteproc@xxxxxxxxxxxxxxx;
> devicetree@xxxxxxxxxxxxxxx; imx@xxxxxxxxxxxxxxx; linux-arm-
> kernel@xxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; linux-
> doc@xxxxxxxxxxxxxxx; dl-linux-imx <linux-imx@xxxxxxx>
> Subject: [EXT] Re: [PATCH v5 3/5] docs: staging: gpio-rpmsg: gpio over rpmsg bus
> On 11/12/25 5:35 AM, Daniel Baluta wrote:
> > On Wed, Nov 12, 2025 at 2:59 PM Rob Herring <robh@xxxxxxxxxx> wrote:
> >>
> >> On Tue, Nov 04, 2025 at 02:33:13PM -0600, Shenwei Wang wrote:
> >>> Describes the gpio rpmsg transport protocol over the rpmsg bus
> >>> between the cores.
> >>>
> >>> Signed-off-by: Shenwei Wang <shenwei.wang@xxxxxxx>
> >>> ---
> >>> Documentation/staging/gpio-rpmsg.rst | 202
> +++++++++++++++++++++++++++
> >>> Documentation/staging/index.rst | 1 +
> >>
> >> Why is this in staging when none of the drivers are?
> >
> > I guess that's because remoteproc.rst and rpmsg.rst are in
> > Documentation/staging and that's because when converting them from
> > .txt to .rst the author didn't know a good place where to move them.
> >
> > Would Documentation/driver-api be a good place for these doc files? I
> > can move them and then Shenwei place the gpio-rpmsg.rst in the
> > Documentation/driver-api also
>
> Documentation/driver-api/gpio/ if its driver documentation.
> Documentation/userspace-api/gpio/ if it user API docs There is also gpio
> documentation in Documentation/admin-guide/gpio/ which could also be
> appropriate depending on the nature of the document.
>

Thanks Randy!

Do we have a final decision on where to place this document?
My thought is that Documentation/driver-api/gpio/ seems more appropriate.
However, it’s worth noting that while this is a driver-related document, it doesn’t describe the driver API itself.

Thanks,
Shenwei

> --
> ~Randy