linux/arch/arm/mach-ux500
Arnd Bergmann 18a9927878 ARM: ux500: move soc_id driver to drivers/soc
As the ux500 id code is basically a standalone driver, we can move it
out of the arch code into drivers/soc/ux500.

This is a user-visible change, as it moves all the devices in sysfs
from /sys/devices/soc0/ to /sys/devices/ and leaves the soc0 node as a
separate device.

Originally the idea was to put all on-chip devices under the soc node,
and ux500 was the first platform to have this device, but later platforms
almost all didn't follow that pattern, so this makes the platform do
the same thing as everyone else.

Since the platform is really obsolete now, I am optimistic that nothing
will break after moving the devices around.

As the SoC driver no longer has access to the private header files,
I'm changing the code to instead look up the address of the backupram
from devicetree, which is a good idea anyway.

Finally, having a separate Kconfig symbol means the driver is now
optional and could even be a loadable module rather than always being
built-in if we allowed that for soc_device.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[Fixup mising Makefile, fixup BB_UID_BASE to fc0]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-07-12 11:24:09 +02:00
..
board-mop500-audio.c mfd: dbx500/abx500: root out hardcoded IRQ assignments 2014-03-04 08:58:11 +08:00
board-mop500.h ARM: ux500: Remove redundant board file for mmci platform data 2014-05-12 12:52:44 +02:00
cache-l2x0.c ARM: ux500: consolidate soc_device code in id.c 2016-07-12 11:24:08 +02:00
cpu-db8500.c ARM: ux500: move soc_id driver to drivers/soc 2016-07-12 11:24:09 +02:00
cpu.c ARM: ux500: consolidate soc_device code in id.c 2016-07-12 11:24:08 +02:00
db8500-regs.h ARM: ux500: avoid warning in ux500_read_asicid 2013-06-04 11:21:58 +02:00
hotplug.c ARM: Remove __ref on hotplug cpu die path 2015-10-22 09:55:03 -07:00
Kconfig ARM: SoC cleanups for v4.5 2016-01-20 17:55:20 -08:00
Makefile ARM: ux500: move soc_id driver to drivers/soc 2016-07-12 11:24:09 +02:00
platsmp.c ARM: ux500: consolidate soc_device code in id.c 2016-07-12 11:24:08 +02:00
pm_domains.c ARM: make of_device_ids const 2015-02-19 09:44:25 +01:00
pm_domains.h ARM: ux500: Initial support for PM domains 2014-10-28 10:48:23 +01:00
pm.c ARM: ux500: get rid of static GIC dist base 2015-05-18 15:07:15 +02:00
setup.h ARM: ux500: move soc_id driver to drivers/soc 2016-07-12 11:24:09 +02:00
ste-dma40-db8500.h dmaengine: ste_dma40: Amalgamate DMA source and destination channel numbers 2013-05-23 21:11:51 +02:00