mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vladimir Zapolskiy <vz@mleia.com>
To: Guoniu Zhou <guoniu.zhou@nxp.com>,
	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>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: media: ti,ds90ub953: Add new property ti,gpio-data
Date: Wed, 10 Sep 2025 15:06:12 +0300	[thread overview]
Message-ID: <e526e93e-1373-4f1e-82ab-6b22d68211cd@mleia.com> (raw)
In-Reply-To: <20250910-ds90ub953-v1-1-a7813ffbdf11@nxp.com>

On 9/10/25 12:44, Guoniu Zhou wrote:
> Add new property ti,gpio-data to let user select ds90ub953 gpio output
> remote data coming from the compatible deserializer.
> 
> Signed-off-by: Guoniu Zhou <guoniu.zhou@nxp.com>
> ---
>   Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml | 10 ++++++++++
>   1 file changed, 10 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml b/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml
> index 2e129bf573b79e0ca8f25b4ec5fc6ea76c50abd7..7c3144677f11004468ed3a3fba74e6eee2d259d2 100644
> --- a/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml
> @@ -26,6 +26,16 @@ properties:
>   
>     gpio-controller: true
>   
> +  ti,gpio-data:
> +    $ref: /schemas/types.yaml#/definitions/uint8
> +    default: 0
> +    minimum: 0
> +    maximum: 15
> +    description: |
> +      Program each gpio pin to output remote data coming from compatible
> +      deserializer using the LOCAL_GPIO_DATA[7:4] register. This property
> +      has to be a '/bits/ 8' value.
> +

No, this shall be done as a GPIO controller function of the IC, and not
as a hardcoded (!) custom property.

>     clocks:
>       maxItems: 1
>       description:
> 

NAK, the approach is wrong.

-- 
Best wishes,
Vladimir

  reply	other threads:[~2025-09-10 12:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-10  9:44 [PATCH 0/4] media: i2c: ds90ub953: Add back channel GPIO support Guoniu Zhou
2025-09-10  9:44 ` [PATCH 1/4] dt-bindings: media: ti,ds90ub953: Add new property ti,gpio-data Guoniu Zhou
2025-09-10 12:06   ` Vladimir Zapolskiy [this message]
2025-09-10  9:44 ` [PATCH 2/4] media: i2c: ds90ub953: Add back channel GPIO support Guoniu Zhou
2025-09-10  9:44 ` [PATCH 3/4] media: i2c: ds90ub953: use devm_mutex_init() to simplify code Guoniu Zhou
2025-09-10 22:33   ` Frank Li
2025-09-10  9:44 ` [PATCH 4/4] media: i2c: ds90ub953: use guard() " Guoniu Zhou
2025-09-10 22:31   ` Frank Li

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=e526e93e-1373-4f1e-82ab-6b22d68211cd@mleia.com \
    --to=vz@mleia.com \
    --cc=Frank.Li@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=guoniu.zhou@nxp.com \
    --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 \
    /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®