devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eliad Peller <eliad@wizery.com>
To: linux-wireless@vger.kernel.org, devicetree@vger.kernel.org,
	linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Cc: "Arnd Bergmann" <arnd@arndb.de>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Pawel Moll" <pawel.moll@arm.com>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Ian Campbell" <ijc+devicetree@hellion.org.uk>,
	"Kumar Gala" <galak@codeaurora.org>,
	"Benoît Cousson" <bcousson@baylibre.com>,
	"Tony Lindgren" <tony@atomide.com>,
	"Enric Balletbo i Serra" <eballetbo@gmail.com>,
	"Javier Martinez Canillas" <javier@dowhile0.org>,
	"Sekhar Nori" <nsekhar@ti.com>,
	"Kevin Hilman" <khilman@deeprootsystems.com>
Subject: [PATCH v7 3/6] dt: bindings: add TI's wilink wireless device
Date: Wed, 18 Mar 2015 18:38:27 +0200	[thread overview]
Message-ID: <1426696710-6891-4-git-send-email-eliad@wizery.com> (raw)
In-Reply-To: <1426696710-6891-1-git-send-email-eliad@wizery.com>

Add device tree binding documentation for TI's wilink
(wl12xx and wl18xx) wlan chip.

Signed-off-by: Eliad Peller <eliad@wizery.com>
---
 .../devicetree/bindings/net/wireless/ti,wlcore.txt | 47 ++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt

diff --git a/Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt b/Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt
new file mode 100644
index 0000000..2a3d90d
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt
@@ -0,0 +1,47 @@
+TI Wilink 6/7/8 (wl12xx/wl18xx) SDIO devices
+
+This node provides properties for controlling the wilink wireless device. The
+node is expected to be specified as a child node to the SDIO controller that
+connects the device to the system.
+
+Required properties:
+ - compatible: should be one of the following:
+    * "ti,wl1271"
+    * "ti,wl1273"
+    * "ti,wl1281"
+    * "ti,wl1283"
+    * "ti,wl1801"
+    * "ti,wl1805"
+    * "ti,wl1807"
+    * "ti,wl1831"
+    * "ti,wl1835"
+    * "ti,wl1837"
+ - interrupts : specifies attributes for the out-of-band interrupt.
+
+Optional properties:
+ - interrupt-parent : the phandle for the interrupt controller to which the
+	device interrupts are connected.
+ - ref-clock-frequency : ref clock frequency in Hz
+ - tcxo-clock-frequency : tcxo clock frequency in Hz
+
+Note: the *-clock-frequency properties assume internal clocks. In case of external
+clock, new bindings (for parsing the clock nodes) have to be added.
+
+Example:
+
+&mmc3 {
+	status = "okay";
+	vmmc-supply = <&wlan_en_reg>;
+	bus-width = <4>;
+	cap-power-off-card;
+	keep-power-in-suspend;
+
+	#address-cells = <1>;
+	#size-cells = <0>;
+	wlcore: wlcore@2 {
+		compatible = "ti,wl1835";
+		reg = <2>;
+		interrupt-parent = <&gpio0>;
+		interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
+	};
+};
-- 
1.8.5.2.229.g4448466.dirty


  parent reply	other threads:[~2015-03-18 16:38 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18 16:38 [PATCH v7 0/6] wlcore: add device-tree support Eliad Peller
2015-03-18 16:38 ` [PATCH v7 1/6] wlcore: set irq_trigger in board files instead of hiding behind a quirk Eliad Peller
2015-03-18 16:38 ` Eliad Peller [this message]
2015-03-18 16:38 ` [PATCH v7 6/6] wlcore: remove wl12xx_platform_data Eliad Peller
2015-03-23  7:51   ` Sekhar Nori
     [not found]     ` <550FC60F.4050206-l0cyMroinI0@public.gmane.org>
2015-03-23  8:06       ` Eliad Peller
2015-03-23  8:21         ` Sekhar Nori
2015-03-23  8:27           ` Eliad Peller
     [not found]             ` <CAB3XZEeKUwDE9NJzX-W1fKc9gP4kG+EjKN+XJbdaaADc1vi-BQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-23  8:48               ` Sekhar Nori
     [not found] ` <1426696710-6891-1-git-send-email-eliad-Ix1uc/W3ht7QT0dZR+AlfA@public.gmane.org>
2015-03-18 16:38   ` [PATCH v7 2/6] wl12xx: use frequency instead of enumerations for pdata clocks Eliad Peller
2015-03-18 16:38   ` [PATCH v7 4/6] wlcore: add device-tree support Eliad Peller
2015-03-18 16:38   ` [PATCH v7 5/6] ARM: dts: add wl12xx/wl18xx bindings Eliad Peller
     [not found]     ` <1426696710-6891-6-git-send-email-eliad-Ix1uc/W3ht7QT0dZR+AlfA@public.gmane.org>
2015-03-19 14:05       ` Pontus Fuchs
2015-03-19 14:42         ` Eliad Peller
2015-03-19 21:25           ` Tony Lindgren
     [not found]             ` <20150319212505.GN31346-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-03-20  6:03               ` Kalle Valo
2015-03-20 15:33                 ` Tony Lindgren
2015-03-20 15:50                   ` Kalle Valo
     [not found]                     ` <87bnjnfz1t.fsf-HodKDYzPHsUD5k0oWYwrnHL1okKdlPRT@public.gmane.org>
2015-03-20 16:21                       ` Tony Lindgren
     [not found]                         ` <20150320162138.GU31346-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-03-23  4:51                           ` Kalle Valo
     [not found]                             ` <87twxce2oh.fsf-HodKDYzPHsUD5k0oWYwrnHL1okKdlPRT@public.gmane.org>
2015-03-25 21:42                               ` Tony Lindgren
2015-03-18 20:53   ` [PATCH v7 0/6] wlcore: add device-tree support Tony Lindgren
2015-03-24 11:37 ` Nikita Kiryanov
2015-03-24 19:24   ` Eliad Peller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1426696710-6891-4-git-send-email-eliad@wizery.com \
    --to=eliad@wizery.com \
    --cc=arnd@arndb.de \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=eballetbo@gmail.com \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=javier@dowhile0.org \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=nsekhar@ti.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).