From patchwork Wed Jan 22 13:31:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 3523061 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 063709F2D6 for ; Wed, 22 Jan 2014 13:34:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0360B2013D for ; Wed, 22 Jan 2014 13:34:31 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 DCA5620138 for ; Wed, 22 Jan 2014 13:34:29 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W5xvU-0004QI-33; Wed, 22 Jan 2014 13:33:04 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W5xuz-0005yj-HE; Wed, 22 Jan 2014 13:32:33 +0000 Received: from mail-wg0-f46.google.com ([74.125.82.46]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W5xuP-0005vL-Kn for linux-arm-kernel@lists.infradead.org; Wed, 22 Jan 2014 13:31:59 +0000 Received: by mail-wg0-f46.google.com with SMTP id x12so311520wgg.13 for ; Wed, 22 Jan 2014 05:31:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lzIJwHEoGE7mPA+IaIlId3/pOQhfKmwVWBQXnni+Lt8=; b=ixea6NZOZMPN4UW7MNiIaB/XwCrRR56ok3RZA9MI0hpm4t/+yL7REwkcPWTdz0t7KE TIr7Naqo3fV2BTOAYCMRHhg6adsC/uK5kgfOUzKKuJ3NtCQ47FNmxUmGnIc0HqPFZiCK CbIzwLwXIig4FkLsD+Jw2C2vgDU3j9Qr2HFg7pBlz19m43iBWkfHnNRXLAGWrw9jMwRA yUlZZlrziayJN+qw9B+NNK03LryJS9WfZ6L4JX/9bkFlZ6jtpVFimS29A4A1+nmXWOb/ cJChOlNgGl2Tp0KiIg3+dL1dk0YeXT5QkGDadDuaKJb6M3B6QlPnkjS8q8w3W7LpG8EL vefg== X-Gm-Message-State: ALoCoQlNp5CtzpYdVGaI+c2Alui6pul7c3+bBrAiIlzVkt+vQW13/9OuTiAoBtfKLY98e+3BqD3H X-Received: by 10.180.219.44 with SMTP id pl12mr3338761wic.12.1390397495997; Wed, 22 Jan 2014 05:31:35 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id po3sm14898693wjc.3.2014.01.22.05.31.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2014 05:31:35 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 5/5] ARM: integrator: select AMBA bus and GPIO block Date: Wed, 22 Jan 2014 14:31:11 +0100 Message-Id: <1390397471-6802-6-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.4.2 In-Reply-To: <1390397471-6802-1-git-send-email-linus.walleij@linaro.org> References: <1390397471-6802-1-git-send-email-linus.walleij@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140122_083157_775752_DA665F63 X-CRM114-Status: GOOD ( 11.54 ) X-Spam-Score: -2.6 (--) Cc: Linus Walleij X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 The Integrator/AP can be used with a logical module called IM-PD1, which contains a few AMBA PrimeCell devices, one of which is the PL061 GPIO controller. As the lines from this GPIO controller are looped back to devices on the board itself and provides resources back to it, we need to always have GPIO and the PL061 driver available for other devices to work. Signed-off-by: Linus Walleij --- arch/arm/mach-integrator/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-integrator/Kconfig b/arch/arm/mach-integrator/Kconfig index 46be99007529..b61e962ef992 100644 --- a/arch/arm/mach-integrator/Kconfig +++ b/arch/arm/mach-integrator/Kconfig @@ -30,7 +30,10 @@ config ARCH_CINTEGRATOR config INTEGRATOR_IMPD1 tristate "Include support for Integrator/IM-PD1" depends on ARCH_INTEGRATOR_AP + select ARCH_REQUIRE_GPIOLIB + select ARM_AMBA select ARM_VIC + select GPIO_PL061 if GPIOLIB help The IM-PD1 is an add-on logic module for the Integrator which allows ARM(R) Ltd PrimeCells to be developed and evaluated.