[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200529155806.16758-2-dinguyen@kernel.org>
Date: Fri, 29 May 2020 10:58:06 -0500
From: Dinh Nguyen <dinguyen@...nel.org>
To: linux-kernel@...r.kernel.org
Cc: dinguyen@...nel.org, devicetree@...r.kernel.org,
linux-spi@...r.kernel.org, broonie@...nel.org, robh+dt@...nel.org,
Sergey.Semin@...kalelectronics.ru, fancer.lancer@...il.com,
andriy.shevchenko@...ux.intel.com, lars.povlsen@...rochip.com,
liang.j.jin@...csson.com
Subject: [PATCHv4 2/2] dt-bindings: snps,dw-apb-ssi: add optional reset property
Add optional reset property.
Signed-off-by: Dinh Nguyen <dinguyen@...nel.org>
---
v4: rebased to linux-next 20200529
v3: no change
v2: actually document the "resets" and "reset-names" optional properties
---
Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt
index 020e3168ee41..0f21407a7ea3 100644
--- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt
+++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt
@@ -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";
};
--
2.17.1
Powered by blists - more mailing lists