From patchwork Sat Sep 20 16:41:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 4941941 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 79945BEEA5 for ; Sat, 20 Sep 2014 16:44:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 831A1201BB for ; Sat, 20 Sep 2014 16:44:21 +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 A8CF62012F for ; Sat, 20 Sep 2014 16:44:20 +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 1XVNjf-0001N5-Mo; Sat, 20 Sep 2014 16:42:11 +0000 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XVNjc-0001Lb-SO for linux-arm-kernel@lists.infradead.org; Sat, 20 Sep 2014 16:42:09 +0000 Received: by mail-we0-f172.google.com with SMTP id p10so631301wes.31 for ; Sat, 20 Sep 2014 09:41:45 -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:mime-version:content-type :content-transfer-encoding; bh=YlfY3JolfppgV1a6TmsVh2uGl0XxONrMVawqF3JyjT0=; b=lqWOxElthhRoHxNshM0U2OBDe6a0N2uYkAwT6ZZMx43jm5jo/VJQsoTlZxHvWKIayn DlxQSnfN2dTwSNqd4a7wtmXd3o57NT+kf7EZA1idEyYucsfEOWFCD9iGeGC/pWpoEiqz aCc+bDZANYo68wH0B5XqhywTcL4TgR04efFcpqbZCEitrJXNPtf2PSC43O4vuocS+PHX S1O42MgdRaKcxQBvL7w1AIP5pwAsJUG6VL2YNulce1YA1BuLpTZQklzw+Gk1gGYycOwB aYCd41mnMOh3N2S27ROiJx/ztKcf4B3Giy09en8dpu5KW1uEr2U9uMJfHmaGiqnaNH0X AtTw== X-Received: by 10.180.99.35 with SMTP id en3mr4326822wib.50.1411231305515; Sat, 20 Sep 2014 09:41:45 -0700 (PDT) Received: from linux-tdhb.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by mx.google.com with ESMTPSA id ky3sm6057777wjb.39.2014.09.20.09.41.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Sep 2014 09:41:44 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Matt Porter , linux@arm.linux.org.uk Subject: [PATCH] ARM: BCM5301X: select GPIOLIB as optional Date: Sat, 20 Sep 2014 18:41:22 +0200 Message-Id: <1411231282-7180-1-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140920_094209_095381_B78D440C X-CRM114-Status: UNSURE ( 8.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.6 (/) Cc: Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , bcm-kernel-feedback-list@broadcom.com, 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 All routers (or 99% of them) based on BCM5301X use GPIOs to control LEDs and buttons. Signed-off-by: Rafa? Mi?ecki --- arch/arm/mach-bcm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index fc93800..d967c98 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -80,8 +80,10 @@ config ARCH_BCM2835 config ARCH_BCM_5301X bool "Broadcom BCM470X / BCM5301X ARM SoC" if ARCH_MULTI_V7 + select ARCH_WANT_OPTIONAL_GPIOLIB select ARM_GIC select CACHE_L2X0 + select GPIOLIB select HAVE_ARM_SCU if SMP select HAVE_ARM_TWD if SMP select ARM_GLOBAL_TIMER