From patchwork Mon Aug 19 18:59:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 19329 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A350E246F8 for ; Mon, 19 Aug 2013 19:00:09 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id a41sf509yho.4 for ; Mon, 19 Aug 2013 12:00:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=k3iLZ+Ek5mF54wpghFos4sCoHlD0jiZWZAnDUOPi40I=; b=eILuNgVyv5f+9llut+gzDv3+Y0BB/YrQUwBofOtQUAXXyX3IuejBveA1WRv974BBK1 JLdZNyVmW9FI/nsFsuy8g7hEc3Dfq+5NSdfqgU2dYYVnRLJAECgmNyHk4CnJHgNJrclN QV/h4l1EoBVyZsgmNkp9GxK9/mOxaoUuoDgO8BNp1BxuOe7qG78WFvryzArfy1r1GPmh pJCMvQppRWcRPXSNJZwJ/CNOcXOnZgvVu4KxuMoVVgI94TpYuvu7WD2P3oUapSlYXFHO a4PHtUELmPXFQMJvQwjJIHlbZS+wGVyIo5JZ3KpIp5lc1ieC2AGSZjEvt/cmq2uzTGBi VB1g== X-Received: by 10.236.189.37 with SMTP id b25mr2375511yhn.48.1376938809490; Mon, 19 Aug 2013 12:00:09 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.0.102 with SMTP id 6ls1612510qed.34.gmail; Mon, 19 Aug 2013 12:00:09 -0700 (PDT) X-Received: by 10.220.169.203 with SMTP id a11mr2013180vcz.26.1376938809374; Mon, 19 Aug 2013 12:00:09 -0700 (PDT) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by mx.google.com with ESMTPS id aa5si2684176vdc.26.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Aug 2013 12:00:09 -0700 (PDT) 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 p13so3404341vbe.5 for ; Mon, 19 Aug 2013 12:00:09 -0700 (PDT) X-Gm-Message-State: ALoCoQnTVZCo9baiKVvlIqnsfi/2FCeX7pscZ74uyqBujdHau2zm58R023BoRoz/90+rRx/YsnDU X-Received: by 10.220.43.19 with SMTP id u19mr14735951vce.3.1376938809196; Mon, 19 Aug 2013 12:00:09 -0700 (PDT) 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 u4csp112106vcz; Mon, 19 Aug 2013 12:00:08 -0700 (PDT) X-Received: by 10.66.169.42 with SMTP id ab10mr14901572pac.14.1376938808057; Mon, 19 Aug 2013 12:00:08 -0700 (PDT) Received: from mms3.broadcom.com (mms3.broadcom.com. [216.31.210.19]) by mx.google.com with ESMTP id hs9si9312849pbc.124.1969.12.31.16.00.00; Mon, 19 Aug 2013 12:00:08 -0700 (PDT) Received-SPF: neutral (google.com: 216.31.210.19 is neither permitted nor denied by best guess record for domain of markus.mayer@linaro.org) client-ip=216.31.210.19; Received: from [10.9.208.57] by mms3.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Mon, 19 Aug 2013 11:49:52 -0700 X-Server-Uuid: B86B6450-0931-4310-942E-F00ED04CA7AF Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.1.438.0; Mon, 19 Aug 2013 11:59:59 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.1.438.0; Mon, 19 Aug 2013 11:59:59 -0700 Received: from mail.broadcom.com (lbrmn-lnxub70.ric.broadcom.com [10.136.8.215]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id D0DF8F2D72; Mon, 19 Aug 2013 11:59:58 -0700 (PDT) From: "Markus Mayer" To: "Sudeep KarkadaNagesha" , "Stephen Warren" , "Linus Walleij" cc: "Christian Daudt" , "Linaro Patches" , "ARM Kernel List" , "Device Tree List" , "Tim Kryger" , "Matt Porter" , "Markus Mayer" Subject: [PATCH v4 2/3] ARM: bcm281xx: Enable GPIO driver Date: Mon, 19 Aug 2013 11:59:20 -0700 Message-ID: <1376938761-13657-3-git-send-email-markus.mayer@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1376938761-13657-1-git-send-email-markus.mayer@linaro.org> References: <1376938761-13657-1-git-send-email-markus.mayer@linaro.org> MIME-Version: 1.0 X-WSS-ID: 7E0CB75A2L875803576-02-01 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: markus.mayer@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: , This patch adds the Kconfig and Makefile glue to compile the GPIO driver for bcm281xx when CONFIG_GPIO_BCM=y. Signed-off-by: Markus Mayer Reviewed-by: Tim Kryger Reviewed-by: Matt Porter --- arch/arm/mach-bcm/Kconfig | 1 - drivers/gpio/Kconfig | 7 +++++++ drivers/gpio/Makefile | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index f112895..2dfbf06 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -9,7 +9,6 @@ config ARCH_BCM select CLKSRC_OF select GENERIC_CLOCKEVENTS select GENERIC_TIME - select GPIO_BCM select SPARSE_IRQ select TICK_ONESHOT help diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index b2450ba..869e234 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -714,6 +714,13 @@ config GPIO_MSIC Enable support for GPIO on intel MSIC controllers found in intel MID devices +config GPIO_BCM_KONA + bool "Broadcom Kona GPIO" + depends on ARCH_BCM + default y + help + Turn on GPIO support for Broadcom "Kona" chips. + comment "USB GPIO expanders:" config GPIO_VIPERBOARD diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index ef3e983..fcd0751 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -16,6 +16,7 @@ obj-$(CONFIG_GPIO_ADP5520) += gpio-adp5520.o obj-$(CONFIG_GPIO_ADP5588) += gpio-adp5588.o obj-$(CONFIG_GPIO_AMD8111) += gpio-amd8111.o obj-$(CONFIG_GPIO_ARIZONA) += gpio-arizona.o +obj-$(CONFIG_GPIO_BCM_KONA) += gpio-bcm-kona.o obj-$(CONFIG_GPIO_BT8XX) += gpio-bt8xx.o obj-$(CONFIG_GPIO_CLPS711X) += gpio-clps711x.o obj-$(CONFIG_GPIO_CS5535) += gpio-cs5535.o