From patchwork Mon May 25 11:41:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 6474021 Return-Path: X-Original-To: patchwork-linux-arm@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 E025BC0433 for ; Mon, 25 May 2015 11:54:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08BDA201CD for ; Mon, 25 May 2015 11:54:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ACCDC2049C for ; Mon, 25 May 2015 11:54:03 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ywqpa-0004pD-8o; Mon, 25 May 2015 11:46:06 +0000 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ywqmo-00027C-RQ for linux-arm-kernel@lists.infradead.org; Mon, 25 May 2015 11:43:19 +0000 Received: by lbbuc2 with SMTP id uc2so50147982lbb.2 for ; Mon, 25 May 2015 04:42:42 -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=s5c8oKEEj0GluGvKTWtqzsqUavcMOE3Q1oeg1Tn1ru0=; b=q2uInVV8mZfcH8r5m0g3p+WIErgu398WhOmB+UH+dJ2PxeN0l0dxQ5Ys40T66wyL00 /+VUJp4yZaEZIbERcVWpv3hmekzsrWV5gtjAKgmpE9KGS0+x49QuajQGmabfzPChb1cY Jaf7UlqsBeve9IZFPorKUZTkYnN7AFpdGLwwVdmNfQecyHR1Zxj4Qe+TmeDehUnD+r9T EO5dWFxp8WXRGptByIEpLMqpvYGKFgcMLfoqUbUh5WNMMVUfn9mjB0f4LdAEi6Jv1ry5 HhMVVkd0spNKQHf02GR2hvU7Z6UKD6hvtKPyzd2OhPREfG9J67Vof92CezRxn8ScQS9s LIUA== X-Received: by 10.152.1.227 with SMTP id 3mr17812360lap.61.1432554162556; Mon, 25 May 2015 04:42:42 -0700 (PDT) Received: from anuminas.rup.mentorg.com (ppp89-110-13-209.pppoe.avangarddsl.ru. [89.110.13.209]) by mx.google.com with ESMTPSA id si3sm2315895lbb.32.2015.05.25.04.42.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 May 2015 04:42:41 -0700 (PDT) From: Dmitry Eremin-Solenikov To: Russell King , Daniel Mack , Robert Jarzmik , Linus Walleij , Alexandre Courbot , Dmitry Torokhov , Samuel Ortiz , Lee Jones , Mark Brown , Jingoo Han , Liam Girdwood , Andrea Adami Subject: [PATCH v4 12/18] ARM: sa1100: make collie use new locomo drivers Date: Mon, 25 May 2015 14:41:47 +0300 Message-Id: <1432554113-26280-13-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1432554113-26280-1-git-send-email-dbaryshkov@gmail.com> References: <1432554113-26280-1-git-send-email-dbaryshkov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150525_044315_286767_E952DD87 X-CRM114-Status: GOOD ( 19.14 ) X-Spam-Score: -0.8 (/) Cc: linux-gpio@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, 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 | 16 ++- 3 files changed, 178 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