From patchwork Mon Mar 9 15:36:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eliad Peller X-Patchwork-Id: 5969051 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2081F9F318 for ; Mon, 9 Mar 2015 15:37:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 35CFD201EF for ; Mon, 9 Mar 2015 15:37:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4F75D201EC for ; Mon, 9 Mar 2015 15:37:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751702AbbCIPg6 (ORCPT ); Mon, 9 Mar 2015 11:36:58 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:44271 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751738AbbCIPgz (ORCPT ); Mon, 9 Mar 2015 11:36:55 -0400 Received: by wivr20 with SMTP id r20so22059982wiv.3 for ; Mon, 09 Mar 2015 08:36:53 -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=P+n2MVhcdwDVqobHn9Pdekuk9I+CRuZZRUMlpL3TeQM=; b=LPi3zbK1G6lQfNU+iTCLlOj7uni5kwuuMaS/QVXAU7Vm1t+cgWywfO4GS+4DpoIYVA WWtbWwTVpQ70AxLpBxWo9aRFm7C8TuWh91LKfok4tk21qDu5T7cuDInWXbDKStX+0o5g 7Szo9BJIxb8R8XIVbLIk+4NCXbRViLgYd1ucuKeKOhY3SBihiWoUf+z67oasY/E+F8B8 fFjTvuW5Pqe6kS90N9y1BbD3eNkoAfK+GlXztMut6ArriGD4sRwRkHb8qaoL0o8bB8kc VnIAB3lgLodXInKjEiTF23GuDF8CFJ5apM5mnbGM+Qa5Ih9ozDtwFH82UYFKVtzUuqv5 fltA== X-Gm-Message-State: ALoCoQkxI00mGjPcpfEuiKbZNkm5knGeBZa2z3WNjf9zmRkXBIhKHtHyrnC4ZLkvsx3s9L9ZLc8h X-Received: by 10.180.198.162 with SMTP id jd2mr101434515wic.21.1425915413799; Mon, 09 Mar 2015 08:36:53 -0700 (PDT) Received: from localhost.localdomain ([89.139.55.99]) by mx.google.com with ESMTPSA id ev7sm28729772wjb.47.2015.03.09.08.36.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Mar 2015 08:36:53 -0700 (PDT) From: Eliad Peller To: , , , Cc: Arnd Bergmann Subject: [PATCH v5 3/3] ARM: dts: igep00x0: add wl18xx bindings Date: Mon, 9 Mar 2015 17:36:42 +0200 Message-Id: <1425915402-10012-3-git-send-email-eliad@wizery.com> X-Mailer: git-send-email 1.8.5.2.229.g4448466.dirty In-Reply-To: <1425915402-10012-1-git-send-email-eliad@wizery.com> References: <1425915402-10012-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=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 wl18xx (wilink8) bindings to omap3-igep0030-rev-g and omap3-igep0020-rev-f dts files, instead of defining the platform data through the pdata-quirks. The patch was compile-tested only. Signed-off-by: Eliad Peller --- arch/arm/boot/dts/omap3-igep0020-rev-f.dts | 9 +++++++++ arch/arm/boot/dts/omap3-igep0030-rev-g.dts | 9 +++++++++ arch/arm/mach-omap2/pdata-quirks.c | 2 -- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3-igep0020-rev-f.dts b/arch/arm/boot/dts/omap3-igep0020-rev-f.dts index cc8bd0c..8e5b44e 100644 --- a/arch/arm/boot/dts/omap3-igep0020-rev-f.dts +++ b/arch/arm/boot/dts/omap3-igep0020-rev-f.dts @@ -42,4 +42,13 @@ vmmc-supply = <&lbep5clwmc_wlen>; bus-width = <4>; non-removable; + + #address-cells = <1>; + #size-cells = <0>; + wlcore: wlcore@2 { + compatible = "ti,wl1835"; + reg = <2>; + interrupt-parent = <&gpio6>; + interrupts = <17 IRQ_TYPE_NONE>; + }; }; diff --git a/arch/arm/boot/dts/omap3-igep0030-rev-g.dts b/arch/arm/boot/dts/omap3-igep0030-rev-g.dts index 9326b28..02c4eec 100644 --- a/arch/arm/boot/dts/omap3-igep0030-rev-g.dts +++ b/arch/arm/boot/dts/omap3-igep0030-rev-g.dts @@ -64,4 +64,13 @@ vmmc-supply = <&lbep5clwmc_wlen>; bus-width = <4>; non-removable; + + #address-cells = <1>; + #size-cells = <0>; + wlcore: wlcore@2 { + compatible = "ti,wl1835"; + reg = <2>; + interrupt-parent = <&gpio5>; + interrupts = <8 IRQ_TYPE_NONE>; + }; }; diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index 190fa43..abc8a20 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -159,14 +159,12 @@ static struct platform_device btwilink_device = { static void __init omap3_igep0020_rev_f_legacy_init(void) { - legacy_init_wl12xx(0, 0, 177); platform_device_register(&wl18xx_device); platform_device_register(&btwilink_device); } static void __init omap3_igep0030_rev_g_legacy_init(void) { - legacy_init_wl12xx(0, 0, 136); platform_device_register(&wl18xx_device); platform_device_register(&btwilink_device); }