diff mbox

[U-Boot] dm: core: make simple-bus compatible to simple-mfd

Message ID 1456800708-30711-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 9f56917ab88a6cf02574d0fcd92884edc517d0b4
Delegated to: Simon Glass
Headers show

Commit Message

Masahiro Yamada March 1, 2016, 2:51 a.m. UTC
Simple MFD devices can bind children without special bus configuration.
Like Linux, let's handle "simple-mfd" in the same way as "simple-bus".

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

 drivers/core/simple-bus.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Simon Glass March 7, 2016, 2:39 a.m. UTC | #1
On 29 February 2016 at 19:51, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> Simple MFD devices can bind children without special bus configuration.
> Like Linux, let's handle "simple-mfd" in the same way as "simple-bus".
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  drivers/core/simple-bus.c | 1 +
>  1 file changed, 1 insertion(+)


Acked-by: Simon Glass <sjg@chromium.org>
Simon Glass March 13, 2016, 1:51 a.m. UTC | #2
On 6 March 2016 at 19:39, Simon Glass <sjg@chromium.org> wrote:
> On 29 February 2016 at 19:51, Masahiro Yamada
> <yamada.masahiro@socionext.com> wrote:
>>
>> Simple MFD devices can bind children without special bus configuration.
>> Like Linux, let's handle "simple-mfd" in the same way as "simple-bus".
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>> ---
>>
>>  drivers/core/simple-bus.c | 1 +
>>  1 file changed, 1 insertion(+)
>
>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm/next, thanks!
diff mbox

Patch

diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c
index 913c3cc..1a9c864 100644
--- a/drivers/core/simple-bus.c
+++ b/drivers/core/simple-bus.c
@@ -53,6 +53,7 @@  UCLASS_DRIVER(simple_bus) = {
 
 static const struct udevice_id generic_simple_bus_ids[] = {
 	{ .compatible = "simple-bus" },
+	{ .compatible = "simple-mfd" },
 	{ }
 };