From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Marcus Folkesson <marcus.folkesson@gmail.com>,
Linus Walleij <linus.walleij@linaro.org>,
Bartosz Golaszewski <brgl@bgdev.pl>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Maxime Ripard <mripard@kernel.org>
Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] dt-bindings: gpio: fairchild,74hc595: add strobe-gpios property
Date: Thu, 21 Jul 2022 12:03:37 +0200 [thread overview]
Message-ID: <9448dcb4-7eac-7efa-0062-bcc1797fa09d@linaro.org> (raw)
In-Reply-To: <20220721093422.2173982-2-marcus.folkesson@gmail.com>
On 21/07/2022 11:34, Marcus Folkesson wrote:
> Some shift registers (74hc4094 for example) has a strobe signal to latch
> data from the serial input to the parallel output.
>
> Add an optional strobe-gpios property to support those chips.
>
> Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> ---
> .../devicetree/bindings/gpio/fairchild,74hc595.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
> index a99e7842ca17..9893df9ae22c 100644
> --- a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
> +++ b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
> @@ -14,6 +14,8 @@ properties:
> enum:
> - fairchild,74hc595
> - nxp,74lvc594
> + - ti,cd54hc4094
> + - ti,cd74hc4094
>
> reg:
> maxItems: 1
> @@ -33,6 +35,10 @@ properties:
> description: GPIO connected to the OE (Output Enable) pin.
> maxItems: 1
>
> + strobe-gpios:
> + description: GPIO connected to the STROBE pin
> + maxItems: 1
This should be disallowed (in allOf:if:then) for variants which do not
support it (or do not have even STROBE pin).
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-07-21 10:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-21 9:34 [PATCH 1/2] gpio: gpio-74x164: add support for CDx4HC4094 Marcus Folkesson
2022-07-21 9:34 ` [PATCH 2/2] dt-bindings: gpio: fairchild,74hc595: add strobe-gpios property Marcus Folkesson
2022-07-21 10:03 ` Krzysztof Kozlowski [this message]
2022-07-26 7:48 ` Linus Walleij
2022-07-21 11:53 ` [PATCH 1/2] gpio: gpio-74x164: add support for CDx4HC4094 Alexander Dahl
2022-07-25 9:32 ` Andy Shevchenko
2022-07-25 9:34 ` Andy Shevchenko
2022-07-25 11:24 ` Marcus Folkesson
2022-07-25 13:54 ` Linus Walleij
2022-07-25 20:41 ` Andy Shevchenko
2022-07-25 20:48 ` Andy Shevchenko
2022-07-25 22:22 ` Linus Walleij
2022-07-26 6:54 ` Andy Shevchenko
2022-07-26 7:00 ` Andy Shevchenko
2022-07-26 7:02 ` Andy Shevchenko
2022-07-26 7:23 ` Linus Walleij
2022-07-26 7:30 ` Andy Shevchenko
2022-07-26 8:28 ` Linus Walleij
2022-07-26 9:03 ` Andy Shevchenko
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=9448dcb4-7eac-7efa-0062-bcc1797fa09d@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=brgl@bgdev.pl \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcus.folkesson@gmail.com \
--cc=mripard@kernel.org \
--cc=robh+dt@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
all inboxes | Powered by JetHome®