summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-samsung
Commit message (Collapse)AuthorAgeFilesLines
* ARM samsung: disable board selectionSascha Hauer2012-05-241-6/+6
| | | | | | | | | | fixes arch/arm/mach-samsung/Kconfig:95:warning: config symbol defined without type Until we actually have board support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* S5P lowlevel clock initAlexey Galakhov2012-05-213-0/+66
| | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add support for Samsung S5P architecture (S5PV210)Alexey Galakhov2012-05-2110-0/+1155
| | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Split S3C generic and S3C24xx specific codeAlexey Galakhov2012-05-2110-180/+258
| | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Make S3C24xx config options available for all S3CsAlexey Galakhov2012-05-215-23/+23
| | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Support most Samsung SoCs in S3C serial driverAlexey Galakhov2012-05-142-0/+21
| | | | | | | | | | | | | | | | Ok, I assume this should go into separate series. It fits both S5PV210 and S3C6410. This adds support for S3C and S5P architectures (all of my knowledge) to the serial driver. Since the only difference between them is in clock handling, this is moved to an arch-dependent separate function. Most modern architectures should define S3C_UART_HAS_UBRDIVSLOT and S3C_UART_HAS_UINTM. This adds support for most Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Juergen Beisewrt <kernel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Re-work the GPIO handling for S3C24xx CPUsJuergen Beisert2012-01-024-77/+96
| | | | | | | | | a) use the more CPU specific S3C* macro names b) move the register description out of the way, as more recent CPUs using a different layout and more features Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Re-work the memory detection and handlingJuergen Beisert2012-01-026-43/+72
| | | | | | | | Keep common code in the MACH instead of re-inventing it in each platform. Also use S3C* macros for all memory related register. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Unify the UART driver for the S3C family of CPUsJuergen Beisert2012-01-021-8/+7
| | | | | | | | The UART is one of the units which differs only slightly inside the S3C family. Prepare this driver to share it with more recent CPUs. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Prepare watchdog unit to be shared in the S3C familyJuergen Beisert2012-01-023-10/+9
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Re-work the S3C family timer driverJuergen Beisert2012-01-021-18/+60
| | | | | | | | | | | | After separation and after all S3C macros are now present, change the driver to be more generic for future additions. The timer registers in the S3C24XX family are only 16 bit wide. But these registers can be read and written in a 32 bit manner. This is important to share code with more recent CPUs which comes with 32 bit registers. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Rename register macros to reflect the MACH they are valid forJuergen Beisert2012-01-022-27/+26
| | | | | | | | | Most members of the S3Cxxxx family share similar timer units. But they are not really register compatible. To reflect this, use a separate name space for the S3C family. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Separate the clocksource for the S3C familyJuergen Beisert2012-01-023-34/+56
| | | | | | | | This patch just move the clocksource functions out of the generic.c source file to handle it on a per CPU base later on. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Separate S3C24XX clock managementJuergen Beisert2012-01-027-133/+179
| | | | | | | | | | There are major differences in the clock tree of the S3C24xx family and the more recent CPUs of the S3C family. Keep the S3C24XX clock routines separate to avoid an ifdef hell. But also use generic function names to be able to share drivers among the S3C family. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Reflect the CPU name the LCD driver is forJuergen Beisert2012-01-021-0/+0
| | | | | | | | | This LCD driver is for the LCD controller in the S3C2410/S3C2440 CPUs only. Change its name to reflect its usage and free the way to add LCD controller drivers for more recent Samsung CPUs. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Parts of the SDHC driver can be shared in the S3C CPU familyJuergen Beisert2012-01-021-0/+0
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Use the correct CPU family name to reflect NAND driver's usageJuergen Beisert2012-01-022-1/+1
| | | | | | | | | The aready existing NAND controller driver in Barebox is for the S3C24XX family only. Change the name of the file to reflect this fact (and free the way to add more recent Samsung NAND controllers) Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Make it more generic for future updatesJuergen Beisert2012-01-026-9/+4
| | | | | | | Start with renaming files to share them in the S3C CPU family, Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Do not compile S3C24xx's GPIO support unconditionallyJuergen Beisert2012-01-021-1/+2
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG: Rename the whole mach to add more CPUs in futureJuergen Beisert2012-01-0212-0/+1728
The S3Cxxxx family consists of ARMv4, ARMv5 and ARMv6 types of CPU cores. The S3C24xx sub family is only one of it. To be able to handle all CPUs in one mach directory, use a more generic name for it. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>