linux/arch/arm/mach-at91
Alexandre Belloni b32de9dd38 ARM: at91: move SoC detection to its own driver
To simplify machine init and as the soc_device struct is not used as the
parent for on-chip devices anymore, move SoC detection to its own driver.

Change in dmesg:
 - before:
DMA: preallocated 256 KiB pool for atomic coherent allocations
AT91: Detected SoC family: sama5d2
AT91: Detected SoC: sama5d27, revision 0
No ATAGs?
clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 184217874325 ns
at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xe085b000
SCSI subsystem initialized

 - after:
DMA: preallocated 256 KiB pool for atomic coherent allocations
No ATAGs?
clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 184217874325 ns
at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xe0859000
AT91: Detected SoC family: sama5d2
AT91: Detected SoC: sama5d27, revision 0
SCSI subsystem initialized

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-03-31 20:36:10 +02:00
..
Kconfig ARM: stop *MIGHT_HAVE_PCI* config from being selected redundantly 2016-09-21 22:45:05 +02:00
Makefile ARM: at91: move SoC detection to its own driver 2017-03-31 20:36:10 +02:00
at91rm9200.c ARM: at91: move SoC detection to its own driver 2017-03-31 20:36:10 +02:00
at91sam9.c ARM: at91: move SoC detection to its own driver 2017-03-31 20:36:10 +02:00
generic.h ARM: at91: pm: Merge all at91sam9*_pm_init 2017-03-31 20:36:09 +02:00
pm.c ARM: at91: pm: Remove at91_pm_set_standby 2017-03-31 20:36:09 +02:00
pm.h ARM: at91: pm: Use struct at91_pm_data in pm_suspend.S 2017-03-31 20:36:05 +02:00
pm_data-offsets.c ARM: at91: pm: Use struct at91_pm_data in pm_suspend.S 2017-03-31 20:36:05 +02:00
pm_suspend.S ARM: at91: pm: correct typo 2017-03-31 20:36:10 +02:00
sama5.c ARM: at91: move SoC detection to its own driver 2017-03-31 20:36:10 +02:00