From: Guoniu Zhou <guoniu.zhou@oss.nxp.com>
To: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Frank Li <Frank.Li@nxp.com>,
Vladimir Zapolskiy <vz@mleia.com>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, imx@lists.linux.dev,
Guoniu Zhou <guoniu.zhou@nxp.com>
Subject: [PATCH v4 1/4] dt-bindings: media: ti,ds90ub953: Add new range for remote GPIO data
Date: Fri, 27 Feb 2026 19:21:10 +0800 [thread overview]
Message-ID: <20260227-ds90ub953-v4-1-dea596205f9e@nxp.com> (raw)
In-Reply-To: <20260227-ds90ub953-v4-0-dea596205f9e@nxp.com>
From: Guoniu Zhou <guoniu.zhou@nxp.com>
The DS90UB953 supports four pins, GPIO0 through GPIO3. When enabled as an
output, it can be programed to output local data or remote data coming
from the remote compatible deserializer.
Make a different GPIO range for remote ones.
Signed-off-by: Guoniu Zhou <guoniu.zhou@nxp.com>
---
Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml b/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml
index 2e129bf573b79e0ca8f25b4ec5fc6ea76c50abd7..0444f3739b775848d17adfebc4158e83b69adf9c 100644
--- a/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml
@@ -20,9 +20,13 @@ properties:
'#gpio-cells':
const: 2
- description:
+ description: >
First cell is the GPIO pin number, second cell is the flags. The GPIO pin
- number must be in range of [0, 3].
+ number must be in range of [0, 3] when enabled as an input.
+
+ If enabled as an output, the GPIO pin number must be in range of
+ [0, 7] and [0, 3] for local GPIO data, [4, 7] for GPIO data coming
+ from remote compatible deserializer.
gpio-controller: true
--
2.34.1
next prev parent reply other threads:[~2026-02-27 11:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-27 11:21 [PATCH v4 0/4] media: i2c: ds90ub953: Add back channel GPIO support Guoniu Zhou
2026-02-27 11:21 ` Guoniu Zhou [this message]
2026-02-27 18:17 ` [PATCH v4 1/4] dt-bindings: media: ti,ds90ub953: Add new range for remote GPIO data Conor Dooley
2026-02-27 18:19 ` Conor Dooley
2026-02-27 11:21 ` [PATCH v4 2/4] media: i2c: ds90ub953: Add back channel GPIO support Guoniu Zhou
2026-02-27 11:21 ` [PATCH v4 3/4] media: i2c: ds90ub953: use devm_mutex_init() to simplify code Guoniu Zhou
2026-02-27 11:21 ` [PATCH v4 4/4] media: i2c: ds90ub953: use guard() " Guoniu Zhou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260227-ds90ub953-v4-1-dea596205f9e@nxp.com \
--to=guoniu.zhou@oss.nxp.com \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=guoniu.zhou@nxp.com \
--cc=imx@lists.linux.dev \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=vz@mleia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®