All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] add pinmuxing support for pins in AXP209 and AXP813 PMICs
@ 2017-09-26 12:17 ` Quentin Schulz
  0 siblings, 0 replies; 80+ messages in thread
From: Quentin Schulz @ 2017-09-26 12:17 UTC (permalink / raw)
  To: linus.walleij, robh+dt, mark.rutland, wens, linux, maxime.ripard,
	lee.jones
  Cc: linux-gpio, devicetree, linux-kernel, linux-arm-kernel,
	linux-sunxi, thomas.petazzoni, Quentin Schulz

The AXP209 and AXP813 PMICs have several pins (respectively 3 and 2) that can
be used either as GPIOs or for other purposes (ADC or LDO here).

We already have a GPIO driver for the GPIO use of those pins on the AXP209.
Let's "upgrade" this driver to support all the functions these pins can have.

Then we add support to this driver for the AXP813 which is slighlty different
(basically a different offset in a register and one less pin).

This is a v2 to a first version that was sent in November 2016.

v2:
  - add support for AXP813 pins,
  - split into more patches so it is easier to follow the modifications,
  - reorder of some patches,
  - register all pins within the same range instead of a range per pin,

Thanks,
Quentin

Maxime Ripard (1):
  ARM: dts: add dtsi for AXP813 PMIC

Quentin Schulz (9):
  pinctrl: move gpio-axp209 to pinctrl
  pinctrl: axp209: add pinctrl features
  pinctrl: axp209: use drv_data of pinctrl_pin_desc to store pin reg
  pinctrl: axp209: rename everything from gpio to pctl
  pinctrl: axp209: add programmable gpio_status_offset
  pinctrl: axp209: add support for AXP813 GPIOs
  mfd: axp20x: add pinctrl cell for AXP813
  ARM: dts: sun8i: a711: include axp813 dtsi
  ARM: dts: sun8i: bananapi-m3: include axp813 dtsi

 Documentation/devicetree/bindings/gpio/gpio-axp209.txt       |  30 +-
 Documentation/devicetree/bindings/pinctrl/pinctrl-axp209.txt |  67 +-
 arch/arm/boot/dts/axp813.dtsi                                |  58 +-
 arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts                 |   4 +-
 arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts                    |   2 +-
 drivers/gpio/Kconfig                                         |   6 +-
 drivers/gpio/Makefile                                        |   1 +-
 drivers/gpio/gpio-axp209.c                                   | 188 +--
 drivers/mfd/axp20x.c                                         |   3 +-
 drivers/pinctrl/Kconfig                                      |   6 +-
 drivers/pinctrl/Makefile                                     |   1 +-
 drivers/pinctrl/pinctrl-axp209.c                             | 610 +++++++-
 12 files changed, 750 insertions(+), 226 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-axp209.txt
 create mode 100644 arch/arm/boot/dts/axp813.dtsi
 delete mode 100644 drivers/gpio/gpio-axp209.c
 create mode 100644 drivers/pinctrl/pinctrl-axp209.c

base-commit: 73527316e3fdde8a210b8ab66c1bf48538cf6b09
-- 
git-series 0.9.1

^ permalink raw reply	[flat|nested] 80+ messages in thread

end of thread, other threads:[~2017-10-05 20:50 UTC | newest]

Thread overview: 80+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-26 12:17 [PATCH v2 00/10] add pinmuxing support for pins in AXP209 and AXP813 PMICs Quentin Schulz
2017-09-26 12:17 ` Quentin Schulz
     [not found] ` <cover.1c314f4154a6d27354625f03d0a5269eee55a9c5.1506428208.git-series.quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-09-26 12:17   ` [PATCH v2 01/10] pinctrl: move gpio-axp209 to pinctrl Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
     [not found]     ` <e193f8efe9092171ebeffb77ab77422179fd3cab.1506428208.git-series.quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-09-26 12:55       ` Maxime Ripard
2017-09-26 12:55         ` Maxime Ripard
2017-09-26 12:55         ` Maxime Ripard
2017-09-26 12:59         ` Quentin Schulz
2017-09-26 12:59           ` Quentin Schulz
2017-09-26 13:08           ` Chen-Yu Tsai
2017-09-26 13:08             ` Chen-Yu Tsai
2017-10-05 20:50       ` Rob Herring
2017-10-05 20:50         ` Rob Herring
2017-10-05 20:50         ` Rob Herring
2017-09-26 12:17   ` [PATCH v2 02/10] pinctrl: axp209: add pinctrl features Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
     [not found]     ` <6b89df1bf07dac2ab295fca5fdf0e55179c47ed6.1506428208.git-series.quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-09-26 13:00       ` Maxime Ripard
2017-09-26 13:00         ` Maxime Ripard
2017-09-26 13:00         ` Maxime Ripard
2017-09-26 13:08         ` Quentin Schulz
2017-09-26 13:08           ` Quentin Schulz
2017-09-26 13:08           ` Quentin Schulz
     [not found]           ` <5596280a-51bb-7491-31f4-5800219888ad-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-09-26 13:27             ` Maxime Ripard
2017-09-26 13:27               ` Maxime Ripard
2017-09-26 13:27               ` Maxime Ripard
2017-09-26 13:37               ` Quentin Schulz
2017-09-26 13:37                 ` Quentin Schulz
2017-09-26 13:37                 ` Quentin Schulz
     [not found]                 ` <0bc7efe6-8d0e-ddae-617b-36e4357f76ce-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-09-27  9:28                   ` Maxime Ripard
2017-09-27  9:28                     ` Maxime Ripard
2017-09-27  9:28                     ` Maxime Ripard
2017-09-26 12:17   ` [PATCH v2 03/10] pinctrl: axp209: use drv_data of pinctrl_pin_desc to store pin reg Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 13:01     ` Maxime Ripard
2017-09-26 13:01       ` Maxime Ripard
2017-09-26 13:17       ` Quentin Schulz
2017-09-26 13:17         ` Quentin Schulz
2017-09-26 13:17         ` Quentin Schulz
     [not found]         ` <0ae64e95-ee49-fb4c-e79b-e8c25c86580c-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-09-26 13:45           ` Maxime Ripard
2017-09-26 13:45             ` Maxime Ripard
2017-09-26 13:45             ` Maxime Ripard
2017-09-29 17:27     ` kbuild test robot
2017-09-29 17:27       ` kbuild test robot
2017-09-29 17:27       ` kbuild test robot
2017-09-26 12:17   ` [PATCH v2 04/10] pinctrl: axp209: rename everything from gpio to pctl Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17   ` [PATCH v2 05/10] pinctrl: axp209: add programmable gpio_status_offset Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17   ` [PATCH v2 06/10] pinctrl: axp209: add support for AXP813 GPIOs Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
     [not found]     ` <b950efcbb2f4d399812591cdf5dce11d0d35b42b.1506428208.git-series.quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-09-26 13:12       ` Maxime Ripard
2017-09-26 13:12         ` Maxime Ripard
2017-09-26 13:12         ` Maxime Ripard
2017-09-26 12:17   ` [PATCH v2 08/10] ARM: dts: add dtsi for AXP813 PMIC Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 13:16     ` Maxime Ripard
2017-09-26 13:16       ` Maxime Ripard
2017-09-26 13:53     ` Chen-Yu Tsai
2017-09-26 13:53       ` Chen-Yu Tsai
2017-09-26 12:17   ` [PATCH v2 09/10] ARM: dts: sun8i: a711: include axp813 dtsi Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17   ` [PATCH v2 10/10] ARM: dts: sun8i: bananapi-m3: " Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17     ` Quentin Schulz
2017-09-26 12:17 ` [PATCH v2 07/10] mfd: axp20x: add pinctrl cell for AXP813 Quentin Schulz
2017-09-26 12:17   ` Quentin Schulz
     [not found]   ` <5345a2e94013f4e4f7b545cd4d84b098bd2fa349.1506428208.git-series.quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-09-26 13:14     ` Maxime Ripard
2017-09-26 13:14       ` Maxime Ripard
2017-09-26 13:14       ` Maxime Ripard
2017-09-28 19:06       ` Lee Jones
2017-09-28 19:06         ` Lee Jones
2017-09-28 19:06         ` Lee Jones

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.