aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml
diff options
context:
space:
mode:
authorDavid Mosberger-Tang <davidm@egauge.net>2021-12-21 21:25:34 +0000
committerKalle Valo <kvalo@kernel.org>2021-12-22 19:51:18 +0200
commitf31ee3c0a5552f80cce12f11594df360adf302e0 (patch)
tree5f4fb7389c5d00383a0b673c02e690b7811389eb /Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml
parentwilc1000: Add reset/enable GPIO support to SPI driver (diff)
downloadlinux-dev-f31ee3c0a5552f80cce12f11594df360adf302e0.tar.xz
linux-dev-f31ee3c0a5552f80cce12f11594df360adf302e0.zip
wilc1000: Document enable-gpios and reset-gpios properties
Add documentation for the ENABLE and RESET GPIOs that may be needed by wilc1000-spi. Signed-off-by: David Mosberger-Tang <davidm@egauge.net> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20211221212531.4011609-3-davidm@egauge.net
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml b/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml
index 6c35682377e6..60de78f1bc7b 100644
--- a/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml
@@ -32,6 +32,21 @@ properties:
clock-names:
const: rtc
+ enable-gpios:
+ maxItems: 1
+ description: Used by wilc1000-spi to determine the GPIO line
+ connected to the ENABLE line. If specified, reset-gpios
+ must be specified as well as otherwise the driver cannot
+ ensure the timing required between asserting ENABLE
+ and deasserting RESET. This should be declared as an
+ active-high signal.
+
+ reset-gpios:
+ maxItems: 1
+ description: Used by wilc1000-spi to determine the GPIO line
+ connected to the RESET line. This should be declared as an
+ active-low signal.
+
required:
- compatible
- interrupts
@@ -40,6 +55,8 @@ additionalProperties: false
examples:
- |
+ #include <dt-bindings/gpio/gpio.h>
+
spi {
#address-cells = <1>;
#size-cells = <0>;
@@ -51,6 +68,8 @@ examples:
interrupts = <27 0>;
clocks = <&pck1>;
clock-names = "rtc";
+ enable-gpios = <&pioA 5 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
};
};