From: Dmitry Torokhov <dtor@chromium.org>
To: Ray Jui <rjui@broadcom.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Alexandre Courbot <gnurou@gmail.com>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Grant Likely <grant.likely@linaro.org>,
Christian Daudt <bcm@fixthebug.org>,
Matt Porter <mporter@linaro.org>,
Florian Fainelli <f.fainelli@gmail.com>,
Russell King <linux@arm.linux.org.uk>,
Joe Perches <joe@perches.com>, Arnd Bergmann <arnd@arndb.de>,
Scott Branden <sbranden@broadcom.com>,
Anatol Pomazau <anatol@google.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org,
bcm-kernel-feedback-list@broadcom.com,
devicetree@vger.kernel.org
Subject: Re: [PATCH v9 0/4] Add gpio/pinconf support to Broadcom Cygnus SoC
Date: Wed, 25 Feb 2015 11:30:59 -0800 [thread overview]
Message-ID: <20150225193059.GC3215@dtor-ws> (raw)
In-Reply-To: <1423606584-21795-1-git-send-email-rjui@broadcom.com>
On Tue, Feb 10, 2015 at 02:16:20PM -0800, Ray Jui wrote:
> This patchset contains the initial GPIO/PINCONF support for the Broadcom
> Cygnus SoC.
>
> Cygnus has 3 GPIO controllers: 1) the ASIU GPIO; 2) the chipCommonG GPIO;
> and 3) the ALWAYS-ON GPIO. All 3 types of GPIO controllers are supported by
> the this driver.
>
> All 3 Cygnus GPIO controllers support basic PINCONF functions such as bias
> pull up, pull down, and drive strength configurations, when these pins are
> muxed to GPIO.
>
> Pins from the ASIU GPIO can be individually muxed to GPIO function, through
> interaction with the Cygnus IOMUX controller.
>
> Note this patchset has a dependency on the other patchset "Add pinctrl support
> to Broadcom Cygnus SoC" that is also under review
>
> Changes from v8:
> - Add code in function 'cygnus_gpio_pinmux_add_range' to free pinmux
> node resource by calling of_node_put
> - Drop .suppress_bind_attrs = true, since this is already done in
> platform_driver_probe
>
> Changes from v7:
> - Use 'bool' instead of 'int' for flag that indicates pinmux support in the
> driver
> - Call put_device to drop reference to the pinmux dev after call to
> of_find_device_by_node
> - Replace kasprintf with devm_kasprintf and remove memory deallocation logic
> in the driver
> - Set suppress_bind_attrs to true for the driver
>
> Changes from v6:
> - Move the driver from drivers/gpio/* to drivers/pinctrl/* since this driver
> supports both GPIO and some basic PINCONF features
> - Support PINCONF features through standard DT subnodes properties including
> "bias-disable", "bias-pull-up", "bias-pull-down", and "drive-strength", by
> creating local PINCONF controller
> - Add support to allow individual ASIU GPIO pins to be muxed as GPIO, through
> interactions with the Cygnus IOMUX driver
> - Convert the driver to use standard GPIOCHIP_IRQ APIs. This helps to reduce
> customized code in the driver
> - Other miscellaneous imrpovements in the driver
> - Enable GPIO based phone hook detection support for BCM911360 phone factor
> board
>
> Changes from v5:
> - Get rid of DT property "linux,gpio-base". Use dynamic allocation for GPIO base
> number
>
> Changes from v4:
> - Use DT property "linux,gpio-base" to define GPIO base number
> - factorize common code to improve code readability and reduce code size
> - remove "bcm_" prefix on function and struct names
> - improve debugging prints
> - default GPIO_BCM_CYGNUS to y in Kconfig (it still depends on
> ARCH_BCM_CYGNUS). This way we do not need to select it from the
> arch/arm/mach-bcm/Kconfig
> - Get rid of redundant MAINTAINER entry for this driver. It will be maintained
> by Broadcom iProc/Cygnus maintainers
> - Update device tree document based on driver changes
>
> Changes from v3:
> - Fix dt property tpyo
> - Fix incorrect GPIO compatible ID in device tree binding document example
>
> Changes from v2:
> - Consolidate different compatible IDs into "brcm,cygnus-gpio"
> - Get rid of redundant "no-interrupt" property
>
> Changes from v1:
> - Get rid of inline qualifier
> - Get rid of redundant check in the ISR
> - Other minor fixes to imrove code readability
FWIW I tested this series on BCM958305K SVK.
Tested-by: Dmitry Torokhov <dtor@chromium.org>
Thanks.
--
Dmitry
WARNING: multiple messages have this Message-ID (diff)
From: dtor@chromium.org (Dmitry Torokhov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9 0/4] Add gpio/pinconf support to Broadcom Cygnus SoC
Date: Wed, 25 Feb 2015 11:30:59 -0800 [thread overview]
Message-ID: <20150225193059.GC3215@dtor-ws> (raw)
In-Reply-To: <1423606584-21795-1-git-send-email-rjui@broadcom.com>
On Tue, Feb 10, 2015 at 02:16:20PM -0800, Ray Jui wrote:
> This patchset contains the initial GPIO/PINCONF support for the Broadcom
> Cygnus SoC.
>
> Cygnus has 3 GPIO controllers: 1) the ASIU GPIO; 2) the chipCommonG GPIO;
> and 3) the ALWAYS-ON GPIO. All 3 types of GPIO controllers are supported by
> the this driver.
>
> All 3 Cygnus GPIO controllers support basic PINCONF functions such as bias
> pull up, pull down, and drive strength configurations, when these pins are
> muxed to GPIO.
>
> Pins from the ASIU GPIO can be individually muxed to GPIO function, through
> interaction with the Cygnus IOMUX controller.
>
> Note this patchset has a dependency on the other patchset "Add pinctrl support
> to Broadcom Cygnus SoC" that is also under review
>
> Changes from v8:
> - Add code in function 'cygnus_gpio_pinmux_add_range' to free pinmux
> node resource by calling of_node_put
> - Drop .suppress_bind_attrs = true, since this is already done in
> platform_driver_probe
>
> Changes from v7:
> - Use 'bool' instead of 'int' for flag that indicates pinmux support in the
> driver
> - Call put_device to drop reference to the pinmux dev after call to
> of_find_device_by_node
> - Replace kasprintf with devm_kasprintf and remove memory deallocation logic
> in the driver
> - Set suppress_bind_attrs to true for the driver
>
> Changes from v6:
> - Move the driver from drivers/gpio/* to drivers/pinctrl/* since this driver
> supports both GPIO and some basic PINCONF features
> - Support PINCONF features through standard DT subnodes properties including
> "bias-disable", "bias-pull-up", "bias-pull-down", and "drive-strength", by
> creating local PINCONF controller
> - Add support to allow individual ASIU GPIO pins to be muxed as GPIO, through
> interactions with the Cygnus IOMUX driver
> - Convert the driver to use standard GPIOCHIP_IRQ APIs. This helps to reduce
> customized code in the driver
> - Other miscellaneous imrpovements in the driver
> - Enable GPIO based phone hook detection support for BCM911360 phone factor
> board
>
> Changes from v5:
> - Get rid of DT property "linux,gpio-base". Use dynamic allocation for GPIO base
> number
>
> Changes from v4:
> - Use DT property "linux,gpio-base" to define GPIO base number
> - factorize common code to improve code readability and reduce code size
> - remove "bcm_" prefix on function and struct names
> - improve debugging prints
> - default GPIO_BCM_CYGNUS to y in Kconfig (it still depends on
> ARCH_BCM_CYGNUS). This way we do not need to select it from the
> arch/arm/mach-bcm/Kconfig
> - Get rid of redundant MAINTAINER entry for this driver. It will be maintained
> by Broadcom iProc/Cygnus maintainers
> - Update device tree document based on driver changes
>
> Changes from v3:
> - Fix dt property tpyo
> - Fix incorrect GPIO compatible ID in device tree binding document example
>
> Changes from v2:
> - Consolidate different compatible IDs into "brcm,cygnus-gpio"
> - Get rid of redundant "no-interrupt" property
>
> Changes from v1:
> - Get rid of inline qualifier
> - Get rid of redundant check in the ISR
> - Other minor fixes to imrove code readability
FWIW I tested this series on BCM958305K SVK.
Tested-by: Dmitry Torokhov <dtor@chromium.org>
Thanks.
--
Dmitry
next prev parent reply other threads:[~2015-02-25 19:31 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-10 22:16 [PATCH v9 0/4] Add gpio/pinconf support to Broadcom Cygnus SoC Ray Jui
2015-02-10 22:16 ` Ray Jui
2015-02-10 22:16 ` Ray Jui
2015-02-10 22:16 ` [PATCH v9 1/4] pinctrl: Cygnus: define Broadcom Cygnus GPIO/PINCONF binding Ray Jui
2015-02-10 22:16 ` Ray Jui
2015-02-10 22:16 ` Ray Jui
2015-02-10 22:16 ` [PATCH v9 2/4] pinctrl: cygnus: add gpio/pinconf driver Ray Jui
2015-02-10 22:16 ` Ray Jui
2015-02-10 22:16 ` Ray Jui
[not found] ` <1423606584-21795-3-git-send-email-rjui-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2015-03-04 9:48 ` Linus Walleij
2015-03-04 9:48 ` Linus Walleij
2015-03-04 9:48 ` Linus Walleij
[not found] ` <CACRpkda-C1upKfa4FKLcVF9sxL4T=B+eG9ndun4fS6DZ9TfCSw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-04 17:37 ` Ray Jui
2015-03-04 17:37 ` Ray Jui
2015-03-04 17:37 ` Ray Jui
2015-03-05 5:01 ` Ray Jui
2015-03-05 5:01 ` Ray Jui
2015-03-05 5:01 ` Ray Jui
2015-02-10 22:16 ` [PATCH v9 3/4] ARM: dts: enable GPIO for Broadcom Cygnus Ray Jui
2015-02-10 22:16 ` Ray Jui
2015-02-10 22:16 ` Ray Jui
2015-02-10 22:16 ` [PATCH v9 4/4] ARM: dts: cygnus: enable GPIO based hook detection Ray Jui
2015-02-10 22:16 ` Ray Jui
2015-02-10 22:16 ` Ray Jui
2015-02-25 19:30 ` Dmitry Torokhov [this message]
2015-02-25 19:30 ` [PATCH v9 0/4] Add gpio/pinconf support to Broadcom Cygnus SoC Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150225193059.GC3215@dtor-ws \
--to=dtor@chromium.org \
--cc=anatol@google.com \
--cc=arnd@arndb.de \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bcm@fixthebug.org \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=galak@codeaurora.org \
--cc=gnurou@gmail.com \
--cc=grant.likely@linaro.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=joe@perches.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=mporter@linaro.org \
--cc=pawel.moll@arm.com \
--cc=rjui@broadcom.com \
--cc=robh+dt@kernel.org \
--cc=sbranden@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.