treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / staging / wilc1000 / microchip,wilc1000,sdio.txt
blobda5235950a70f7598f33ea7a0d6c4719861c6689
1 * Microchip WILC wireless SDIO device
3 The wilc1000 chips can be connected via SDIO. The node is used to specifiy
4 child node to the SDIO controller that connects the device to the system.
6 Required properties:
7 - compatible    :       Should be "microchip,wilc1000-spi"
8 - irq-gpios     :       Connect to a host IRQ
9 - reg           :       Slot ID used in the controller
11 Optional:
12 - bus-width     :       Number of data lines wired up the slot. Default 1 bit.
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:
18 mmc1: mmc@fc000000 {
19                 pinctrl-names = "default";
20                 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
21                 non-removable;
22                 vmmc-supply = <&vcc_mmc1_reg>;
23                 vqmmc-supply = <&vcc_3v3_reg>;
24                 status = "okay";
26                 wilc_sdio@0 {
27                         compatible = "microchip,wilc1000-sdio";
28                         irq-gpios = <&pioC 27 0>;
29                         clocks = <&pck1>;
30                         clock-names = "rtc_clk";
31                         assigned-clocks = <&pck1>;
32                         assigned-clock-rates = <32768>;
33                         status = "okay";
34                         reg = <0>;
35                         bus-width = <4>;
36                 }
37         };