bus: omap_l3_noc: introduce concept of submodule
authorNishanth Menon <nm@ti.com>
Fri, 11 Apr 2014 19:37:03 +0000 (14:37 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 5 May 2014 19:34:20 +0000 (14:34 -0500)
commitf33ddf745cbcd4145fcb2f8239f5dbba089fb8ff
tree4dc0f6bc51c36575db6ec839f9f6106bb547c0e0
parentcf52b2ecd719ca7acb19c0fd74bcfcce9dc6a362
bus: omap_l3_noc: introduce concept of submodule

While OMAP4 and OMAP5 had 3 separate clock domains, DRA7 has only 2
and the first one then is internally divided into 2 sub clock domains.

To better represent this in the driver, we use the concept of submodule.

The address defintions in the devicetree is as per the high level
clock domain(module) base, the sub clockdomain/subdomain which shares
the same register space of a clockdomain is marked in the SoC data as
L3_BASE_IS_SUBMODULE.

L3_BASE_IS_SUBMODULE is used as an indication that it's base address is
the same as the parent module and offsets are considered from the same
base address as they are usually intermingled.

Other than the base address, the submodule is same as a module as it is
functionally so.

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
drivers/bus/omap_l3_noc.c
drivers/bus/omap_l3_noc.h