[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aMly0eRgNRB2VqU9@lizhi-Precision-Tower-5810>
Date: Tue, 16 Sep 2025 10:23:13 -0400
From: Frank Li <Frank.li@....com>
To: Guoniu Zhou <guoniu.zhou@....com>
Cc: Tomi Valkeinen <tomi.valkeinen@...asonboard.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, linux-media@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
imx@...ts.linux.dev
Subject: Re: [PATCH v3 1/4] dt-bindings: media: ti,ds90ub953: Add new range
for remote GPIO data
On Tue, Sep 16, 2025 at 05:43:43PM +0800, Guoniu Zhou wrote:
> 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@....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..234276a8738a7fbe9fadad62f12366697da97b11 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: |
suppose should be >
The second style is folded which is indicated by ">" character. In addition
to maintaining line breaks on double line breaks, the folded style also
maintains leading whitespace beyond indentation of the first line. The line
breaks on indented lines are also maintained.
Frank
> 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
>
Powered by blists - more mailing lists