From patchwork Wed Jan 22 13:49:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 23523 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 42F8A218E2 for ; Wed, 22 Jan 2014 13:49:48 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id hu8sf608306vcb.10 for ; Wed, 22 Jan 2014 05:49:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=l5GIdkARi4Fbfnx1ZplvGuJmQl705i5cgKrUk/MdGMQ=; b=hVIHcy91VdNIIRfjPnYNQMwAcc3Yzjp2BkMtjq6Z+8QUS+VThzBw5QU/rOxFJzWEMq wNfsOgz47sstH0hC9DjJSHXt8Yd/bPP4qPoBtUDATowRASHxgKS8ifAunq6yCSg2mBtQ HwrWZOIEYYpQD7ApGzNnEO4QMUz1zL6hQ/ytNOaC/JiN7eqEowbR54nkARvSBKwaDpHL HMLSbALjBqDXQBuoE7MYmAWv7c81haOW3kxaAPW8oZpIbyW0Kev6AfxztpHgoeDSZJF8 MhIZypNuhWpKgB1ftDW11PHQCM12pxuboJYhK9Y1oidtkpuS/bkmZJ2t+6Xw0xb7dio5 P+hw== X-Gm-Message-State: ALoCoQkoGOz74mKz4Qbix2IpGWQoT0Y0GQzA+awFrgfa1rw58V+d4IGk/coIHCKEsiUyfhdZYfra X-Received: by 10.236.110.3 with SMTP id t3mr521932yhg.3.1390398587483; Wed, 22 Jan 2014 05:49:47 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.131.202 with SMTP id oo10ls55256qeb.53.gmail; Wed, 22 Jan 2014 05:49:47 -0800 (PST) X-Received: by 10.58.69.20 with SMTP id a20mr1031499veu.0.1390398587353; Wed, 22 Jan 2014 05:49:47 -0800 (PST) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by mx.google.com with ESMTPS id uq6si4581247vcb.0.2014.01.22.05.49.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 05:49:47 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.46 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.46; Received: by mail-vb0-f46.google.com with SMTP id o19so219367vbm.19 for ; Wed, 22 Jan 2014 05:49:47 -0800 (PST) X-Received: by 10.58.4.138 with SMTP id k10mr1007663vek.8.1390398587276; Wed, 22 Jan 2014 05:49:47 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp185769vcz; Wed, 22 Jan 2014 05:49:46 -0800 (PST) X-Received: by 10.194.2.70 with SMTP id 6mr1857354wjs.25.1390398585519; Wed, 22 Jan 2014 05:49:45 -0800 (PST) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id td2si6866028wic.63.2014.01.22.05.49.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 05:49:45 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=209.85.212.178; Received: by mail-wi0-f178.google.com with SMTP id cc10so609271wib.11 for ; Wed, 22 Jan 2014 05:49:44 -0800 (PST) X-Received: by 10.194.185.237 with SMTP id ff13mr1943713wjc.64.1390398584299; Wed, 22 Jan 2014 05:49:44 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id p1sm19202812wie.1.2014.01.22.05.49.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2014 05:49:43 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Cc: Linus Walleij , Russell King Subject: [PATCH 5/5 v2] ARM: integrator: select AMBA bus and GPIO block Date: Wed, 22 Jan 2014 14:49:36 +0100 Message-Id: <1390398576-8760-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.4.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.46 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The Integrator/AP can be used with a logic 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. Cc: Russell King Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Drop selection of ARM_AMBA as this is already done by the parent ARCH_INTEGRATOR symbol. --- arch/arm/mach-integrator/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-integrator/Kconfig b/arch/arm/mach-integrator/Kconfig index 46be99007529..6e8b0e10b420 100644 --- a/arch/arm/mach-integrator/Kconfig +++ b/arch/arm/mach-integrator/Kconfig @@ -30,7 +30,9 @@ config ARCH_CINTEGRATOR config INTEGRATOR_IMPD1 tristate "Include support for Integrator/IM-PD1" depends on ARCH_INTEGRATOR_AP + select ARCH_REQUIRE_GPIOLIB 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.