From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: [PATCH v2 0/6] GPIO support for BRCMSTB Date: Fri, 29 May 2015 09:26:13 -0700 Message-ID: <55689325.80103@gmail.com> References: <1432865650-4062-1-git-send-email-gregory.0xf0@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pd0-f173.google.com ([209.85.192.173]:35142 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030220AbbE2Q0T (ORCPT ); Fri, 29 May 2015 12:26:19 -0400 In-Reply-To: <1432865650-4062-1-git-send-email-gregory.0xf0@gmail.com> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Gregory Fong , linux-gpio@vger.kernel.org Cc: Alexandre Courbot , bcm-kernel-feedback-list@broadcom.com, Brian Norris , devicetree@vger.kernel.org, Florian Fainelli , Ian Campbell , Kumar Gala , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Rutland , Pawel Moll , Rob Herring , Russell King On 28/05/15 19:14, Gregory Fong wrote: > This patchset adds support for the GPIO controller (UPG GIO) used on Broadcom's > various BRCMSTB SoCs (BCM7XXX and others). It uses the "basic-mmio-gpio" > interface to try to reduce duplication of the base logic. > > For all existing hardware, this block hooked up to the BCM7120 L2 IRQ > controller and so will require CONFIG_BCM7120_L2_IRQ=y. Unless there are objections, I will take patches 5 and 6 and apply them to soc/next. Reviewed-by: Florian Fainelli Thanks! > > New in v2: > - fix license mismatch as pointed out by Paul Bolle > - move select ARCH_WANT_OPTIONAL_GPIOLIB to separate patch > - change to have 32 lines per bank per Linus Walleij's comments > - allow this controller to be used as a wakeup source > - add default GPIO number for BRCMSTB > > The device tree bindings from v1 were merged to the GPIO tree, so this patchset > only contains an addition to allow GPIOs to be used as a wakeup source > (patch 3). The initial bindings from v1 can be found at > https://lkml.org/lkml/2015/5/6/200 . > > Gregory Fong (6): > gpio: Add GPIO support for Broadcom STB SoCs > gpio: brcmstb: Add interrupt support > dt-bindings: brcmstb-gpio: document properties for wakeup > gpio: brcmstb: Allow GPIOs to be wakeup sources > ARM: brcmstb: Select ARCH_WANT_OPTIONAL_GPIOLIB > ARM: brcmstb: Add default gpio number > > .../devicetree/bindings/gpio/brcm,brcmstb-gpio.txt | 26 +- > MAINTAINERS | 7 + > arch/arm/Kconfig | 3 +- > arch/arm/mach-bcm/Kconfig | 1 + > drivers/gpio/Kconfig | 9 + > drivers/gpio/Makefile | 1 + > drivers/gpio/gpio-brcmstb.c | 581 +++++++++++++++++++++ > 7 files changed, 626 insertions(+), 2 deletions(-) > create mode 100644 drivers/gpio/gpio-brcmstb.c > -- Florian