From patchwork Mon Apr 27 23:55:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 6284901 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1DB5BBEEE1 for ; Tue, 28 Apr 2015 00:03:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB5DB20376 for ; Tue, 28 Apr 2015 00:03:48 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 36C9420384 for ; Tue, 28 Apr 2015 00:03:47 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4C285265ACA; Tue, 28 Apr 2015 02:03:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 8A1F72657DC; Tue, 28 Apr 2015 01:58:57 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 59221265866; Tue, 28 Apr 2015 01:58:56 +0200 (CEST) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by alsa0.perex.cz (Postfix) with ESMTP id 54F922657DC for ; Tue, 28 Apr 2015 01:57:34 +0200 (CEST) Received: by pdbqa5 with SMTP id qa5so144740907pdb.1 for ; Mon, 27 Apr 2015 16:57:33 -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=DDDuvTgKZrpp/dJh3PDk6AgAdXQnEncGxM9xZNSC9w4=; b=fLZfNlPIcEW8Rd2lOKHLBUpyFr9W7Hx01FG9BA2R7dRf1huCHYFAv9NBRvVT5RFPdP kI1LQ760uiG/E77EOfjEweevtcEuEm2bfwyH4e/L8SisQTNcNbG39LO4qB5wdqd5ZunZ 3NrdhybqJtA5AaydR5qhrqm+iBjDfSdWTCDuHToGH6TRljtdSV4aSyv07KbesFamOcR0 768Q4F3ygmHbb4lO9s/Zr1i69QutVp4W9yWT3XXUG61YX6oizgKA6N7hwAmgYeDr/9PW /2IpfQQNt9tcmLdqWHqEIKeVXqoN4u8cqGd2qdwU1gOOIYYahXKSHml3hkSpt2ZPj7Uf hAPg== X-Received: by 10.68.237.97 with SMTP id vb1mr26663298pbc.36.1430179053448; Mon, 27 Apr 2015 16:57:33 -0700 (PDT) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id pv2sm20428375pbb.12.2015.04.27.16.57.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Apr 2015 16:57:32 -0700 (PDT) From: Dmitry Eremin-Solenikov To: Russell King , Daniel Mack , Robert Jarzmik , Linus Walleij , Alexandre Courbot , Wolfram Sang , Dmitry Torokhov , Bryan Wu , Richard Purdie , Samuel Ortiz , Lee Jones , Mark Brown , Jingoo Han , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Liam Girdwood , Andrea Adami Date: Tue, 28 Apr 2015 02:55:48 +0300 Message-Id: <1430178954-11138-12-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1430178954-11138-1-git-send-email-dbaryshkov@gmail.com> References: <1430178954-11138-1-git-send-email-dbaryshkov@gmail.com> Cc: linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org Subject: [alsa-devel] [PATCH v2 11/17] ARM: sa1100: make collie use new locomo drivers X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Switch collie to new mfd-based locomo driver. Update platform data and add necessary spi, i2c and regulator devices. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/Kconfig | 1 - arch/arm/mach-sa1100/collie.c | 213 ++++++++++++++++++++++------- arch/arm/mach-sa1100/include/mach/collie.h | 25 +++- 3 files changed, 187 insertions(+), 52 deletions(-) diff --git a/arch/arm/mach-sa1100/Kconfig b/arch/arm/mach-sa1100/Kconfig index c6f6ed1..37af126 100644 --- a/arch/arm/mach-sa1100/Kconfig +++ b/arch/arm/mach-sa1100/Kconfig @@ -48,7 +48,6 @@ endchoice config SA1100_COLLIE bool "Sharp Zaurus SL5500" # FIXME: select ARM_SA11x0_CPUFREQ - select SHARP_LOCOMO select SHARP_PARAM select SHARP_SCOOP help diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index 3cc2b71..b6dda7a 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c @@ -24,13 +24,21 @@ #include #include #include +#include #include #include #include #include #include +#include #include #include +#include +#include +#include +#include +#include +#include #include