From patchwork Fri Apr 18 15:10: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: 4016981 Return-Path: X-Original-To: patchwork-linux-omap@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 7D95CBFF02 for ; Fri, 18 Apr 2014 15:11:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A50ED203B5 for ; Fri, 18 Apr 2014 15:11:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CF09E20377 for ; Fri, 18 Apr 2014 15:11:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751988AbaDRPLN (ORCPT ); Fri, 18 Apr 2014 11:11:13 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:43450 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752254AbaDRPLI (ORCPT ); Fri, 18 Apr 2014 11:11:08 -0400 Received: by mail-lb0-f181.google.com with SMTP id c11so1457450lbj.12 for ; Fri, 18 Apr 2014 08:11:07 -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=qg6ZnETQVUnstmd95BVXkJBM4xpZiFkudCg1SJ6jialwdWv1vnUYzoivl7k6cFzS23 0kF5IyfLZgznUQEc6jbmis/erq4eOZqx/ARafr9r5AP65zo2IlxOWGPxyTUdeUsJXHbE YdYNz6Ya23TQSbygSXt+4KkSBVjuEDCRjz2fXZSi2KEVU5BUVBcPeK5eeZaVdjGwnEMM XnVbsPslWAmS0xC/uE/uDzs3vQC4KfOYNspW8jClrt9hGr+bA9tpXCOdvPOe2gly+whq 1fGFCJRfzuTMB+whZcJgbYCWU6dkW77AoiIoH+OzEwbSqxVbWm+oPEMombvznT6PGobM Urdg== X-Received: by 10.152.234.130 with SMTP id ue2mr14496346lac.0.1397833867343; Fri, 18 Apr 2014 08:11:07 -0700 (PDT) Received: from localhost.localdomain ([90.149.48.183]) by mx.google.com with ESMTPSA id eo12sm27668310lbb.13.2014.04.18.08.11.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Apr 2014 08:11:06 -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 4/4] ARM: OMAP2+: Use pdata quirks for wl12xx on VAR-STK/DVK-OM44 Date: Fri, 18 Apr 2014 17:10:49 +0200 Message-Id: <1397833849-22396-5-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1397833849-22396-1-git-send-email-manabian@gmail.com> References: <1397833849-22396-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, },