dt-bindings: cadence-quadspi: add options reset property
authorDinh Nguyen <dinguyen@kernel.org>
Thu, 13 Jun 2019 11:31:37 +0000 (06:31 -0500)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 27 Jun 2019 14:17:13 +0000 (17:17 +0300)
The QSPI module can have an optional reset signals that will hold the
module in a reset state.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Documentation/devicetree/bindings/mtd/cadence-quadspi.txt

index 4345c3a..945be7d 100644 (file)
@@ -35,6 +35,9 @@ custom properties:
                  (qspi_n_ss_out).
 - cdns,tslch-ns : Delay in nanoseconds between setting qspi_n_ss_out low
                   and first bit transfer.
+- resets       : Must contain an entry for each entry in reset-names.
+                 See ../reset/reset.txt for details.
+- reset-names  : Must include either "qspi" and/or "qspi-ocp".
 
 Example:
 
@@ -50,6 +53,8 @@ Example:
                cdns,fifo-depth = <128>;
                cdns,fifo-width = <4>;
                cdns,trigger-address = <0x00000000>;
+               resets = <&rst QSPI_RESET>, <&rst QSPI_OCP_RESET>;
+               reset-names = "qspi", "qspi-ocp";
 
                flash0: n25q00@0 {
                        ...