[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1649156437-15609-2-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com>
Date:   Tue, 5 Apr 2022 16:30:36 +0530
From:   Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@...inx.com>
To:     Mark Brown <broonie@...nel.org>, Rob Herring <robh+dt@...nel.org>,
        Pratyush Yadav <p.yadav@...com>
CC:     <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-spi@...r.kernel.org>,
        Michal Simek <michal.simek@...inx.com>, <git@...inx.com>,
        <saikrishna12468@...il.com>, <sgoud@...inx.com>,
        "Sai Krishna Potthuri" <lakshmi.sai.krishna.potthuri@...inx.com>
Subject: [PATCH 1/2] dt-bindings: spi: cadence-quadspi: Add reset-gpios for Xilinx Versal OSPI
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@...inx.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.
+    maxItems: 1
+
   resets:
     maxItems: 2
 
-- 
2.17.1
Powered by blists - more mailing lists
 
