[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1416168856-12747-1-git-send-email-b.galvani@gmail.com>
Date: Sun, 16 Nov 2014 21:14:13 +0100
From: Beniamino Galvani <b.galvani@...il.com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: linux-gpio@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Arnd Bergmann <arnd@...db.de>,
Russell King <linux@....linux.org.uk>,
Carlo Caione <carlo@...one.org>,
Soren Brinkmann <soren.brinkmann@...inx.com>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Jerry Cao <jerry.cao@...ogic.com>,
Victor Wan <victor.wan@...ogic.com>,
Beniamino Galvani <b.galvani@...il.com>
Subject: [PATCH v3 0/3] Amlogic Meson pinctrl driver
Hi,
this is the third version of the pinctrl driver for Amlogic Meson. It
provides a common infrastructure than can be used by all the SoCs of
the family and configuration data specific for Meson8. Adding support
for other SoCs should be only matter of defining new pins and banks.
The driver uses generic DT properties for the definition of mux and
configuration nodes; since there is an ongoing effort to centralize
the parsing to generic code, I've reused the patch "pinctrl:
pinconf-generic: Infer map type from DT property" [1] posted a few
days ago by Soren Brinkmann. I will update the series if that patch is
going to change after the mailing list discussion.
[1] https://lkml.org/lkml/2014/11/3/704
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: meson: add device tree bindings documentation
pinctrl: add driver for Amlogic Meson SoCs
ARM: meson: select PINCTRL_MESON and ARCH_REQUIRE_GPIOLIB
.../devicetree/bindings/pinctrl/meson,pinctrl.txt | 97 ++
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 | 1087 ++++++++++++++++++++
include/dt-bindings/gpio/meson8-gpio.h | 157 +++
9 files changed, 2325 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt
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
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists