From patchwork Fri Jul 26 20:25:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 18614 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D9C1025DFF for ; Fri, 26 Jul 2013 20:26:59 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id bv4sf1245044qab.4 for ; Fri, 26 Jul 2013 13:26:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to :x-server-uuid:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:mime-version:x-wss-id:x-gm-message-state :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=GATAxv2Rn6GWEtJtE6aYOZWMmKIH/+ePu3vd2S0R7Wo=; b=QenccvVlFA2L18IJFDiYgQs9RHCN9mqm58q/Wtw3BPDe7q9TJvoVTXVyQ9tYmnfrmk +/Q66Rv2oZvvKMcNeMMe6PktjjcVdLz+v9zjrliMGEnPcU4yBEnLYuEwpprHENtsVAxB 0Czk3iOMmFq7rstEPCth6Lfi+aA+e12uooKWTQG2Qflbkebh0/WqJPX0yFvhIbiQ8YWl dcx42CP6oiGlaWHl/Wa6Ezs/wj903N+KAbewRkQ3UFaudbAovQ67wltyvusr+gqd6f91 3wvusk4Miugnkyt3F8qroJltA0Ok3hOBpMmwerzYctF6vMYe8jkYOKEBZHPo3GoBS2FA GRxQ== X-Received: by 10.236.109.199 with SMTP id s47mr3407268yhg.2.1374870419548; Fri, 26 Jul 2013 13:26:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.81.244 with SMTP id d20ls174151qey.38.gmail; Fri, 26 Jul 2013 13:26:59 -0700 (PDT) X-Received: by 10.58.164.34 with SMTP id yn2mr21164348veb.56.1374870419440; Fri, 26 Jul 2013 13:26:59 -0700 (PDT) Received: from mail-vb0-f48.google.com (mail-vb0-f48.google.com [209.85.212.48]) by mx.google.com with ESMTPS id st7si14627111vec.125.2013.07.26.13.26.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 13:26:59 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.48 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.48; Received: by mail-vb0-f48.google.com with SMTP id w15so1527441vbf.7 for ; Fri, 26 Jul 2013 13:26:59 -0700 (PDT) X-Received: by 10.220.17.206 with SMTP id t14mr4249163vca.15.1374870419354; Fri, 26 Jul 2013 13:26:59 -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.58.165.8 with SMTP id yu8csp41244veb; Fri, 26 Jul 2013 13:26:58 -0700 (PDT) X-Received: by 10.68.28.1 with SMTP id x1mr54529038pbg.113.1374870418236; Fri, 26 Jul 2013 13:26:58 -0700 (PDT) Received: from mms3.broadcom.com (mms3.broadcom.com. [216.31.210.19]) by mx.google.com with ESMTP id rt9si35698931pbc.143.2013.07.26.13.26.57 for ; Fri, 26 Jul 2013 13:26:58 -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)); Fri, 26 Jul 2013 13:16:59 -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; Fri, 26 Jul 2013 13:26:44 -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; Fri, 26 Jul 2013 13:26:43 -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 7413CF2D75; Fri, 26 Jul 2013 13:26:43 -0700 (PDT) From: "Markus Mayer" To: "ARM Kernel List" , "Stephen Warren" , "Linus Walleij" , "Device Tree List" cc: "Christian Daudt" , "Linaro Patches" , "Markus Mayer" Subject: [PATCH v3 3/3] ARM: bcm281xx: Enable GPIO driver Date: Fri, 26 Jul 2013 13:25:45 -0700 Message-ID: <1374870345-8276-4-git-send-email-markus.mayer@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1374870345-8276-1-git-send-email-markus.mayer@linaro.org> References: <1374870345-8276-1-git-send-email-markus.mayer@linaro.org> MIME-Version: 1.0 X-WSS-ID: 7DEC06B12L852567341-01-01 X-Gm-Message-State: ALoCoQn1tZg7ctNz5OPmXs22m1ptOBoUOpwOYTZTCnQDrKcIa6orcIFDkLZ2+HlSH3jW5AJAuoua X-Original-Sender: markus.mayer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.48 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: Christian Daudt Reviewed-by: Tim Kryger Reviewed-by: Matt Porter --- arch/arm/mach-bcm/Kconfig | 2 +- drivers/gpio/Kconfig | 6 ++++++ 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..5819126 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -9,7 +9,7 @@ config ARCH_BCM select CLKSRC_OF select GENERIC_CLOCKEVENTS select GENERIC_TIME - select GPIO_BCM + select GPIO_BCM_KONA select SPARSE_IRQ select TICK_ONESHOT help diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index b2450ba..87d3a23 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -714,6 +714,12 @@ 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 + 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