diff mbox series

[1/4] reset: uniphier: fix compatible for SD reset node for LD11/LD20

Message ID 1503976853-3029-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 1fc84d6be20bc0869e91d1c6b73211346c0e317a
Headers show
Series [1/4] reset: uniphier: fix compatible for SD reset node for LD11/LD20 | expand

Commit Message

Masahiro Yamada Aug. 29, 2017, 3:20 a.m. UTC
LD20 has SD ctrl instead of MIO ctrl.  LD11 has both of them.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/reset/reset-uniphier.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Masahiro Yamada Aug. 30, 2017, 12:11 a.m. UTC | #1
2017-08-29 12:20 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> LD20 has SD ctrl instead of MIO ctrl.  LD11 has both of them.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---

Series, applied to u-boot-uniphier.
diff mbox series

Patch

diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c
index ebb2cae5eb33..8a037cf735dd 100644
--- a/drivers/reset/reset-uniphier.c
+++ b/drivers/reset/reset-uniphier.c
@@ -294,7 +294,11 @@  static const struct udevice_id uniphier_reset_match[] = {
 		.data = (ulong)uniphier_mio_reset_data,
 	},
 	{
-		.compatible = "socionext,uniphier-ld20-mio-reset",
+		.compatible = "socionext,uniphier-ld11-sd-reset",
+		.data = (ulong)uniphier_mio_reset_data,
+	},
+	{
+		.compatible = "socionext,uniphier-ld20-sd-reset",
 		.data = (ulong)uniphier_mio_reset_data,
 	},
 	/* Peripheral reset */