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: 4160651 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 95BF19F1C0 for ; Mon, 12 May 2014 18:32:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CCFDC202B4 for ; Mon, 12 May 2014 18:32:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 04D1F20204 for ; Mon, 12 May 2014 18:32:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750970AbaELScx (ORCPT ); Mon, 12 May 2014 14:32:53 -0400 Received: from mail-la0-f51.google.com ([209.85.215.51]:57355 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753861AbaELScw (ORCPT ); Mon, 12 May 2014 14:32:52 -0400 Received: by mail-la0-f51.google.com with SMTP id gf5so2197960lab.24 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 Cc: linux-arm-kernel@lists.infradead.org, paul@pwsan.com, tomi.valkeinen@ti.com, linux-omap@vger.kernel.org, Joachim Eastwood 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> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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, },