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: 6284531 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DDAAB9F1C2 for ; Mon, 27 Apr 2015 23:57:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 95906202FE for ; Mon, 27 Apr 2015 23:57:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1965D20304 for ; Mon, 27 Apr 2015 23:57:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933086AbbD0X5g (ORCPT ); Mon, 27 Apr 2015 19:57:36 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:36642 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932281AbbD0X5e (ORCPT ); Mon, 27 Apr 2015 19:57:34 -0400 Received: by pdea3 with SMTP id a3so144856470pde.3; 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 Cc: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-spi@vger.kernel.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH v2 11/17] ARM: sa1100: make collie use new locomo drivers 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> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 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