alistair23-linux/drivers/staging/wilc1000/microchip,wilc1000,spi.txt
Ajay Singh 367b955907 staging: wilc1000: use descriptor-based interface for GPIO
Now making use of descriptor-based interface instead of integer-based
interface for IRQ GPIO.
Added device tree binding reference for WILC SDIO and SPI interface
module. Also moved the code to free gpio descriptor in module remove
as the reference was fetched in probe function.
Updated the TODO file

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-24 13:52:32 +02:00

27 lines
608 B
Plaintext

* Microchip WILC wireless SPI device
The wilc1000 chips can be connected via SPI. This document describes
the binding for the SPI connected module.
Required properties:
- compatible : Should be "microchip,wilc1000-spi"
- spi-max-frequency : Maximum SPI clocking speed of device in Hz
- reg : Chip select address of device
- irq-gpios : Connect to a host IRQ
Examples:
spi1: spi@fc018000 {
cs-gpios = <&pioB 21 0>;
status = "okay";
wilc_spi@0 {
compatible = "microchip,wilc1000-spi";
spi-max-frequency = <48000000>;
reg = <0>;
irq-gpios = <&pioC 27 0>;
status = "okay";
};
};