aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/at91sam9.c
AgeCommit message (Collapse)AuthorFilesLines
2019-12-10ARM: at91: pm: move SAM9X60's PM under its own SoC config flagClaudiu Beznea1-18/+0
Move SAM9X60's PM part under SoC config flag. This allows the building of SAM9X60 platform withouth depending on CONFIG_SOC_AT91SAM9 flag, allowing us to select only necessary config flags for SAM9X60. Signed-off-by: Claudiu Beznea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
2019-05-21treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 4Thomas Gleixner1-2/+1
Based on 1 normalized pattern(s): licensed under gplv2 or later extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 118 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Jilayne Lovejoy <[email protected]> Reviewed-by: Steve Winslow <[email protected]> Reviewed-by: Allison Randal <[email protected]> Reviewed-by: Kate Stewart <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-03-28ARM: at91: pm: initial PM support for SAM9X60Claudiu Beznea1-0/+18
Add initial PM support for SAM9X60. This include idle, WFI and ULP0. Signed-off-by: Claudiu Beznea <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Signed-off-by: Ludovic Desroches <[email protected]>
2017-03-31ARM: at91: move SoC detection to its own driverAlexandre Belloni1-45/+1
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 <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
2017-03-31ARM: at91: pm: Merge all at91sam9*_pm_initAlexandre Belloni1-42/+3
The PM initialization is now identical for all at91sam9. Merge the functions. Acked-by: Wenyou Yang <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
2016-06-23arm: use of_platform_default_populate() to populateKefeng Wang1-1/+1
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Acked-by: Viresh Kumar <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Cc: Nicolas Ferre <[email protected]> Cc: Krzysztof Halasa <[email protected]> Cc: Sekhar Nori <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Russell King <[email protected]> Cc: Roland Stigge <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Ray Jui <[email protected]> Cc: Viresh Kumar <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Rob Herring <[email protected]> Cc: Michal Simek <[email protected]> Signed-off-by: Kefeng Wang <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2016-02-17ARM: at91: pm: move idle functions to pm.cAlexandre Belloni1-2/+0
Avoid using code from clk/at91 for PM. This also has the bonus effect of setting arm_pm_idle for sama5 platforms. Signed-off-by: Alexandre Belloni <[email protected]> Acked-by: Boris Brezillon <[email protected]>
2015-07-28ARM: appropriate __init annotation for const dataNicolas Pitre1-3/+3
Init data marked const should be annotated with __initconst for correctness and not __initdata. In some cases the array gathering references to that data has to be marked const as well. This fixes LTO builds that otherwise fail with section mismatch errors. Signed-off-by: Nicolas Pitre <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
2015-03-13ARM: at91: at91sam9: use SoC detection infrastructureAlexandre Belloni1-22/+54
Use the soc detection infrastructure for at91sam9 initialization. Signed-off-by: Alexandre Belloni <[email protected]> Signed-off-by: Nicolas Ferre <[email protected]>
2015-02-02ARM: at91/trivial: unify functions and machine namesNicolas Ferre1-14/+14
Remove the string "(Device Tree)" after the machine name because all AT91 machines use the DT nowadays. Also change some function names to unify following the convention: - at91sam9xxx aren't named sam9, 9xxx but with the full name - sama5 are the ones that don't have the at91 prefix anymore. Signed-off-by: Nicolas Ferre <[email protected]>
2015-02-02ARM: at91: remove at91_dt_initialize and machine init_early()Alexandre Belloni1-3/+0
Move the ramc initialization to pm.c as it is the only user left. This allows us to get rid of at91_dt_initialize() that was the only one called by the init_early() function pointer of struct machine_desc. Signed-off-by: Alexandre Belloni <[email protected]> [[email protected]: adapt patch to newer series] Signed-off-by: Nicolas Ferre <[email protected]>
2015-02-02ARM: at91: change board files into SoC filesNicolas Ferre1-0/+90
As board files are now DT only and can address all aspects of the SoC family, we can rename them so that the mach-at91 directory looks cleaner. Signed-off-by: Nicolas Ferre <[email protected]>