dt-bindings: snps,dw-apb-ssi: add optional reset property
authorDinh Nguyen <dinguyen@kernel.org>
Fri, 29 May 2020 15:58:06 +0000 (10:58 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 29 May 2020 16:49:55 +0000 (17:49 +0100)
Add optional reset property.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Link: https://lore.kernel.org/r/20200529155806.16758-2-dinguyen@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt

index 020e316..0f21407 100644 (file)
@@ -25,6 +25,9 @@ Optional properties:
   device.  Supported values are 2 or 4 (the default).
 - dmas : Phandle + identifiers of Tx and Rx DMA channels.
 - dma-names : Contains the names of the DMA channels. Must be "tx" and "rx".
+- resets : contains an entry for each entry in reset-names.
+          See ../reset/reset.txt for details.
+- reset-names : must contain "spi"
 
 Child nodes as per the generic SPI binding.
 
@@ -40,5 +43,7 @@ Example:
                num-cs = <2>;
                cs-gpios = <&gpio0 13 0>,
                           <&gpio0 14 0>;
+               resets = <&rst SPIM0_RST>;
+               reset-names = "spi";
        };