All of lore.kernel.org
 help / color / mirror / Atom feed
From: Beniamino Galvani <b.galvani@gmail.com>
To: Linus Walleij <linus.walleij@linaro.org>,
	Carlo Caione <carlo@caione.org>
Cc: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Arnd Bergmann <arnd@arndb.de>,
	Russell King <linux@arm.linux.org.uk>,
	Soren Brinkmann <soren.brinkmann@xilinx.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>,
	Jerry Cao <jerry.cao@amlogic.com>,
	Victor Wan <victor.wan@amlogic.com>,
	Beniamino Galvani <b.galvani@gmail.com>
Subject: [PATCH v4 0/3] Amlogic Meson pinctrl driver
Date: Sat, 17 Jan 2015 19:15:13 +0100	[thread overview]
Message-ID: <1421518516-26976-1-git-send-email-b.galvani@gmail.com> (raw)

Hi,

this series adds a pinctrl driver for Amlogic Meson, providing common
code for all the SoCs of the family and configuration data specific
for Meson8.

DT binding documentation for the driver has already been merged and is
not included in the series. The first patch is for the pinctrl/devel
tree, the others for Carlo's meson tree.

Thanks,
Beniamino

Changes since v3 [ https://lkml.org/lkml/2014/11/16/171 ]
 - add 'static' to meson8 structs and arrays
 - use ERR_CAST() to avoid sparse warning in meson_map_resource()
 - declare group list as 'const char * const *'

Changes since v2 [ https://lkml.org/lkml/2014/10/14/423 ]
 - move modifications to mach-meson Kconfig to a separate patch
 - use regmap_mmio
 - use generic gpio xlate function
 - don't hardcode gpio base number
 - use gpiochip_add_pin_range()
 - add kerneldoc documentation
 - use plain module_platform_driver() instead of postcore_initcall
 - avoid unneeded copies of platform data

Changes since v1 [ https://lkml.org/lkml/2014/10/7/712 ]
 - added missing checks of return values
 - indentation fixes
 - added missing definitions of groups and functions for Meson8

Beniamino Galvani (3):
  pinctrl: add driver for Amlogic Meson SoCs
  ARM: meson: select PINCTRL_MESON and ARCH_REQUIRE_GPIOLIB
  ARM: dts: meson8: add pinctrl node

 arch/arm/boot/dts/meson8.dtsi          |   68 ++
 arch/arm/mach-meson/Kconfig            |    3 +
 drivers/pinctrl/Kconfig                |    8 +
 drivers/pinctrl/Makefile               |    1 +
 drivers/pinctrl/meson/Makefile         |    2 +
 drivers/pinctrl/meson/pinctrl-meson.c  |  761 ++++++++++++++++++++++
 drivers/pinctrl/meson/pinctrl-meson.h  |  209 ++++++
 drivers/pinctrl/meson/pinctrl-meson8.c | 1089 ++++++++++++++++++++++++++++++++
 include/dt-bindings/gpio/meson8-gpio.h |  157 +++++
 9 files changed, 2298 insertions(+)
 create mode 100644 drivers/pinctrl/meson/Makefile
 create mode 100644 drivers/pinctrl/meson/pinctrl-meson.c
 create mode 100644 drivers/pinctrl/meson/pinctrl-meson.h
 create mode 100644 drivers/pinctrl/meson/pinctrl-meson8.c
 create mode 100644 include/dt-bindings/gpio/meson8-gpio.h

-- 
2.1.4


WARNING: multiple messages have this Message-ID (diff)
From: b.galvani@gmail.com (Beniamino Galvani)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 0/3] Amlogic Meson pinctrl driver
Date: Sat, 17 Jan 2015 19:15:13 +0100	[thread overview]
Message-ID: <1421518516-26976-1-git-send-email-b.galvani@gmail.com> (raw)

Hi,

this series adds a pinctrl driver for Amlogic Meson, providing common
code for all the SoCs of the family and configuration data specific
for Meson8.

DT binding documentation for the driver has already been merged and is
not included in the series. The first patch is for the pinctrl/devel
tree, the others for Carlo's meson tree.

Thanks,
Beniamino

Changes since v3 [ https://lkml.org/lkml/2014/11/16/171 ]
 - add 'static' to meson8 structs and arrays
 - use ERR_CAST() to avoid sparse warning in meson_map_resource()
 - declare group list as 'const char * const *'

Changes since v2 [ https://lkml.org/lkml/2014/10/14/423 ]
 - move modifications to mach-meson Kconfig to a separate patch
 - use regmap_mmio
 - use generic gpio xlate function
 - don't hardcode gpio base number
 - use gpiochip_add_pin_range()
 - add kerneldoc documentation
 - use plain module_platform_driver() instead of postcore_initcall
 - avoid unneeded copies of platform data

Changes since v1 [ https://lkml.org/lkml/2014/10/7/712 ]
 - added missing checks of return values
 - indentation fixes
 - added missing definitions of groups and functions for Meson8

Beniamino Galvani (3):
  pinctrl: add driver for Amlogic Meson SoCs
  ARM: meson: select PINCTRL_MESON and ARCH_REQUIRE_GPIOLIB
  ARM: dts: meson8: add pinctrl node

 arch/arm/boot/dts/meson8.dtsi          |   68 ++
 arch/arm/mach-meson/Kconfig            |    3 +
 drivers/pinctrl/Kconfig                |    8 +
 drivers/pinctrl/Makefile               |    1 +
 drivers/pinctrl/meson/Makefile         |    2 +
 drivers/pinctrl/meson/pinctrl-meson.c  |  761 ++++++++++++++++++++++
 drivers/pinctrl/meson/pinctrl-meson.h  |  209 ++++++
 drivers/pinctrl/meson/pinctrl-meson8.c | 1089 ++++++++++++++++++++++++++++++++
 include/dt-bindings/gpio/meson8-gpio.h |  157 +++++
 9 files changed, 2298 insertions(+)
 create mode 100644 drivers/pinctrl/meson/Makefile
 create mode 100644 drivers/pinctrl/meson/pinctrl-meson.c
 create mode 100644 drivers/pinctrl/meson/pinctrl-meson.h
 create mode 100644 drivers/pinctrl/meson/pinctrl-meson8.c
 create mode 100644 include/dt-bindings/gpio/meson8-gpio.h

-- 
2.1.4

             reply	other threads:[~2015-01-17 18:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-17 18:15 Beniamino Galvani [this message]
2015-01-17 18:15 ` [PATCH v4 0/3] Amlogic Meson pinctrl driver Beniamino Galvani
2015-01-17 18:15 ` [PATCH v4 1/3] pinctrl: add driver for Amlogic Meson SoCs Beniamino Galvani
2015-01-17 18:15   ` Beniamino Galvani
     [not found]   ` <1421518516-26976-2-git-send-email-b.galvani-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-20  9:59     ` Linus Walleij
2015-01-20  9:59       ` Linus Walleij
2015-01-20  9:59       ` Linus Walleij
2015-01-22  3:02       ` 48169172
     [not found]         ` <2015012211022773401912-9Onoh4P/yGk@public.gmane.org>
2015-01-22  8:37           ` Linus Walleij
2015-01-22  8:37             ` Linus Walleij
2015-01-22  8:37             ` Linus Walleij
2015-01-22  9:12             ` 48169172
2015-01-23  2:25             ` 48169172
2015-01-30 13:49               ` Linus Walleij
2015-01-30 13:49                 ` Linus Walleij
2015-01-30 13:49                 ` Linus Walleij
     [not found] ` <1421518516-26976-1-git-send-email-b.galvani-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-17 18:15   ` [PATCH v4 2/3] ARM: meson: select PINCTRL_MESON and ARCH_REQUIRE_GPIOLIB Beniamino Galvani
2015-01-17 18:15     ` Beniamino Galvani
2015-01-17 18:15     ` Beniamino Galvani
2015-01-17 18:15 ` [PATCH v4 3/3] ARM: dts: meson8: add pinctrl node Beniamino Galvani
2015-01-17 18:15   ` Beniamino Galvani

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=1421518516-26976-1-git-send-email-b.galvani@gmail.com \
    --to=b.galvani@gmail.com \
    --cc=arnd@arndb.de \
    --cc=carlo@caione.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jerry.cao@amlogic.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=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=soren.brinkmann@xilinx.com \
    --cc=victor.wan@amlogic.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.