treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / staging / wilc1000 / microchip,wilc1000,spi.txt
blob34236932dbb6fc6c78ea4cab6acfaedc70a5af74
1 * Microchip WILC wireless SPI device
3 The wilc1000 chips can be connected via SPI. This document describes
4 the binding for the SPI connected module.
6 Required properties:
7 - compatible            : Should be "microchip,wilc1000-spi"
8 - spi-max-frequency     : Maximum SPI clocking speed of device in Hz
9 - reg                   : Chip select address of device
10 - irq-gpios             : Connect to a host IRQ
12 Optional:
13 - rtc_clk       :       Clock connected on the rtc clock line. Must be assigned
14                         a frequency with assigned-clocks property, and must be
15                         connected to a clock provider.
17 Examples:
19 spi1: spi@fc018000 {
20                 cs-gpios = <&pioB 21 0>;
21                 status = "okay";
23                 wilc_spi@0 {
24                         compatible = "microchip,wilc1000-spi";
25                         spi-max-frequency = <48000000>;
26                         reg = <0>;
27                         irq-gpios = <&pioC 27 0>;
28                         clocks = <&pck1>;
29                         clock-names = "rtc_clk";
30                         assigned-clocks = <&pck1>;
31                         assigned-clock-rates = <32768>;
32                         status = "okay";
33                 };