linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] get pinctrl more flexible for per pin muxing controllers
@ 2015-05-04  8:56 Ludovic Desroches
  2015-05-04  8:56 ` [PATCH 1/2] pinctrl: change function behavior " Ludovic Desroches
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ludovic Desroches @ 2015-05-04  8:56 UTC (permalink / raw)
  To: linux-arm-kernel, linux-gpio, devicetree, linux-kernel
  Cc: linus.walleij, nicolas.ferre, Ludovic Desroches

Hi,

The way pins, groups and functions are tied is too constraining for some
controllers. It concerns mainly the ones we don't care about groups and
functions, each pin can be muxed to any functions.
The goal of these two patches is too remove some of the constraints.

I have added the prototype of a pin controller and device tree to show the
way I want to use these changes. I couldn't test it on boards using generic
pinconf so I am not sure that I don't break something...


Ludovic Desroches (4):
  pinctrl: change function behavior for per pin muxing controllers
  pinctrl: introduce complex pin description
  pinctrl: rough draft for a future controller
  ARM: at91/dt: proto dt

 arch/arm/boot/dts/Makefile                 |   1 +
 arch/arm/boot/dts/at91-sama5d4ek_proto.dts | 243 ++++++++++
 arch/arm/boot/dts/sama5d4_proto-pinfunc.h  | 463 +++++++++++++++++++
 arch/arm/boot/dts/sama5d4_proto.dtsi       | 716 +++++++++++++++++++++++++++++
 drivers/pinctrl/Kconfig                    |  10 +
 drivers/pinctrl/Makefile                   |   1 +
 drivers/pinctrl/pinconf-generic.c          |  44 +-
 drivers/pinctrl/pinctrl-at91-pio4.c        | 625 +++++++++++++++++++++++++
 drivers/pinctrl/pinmux.c                   |  58 +--
 include/linux/pinctrl/pinctrl.h            |   6 +
 include/linux/pinctrl/pinmux.h             |   3 +
 11 files changed, 2134 insertions(+), 36 deletions(-)
 create mode 100644 arch/arm/boot/dts/at91-sama5d4ek_proto.dts
 create mode 100644 arch/arm/boot/dts/sama5d4_proto-pinfunc.h
 create mode 100644 arch/arm/boot/dts/sama5d4_proto.dtsi
 create mode 100644 drivers/pinctrl/pinctrl-at91-pio4.c

-- 
2.2.0


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

end of thread, other threads:[~2015-06-10 14:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-04  8:56 [PATCH 0/2] get pinctrl more flexible for per pin muxing controllers Ludovic Desroches
2015-05-04  8:56 ` [PATCH 1/2] pinctrl: change function behavior " Ludovic Desroches
     [not found] ` <1430729776-27797-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2015-05-04  8:56   ` [PATCH 2/2] pinctrl: introduce complex pin description Ludovic Desroches
2015-05-04  8:56   ` [PROTO] pinctrl: rough draft for a future controller Ludovic Desroches
2015-05-04  8:56   ` [PROTO] ARM: at91/dt: proto dt Ludovic Desroches
2015-06-03 13:31 ` [PATCH 0/2] get pinctrl more flexible for per pin muxing controllers Nicolas Ferre
     [not found]   ` <556F01CC.8020305-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2015-06-10  7:33     ` Linus Walleij
2015-06-10 14:14       ` Stephen Warren
2015-06-10 15:00         ` Ludovic Desroches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).