From patchwork Thu Feb 19 16:13:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eliad Peller X-Patchwork-Id: 5852451 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 627CFBF440 for ; Thu, 19 Feb 2015 16:13:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 84CE02028D for ; Thu, 19 Feb 2015 16:13:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5ECBC2026C for ; Thu, 19 Feb 2015 16:13:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751744AbbBSQN1 (ORCPT ); Thu, 19 Feb 2015 11:13:27 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:59387 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbbBSQN0 (ORCPT ); Thu, 19 Feb 2015 11:13:26 -0500 Received: by mail-wg0-f47.google.com with SMTP id x12so8162671wgg.6 for ; Thu, 19 Feb 2015 08:13:25 -0800 (PST) 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; bh=7N6M2mG58faI3ivqKRHYAL6eK4wzuUHDOUIThcxhZsQ=; b=S0KC6sgsBISPkUhpzdjpJfFFoGzxURgxT3tbWz/G4+2U6kjsOaMI/gcaZdDPJMIKhi XN+m5BCdYcCK6Xricc2M0VUuNpEtWciaI3nZ2wjqEkSLLemNqcYDiaF5xnooJITDcmM+ IrY6SYOcugeWgN0F9KMCjI8rbn25ulOLU6WuCZq9uzsInUEUNnePGafx75iE55QmKiHV h9Jnb7s0zio/Its6bWLztRjWpkp2SDRZL38TCXqQ214KmGRLDl2UPB++MxyBfLbinwcS zcOFXPRoQQz5ygafsGZZgv2PmbKl7k+7Pm5WTaweGZvSEjeNVXXHMJs43AaYI3ftxDn4 JSdA== X-Gm-Message-State: ALoCoQn1fbdMSY1qHCaFXAYbY6tcrIeXzzww7GhSWMuzw2jqlrmS/B/4QqGpNdu7tx0CO5SUUgsK X-Received: by 10.180.104.3 with SMTP id ga3mr11427673wib.66.1424362404892; Thu, 19 Feb 2015 08:13:24 -0800 (PST) Received: from localhost.localdomain (93-173-230-109.bb.netvision.net.il. [93.173.230.109]) by mx.google.com with ESMTPSA id er13sm38021112wjc.11.2015.02.19.08.13.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Feb 2015 08:13:24 -0800 (PST) From: Eliad Peller To: , Cc: Arnd Bergmann , Mark Rutland Subject: [PATCH v3 1/2] dt: bindings: add wl18xx wireless device Date: Thu, 19 Feb 2015 18:13:20 +0200 Message-Id: <1424362401-8228-1-git-send-email-eliad@wizery.com> X-Mailer: git-send-email 1.8.5.1.109.g3d252a9 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=ham 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 wl18xx wlan chip. Signed-off-by: Eliad Peller --- v3: * make the bindings device-specific (wl18xx) (Arnd, Mark) * split bindings and driver changes (Arnd) * make interrupt-parent optional (Arnd) * make unit-address same as reg (Mark) .../devicetree/bindings/net/wireless/ti,wl18xx.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/wireless/ti,wl18xx.txt diff --git a/Documentation/devicetree/bindings/net/wireless/ti,wl18xx.txt b/Documentation/devicetree/bindings/net/wireless/ti,wl18xx.txt new file mode 100644 index 0000000..8120a81 --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/ti,wl18xx.txt @@ -0,0 +1,32 @@ +TI Wilink8 (wl18xx) SDIO devices + +This node provides properties for controlling the wilink8 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 "ti,wl18xx". + - 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. + +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,wl18xx"; + reg = <2>; + interrupt-parent = <&gpio0>; + interrupts = <19 IRQ_TYPE_NONE>; + }; +};