[U-Boot] [PATCH 1/9] pinctrl: add the DM_UC_FLAG_SEQ_ALIAS flag for numbering the devices
Thomas Abraham
ta.omasab at gmail.com
Wed Apr 13 12:43:34 CEST 2016
From: Thomas Abraham <thomas.ab at samsung.com>
It is possible to have multiple pin controllers in the system. Use the
DM_UC_FLAG_SEQ_ALIAS flag so that the pinctrl instances are assigned
a sequence number.
Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
Cc: Simon Glass <sjg at chromium.org>
Signed-off-by: Thomas Abraham <thomas.ab at samsung.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
drivers/pinctrl/pinctrl-uclass.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-uclass.c b/drivers/pinctrl/pinctrl-uclass.c
index ccc5d30..fd04b26 100644
--- a/drivers/pinctrl/pinctrl-uclass.c
+++ b/drivers/pinctrl/pinctrl-uclass.c
@@ -287,5 +287,6 @@ static int pinctrl_post_bind(struct udevice *dev)
UCLASS_DRIVER(pinctrl) = {
.id = UCLASS_PINCTRL,
.post_bind = pinctrl_post_bind,
+ .flags = DM_UC_FLAG_SEQ_ALIAS,
.name = "pinctrl",
};
--
1.6.6.rc2
More information about the U-Boot
mailing list