summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-samsung/include
Commit message (Collapse)AuthorAgeFilesLines
* gpio: Drop asm-generic/gpio.hSascha Hauer2015-08-201-18/+0
| | | | | | | | | | Since we no longer have custom gpio function prototypes we can drop the prototypes from asm-generic/gpio.h can add them to include/gpio.h instead. While at it add static inline dummy wrappers for !CONFIG_GENERIC_GPIO so that code using gpios can compile without gpio support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM Samsung: add simple NAND barebox update handlerMichael Olbrich2015-02-261-0/+16
| | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Samsung: move iomux definitions to iomux.hSascha Hauer2013-08-162-12/+28
| | | | | | | mach/gpio.h is for the gpio API, so move unrelated stuff away. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* gpio: provide generic gpio headerJean-Christophe PLAGNIOL-VILLARD2012-10-051-4/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-179-36/+0
| | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/samsung'Sascha Hauer2012-08-019-2/+726
|\ | | | | | | | | | | | | Conflicts: arch/arm/Makefile arch/arm/mach-samsung/Makefile arch/arm/mach-samsung/include/mach/s5pcxx-iomap.h
| * ARM/Samsung: add generic S3C6410 SoC specific functionsJuergen Beisert2012-07-302-0/+57
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: add GPIO handling support for the S3C6410 SoCJuergen Beisert2012-07-302-0/+545
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: add the clock tree support for the S3C6410 SoCJuergen Beisert2012-07-302-0/+70
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: add S3C6410 SoC iomapJuergen Beisert2012-07-302-0/+54
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Samsung/serial: move the decision about an improved UART into KconfigJuergen Beisert2012-07-251-2/+0
| | | | | | | | | | | | | | More or less just cosmetic (removing ifdefs!). Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/friendlyarm'Sascha Hauer2012-08-012-0/+9
|\ \ | |/ |/|
| * S5P DRAM supportAlexey Galakhov2012-07-032-0/+9
| | | | | | | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM/Samsung: unify device registration for the S3C24XX SoCsJuergen Beisert2012-07-201-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | Barebox crashes since it has trouble with a resource size of 0. Most of the S3C24XX based platforms crashes at runtime and can't use devices with resource sizes of 0 anymore. This patch fix it by unifying the device registration for all current Barebox's S3C24XX based platforms. - A9M2410 and A9M2440 compile time tested only. - Mini2440 also runtime tested. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* | ARM/Samsung: be able to include the nand header multiple timesJuergen Beisert2012-07-201-0/+5
|/ | | | | | This is required in preparation for the following patches. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* S5P lowlevel clock initAlexey Galakhov2012-05-211-0/+4
| | | | | 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-216-0/+911
| | | | | 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-216-65/+112
| | | | | 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-212-2/+2
| | | | | 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-141-0/+4
| | | | | | | | | | | | | | | | 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-022-61/+78
| | | | | | | | | 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-023-28/+46
| | | | | | | | 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-021-6/+1
| | | | | 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-021-19/+1
| | | | | | | | | 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 S3C24XX clock managementJuergen Beisert2012-01-023-16/+38
| | | | | | | | | | 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-021-0/+0
| | | | | | | | | 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-023-6/+1
| | | | | | | 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: Rename the whole mach to add more CPUs in futureJuergen Beisert2012-01-027-0/+826
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>