From patchwork Thu Apr 2 15:41:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 6150451 Return-Path: X-Original-To: patchwork-linux-arm@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 D89A19F389 for ; Thu, 2 Apr 2015 15:47:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0CCDA203AF for ; Thu, 2 Apr 2015 15:47:02 +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 30820203AD for ; Thu, 2 Apr 2015 15:47:01 +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 1YdhH4-0005rZ-GU; Thu, 02 Apr 2015 15:43:18 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YdhGA-000517-RP for linux-arm-kernel@lists.infradead.org; Thu, 02 Apr 2015 15:42:23 +0000 Received: by patj18 with SMTP id j18so87785915pat.2 for ; Thu, 02 Apr 2015 08:41:59 -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=CaRcd/76X8ms+0AlOuQ97wLkz3zNUEUdIucejW0qxa8=; b=SEd4R/2VenWdGX2j4ifg9ZAo7/6YOvVigjibvfbPVW7c20u2UvNAc/qy0ieyR2sioO +zTkzMbBsJl8eav0SBQ6m9a0nt3/lGGMQH56+bOYV3LXdhmYm/FA7W5c+L2PxwskHQt3 QVrzKFam1BUmYOVsZ1yp7/5+G9oZHS9mN9KJiOzd4oDsm83i4wCTbrRc4haMTHs/IP73 aPEmuuBTba/SGuKOMPlP3cSTDh+s+ioEQtS1aoYlFGk5oCnBQAZpYOG+DbtDeJlx4IPd nNOLJX0WnZAFX2ywP+u+WFAwVpOn/yHPijot0glnhCsWxNxdmOgqQhpsSRLuWhsgsnYK qHLw== X-Received: by 10.70.103.5 with SMTP id fs5mr68923552pdb.43.1427989319649; Thu, 02 Apr 2015 08:41:59 -0700 (PDT) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id 5sm5597633pdg.45.2015.04.02.08.41.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Apr 2015 08:41:59 -0700 (PDT) From: Dmitry Eremin-Solenikov To: Russell King , Samuel Ortiz , Lee Jones Subject: [PATCH 2/3] ARM: sa1100: populate codec platform data with irq Date: Thu, 2 Apr 2015 18:41:46 +0300 Message-Id: <1427989307-1805-2-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1427989307-1805-1-git-send-email-dbaryshkov@gmail.com> References: <1427989307-1805-1-git-send-email-dbaryshkov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150402_084223_012038_2100D80B X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: linux-arm-kernel@lists.infradead.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=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 For the sa11x0 boards that provide ucb1x00 codec platform data, provide the irq data. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/assabet.c | 1 + arch/arm/mach-sa1100/collie.c | 1 + arch/arm/mach-sa1100/simpad.c | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index d28ecb9..28bb7ca 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c @@ -309,6 +309,7 @@ static struct ucb1x00_plat_data assabet_ucb1x00_data = { .reset = assabet_ucb1x00_reset, .gpio_base = -1, .can_wakeup = 1, + .irq = IRQ_GPIO23, }; static struct mcp_plat_data assabet_mcp_data = { diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index 98710ea..cb1e7d7 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c @@ -97,6 +97,7 @@ static struct scoop_pcmcia_config collie_pcmcia_config = { static struct ucb1x00_plat_data collie_ucb1x00_data = { .gpio_base = COLLIE_TC35143_GPIO_BASE, + .irq = COLLIE_IRQ_GPIO_UCB1x00_IRQ, }; static struct mcp_plat_data collie_mcp_data = { diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c index 41e476e..117281c 100644 --- a/arch/arm/mach-sa1100/simpad.c +++ b/arch/arm/mach-sa1100/simpad.c @@ -184,6 +184,7 @@ static struct resource simpad_flash_resources [] = { static struct ucb1x00_plat_data simpad_ucb1x00_data = { .gpio_base = SIMPAD_UCB1X00_GPIO_BASE, + .irq = IRQ_GPIO_UCB1300_IRQ, }; static struct mcp_plat_data simpad_mcp_data = {