Thread (12 messages) 12 messages, 4 authors, 2026-02-11

Re: [PATCH v7 1/4] dt-bindings: remoteproc: imx_rproc: Add "rpmsg" subnode support

flat view

From: Shenwei Wang <shenwei.wang@nxp.com>
Date: 2026-02-11 17:26:11
Also in: imx, linux-devicetree, linux-doc, linux-gpio, linux-remoteproc, lkml

-----Original Message-----
From: Rob Herring (Arm) <robh@kernel.org>
Sent: Tuesday, February 10, 2026 2:48 PM
To: Shenwei Wang <shenwei.wang@nxp.com>
Cc: Bartosz Golaszewski <brgl@kernel.org>; dl-linux-imx <redacted>;
devicetree@vger.kernel.org; Linus Walleij [off-list ref];
arnaud.pouliquen@foss.st.com; Krzysztof Kozlowski [off-list ref];
Sascha Hauer [off-list ref]; Shawn Guo [off-list ref];
linux-gpio@vger.kernel.org; Bjorn Andersson [off-list ref];
Pengutronix Kernel Team [off-list ref]; linux-arm-
kernel@lists.infradead.org; linux-remoteproc@vger.kernel.org; Peng Fan
[off-list ref]; Conor Dooley [off-list ref];
imx@lists.linux.dev; Jonathan Corbet [off-list ref]; Mathieu Poirier
[off-list ref]; Fabio Estevam [off-list ref]; linux-
doc@vger.kernel.org; linux-kernel@vger.kernel.org
Subject: [EXT] Re: [PATCH v7 1/4] dt-bindings: remoteproc: imx_rproc: Add
"rpmsg" subnode support

On Tue, 10 Feb 2026 11:08:11 -0600, Shenwei Wang wrote:
quoted
Remote processors may announce multiple GPIO controllers over an RPMSG
channel. These GPIO controllers may require corresponding device tree
nodes, especially when acting as providers, to supply phandles for
their consumers.

Define an RPMSG node to work as a container for a group of RPMSG
channels under the imx_rproc node. Each subnode within "rpmsg"
represents an individual RPMSG channel. The name of each subnode
corresponds to the channel name as defined by the remote processor.

All remote devices associated with a given channel are defined as
child nodes under the corresponding channel node.

Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
---
 .../devicetree/bindings/gpio/gpio-rpmsg.yaml  | 55 +++++++++++++++++++
 .../bindings/remoteproc/fsl,imx-rproc.yaml    | 53 ++++++++++++++++++
 2 files changed, 108 insertions(+)
 create mode 100644
Documentation/devicetree/bindings/gpio/gpio-rpmsg.yaml
My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:


doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/gpio/gpio-rpmsg.yaml references
a file that doesn't exist: Documentation/driver-api/gpio/gpio-rpmsg.rst
Documentation/devicetree/bindings/gpio/gpio-rpmsg.yaml:
Documentation/driver-api/gpio/gpio-rpmsg.rst
The .rst file mentioned in the description is included in this same patch set.

Thanks,
Shenwei
See
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork
.kernel.org%2Fproject%2Fdevicetree%2Fpatch%2F20260210170814.406883-2-
shenwei.wang%40nxp.com&data=05%7C02%7Cshenwei.wang%40nxp.com%7C
ec16fbf197124fe4a79408de68e5b709%7C686ea1d3bc2b4c6fa92cd99c5c301635
%7C0%7C0%7C639063532995959644%7CUnknown%7CTWFpbGZsb3d8eyJFbXB
0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCI
sIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=if3xgNzIUU4Abj9FiShAH8aJ9LU9S
OcBUbKqAn%2FcUbw%3D&reserved=0

The base for the series is generally the latest rc1. A different dependency should
be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above error(s), then
make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note that
DT_SCHEMA_FILES can be set to your schema file to speed up checking your
schema. However, it must be unset to test all examples with your schema.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help