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: 23522 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B82FF218CB for ; Wed, 22 Jan 2014 13:31:38 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id wo20sf1270620obc.7 for ; Wed, 22 Jan 2014 05:31:37 -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:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=lzIJwHEoGE7mPA+IaIlId3/pOQhfKmwVWBQXnni+Lt8=; b=NBOmc+b1hLvmqDmGSsJw/AHFaRbcZK6/msBbq7R8cXNyNyNoaFno2J9baLklymHHv7 rJurRPESDJWh+cyPBRqJw4ciUorh+dWnNNCl4rHzjfL3Jz5UiiZDXuyckuab2+6xYAT+ k2GWiHa2JZfAPPyFJiftxxXPgjMjEZdfucqomDVzBrJA4Kf87DVzmjoachbm30raJ2Iq JF1VuWeLFQ01I3Akyu4bvdWKOf0bEzD17LGuE25U54rBEifHkiW+XWfJ0y6FGKOc4xuA V0j25sqwMjSGAwwxkM2KeD9H0JFLUcpGN2pV3ohAsHUoBxGV60z0bqG2/AGUfFnJzGPS Hnzw== X-Gm-Message-State: ALoCoQlpqM6B6stSwAyb8TdSP3YvtMU/aAEo9w129HgwkB4DjZjOK8P+9OQHmwODw7+UZrjBjhFa X-Received: by 10.50.79.201 with SMTP id l9mr1251560igx.4.1390397497801; Wed, 22 Jan 2014 05:31:37 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.51.44 with SMTP id t41ls69794qga.86.gmail; Wed, 22 Jan 2014 05:31:37 -0800 (PST) X-Received: by 10.221.7.132 with SMTP id oo4mr894515vcb.31.1390397497488; Wed, 22 Jan 2014 05:31:37 -0800 (PST) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id kn3si4531983veb.130.2014.01.22.05.31.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 05:31:37 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id im17so209490vcb.5 for ; Wed, 22 Jan 2014 05:31:37 -0800 (PST) X-Received: by 10.220.29.200 with SMTP id r8mr925183vcc.9.1390397497419; Wed, 22 Jan 2014 05:31:37 -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 u4csp184748vcz; Wed, 22 Jan 2014 05:31:37 -0800 (PST) X-Received: by 10.180.14.231 with SMTP id s7mr19911258wic.1.1390397496509; Wed, 22 Jan 2014 05:31:36 -0800 (PST) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id eu11si6669226wjd.120.2014.01.22.05.31.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 05:31:36 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=74.125.82.178; Received: by mail-we0-f178.google.com with SMTP id t60so318719wes.9 for ; Wed, 22 Jan 2014 05:31:36 -0800 (PST) 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 Cc: Linus Walleij 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-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.220.174 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 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.