From patchwork Wed Mar 18 16:38:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eliad Peller X-Patchwork-Id: 6041831 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 965D7BF90F for ; Wed, 18 Mar 2015 16:38:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C73472046F for ; Wed, 18 Mar 2015 16:38:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1BA49201C0 for ; Wed, 18 Mar 2015 16:38:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756125AbbCRQix (ORCPT ); Wed, 18 Mar 2015 12:38:53 -0400 Received: from mail-we0-f176.google.com ([74.125.82.176]:32871 "EHLO mail-we0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756046AbbCRQiq (ORCPT ); Wed, 18 Mar 2015 12:38:46 -0400 Received: by weop45 with SMTP id p45so36859756weo.0 for ; Wed, 18 Mar 2015 09:38:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0tonmldnxjp9bG3ARBA4TdB1F6Ps71ixzSDVqr0rbpo=; b=f/T7H8IlByKOP6oTlH/HeQ3WDQN3H8dFoFymguVNY7chrC+wJL0KigRAysgIKrJ2EW KwxKa/9VRwNUbgKhpafhwYAiRq6agNLkinBe+HuBFuVuFtMUrF8MySBNZ8GGERPwoWjd frvlFBYoDsSa7/gD42El6IgbCO3rZNGSJohhBpDV5wpFJBtxfuChoID8yv92SH9xkN6T V1oHdXRxFKbMfQDU66ECiNH6M8n5mWUq0VvSRG7DH4W78Qtqwal65svMZO59aMXkcua0 pc1Of6cBreYrM/IY8y6ArVx0t/mJ1CkmIpq1B8o2n11u7Ml39LcZKcPzCzr0dX++477o 5NOQ== X-Gm-Message-State: ALoCoQkyOvKgqvVvTUBXExhfytHW86GRnMwljBaIrP/BbHUPXb+rjlkDaGc3slkavVd3JfGr9gLC X-Received: by 10.180.19.9 with SMTP id a9mr8374870wie.85.1426696725008; Wed, 18 Mar 2015 09:38:45 -0700 (PDT) Received: from muse.ger.corp.intel.com ([85.250.99.11]) by mx.google.com with ESMTPSA id nb4sm25187310wjc.20.2015.03.18.09.38.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Mar 2015 09:38:44 -0700 (PDT) From: Eliad Peller To: , , , Cc: Arnd Bergmann , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Enric Balletbo i Serra , Javier Martinez Canillas , Sekhar Nori , Kevin Hilman Subject: [PATCH v7 3/6] dt: bindings: add TI's wilink wireless device Date: Wed, 18 Mar 2015 18:38:27 +0200 Message-Id: <1426696710-6891-4-git-send-email-eliad@wizery.com> X-Mailer: git-send-email 1.8.5.2.229.g4448466.dirty In-Reply-To: <1426696710-6891-1-git-send-email-eliad@wizery.com> References: <1426696710-6891-1-git-send-email-eliad@wizery.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device tree binding documentation for TI's wilink (wl12xx and wl18xx) wlan chip. Signed-off-by: Eliad Peller --- .../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>; + }; +};