From patchwork Mon May 12 18:32:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 4160711 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9CF98BFF02 for ; Mon, 12 May 2014 18:35:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3FFA20204 for ; Mon, 12 May 2014 18:35:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 097AC201DD for ; Mon, 12 May 2014 18:35:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wjv2b-0007Ki-H5; Mon, 12 May 2014 18:33:33 +0000 Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wjv2H-00077v-1P for linux-arm-kernel@lists.infradead.org; Mon, 12 May 2014 18:33:13 +0000 Received: by mail-lb0-f172.google.com with SMTP id l4so7845521lbv.17 for ; Mon, 12 May 2014 11:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9bqd85ueHb8aY3oLJleq4VMYAMfE6+3n7xyUEnqD8Uw=; b=hSq+LDjeekvaWmT47ckjyENKJyMEk1JPjF55MIiXskifvYSqo9IsXd269E0tXuf6i2 sBUEOl4gC7DOPIu/ELPL+le7amP8QM+PKDUWqCJEkhy5wKAX2ffZx4BNBxOhQdAD6xrE QQbxguG1PH5KQVLVggrtCoLvQ87k1XYhLn7UGyBcIInQT3kQIXeuyxhioWbR1oOzVrZB PSKZorOzpRZ5DiSfo356duWNiFWZohhoIPqPlFjk9iL8xAthzDN0a8zy6kh5hQuKyL16 1eGiCcoCqp8NyxNRonv/GuBaxcUsuB2keXfXFlOpiL36Ilupm5wHCWBDJGaCZa2HD8h/ DIhw== X-Received: by 10.112.12.103 with SMTP id x7mr7323336lbb.36.1399919570596; Mon, 12 May 2014 11:32:50 -0700 (PDT) Received: from localhost.localdomain ([90.149.48.183]) by mx.google.com with ESMTPSA id f9sm12575208lae.16.2014.05.12.11.32.49 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 May 2014 11:32:49 -0700 (PDT) From: Joachim Eastwood To: tony@atomide.com, bcousson@baylibre.com Subject: [PATCH v3 4/4] ARM: OMAP2+: Use pdata quirks for wl12xx on VAR-STK/DVK-OM44 Date: Mon, 12 May 2014 20:32:03 +0200 Message-Id: <1399919523-20330-5-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1399919523-20330-1-git-send-email-manabian@gmail.com> References: <1399919523-20330-1-git-send-email-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140512_113313_275130_CBE96A63 X-CRM114-Status: GOOD ( 10.78 ) X-Spam-Score: -0.1 (/) Cc: paul@pwsan.com, tomi.valkeinen@ti.com, Joachim Eastwood , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Signed-off-by: Joachim Eastwood --- arch/arm/mach-omap2/pdata-quirks.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index c3b73351cb7a..ab94f3a87c32 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -254,6 +254,11 @@ static void __init omap4_panda_legacy_init(void) { legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 53); } + +static void __init var_som_om44_legacy_init(void) +{ + legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 41); +} #endif #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) @@ -364,6 +369,8 @@ static struct pdata_init pdata_quirks[] __initdata = { #ifdef CONFIG_ARCH_OMAP4 { "ti,omap4-sdp", omap4_sdp_legacy_init, }, { "ti,omap4-panda", omap4_panda_legacy_init, }, + { "variscite,var-dvk-om44", var_som_om44_legacy_init, }, + { "variscite,var-stk-om44", var_som_om44_legacy_init, }, #endif #ifdef CONFIG_SOC_AM33XX { "ti,am335x-evmsk", am335x_evmsk_legacy_init, },