All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
To: Sebastian Reichel <sre@kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Steven Miao <realmz6@gmail.com>,
	Vladimir Zapolskiy <vz@mleia.com>,
	Sylvain Lemieux <slemieux.tyco@gmail.com>
Cc: Enric Balletbo i Serra <enric.balletbo@collabora.co.uk>,
	linux-gpio@vger.kernel.org,
	adi-buildroot-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org,
	Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Subject: [PATCHv3 00/14] mcp23s08 pinconf & cleanup
Date: Mon, 15 May 2017 11:24:24 +0200	[thread overview]
Message-ID: <20170515092438.13076-1-sebastian.reichel@collabora.co.uk> (raw)

Hi,

Here is a rebase of my PATCHv2 in combination with the second patchset, which
migrates to regmap based register caching. I also added a few more patches, that
do misc. cleanups in the driver and remove ~100 loc (that's 10%).

The first patch and the 12th patch ("simplify spi_present_mask handling") needs
Acked-by from Steven Miao for the blackfin architecture changes (defconfig, two
boardfiles) and from Vladimir Zapolskiy or Sylvain Lemieux for the lpc32xx_defconfig
changes.

Changes since PATCHv1:
 * Add patch moving mcp23s08 from gpio/ to pinctrl/
 * Add patches updating config references in arch/
 * Add patch removing pdata support for pullup config
Changes since PATCHv2:
 * rebase to v4.12-rc1
 * squash patch 1-4 for bisectability
 * use devm_pinctrl_register in patch adding pinctrl support
 * include patchset for regmap based caching
 * constify structs in patch switching to regmap caching
 * add new patches with more cleanups (-120 locs)

-- Sebastian

Sebastian Reichel (14):
  gpio: mcp23s08: move to pinctrl
  pinctrl: mcp23s08: add pinconf support
  pinctrl: mcp23s08: drop pullup config from pdata
  pinctrl: mcp23s08: switch to regmap caching
  pinctrl: mcp23s08: drop OF_GPIO dependency
  pinctrl: mcp23s08: irq mapping is already done
  pinctrl: mcp23s08: use managed kzalloc for mcp
  pinctrl: mcp23s08: switch to devm_gpiochip_add_data
  pinctrl: mcp23s08: simplify i2c pdata handling
  pinctrl: mcp23s08: simplify spi pdata handling
  pinctrl: mcp23s08: generalize irq property handling
  pinctrl: mcp23s08: simplify spi_present_mask handling
  pinctrl: mcp23s08: drop comment about missing irq support
  pinctrl: mcp23s08: fix comment for mcp23s08_platform_data.base

 arch/arm/configs/lpc32xx_defconfig                 |   2 +-
 arch/blackfin/configs/BF609-EZKIT_defconfig        |   2 +-
 arch/blackfin/mach-bf527/boards/tll6527m.c         |   8 +-
 arch/blackfin/mach-bf609/boards/ezkit.c            |   4 +-
 drivers/gpio/Kconfig                               |  17 -
 drivers/gpio/Makefile                              |   1 -
 drivers/pinctrl/Kconfig                            |  13 +
 drivers/pinctrl/Makefile                           |   1 +
 .../gpio-mcp23s08.c => pinctrl/pinctrl-mcp23s08.c} | 647 +++++++++++++--------
 include/linux/spi/mcp23s08.h                       |  38 +-
 10 files changed, 425 insertions(+), 308 deletions(-)
 rename drivers/{gpio/gpio-mcp23s08.c => pinctrl/pinctrl-mcp23s08.c} (64%)

-- 
2.11.0

             reply	other threads:[~2017-05-15  9:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-15  9:24 Sebastian Reichel [this message]
2017-05-15  9:24 ` [PATCHv3 01/14] gpio: mcp23s08: move to pinctrl Sebastian Reichel
2017-05-16 19:45   ` Sylvain Lemieux
2017-05-15  9:24 ` [PATCHv3 02/14] pinctrl: mcp23s08: add pinconf support Sebastian Reichel
2017-05-15 12:34   ` Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 03/14] pinctrl: mcp23s08: drop pullup config from pdata Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 04/14] pinctrl: mcp23s08: switch to regmap caching Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 05/14] pinctrl: mcp23s08: drop OF_GPIO dependency Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 06/14] pinctrl: mcp23s08: irq mapping is already done Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 07/14] pinctrl: mcp23s08: use managed kzalloc for mcp Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 08/14] pinctrl: mcp23s08: switch to devm_gpiochip_add_data Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 09/14] pinctrl: mcp23s08: simplify i2c pdata handling Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 10/14] pinctrl: mcp23s08: simplify spi " Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 11/14] pinctrl: mcp23s08: generalize irq property handling Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 12/14] pinctrl: mcp23s08: simplify spi_present_mask handling Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 13/14] pinctrl: mcp23s08: drop comment about missing irq support Sebastian Reichel
2017-05-15  9:24 ` [PATCHv3 14/14] pinctrl: mcp23s08: fix comment for mcp23s08_platform_data.base Sebastian Reichel
2017-05-23  7:55 ` [PATCHv3 00/14] mcp23s08 pinconf & cleanup Linus Walleij

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=20170515092438.13076-1-sebastian.reichel@collabora.co.uk \
    --to=sebastian.reichel@collabora.co.uk \
    --cc=adi-buildroot-devel@lists.sourceforge.net \
    --cc=enric.balletbo@collabora.co.uk \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=realmz6@gmail.com \
    --cc=slemieux.tyco@gmail.com \
    --cc=sre@kernel.org \
    --cc=vz@mleia.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.