[U-Boot] [RFC v3 PATCH 0/4] add pinctrl driver framework
Masahiro Yamada
yamada.masahiro at socionext.com
Mon Aug 10 18:05:27 CEST 2015
Sorry for delay. This is RFC v3.
(I forgot to send a pre-requisite patch.)
README.pinctrl is missing in this version (I will do it in the
next version), but the code itself is almost ready for the review.
This series depends on
"Add macros to ease our life with independent CONFIGs between U-Boot and SPL",
consists of 15 patches.
Masahiro Yamada (4):
dm: do not return pointer if NULL is given to devp of device_bind()
pinctrl: add pin control uclass support
pinctrl: add simple pinctrl implementation
pinctrl: sandbox: add sandbox pinctrl driver
arch/sandbox/dts/sandbox.dts | 19 +++
configs/sandbox_defconfig | 5 +
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/core/device.c | 10 +-
drivers/pinctrl/Kconfig | 53 ++++++
drivers/pinctrl/Makefile | 4 +
drivers/pinctrl/pinctrl-generic.c | 351 ++++++++++++++++++++++++++++++++++++++
drivers/pinctrl/pinctrl-sandbox.c | 157 +++++++++++++++++
drivers/pinctrl/pinctrl-uclass.c | 180 +++++++++++++++++++
include/dm/pinctrl.h | 220 ++++++++++++++++++++++++
include/dm/uclass-id.h | 2 +
12 files changed, 1002 insertions(+), 2 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