aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-s3c
AgeCommit message (Collapse)Author
2009-09-22S3C: ADC: Expose number of remaining conversions to convert callbackNelson Castillo
This patch allow us to efficiently modify the number of remaining conversions from the client side. This us useful when we do not know in advance how many conversions we will need or when we need to cancel pending conversions. This change is simple enough to be compatible with existing code that can just define the new pointer in the callback and ignore it. Sample usage: http://tinyurl.com/s3c2410-ts-c (function stylus_adc_action). Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-09-22S3C: ADC: Fix lines with more than 80 chars in adc.hNelson Castillo
Small cleanup. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net> [ben-linux@fluff.org: rewrote subject] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-04-07Correct platform s3c-ohci device name, makes bluetooth workPaul Fertser
Not sure what is the correct naming scheme and if MODULE_ALIAS in drivers/usb/host/ohci-s3c2410.c is needed at all (if yes, probably it should be modified too). Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-03-30Fix cpu_is_s3c2442() returning false for an S3C2442BRask Ingemann Lambertsen
An S3C2442B would be detected as S3C2440 by the cpu_is_s3cxxxx() macros. This patch fixes it. Signed-off-by: Rask Ingeman Lambertsen <rask@sygehus.dk>
2009-03-11Add real CAMIF clock to S3C6410Werner Almesberger
This patch adds the real "camif" clock (off HCLK.) Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-03-10MERGE-andy-tracking-patchset-editsmerge
2009-03-09fix-s3c-cpu-detect-make-compatible-atag16.patchAndy Green
The current version of CPU detection patch from Mark Brown and Kyungmin Park takes a dump on system_rev. This patch changes it to retain the low 16 of system_rev from the bootloader ATAG, and adds access #defines and changes to use them. No doubt they'll issue a better version of the CPU detection patch and then this can be reverted. Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-09S3C: CPU detection supportKyungmin Park
Stroe the CPU ID to system_rev and use it to detect the CPU architecture. Even though s3c64xx has almost same IPs, some IPs such as OneNAND are different. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-09fix-s3c-ohci-move-usb-control.hAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-09Subject: USB: Change s3c2410_ohci into s3c_ohci and change gta02 to use itBalaji Rao
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=b55b8e56a4a7e43b7243be48f77a326236a37c68 USB: Change s3c2410_ohci into s3c_ohci and change gta02 to use it Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-03-05Add Samsung S3C CAMIF driverWerner Almesberger
Add Samsung S3C camera interface driver. Original code is from Samsung's BSP and was written for 2.6.21. Only tested on S3C6410. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-03-05Add HCLKx2 to S3C64xx.Werner Almesberger
Add doubled HCLK to S3C64xx. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-03-04fix-3d7k-iis-constants.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-04MERGE-andy-tracking-patchset-editsmerge
2009-03-04S3C: CPU detection supportKyungmin Park
Stroe the CPU ID to system_rev and use it to detect the CPU architecture. Even though s3c64xx has almost same IPs, some IPs such as OneNAND are different. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-02-26S3C64XX: Fix DMA makefileBen Dooks
Fix missing dma.o build if CONFIG_S3C_DMA Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-25S3C64XX: Drop i2c0.max_freq to 150kHz.Ben Dooks
Drop the i2c0 bus max-frequency to 150kHz to avoid problems with boards where this is too fast. Signed-off-by: Ben Dooks <ben@simtec.co.uk> --- linux.agit.orig/arch/arm/plat-s3c/dev-i2c0.c 2009-02-20 23:04:34.000000000 +0000 +++ linux.agit/arch/arm/plat-s3c/dev-i2c0.c 2009-02-20 23:04:37.000000000 +0000 @@ -51,7 +51,7 @@ static struct s3c2410_platform_i2c defau .flags = 0, .slave_addr = 0x10, .bus_freq = 100*1000, - .max_freq = 400*1000, + .max_freq = 150*1000, .sda_delay = S3C2410_IICLC_SDA_DELAY5 | S3C2410_IICLC_FILTER_ON, }; -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes'
2009-02-24fix-plat-s3c-dma-build-in-makefile.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-24MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-s3c64xx-dma-support-1235439162-1235439227 pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-s3c64xx-dma-support-1235439162-1235439227 / 3d6a1b21cf5fbdb6250d781b0a4900a7a0768aa1 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-s3c64xx-dma-support-1235439162 stable-tracking-hist top was MERGE-via-mokopatches-tracking-s3c64xx-dma-support-1235439162 / 893e864e65adffc9eb085ed4f8b552a31dcec840 ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-s3c64xx-dma-support mokopatches-tracking-hist top was s3c64xx-dma-support / 2515f9a1d53d19b1e61d639875aedcbe7929666e ... parent commitmessage: From: Ben Dooks <ben@simtec.co.uk> S3C64XX: DMA support Add support for the DMA blocks in the S3C64XX series of CPUS, which are based on the ARM PL080 PrimeCell system. Unfortunately, these DMA controllers diverge from the PL080 design by adding another DMA controller register and configuration for OneNAND. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-22move_pwm_code_to_plat_s3c.patchBalaji Rao
Since the pwm code in mach-2410 can be reused for 6410, move it to plat-s3c. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-15Add an export of the two GPIO configuration callsAndy Green
s3c_gpio_cfgpin and s3c_gpio_setpull to allow modules to use them (such as ASoC drivers) Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-06MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011-1233879414-1233879505 pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011-1233879414-1233879505 / 1c405b6ccee468298e7ccbfd9a3a3f4d123207b0 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011-1233879414 stable-tracking-hist top was MERGE-via-mokopatches-tracking-MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011-1233879414 / 71be0a45396066b1f8f27f8f4f87937247a129e1 ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011 mokopatches-tracking-hist top was MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011 / 1be1b01373f572a02c6f1f99863c8c11ed2f9f5b ... parent commitmessage: From: merge <null@invalid> MERGE-via-master-MERGE-via-master-hist-1232625318 master top was MERGE-via-master-hist-1232625318 / dd4b117123ae66451695810017eb72fbdfc05df5 ... parent commitmessage: From: merge <null@invalid> MERGE-master-patchset-edits
2009-01-30fix-s3c64xx-hs-otg-bitfield-errors-and-clean.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-01-30fix-s3c6410-hsusb-phy-regs.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-01-29Quick and dirty interrupt blocking time detector.Werner Almesberger
2009-01-28MERGE-andy-tracking-patchset-editsmerge
2009-01-28fix-s3c64xx-otg-ioremap-reduce-global-device-ptr.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-01-28introduce-samsung-s3c64xx-usb-otg-driver.patchKyungmin Park
This was posted to the linux-usb list in Dec 2008 Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2009-01-22MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-fix-stray-endmenu-patch-1232632040-1232632141 pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040-1232632141 / fdf777a63bcb59e0dfd78bfe2c6242e01f6d4eb9 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040 stable-tracking-hist top was MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040 / 90463bfd2d5a3c8b52f6e6d71024a00e052b0ced ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-fix-stray-endmenu-patch mokopatches-tracking-hist top was fix-stray-endmenu-patch / 3630e0be570de8057e7f8d2fe501ed353cdf34e6 ... parent commitmessage: From: Andy Green <andy@openmoko.com> fix-stray-endmenu.patch Signed-off-by: Andy Green <andy@openmoko.com>
2009-01-05pcf50633 remove suspend_enable/disable regulator functionsBalaji Rao
Since we don't switch to PMU.standby, on suspend we should not be defining these. Btw, this fixes the WSOD I observed on andy-tracking and also gets rid of the regulator related backtrace seen upon resume. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2008-12-12MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-MERGE-via-master-MERGE-via-master-hist-1229078937-1229079488-1229082516-1229082771 pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-MERGE-via-master-MERGE-via-master-hist-1229078937-1229079488-1229082516-1229082771 / f410ecd0cc4642ae8b0f69c15fe349ea5639f5e2 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-MERGE-via-master-MERGE-via-master-hist-1229078937-1229079488-1229082516 stable-tracking-hist top was MERGE-via-mokopatches-tracking-MERGE-via-master-MERGE-via-master-hist-1229078937-1229079488-1229082516 / 18f9a76ecc30ba8eee5de0627de3e7eb049775c3 ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-MERGE-via-master-MERGE-via-master-hist-1229078937-1229079488 mokopatches-tracking-hist top was MERGE-via-master-MERGE-via-master-hist-1229078937-1229079488 / 7eb66508f95eeebbd7ad3487c5183b76524d4765 ... parent commitmessage: From: merge <null@invalid> MERGE-via-master-MERGE-via-master-hist-1229078937 master top was MERGE-via-master-hist-1229078937 / ff0b5902f29135a782a3bfb68e3429b86669aea4 ... parent commitmessage: From: merge <null@invalid> MERGE-master-patchset-edits
2008-12-05add-force-sdhci-rescan.patchAndy Green
This provides a way for code to force a mmc rescan by using the s3c hsmmc platform device as a handle. It solves the issue of 6410 having two card detect signals mutually exclusive on one physical ball. Ben Dooks told he might implement this another way but we need this on GTA03 right now and can migrate it to any official way that turns up. Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-05MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-build-fix-path-to- ↵merge
toolchain-on-1228470136 pending-tracking-hist top was MERGE-via-stable-tracking-build-fix-path-to-toolchain-on-1228470136 / 21b67ab8e79998b0a534263282dab1dda0f11b00 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-build-fix-path-to-toolchain-on stable-tracking-hist top was build-fix-path-to-toolchain-on / ca14ba894df9b28822066c578dde48d7dbe931de ... parent commitmessage: From: Andy Green <andy@openmoko.com> build-fix-path-to-toolchain-one-at-last.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03fix-balaji-64xx-regulator-init-change-pm.c.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-repair-broken-incl ↵merge
ude-patch-1228304201 pending-tracking-hist top was MERGE-via-stable-tracking-repair-broken-include-patch-1228304201 / 63bf64cf29947936235ade35a4faf33dc8919b68 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-repair-broken-include-patch stable-tracking-hist top was repair-broken-include-patch / aab327f537d98b0bd48be4b7f61811f9b60ddd02 ... parent commitmessage: From: Andy Green <andy@openmoko.com> repair-broken-include.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-MERGE-via-master-1228302402-1228302766-1228303138 pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-MERGE-via-master-1228302402-1228302766-1228303138 / 27d86638fe294ef1d1a8f527564ec37bb20e7ef2 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-MERGE-via-master-1228302402-1228302766 stable-tracking-hist top was MERGE-via-mokopatches-tracking-MERGE-via-master-1228302402-1228302766 / 66e84c4be853030f1cea816a124cf76a741ecc08 ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-MERGE-via-master-1228302402 mokopatches-tracking-hist top was MERGE-via-master-1228302402 / de9177f7bd127e9b6fa6213018c7c731b8ca0d0c ... parent commitmessage: From: merge <null@invalid> MERGE-via-master- master top was / 3838a80929f91d35c6d987e518bf9ea397f3e13c ... parent commitmessage: From: Andy Green <andy@openmoko.com> fix-wm8753-DBG.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-MERGE-via-master pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-MERGE-via-master / 6b5c5358de92f78cbdf6cf76eceec2b470ee6f59 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-MERGE-via-master stable-tracking-hist top was MERGE-via-mokopatches-tracking-MERGE-via-master / 93854082272f850a9faee81c74310030e837a5ae ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-MERGE-via-master mokopatches-tracking-hist top was MERGE-via-master / c3ec0335ef762adf82547202a675bfb653eb99bb ... parent commitmessage: From: merge <null@invalid> MERGE-via-master- master top was / 5221720118174d16dbfdbb63668d2b533ae50101 ... parent commitmessage: From: Andy Green <andy@openmoko.com> fix-wm8753-DBG.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21MERGE-via-balaji-tracking-s3c64xx-clock-fixesAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-20The S3C64XX series has a new TCFG divider setting toBen Dooks
allow the clock directly through, which means that we need to update the pwm-clock code to cope with this. Add <mach/pwm-clock.h> containing the specific code to deal with the TCFG divider settings and provide any other per-arch data that the pwm-clock driver needs to function. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-11-19tracking-2442-2.6.28-rc2-i2c-6410-changes.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19From 5ee1ee9e1c8a652b0f9cde72ad5e547db87d4d67 Mon Sep 17 00:00:00 2001Holger Freyther
Subject: [PATCH] [gta02] Disable hardware ECC unless we get instructed to enable it This is restoring the old behavior in regard to ECC. Even if hardware ECC was compiled in we didn't use it. Make this a runtime option. If the bootloader passes hardware_ecc we will enable the hardware ECC for real.
2008-11-19s3c2410-bbt.patchmokopatches
[PATCH] Add Kconfig option to enable NAND bad-block-table support for s3c2410 This patch adds a new CONFIG_MTD_NAND_S3C2410_BBT which, if enabled, asks the mtd NAND core to use a bad-block table. Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-11-19[ARM] S3C: Add new FB device definitionBen Dooks
Add a device definition for the new S3C framebuffer driver. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-11-19[ARM] S3C: Add register defines for new style framebufferBen Dooks
Provide the initial register definitions for the newer style of framebuffer cores found in the Samsung SoCs such as S3C2450, S3C64XX. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-11-04[ARM] S3C24XX: Add fourth UART definition for S3C2443Ben Dooks
Add the fourth UART definition for the S3C2443, and at the same time fixup the problems caused by the enlarging of the UART array in the previous commits. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-11-03[ARM] S3C: Fix SDHCI setup compilationBen Dooks
Fix the compilation of the SDHCI configuration/setup functions to depend on their respective configuration variables. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-11-03[ARM] S3C6410: Fix gpio configuration for channel 1.Ben Dooks
Select the correct GPIO configuration function for channel 1 Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-11-03[ARM] S3C: Update CONFIG_SERIAL_SAMSUNG_UARTS handlingBen Dooks
Fix the usage of CONFIG_SERIAL_SAMSUNG_UARTS in several places in the kernel where it had been missed. This finishes fixing a long standing issue where S3C2443 and S3C64XX could not use the 4th UART Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-10-31[ARM] S3C64XX: Fix missing definition of s3c64xx_init_io()Ben Dooks
The function s3c64xx_init_io was missing from <plat/cpu.h> and was masked by the SMDK6410 having an local definition. Fix by removing the SMDK6410 variant and adding it to the relevant <plat/cpu.h> file. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-10-31[ARM] S3C: Add header for initial i2c device core setup.Ben Dooks
Add a header to define setup functions for the i2c devices. Signed-off-by: Ben Dooks <ben-linux@fluff.org>