Skip to content

Commit e90b972

Browse files
ajaykathatclaudiubeznea
authored andcommitted
staging: wilc1000: updated DT binding documentation
Merged the DT binding documentation of SDIO and SPI into a single file. Removed documentation for some of the properties which are not required and handled review comments received in [1] & [2]. [1]. https://lore.kernel.org/linux-wireless/20200303020230.GA15543@bogus [2]. https://lore.kernel.org/linux-wireless/20200303015558.GA6876@bogus Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Link: https://lore.kernel.org/r/20200307085523.7320-4-ajay.kathat@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent b32f2a8 commit e90b972

3 files changed

Lines changed: 72 additions & 129 deletions

File tree

drivers/staging/wilc1000/microchip,wilc1000,sdio.yaml

Lines changed: 0 additions & 68 deletions
This file was deleted.

drivers/staging/wilc1000/microchip,wilc1000,spi.yaml

Lines changed: 0 additions & 61 deletions
This file was deleted.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/wireless/microchip,wilc1000.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Microchip WILC wireless devicetree bindings
8+
9+
maintainers:
10+
- Adham Abozaeid <adham.abozaeid@microchip.com>
11+
- Ajay Singh <ajay.kathat@microchip.com>
12+
13+
description:
14+
The wilc1000 chips can be connected via SPI or SDIO. This document
15+
describes the binding to connect wilc devices.
16+
17+
properties:
18+
compatible:
19+
const: microchip,wilc1000
20+
21+
spi-max-frequency: true
22+
23+
interrupts:
24+
maxItems: 1
25+
26+
clocks:
27+
description: phandle to the clock connected on rtc clock line.
28+
maxItems: 1
29+
30+
clock-names:
31+
const: rtc
32+
33+
required:
34+
- compatible
35+
- interrupts
36+
37+
examples:
38+
- |
39+
spi1: spi@fc018000 {
40+
#address-cells = <1>;
41+
#size-cells = <0>;
42+
cs-gpios = <&pioB 21 0>;
43+
wifi@0 {
44+
compatible = "microchip,wilc1000";
45+
spi-max-frequency = <48000000>;
46+
reg = <0>;
47+
interrupt-parent = <&pioC>;
48+
interrupts = <27 0>;
49+
clocks = <&pck1>;
50+
clock-names = "rtc";
51+
};
52+
};
53+
54+
- |
55+
mmc1: mmc@fc000000 {
56+
#address-cells = <1>;
57+
#size-cells = <0>;
58+
pinctrl-names = "default";
59+
pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
60+
non-removable;
61+
vmmc-supply = <&vcc_mmc1_reg>;
62+
vqmmc-supply = <&vcc_3v3_reg>;
63+
bus-width = <4>;
64+
wifi@0 {
65+
compatible = "microchip,wilc1000";
66+
reg = <0>;
67+
interrupt-parent = <&pioC>;
68+
interrupts = <27 0>;
69+
clocks = <&pck1>;
70+
clock-names = "rtc";
71+
};
72+
};

0 commit comments

Comments
 (0)