[U-Boot] [PATCH v5 0/3] add pinctrl driver framework

Masahiro Yamada yamada.masahiro at socionext.com
Thu Aug 27 05:44:27 CEST 2015


I am trying my best to have this subsystem as DT-compatible with Linux
as possible, also saving memory foot print as a boot loader.

It would be very appreciated if Linus Walleij, the maintainer of
pinctrl subsystem in Linux, would check this series if he could find
some time.


Masahiro Yamada (3):
  dm: core: allow device_bind() to not return a device pointer
  pinctrl: add pin control uclass support
  pinctrl: sandbox: add sandbox pinctrl driver

 arch/sandbox/dts/sandbox.dts      |  19 ++
 configs/sandbox_defconfig         |   3 +
 drivers/Kconfig                   |   2 +
 drivers/Makefile                  |   1 +
 drivers/core/device.c             |  10 +-
 drivers/pinctrl/Kconfig           | 109 ++++++++++++
 drivers/pinctrl/Makefile          |   4 +
 drivers/pinctrl/pinctrl-generic.c | 359 ++++++++++++++++++++++++++++++++++++++
 drivers/pinctrl/pinctrl-sandbox.c | 147 ++++++++++++++++
 drivers/pinctrl/pinctrl-uclass.c  | 240 +++++++++++++++++++++++++
 include/dm/device-internal.h      |   4 +-
 include/dm/lists.h                |   4 +-
 include/dm/pinctrl.h              | 227 ++++++++++++++++++++++++
 include/dm/uclass-id.h            |   2 +
 14 files changed, 1125 insertions(+), 6 deletions(-)
 create mode 100644 drivers/pinctrl/Kconfig
 create mode 100644 drivers/pinctrl/Makefile
 create mode 100644 drivers/pinctrl/pinctrl-generic.c
 create mode 100644 drivers/pinctrl/pinctrl-sandbox.c
 create mode 100644 drivers/pinctrl/pinctrl-uclass.c
 create mode 100644 include/dm/pinctrl.h

-- 
1.9.1



More information about the U-Boot mailing list