All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [RFC PATCH 0/7] DM: pinctrl: Another implemtation of pinctrl framework
@ 2015-07-15  8:16 Masahiro Yamada
  2015-07-15  8:16 ` [U-Boot] [RFC PATCH 1/7] pinctrl: add " Masahiro Yamada
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Masahiro Yamada @ 2015-07-15  8:16 UTC (permalink / raw)
  To: u-boot


I'd like to propose antoher pinctrl design, which is closer to Linux's one.

1/7 adds the uclass support.

2/7 - 5/7 show how low-level drivers can be implemeted on my SoCs as example.

You can implement them in your own way, but they are often done with
architecture-specific operation + SoC-specific pin data.

2/7 is the callbacks commonly used for my SoC family.
3/7-5/7 are SoC-specific data sets.

6/7 shows some examples for device tree implementations.



Masahiro Yamada (7):
  pinctrl: add pinctrl framework
  pinctrl: UniPhier: add UniPhier pinctrl core support
  pinctrl: UniPhier: add UniPhier PH1-LD4 pinctrl driver
  pinctrl: UniPhier: add UniPhier PH1-Pro4 pinctrl driver
  pinctrl: UniPhier: add UniPhier PH1-sLD8 pinctrl driver
  ARM: dts: UniPhier: add nodes for pinctrl devices and pin configs
  ARM: select pinctrl drivers from Kconfig

 arch/arm/dts/uniphier-ph1-ld4.dtsi               |  30 ++
 arch/arm/dts/uniphier-ph1-pro4.dtsi              |  34 +++
 arch/arm/dts/uniphier-ph1-sld8.dtsi              |  30 ++
 arch/arm/dts/uniphier-pinctrl.dtsi               |  80 +++++
 arch/arm/mach-uniphier/Kconfig                   |   3 +
 drivers/Kconfig                                  |   2 +
 drivers/Makefile                                 |   1 +
 drivers/core/device.c                            |   5 +
 drivers/pinctrl/Kconfig                          |   4 +
 drivers/pinctrl/Makefile                         |   3 +
 drivers/pinctrl/pinctrl-uclass.c                 | 353 +++++++++++++++++++++++
 drivers/pinctrl/uniphier/Kconfig                 |  19 ++
 drivers/pinctrl/uniphier/Makefile                |   5 +
 drivers/pinctrl/uniphier/pinctrl-ph1-ld4.c       |  69 +++++
 drivers/pinctrl/uniphier/pinctrl-ph1-pro4.c      |  69 +++++
 drivers/pinctrl/uniphier/pinctrl-ph1-sld8.c      |  65 +++++
 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 127 ++++++++
 drivers/pinctrl/uniphier/pinctrl-uniphier.h      |  51 ++++
 include/dm/device.h                              |   3 +
 include/dm/pinctrl.h                             |  28 ++
 include/dm/uclass-id.h                           |   1 +
 21 files changed, 982 insertions(+)
 create mode 100644 arch/arm/dts/uniphier-pinctrl.dtsi
 create mode 100644 drivers/pinctrl/Kconfig
 create mode 100644 drivers/pinctrl/Makefile
 create mode 100644 drivers/pinctrl/pinctrl-uclass.c
 create mode 100644 drivers/pinctrl/uniphier/Kconfig
 create mode 100644 drivers/pinctrl/uniphier/Makefile
 create mode 100644 drivers/pinctrl/uniphier/pinctrl-ph1-ld4.c
 create mode 100644 drivers/pinctrl/uniphier/pinctrl-ph1-pro4.c
 create mode 100644 drivers/pinctrl/uniphier/pinctrl-ph1-sld8.c
 create mode 100644 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
 create mode 100644 drivers/pinctrl/uniphier/pinctrl-uniphier.h
 create mode 100644 include/dm/pinctrl.h

-- 
1.9.1

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

end of thread, other threads:[~2015-07-30 15:16 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-15  8:16 [U-Boot] [RFC PATCH 0/7] DM: pinctrl: Another implemtation of pinctrl framework Masahiro Yamada
2015-07-15  8:16 ` [U-Boot] [RFC PATCH 1/7] pinctrl: add " Masahiro Yamada
2015-07-15  8:29   ` Masahiro Yamada
2015-07-15  8:53   ` Albert ARIBAUD
2015-07-15  9:02     ` Masahiro Yamada
2015-07-15  9:08       ` Masahiro Yamada
2015-07-18 14:37   ` Simon Glass
2015-07-22 14:24     ` Simon Glass
2015-07-23  4:06       ` Masahiro Yamada
2015-07-30  2:06   ` Simon Glass
2015-07-30  5:16     ` Masahiro Yamada
2015-07-30 15:16       ` Simon Glass
2015-07-15  8:16 ` [U-Boot] [RFC PATCH 2/7] pinctrl: UniPhier: add UniPhier pinctrl core support Masahiro Yamada
2015-07-15  8:16 ` [U-Boot] [RFC PATCH 3/7] pinctrl: UniPhier: add UniPhier PH1-LD4 pinctrl driver Masahiro Yamada
2015-07-15  8:16 ` [U-Boot] [RFC PATCH 4/7] pinctrl: UniPhier: add UniPhier PH1-Pro4 " Masahiro Yamada
2015-07-15  8:16 ` [U-Boot] [RFC PATCH 5/7] pinctrl: UniPhier: add UniPhier PH1-sLD8 " Masahiro Yamada
2015-07-15  8:16 ` [U-Boot] [RFC PATCH 6/7] ARM: dts: UniPhier: add nodes for pinctrl devices and pin configs Masahiro Yamada
2015-07-15  8:16 ` [U-Boot] [RFC PATCH 7/7] ARM: select pinctrl drivers from Kconfig Masahiro Yamada

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.