mips: cdmm: Add mti,mips-cdmm dtb node support
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Tue, 14 Jul 2020 12:57:50 +0000 (15:57 +0300)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 21 Jul 2020 08:25:15 +0000 (10:25 +0200)
commit2121aa3e2312ccc1d6299154dc4f07a6ab8beee2
treeab90922127eaec6eadd87dcf68dd006466d3fd8c
parentc9a56aa972f7c89b6e70e41cd04f4cadc5cc51d7
mips: cdmm: Add mti,mips-cdmm dtb node support

Since having and mapping the CDMM block is platform specific, then
instead of just returning a zero-address, lets make the default CDMM
base address search method (mips_cdmm_phys_base()) to do something
useful. For instance to find the address in a dedicated dtb-node in
order to support of-based platforms by default.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
drivers/bus/mips_cdmm.c