From: Rob Herring <robh@kernel.org>
To: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Cc: Mark Brown <broonie@kernel.org>, Pratyush Yadav <p.yadav@ti.com>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-spi@vger.kernel.org, Michal Simek <michal.simek@xilinx.com>,
git@xilinx.com, saikrishna12468@gmail.com, sgoud@xilinx.com
Subject: Re: [PATCH 1/2] dt-bindings: spi: cadence-quadspi: Add reset-gpios for Xilinx Versal OSPI
Date: Wed, 6 Apr 2022 13:23:27 -0500 [thread overview]
Message-ID: <Yk3an4F0s2p0vxKi@robh.at.kernel.org> (raw)
In-Reply-To: <1649156437-15609-2-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com>
On Tue, Apr 05, 2022 at 04:30:36PM +0530, Sai Krishna Potthuri wrote:
> Add reset-gpios property to the properties list and marked as required
> for Xilinx Versal OSPI compatible. This is used to perform the HW reset
> for OSPI flash device.
>
> Signed-off-by: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
> ---
> Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
> index 0a537fa3a641..56001eaf6365 100644
> --- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
> +++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
> @@ -19,6 +19,7 @@ allOf:
> then:
> required:
> - power-domains
> + - reset-gpios
>
> properties:
> compatible:
> @@ -78,6 +79,12 @@ properties:
> power-domains:
> maxItems: 1
>
> + reset-gpios:
> + description:
> + Contains a phandle and GPIO specifier for reset with the default active
> + state.
Other than 'for reset' that's every GPIO property. Just drop unless you
have something specific to cdns,qspi-nor to say.
However, a reset for the flash device belongs in the flash device node,
not the controller node.
Rob
next prev parent reply other threads:[~2022-04-06 19:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-05 11:00 [PATCH 0/2] spi: cadence-quadspi: Add OSPI device reset support Sai Krishna Potthuri
2022-04-05 11:00 ` [PATCH 1/2] dt-bindings: spi: cadence-quadspi: Add reset-gpios for Xilinx Versal OSPI Sai Krishna Potthuri
2022-04-06 18:23 ` Rob Herring [this message]
2022-04-05 11:00 ` [PATCH 2/2] spi: cadence-quadspi: Add support for OSPI device reset Sai Krishna Potthuri
2022-04-05 11:13 ` Mark Brown
2022-04-05 19:17 ` Pratyush Yadav
2022-05-31 8:12 ` Sai Krishna Potthuri
2022-06-21 8:24 ` Potthuri, Sai Krishna
2022-06-21 9:16 ` Pratyush Yadav
2022-07-05 11:31 ` Potthuri, Sai Krishna
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=Yk3an4F0s2p0vxKi@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=git@xilinx.com \
--cc=lakshmi.sai.krishna.potthuri@xilinx.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=p.yadav@ti.com \
--cc=saikrishna12468@gmail.com \
--cc=sgoud@xilinx.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;
as well as URLs for NNTP newsgroup(s).