aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-12ARM: S3C24XX: Locate kernel at 0x30108000 if PM_H1940 is enabledVasily Khoruzhick2-3/+9
If PM_H1940 is enabled, kernel _must_ be located upper then 0x30008000, because this area (0x30000000-0x30100000) can be used by bootloader. If kernel is located at 0x30008000, bootloader will corrupt kernel's code during resume. Signed-off-by: Vasily Khoruzhick <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-12ARM: S3C2440: Add HP iPAQ RX1950 machine supportVasily Khoruzhick3-0/+596
Signed-off-by: Vasily Khoruzhick <[email protected]> Signed-off-by: Denis Grigoriev <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-11ARM: SAMSUNG: Add spinlock locking to GPIO banksBen Dooks3-12/+29
Add locking to each GPIO bank to allow for SMP capable code to use the gpiolib functions. See the gpio-core.h header file for more information. Signed-off-by: Ben Dooks <[email protected]>
2010-05-11ARM: S5P: Add USB External Crystal clock definitionThomas Abraham2-0/+6
Add USB external crystal clock definition Xusbxti to common S5P clock code. Signed-off-by: Thomas Abraham <[email protected]> Signed-off-by: Kukjin Kim <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-11ARM: S5PV210: Bug fix on PWM TimerJongpill Lee1-10/+11
This patch fixes return value in below functions - pwm_cfg_src_is_tclk - tcfg_to_divisor - pwm_tdiv_has_div1 - pwm_tdiv_div_bits And this patch changes Copyright ordering. Signed-off-by: Jongpill Lee <[email protected]> Signed-off-by: Kukjin Kim <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-11ARM: S5P6442: Bug fix on PWM TimerJongpill Lee1-10/+11
This patch fixes return value in below functions - pwm_cfg_src_is_tclk - tcfg_to_divisor - pwm_tdiv_has_div1 - pwm_tdiv_div_bits And this patch changes Copyright ordering. Signed-off-by: Jongpill Lee <[email protected]> Signed-off-by: Kukjin Kim <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-11ARM: S5P6440: Bug fix on PWM TimerJongpill Lee1-8/+16
This patch fixes return value in below functions - pwm_cfg_src_is_tclk - tcfg_to_divisor - pwm_tdiv_has_div1 - pwm_tdiv_div_bits And this patch changes Copyright ordering, and addes 'based on' information. Signed-off-by: Jongpill Lee <[email protected]> Signed-off-by: Kukjin Kim <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: SAMSUNG: Update S3C2416 entry with S3C2450Ben Dooks3-2/+9
These devices are so similar that they share the same SoC ID code, so note this. Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: S3C2413: Update GPIO pull-up supportBen Dooks2-0/+8
Ensure the right get/set pull code is selected and assigned to the GPIO core. Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: S3C2416: Use s3c2440 style i2c controllerBen Dooks1-0/+6
The s3c2416 i2c controllers are compatible with the s3c2440 style i2c block, so change the device name appropriately. Signed-off-by: Ben Dooks <[email protected]>y
2010-05-10ARM: S3C2416: Add support for OHCI on SMDK2416Ben Dooks1-0/+5
Add device definition and ensure that the host port is powered up at start time. Full power control can be added at a later date. Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: S3C2416: Add support for second HSMMC channelBen Dooks4-2/+8
Add support for the second HSMMC channel on the S3C2416. Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: S3C2416: Add basic clock supportBen Dooks5-1/+165
Add basic clock support for the PLLs, HSMMC channels and PWM clocks. This is enough to get a basic system up and running. Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: S3C2443: Move parts of the clock code to common clock fileBen Dooks6-446/+505
To share code with some of the newer parts such as the S3C2416, move parts of arch/arm/mach-s3c2443/clock.c to a common file called arch/arm/plat-s3c24xx/s3c2443-clock.c. Update the build configuration to deal with this new file. Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: S3C24XX: Identify S3C2416 if S3C2412/S3C2413 built inBen Dooks1-2/+10
Extend the ARMv5 ID code to deal with S3C2416 being built with S3C2412/S3C2413 enabled, as these have their ID registers in a different place. Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: S3C2416: Add initial support of SMDK2416Yauhen Kharuzhy3-0/+151
Add support of SMDK2416 development board. Signed-off-by: Yauhen Kharuzhy <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: S3C2416: Add arch supportYauhen Kharuzhy10-3/+462
Add arch/arm/mach-s3c2416 for support of the Samsung S3C2416 SoC. This patch adds support of the S3C2416 SoC, clocks, timers, and initial IRQ support (without support of secondary set of registers). Signed-off-by: Yauhen Kharuzhy <[email protected]> [[email protected]: removed files to be reworked, fixed conflicts] [[email protected]: use s3c2443 reset instead of specific reset code] Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: SAMSUNG: Add s3c_disable_clocks() and tidy init+disable usageBen Dooks4-35/+23
Add s3c_disable_clocks() and change the clock registration code to use the s3c_register_clocks() followed by s3c_disable_clocks() instead of the loops it was using. Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: SAMSUNG: Move S3C6400 PLL code to <plat/pll.h> for re-useBen Dooks2-32/+54
The S3C6400 EPLL code matches the S3C2416 and compatible SoCs, so move it from mach-s3c64xx into <plat/pll.h> for easy reuse. Signed-off-by: Ben Dooks <[email protected]>
2010-05-10ARM: S3C2416: Add S3C2416-specific registers definitionsYauhen Kharuzhy7-2/+150
Add macros for S3C2416 SoC support. Signed-off-by: Yauhen Kharuzhy <[email protected]> [[email protected]: removed files that need changing] [[email protected]: Fix S3C2416_GPH0_TXD0 definition] Signed-off-by: Ben Dooks <[email protected]>
2010-05-07ARM: n30: Just call s3c24xx_init_irq() directly from machine definitionBen Dooks1-7/+2
The n30_init_irq() call is simply a call to s3c24xx_init_irq, so just remove it and update the machine definitions to call the IRQ initialision call directly. Signed-off-by: Ben Dooks <[email protected]>
2010-05-07ARM: n30: Fixup gpiolib calls for mmc powerBen Dooks1-4/+6
Move to using gpio_request() and gpio_set_value() for the MMC power control calls. Signed-off-by: Ben Dooks <[email protected]>
2010-05-07ARM: n30: Add support for power on/off on Acer n30 / Acer n35 MMC card readerPinkava J1-0/+15
Signed-off-by: Jiri Pinkava <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-07ARM: n30: Add support for MMC card reader on Acer n30 / Acer n35Pinkava J1-0/+11
Signed-off-by: Jiri Pinkava <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-07ARM: n35: Enable wake-up by Power button on Acer n35Pinkava J1-0/+2
Signed-off-by: Jiri Pinkava <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-07ARM: n35: Add support for LEDs on Acer n35Pinkava J1-0/+33
Signed-off-by: Jiri Pinkava <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-07ARM: n30: Add RTC platform device for Acer n30 / Acer n35Pinkava J1-0/+2
Signed-off-by: Jiri Pinkava <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-07ARM: n30: fix: suspended wrong USB port on Acer n35Pinkava J1-1/+1
There is bug in USB setup code for Acer n35 (it is related directly to s3c2410, see doc). We want suspend host port (is not connected) but device port should be active. Signed-off-by: Jiri Pinkava <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-07ARM: n30: Enable Acer n35 if Acer n30 is selectedPinkava J1-0/+7
All code already present for Acer n35 is useless unless MACH_N35 is defined. Signed-off-by: Jiri Pinkava <[email protected]> [[email protected]: minor edit of subject] Signed-off-by: Ben Dooks <[email protected]>
2010-05-06serial: Use s3c2440 driver for S3C2416 SoCYauhen Kharuzhy1-3/+4
UARTs in the S3C2416 are almost same as in S3C2443 and can be handled by s3c2440 serial driver. Signed-off-by: Yauhen Kharuzhy <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C: Add S3C2416 detection to uncompress codeYauhen Kharuzhy1-1/+3
Add S3C2416 serial port setup to uncompress code. Signed-off-by: Yauhen Kharuzhy <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C24XX: Remove _INP macros in <mach/regs-gpioj.h>Ben Dooks1-13/+0
Remove the _INP definitions, they are all zero and also unused Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C24XX: Remove S3C2410_GPJ numberingBen Dooks1-19/+0
Remove the old S3C2410_GPJ as we will be moving to the new gpiolib based driver code and these numbers will become invalid. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C24XX: Wrapper s3c2410_gpio_setpin and s3c2410_gpio_pullup()Ben Dooks1-28/+19
Change s3c2410_gpio_setpin() and s3c2410_gpio_pullup() to use the new s3c_ gpio configuration calls until all their users are converted. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C2410: Remove the users of s3c2410_gpio_pullup()Ben Dooks2-2/+2
Remove the last s3c2410_gpio_pullup() users in arch/arm/mach-s3c2410 Note, since mach-h1940.c is setting output and a pull-up, the call has vbeen chanerd to S3C_GPIO_PULL_NONE instead of S3C_GPIO_PULL_UP. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: mini2440: Move to using gpiolib API and s3c_gpio functionsBen Dooks1-9/+9
Move the mach-mini2440 to using the gpiolib API for GPIOS it directly uses, and s3c_gpio calls for configuration. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C24XX: Remove s3c2410_gpio_getcfg(), implement s3c_gpio_getcfg()Ben Dooks5-21/+39
Add s3c_gpio_getcfg() and change anything using s3c2410_gpio_getcfg() to use this instead. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: SAMSUNG: Add GPIO configuration read callsBen Dooks5-1/+100
Add the necessary 1,2 and 4 bit configuration read calls for the new gpio code to allow removal of the old s3c24xx gpio code. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C24XX: Remove s3c2410_gpio_getirq()Ben Dooks2-20/+1
Remove s3c2410_gpio_getirq() as the only users is the pm code, and it can be replicated by using gpio_to_irq(). Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C24XX: Remove s3c2410_gpio_getpull()Ben Dooks2-25/+0
Remove the unused s3c2410_gpio_getpull() Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C24XX: Remove s3c2410_gpio_setcfg()Ben Dooks2-59/+24
Remove the implementation of s3c2410_gpio_setcfg() as it should now be functionally equivalent to s3c_gpio_cfgpin(), and add a wrapper for those drivers that are still using this call. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C24XX: Drop s3c2410 specific s3c2410_gpio_cfgpin()Ben Dooks15-44/+55
The s3c_gpio_cfgpin() call should be functionally equivalent, so replace the s3c2410_gpio_cfgpin() calls in the s3c24xx code with s3c_gpio_cfgpin to allow moving away from a fixed GPIO number to register address mapping Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C24XX: Change s3c2410_gpio_pullupl(x, 1) to use s3c_gpio_cfgpull()Ben Dooks3-9/+9
Start moving code that is using the old s3c2410_gpio API to using the newer s3c_gpio variants by finding all the usages of s3c2410_gpio_pullup() which disable the pin's pull up and replacing them. sed 's/s3c2410_gpio_pullup\(.*\), 1/s3c_gpio_cfgpull\1, S3C_GPIO_PULL_NONE/g' Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: S3C2410: Change s3c2410_gpio_pullupl(x, 1) to use s3c_gpio_cfgpull()Ben Dooks1-4/+4
Start moving code that is using the old s3c2410_gpio API to using the newer s3c_gpio variants by finding all the usages of s3c2410_gpio_pullup() which disable the pin's pull up and replacing them. sed 's/s3c2410_gpio_pullup\(.*\), 1/s3c_gpio_cfgpull\1, S3C_GPIO_PULL_NONE/g' Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: VR1000: Update mach-vr1000.c to use gpiolib APIBen Dooks1-2/+3
Change mach-vr1000.c to use gpiolib for gpio control. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: BAST: Update mach-bast to use gpiolib APIBen Dooks1-3/+3
Change mach-bast .c to use gpiolib for the GPIO lines that are directly manipulated by it. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: n30: Update mach-n30 to use gpiolib APIBen Dooks1-2/+5
Change mach-n30.c to use gpiolib for the GPIO lines that are directly manipulated by it. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: QT2410: Update mach-qt2410 to use gpiolib APIBen Dooks1-3/+4
Change mach-qt2410.c to use gpiolib for the GPIO lines that are directly manipulated by it. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: H1940: Change mach-h1940 to use gpiolib APIBen Dooks2-11/+12
Change mach-h1940 to use the gpiolib calls instead of s3c2410_gpio directly. Signed-off-by: Ben Dooks <[email protected]>
2010-05-06ARM: JIVE: Update mach-jive to use gpiolib APIBen Dooks1-10/+9
Change mach-jive to use gpiolib for the GPIO lines that are directly manipulated by it. Note, we ignore any errors from gpio_request(), unlikely to see any. Signed-off-by: Ben Dooks <[email protected]>