devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Francesco Dolcini <francesco@dolcini.it>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Bartosz Golaszewski <brgl@bgdev.pl>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Emanuele Ghidoli <emanuele.ghidoli@toradex.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Francesco Dolcini <francesco.dolcini@toradex.com>
Subject: Re: [PATCH v2] dt-bindings: gpio: pca95xx: add Toradex ecgpiol16
Date: Mon, 31 Mar 2025 16:49:27 +0100	[thread overview]
Message-ID: <20250331-resonant-rind-6adb8ad85cf5@spud> (raw)
In-Reply-To: <20250331072644.17921-1-francesco@dolcini.it>

[-- Attachment #1: Type: text/plain, Size: 1729 bytes --]

On Mon, Mar 31, 2025 at 09:26:44AM +0200, Francesco Dolcini wrote:
> From: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
> 
> The Toradex ecgpiol16 is a 16-bit I2C I/O expander implemented using a
> small MCU.
> Its register interface and behavior are compatible with the PCAL6416.
> 
> Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
> ---
> v2: compatible changed from embedded-controller-io16 to ecgpiol16
> v1: https://lore.kernel.org/all/20250328122917.43273-1-francesco@dolcini.it/
> ---
>  Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml
> index 7b1eb08fa055..4d3f52f8d1b8 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml
> +++ b/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml
> @@ -16,6 +16,9 @@ description: |+
>  properties:
>    compatible:
>      oneOf:
> +      - items:
> +          - const: toradex,ecgpiol16
> +          - const: nxp,pcal6416
>        - items:

>            - const: diodes,pi4ioe5v6534q

You could have made this into an enum, and added your new compatible
there. If there's a respin, can you do that please?
Acked-by: Conor Dooley <conor.dooley@microchip.com>

>            - const: nxp,pcal6534
> @@ -132,6 +135,7 @@ allOf:
>                - maxim,max7325
>                - maxim,max7326
>                - maxim,max7327
> +              - toradex,ecgpiol16
>      then:
>        properties:
>          reset-gpios: false
> -- 
> 2.39.5
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2025-03-31 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-31  7:26 [PATCH v2] dt-bindings: gpio: pca95xx: add Toradex ecgpiol16 Francesco Dolcini
2025-03-31 15:49 ` Conor Dooley [this message]
2025-04-07  7:56 ` Bartosz Golaszewski

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=20250331-resonant-rind-6adb8ad85cf5@spud \
    --to=conor@kernel.org \
    --cc=brgl@bgdev.pl \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=emanuele.ghidoli@toradex.com \
    --cc=francesco.dolcini@toradex.com \
    --cc=francesco@dolcini.it \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).