From patchwork Thu May 1 19:07:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 4100051 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 1A85F9F485 for ; Thu, 1 May 2014 19:08:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4493E20328 for ; Thu, 1 May 2014 19:08:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6E2452034C for ; Thu, 1 May 2014 19:08:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751966AbaEATII (ORCPT ); Thu, 1 May 2014 15:08:08 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:45794 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751812AbaEATIH (ORCPT ); Thu, 1 May 2014 15:08:07 -0400 Received: by mail-lb0-f174.google.com with SMTP id n15so432110lbi.5 for ; Thu, 01 May 2014 12:08:05 -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=EwD1YKOkLj/LZaTZUzp1UrM9lgpBZvkI0bvPsp8xGWEr0+BtEuhXiRIi4RGzwuAsDT S912SMKiHpRQ2Gd0arquWS6YOeOzKe9ePM6MFE6bXORhitDVXc42FtLGZ8x4iGv9GcTp HILRKJ2vPDEoShSZcl9+rFDaKA64CHkVaGw/kbBlK1iyjoPzuN3OixY/VyRFG8/kX7OS mV8kPNGe+VH6QHRPDFt3Er93IPWsnQRoX+Z+f0+nWQAiyHvHOOWkfn8Lq6ZAhzpRAVY4 PMkTJgZn0npL55IopXVeZbHRZacnYSX0kGAkuvmIRzbMSupTIQ4A+5mirWn3O0e1N7vX HOrQ== X-Received: by 10.112.128.231 with SMTP id nr7mr8379478lbb.9.1398971285868; Thu, 01 May 2014 12:08:05 -0700 (PDT) Received: from localhost.localdomain (183.90-149-48.nextgentel.com. [90.149.48.183]) by mx.google.com with ESMTPSA id a2sm30774708lbz.25.2014.05.01.12.08.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 May 2014 12:08:05 -0700 (PDT) From: Joachim Eastwood To: tony@atomide.com, bcousson@baylibre.com Cc: linux-arm-kernel@lists.infradead.org, tomi.valkeinen@ti.com, linux-omap@vger.kernel.org, Joachim Eastwood Subject: [PATCH v2 4/4] ARM: OMAP2+: Use pdata quirks for wl12xx on VAR-STK/DVK-OM44 Date: Thu, 1 May 2014 21:07:49 +0200 Message-Id: <1398971269-20515-5-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1398971269-20515-1-git-send-email-manabian@gmail.com> References: <1398971269-20515-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, },