bus: imx-weim: populate devices on a simple bus
authorLiu Ying <Ying.Liu@freescale.com>
Fri, 4 Jul 2014 09:00:41 +0000 (17:00 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 18 Jul 2014 08:11:36 +0000 (16:11 +0800)
commit26651c4376454b8a9422577e57c59b6cc37c603d
treeb7922e53e8b2a4399fbe05313cc82f46580c0e34
parenta82eb09f4abef12550633da34233b071851fd0ff
bus: imx-weim: populate devices on a simple bus

There could be some memory map devices located in
a certain chip select region of the i.MX WEIM.
The devices could be attached to a simple bus(for
example, a AXI bus) whose root node is one child
device tree node of the i.MX WEIM device tree node.
There should be a bridge(very likely, software
transparent) bewteen the i.MX WEIM and the simple bus.
This patch makes the i.MX WEIM driver possible to
populate devices on a simple bus.  In this way, people
may try various IPs(in a FPGA, maybe) outside of i.MX
chips with the i.MX WEIM embedded.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
drivers/bus/imx-weim.c