summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410
Commit message (Collapse)AuthorAgeFilesLines
* ARM: SAMSUNG: Fix on build warning regarding VMALLOC_END typeKukjin Kim2010-08-271-1/+1
| | | | | | | | | | | | | | Fix this warning: arch/arm/mm/init.c: In function 'mem_init': arch/arm/mm/init.c:644: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int' And removes the useless parens and white space. Reported-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Cc: Ben Dooks <ben-linux@fluff.org>
* ARM: Convert platform reservations to use LMB rather than bootmemRussell King2010-07-271-3/+3
| | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: Move platform memory reservations out of generic codeRussell King2010-07-161-0/+9
| | | | | | | Move the platform specific bootmem memory reservations out of arch/arm/mm/mmu.c into their respective platform files. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: SAMSUNG: Move WDT device definitions in plat-samsungBanajit Goswami2010-05-201-0/+1
| | | | | | | | | | | This patch moves the definitions of watchdog timer device from plat-s3c24xx to plat-samsung. This will enable all Samsung S3C and S5P series SoC's to use common WDT device definition. Signed-off-by: Banajit Goswami <banajit.g@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Acked-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Implements cfg_gpio function for Samsung touchscreenNaveen Krishna2010-05-192-0/+2
| | | | | | | | | This patch implements cfg_gpio function for Samsung touchscreen. And also modifies the H1940 machine respectively. Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move mach/ts.h to plat/ts.hMaurus Cuelenaere2010-05-192-22/+1
| | | | | | | | This moves mach-s3c2410/include/mach/ts.h to plat-samsung/include/plat/ts.h in order to prepare for s3c64xx support in the touchscreen driver. Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: Merge for-2635/fb-updates1Ben Dooks2010-05-1911-7/+168
|\ | | | | | | Merge branch 'for-2635/fb-updates1' into for-linus/samsung2
| * ARM: S3C2443: Fix definition of LCD clock bitBen Dooks2010-05-181-2/+1
| | | | | | | | | | | | | | Fix the definition of the LCD clock bit, it is the TFT display controller on bit 9, not the older STN on bit 10. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C2443: Add initial defines for framebuffer supportBen Dooks2010-05-182-0/+6
| | | | | | | | | | | | | | Add the necessary defines to get the s3c-fb device to compile for s3c2443. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C2416: Add support for second HSMMC channelBen Dooks2010-05-102-2/+6
| | | | | | | | | | | | Add support for the second HSMMC channel on the S3C2416. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C2416: Add basic clock supportBen Dooks2010-05-101-0/+2
| | | | | | | | | | | | | | | | 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 <ben-linux@fluff.org>
| * ARM: S3C2416: Add S3C2416-specific registers definitionsYauhen Kharuzhy2010-05-107-2/+150
| | | | | | | | | | | | | | | | | | Add macros for S3C2416 SoC support. Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com> [ben-linux@fluff.org: removed files that need changing] [ben-linux@fluff.org: Fix S3C2416_GPH0_TXD0 definition] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C: Add S3C2416 detection to uncompress codeYauhen Kharuzhy2010-05-061-1/+3
| | | | | | | | | | | | | | Add S3C2416 serial port setup to uncompress code. Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: Merge for-2635/gpio2Ben Dooks2010-05-1915-120/+144
|\ \ | | | | | | | | | Merge branch 'for-2635/gpio2' into for-linus/samsung2
| * | ARM: S3C24XX: Add note on GPIO bank sizesBen Dooks2010-05-181-0/+19
| | | | | | | | | | | | | | | | | | Add a table for the GPIO bank sizes for each SoC Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C24XX: Remove macros mapping GPIO number to baseBen Dooks2010-05-183-22/+3
| | | | | | | | | | | | | | | | | | | | | | | | As part of the cleanup, remove the old macros mapping GPIO numbers to the base of the register now we have gpiolib to manage the GPIO mappings for us. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C24XX: Start cleanup of GPIO numberingBen Dooks2010-05-181-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | Start cleaning up the numbering of GPIO banks by removing the old bank start definitions currently being used by some of the header files. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C244X: fix gpiolib port J supportVasily Khoruzhick2010-05-182-1/+9
| |/ | | | | | | | | | | | | | | | | | | Increase GPIOs number for S3C244X, and make S3C_GPIO_END point to BANKJ end, otherwise gpiolib refuses to register BANKJ Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> [ben-linux@fluff.org: Move pm fix to new patch] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C24XX: Remove _INP macros in <mach/regs-gpioj.h>Ben Dooks2010-05-061-13/+0
| | | | | | | | | | | | Remove the _INP definitions, they are all zero and also unused Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C24XX: Remove S3C2410_GPJ numberingBen Dooks2010-05-061-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 <ben-linux@fluff.org>
| * ARM: S3C2410: Remove the users of s3c2410_gpio_pullup()Ben Dooks2010-05-062-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 <ben-linux@fluff.org>
| * ARM: S3C24XX: Remove s3c2410_gpio_getpull()Ben Dooks2010-05-061-12/+0
| | | | | | | | | | | | Remove the unused s3c2410_gpio_getpull() Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C24XX: Remove s3c2410_gpio_setcfg()Ben Dooks2010-05-061-11/+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 <ben-linux@fluff.org>
| * ARM: S3C24XX: Drop s3c2410 specific s3c2410_gpio_cfgpin()Ben Dooks2010-05-065-8/+12
| | | | | | | | | | | | | | | | 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 <ben-linux@fluff.org>
| * ARM: S3C2410: Change s3c2410_gpio_pullupl(x, 1) to use s3c_gpio_cfgpull()Ben Dooks2010-05-061-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 <ben-linux@fluff.org>
| * ARM: VR1000: Update mach-vr1000.c to use gpiolib APIBen Dooks2010-05-061-2/+3
| | | | | | | | | | | | Change mach-vr1000.c to use gpiolib for gpio control. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: BAST: Update mach-bast to use gpiolib APIBen Dooks2010-05-061-3/+3
| | | | | | | | | | | | | | Change mach-bast .c to use gpiolib for the GPIO lines that are directly manipulated by it. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: n30: Update mach-n30 to use gpiolib APIBen Dooks2010-05-061-2/+5
| | | | | | | | | | | | | | Change mach-n30.c to use gpiolib for the GPIO lines that are directly manipulated by it. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: QT2410: Update mach-qt2410 to use gpiolib APIBen Dooks2010-05-061-3/+4
| | | | | | | | | | | | | | Change mach-qt2410.c to use gpiolib for the GPIO lines that are directly manipulated by it. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: H1940: Change mach-h1940 to use gpiolib APIBen Dooks2010-05-061-7/+8
| | | | | | | | | | | | | | Change mach-h1940 to use the gpiolib calls instead of s3c2410_gpio directly. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: H1940: Change h1940-bluetooth to use gpiolib APIBen Dooks2010-05-061-4/+12
| | | | | | | | | | | | | | Change the h1940-bluetooth driver to use gpiolib to set the output state of GPH1. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C24XX: Add extended GPIO used on S3C2443 and beyondBen Dooks2010-05-063-4/+29
| | | | | | | | | | | | | | | | | | | | | | Add the GPIO banks that are used on the S3C2443 and above to the list of available GPIOS. Currently we do not have any limit on the SoC GPIO, so these are being registered whether the SoC has them or not. It is currently up to the user not to try and use them. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C24XX: Add the gpio pull configuration for pull-upBen Dooks2010-05-062-0/+9
| | | | | | | | | | | | | | Add the necessary gpio configuration helper for the devices which have a single-bit pull-up resistor disabled. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: Merge for-2635/rx1950Ben Dooks2010-05-192-5/+20
|\ \ | | | | | | | | | Merge branch 'for-2635/rx1950' into for-linus/samsung2
| * | ARM: RX1950: configure GPG13-15 as input before suspendVasily Khoruzhick2010-05-121-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | According to datasheet GPG13-15 must be configured as input in NAND boot mode, otherwise device will not be able to wake up Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: RX1950: Add suspend/resume support for RX1950Vasily Khoruzhick2010-05-121-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C24XX: Locate kernel at 0x30108000 if PM_H1940 is enabledVasily Khoruzhick2010-05-121-3/+7
| |/ | | | | | | | | | | | | | | | | | | 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 <anarsoul@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: Merge for-2635/acer-n35Ben Dooks2010-05-192-10/+77
|\ \ | | | | | | | | | Merge branch 'for-2635/acer-n35' into for-linus/samsung2
| * | ARM: n30: Just call s3c24xx_init_irq() directly from machine definitionBen Dooks2010-05-071-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 <ben-linux@fluff.org>
| * | ARM: n30: Fixup gpiolib calls for mmc powerBen Dooks2010-05-071-4/+6
| | | | | | | | | | | | | | | | | | | | | Move to using gpio_request() and gpio_set_value() for the MMC power control calls. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: n30: Add support for power on/off on Acer n30 / Acer n35 MMC card readerPinkava J2010-05-071-0/+15
| | | | | | | | | | | | | | | Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: n30: Add support for MMC card reader on Acer n30 / Acer n35Pinkava J2010-05-071-0/+11
| | | | | | | | | | | | | | | Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: n35: Enable wake-up by Power button on Acer n35Pinkava J2010-05-071-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: n35: Add support for LEDs on Acer n35Pinkava J2010-05-071-0/+33
| | | | | | | | | | | | | | | Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: n30: Add RTC platform device for Acer n30 / Acer n35Pinkava J2010-05-071-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: n30: fix: suspended wrong USB port on Acer n35Pinkava J2010-05-071-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 <jiri.pinkava@vscht.cz> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: n30: Enable Acer n35 if Acer n30 is selectedPinkava J2010-05-071-0/+7
| |/ | | | | | | | | | | | | | | All code already present for Acer n35 is useless unless MACH_N35 is defined. Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz> [ben-linux@fluff.org: minor edit of subject] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: Merge for-2635/samsung-hwmonBen Dooks2010-05-192-1/+2
|\ \ | | | | | | | | | Merge branch 'for-2635/samsung-hwmon' into for-linus/samsung2
| * | ARM: SAMSUNG: Move HWMON from plat-s3c24xx to plat-samsungMaurus Cuelenaere2010-05-122-1/+2
| |/ | | | | | | | | | | | | | | | | Move HWMON platform definition from plat-s3c24xx to plat-samsung and adjust mach-bast to use the new s3c_hwmon_set_platdata(). This allows usage of dev-hwmon by other Samsung SoCs. Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: h1940: framebuffer configuration fixMike Solovyev2010-05-181-2/+2
| | | | | | | | | | | | | | | | Seems like a typo, wrong setup leads to broken image on ipaq screen. Signed-off-by: Mike Solovyev <ms@sk.2-ch.org> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
OpenPOWER on IntegriCloud