]> git.dujemihanovic.xyz Git - u-boot.git/commit
mailbox: allow subnode for mbox regs
authorIbai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
Fri, 27 Sep 2019 10:36:55 +0000 (11:36 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 8 Oct 2019 07:55:11 +0000 (09:55 +0200)
commit05f683a3e2dea5e0700fd1e7b540ae024135545a
treefe33ee55d1040f5968d01b546da9f8ffb24f606f
parent22673b4d53fc5ad82f632d6cdaae2950190ef214
mailbox: allow subnode for mbox regs

The following patch allows the mailbox node in DT to host subnodes with
mailbox definitions. If the client phandle to the mailbox is not the
mailbox driver node, just checks parents as well.

Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mailbox/mailbox-uclass.c