1
0
Fork 0
alistair23-linux/drivers/bus
Sricharan R 0659452dd2 bus: omap_l3_noc: use of_match_data to pick up SoC information
DRA7xx SoC has the same l3-noc interconnect ip (as OMAP4 and OMAP5), but
AM437x SoC has just 2 modules instead of 3 which other SoCs have.

So, stop using direct access of array indices and use of->match data and
simplify implementation to benefit future usage.

While at it, rename a few very generic variables to make them omap
specific. This helps us differentiate from DRA7 and AM43xx data in the
future.

NOTE: None of the platforms that use omap_l3_noc are non-device tree
anymore. So, it is safe to assume OF match here.

Signed-off-by: Sricharan R <r.sricharan@ti.com>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
[nm@ti.com: split, refactor and optimize logic]
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>
2014-05-05 14:33:33 -05:00
..
Kconfig drivers: bus: imx-weim: Add support for i.MX1/21/25/27/31/35/50/51/53 2013-08-16 12:59:44 +08:00
Makefile ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
arm-cci.c drivers: bus: fix CCI driver kcalloc call parameters swap 2014-01-31 15:15:13 -08:00
imx-weim.c drivers: bus: imx-weim: Add support for i.MX1/21/25/27/31/35/50/51/53 2013-08-16 12:59:44 +08:00
mvebu-mbus.c bus: mvebu-mbus: Remove deprecated comment 2013-11-24 16:39:41 +00:00
omap-ocp2scp.c ARM: OMAP2+: Remove omap4 ocp2scp pdata 2013-05-30 13:09:31 -07:00
omap_l3_noc.c bus: omap_l3_noc: use of_match_data to pick up SoC information 2014-05-05 14:33:33 -05:00
omap_l3_noc.h bus: omap_l3_noc: use of_match_data to pick up SoC information 2014-05-05 14:33:33 -05:00
omap_l3_smx.c drivers: bus: Move the OMAP interconnect driver to drivers/bus/ 2012-09-19 16:53:26 +02:00
omap_l3_smx.h drivers: bus: Move the OMAP interconnect driver to drivers/bus/ 2012-09-19 16:53:26 +02:00