From patchwork Wed Aug 28 22:16:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 19597 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5FD9B25E58 for ; Wed, 28 Aug 2013 22:17:40 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id 10sf22723553ied.8 for ; Wed, 28 Aug 2013 15:17:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; 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=CA2zDFhY9jKjbtoKKubywK7PznIUs84hB9dU9ihjGc8=; b=A0g2txr16iX2yZan4oaF5dhcQ+LdSPBHZIgK2W3pjUf9zhW0bd+2UCAITUgvaGLa+O FOH93SkfwF2rrnIVj9tIZarR1FB7zhZkPmSkA4w2vXf1VQp+CBJUnF/cpGrhmU0Qsi6N EUNLEM9wnfnIcgNZULoL8mNwEhuLKxiHMz8SwPOAmCNx2vuF14pby+koB/2UUytYbVQ9 bc+v2j24QJcI0tDPDlcDtoL3ykQq4mN7qnFE+nvxXavHwv86pJS8pnoEv88FHFeF7u0+ KE0bWGUUpXz7JSyi7yeZMlG1c87NTrs8CpB9b1Cd9TLE00GrfcYDCTXOC1ZvA69+aBBE WDeA== X-Received: by 10.182.186.73 with SMTP id fi9mr7430obc.48.1377728259831; Wed, 28 Aug 2013 15:17:39 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.182.112.231 with SMTP id it7ls114351obb.27.gmail; Wed, 28 Aug 2013 15:17:39 -0700 (PDT) X-Received: by 10.182.165.5 with SMTP id yu5mr10048obb.93.1377728259699; Wed, 28 Aug 2013 15:17:39 -0700 (PDT) Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by mx.google.com with ESMTPS id c5si194972oeu.4.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 Aug 2013 15:17:39 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.214.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.214.171; Received: by mail-ob0-f171.google.com with SMTP id tb18so7350807obb.2 for ; Wed, 28 Aug 2013 15:17:39 -0700 (PDT) X-Gm-Message-State: ALoCoQmHLHPzXrhgRk3FpSfCfo8iCSxps57K1yWzh+Q/UtMBOwAydR7BgfKvbUcqT5kreVg4vEdA X-Received: by 10.60.140.168 with SMTP id rh8mr33627oeb.76.1377728259518; Wed, 28 Aug 2013 15:17:39 -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 u4csp381540vcz; Wed, 28 Aug 2013 15:17:38 -0700 (PDT) X-Received: by 10.66.218.226 with SMTP id pj2mr863723pac.62.1377728258218; Wed, 28 Aug 2013 15:17:38 -0700 (PDT) Received: from mms1.broadcom.com (mms1.broadcom.com. [216.31.210.17]) by mx.google.com with ESMTP id ww4si330392pab.136.1969.12.31.16.00.00; Wed, 28 Aug 2013 15:17:38 -0700 (PDT) Received-SPF: neutral (google.com: 216.31.210.17 is neither permitted nor denied by best guess record for domain of markus.mayer@linaro.org) client-ip=216.31.210.17; Received: from [10.9.208.55] by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Wed, 28 Aug 2013 15:13:31 -0700 X-Server-Uuid: 06151B78-6688-425E-9DE2-57CB27892261 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS07.corp.ad.broadcom.com (10.9.208.55) with Microsoft SMTP Server (TLS) id 14.1.438.0; Wed, 28 Aug 2013 15:17:25 -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; Wed, 28 Aug 2013 15:17:25 -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 CCE8AF2D7B; Wed, 28 Aug 2013 15:17:24 -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 v5 2/3] ARM: bcm281xx: Enable GPIO driver Date: Wed, 28 Aug 2013 15:16:12 -0700 Message-ID: <1377728173-30711-3-git-send-email-markus.mayer@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1377728173-30711-1-git-send-email-markus.mayer@linaro.org> References: <1377728173-30711-1-git-send-email-markus.mayer@linaro.org> MIME-Version: 1.0 X-WSS-ID: 7E00A9810UO1565541-01-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.214.171 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 | 2 +- drivers/gpio/Kconfig | 5 +++++ drivers/gpio/Makefile | 1 + 3 files changed, 7 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..b68e9b5 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -714,6 +714,11 @@ config GPIO_MSIC Enable support for GPIO on intel MSIC controllers found in intel MID devices +config GPIO_BCM_KONA + bool "Broadcom Kona GPIO" + 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