aboutsummaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
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-09S3C64XX: Add DVFS support to the S3C64XX cpufreq driverMark Brown
Use the regulator framework to provide optional support for DVFS in the S3C64XX cpufreq driver. When a software controllable regulator is configured the driver will use it to lower the supply voltage when running at a lower frequency, giving improved power saving. When regulator support is disabled or no regulator can be obtained for VDDARM the driver will fall back to scaling only the frequency. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-09S3C64XX: Initial support for CPU frequency scalingMark Brown
This patch provides initial support for CPU frequency scaling on the Samsung S3C64XX series processors. Currently only S3C6410 processors are supported, though addition of another data table with supported clock rates should be sufficient to enable support for further CPUs. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-09S3C64XX: Add initial support for ARMCLKMark Brown
Add support for reconfiguring the clock for the ARM core, enabling CPUfreq support. Currently only the divider for ARMCLK may be changed, ARMPLL is left static. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.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: om3d7k: Add support for s3c_ohci device.Balaji Rao
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=d9235e3a8bdcef02865eed27c0d6012d253f11e7 om3d7k: Add support for s3c_ohci device. Adds s3c_ohci support to om3d7k. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
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-09GTA02: Name regulator suppliesMark Brown
Give the regulator supplies names corresponding to the names their supplies are given in the schematic, making it easier to tie the software up with the schematic. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-08fix-gta02-fiq-init.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-08fix-gta02-fiq-timing.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-07Enable jbt6k74 LCM driver IC device for 3d7k.Matt Hsu
Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2009-03-07Add concurrent solution of supporting l1k002 and jbt6k74 (LCM ASIC device) ↵Matt Hsu
for 3d7k. By parsing kernel command, 3d7k can probe two different LCM driver accordingly. The default attached LCM device is l1k002, if you wanna to use jbt6k74, you don't need to re-compile the kernel. Just add one option om_3d7k_lcm=jbt6k74 in boot/append-OM_3D7K in rootfs. Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2009-03-06Add LED channel information in lp5521 platform data for 3d7k.Matt Hsu
Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2009-03-06Correct the start-up delay of LED(lp5521) device on 3d7k.Matt Hsu
Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2009-03-06Temporarily mark INT of LED device on 3d7k.Matt Hsu
LED INT is connected to EXT group6_9, the handling of EXT group1~group9 is not yet implemented. Besides, we don't need this IRQ now. Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2009-03-05From 52da4d313dd3263824023f6f3c16a32a0078710e Mon Sep 17 00:00:00 2001Tim Niemeyer
Subject: [PATCH] Typo in I2C device registration Signed-off-by: Tim Niemeyer <reddog@redlap.wired.rednet.mastersword.de>
2009-03-05Add Samsung S3C camera interface registersWerner Almesberger
These are the Samsung S3C camera interface register definitions directly from the 2.6.21 BSP. The only changes to the original code are the removal of trailing whitespace and the change of location. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-03-05Dirty hacks to make it all workWerner Almesberger
A few dirty hacks to make the camera driver work: - because V4L no longer guarantees that minor numbers provided by the client are actually used, the preview/codec selection mechanism falls apart. We work around this by defaulting to preview when we don't know better. - power up the camera in platform code, not cleanly via power control device. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-03-05Enable camera in 3D7K defconfigWerner Almesberger
Enable V4L and camera driver in 3D7K default configuration. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-03-05Add camera interface driver to 3D7KWerner Almesberger
This patch adds the camera interface driver and the corresponding configuration option to the 3D7K machine. Signed-off-by: Werner Almesberger <werner@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-05Fix s3c64xx_setrate_clksrcWerner Almesberger
Note: this patch is already on the way upstream but is currently missing in the Openmoko kernel. Some of the rate selection logic in s3c64xx_setrate_clksrc uses what appears to be parent clock selection logic. This patch corrects it. I also added a check for overly large dividers to prevent them from changing unrelated clocks. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-03-04config-3d7k-remove-mac80211.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-04config-3d7k-correct-alsa-driver-name.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
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-04Introduce generic backlight device on 3d7k.Matt Hsu
The code is borrowed from gta02. Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2009-03-04fix-3d7k-remove-gps-wlan-pm.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-04S3C64XX: Initial support for CPU frequency scalingMark Brown
This patch provides initial support for CPU frequency scaling on the Samsung S3C64XX series processors. Currently only S3C6410 processors are supported, though addition of another data table with supported clock rates should be sufficient to enable support for further CPUs. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-04S3C64XX: Add initial support for ARMCLKMark Brown
Add support for reconfiguring the clock for the ARM core, enabling CPUfreq support. Currently only the divider for ARMCLK may be changed, ARMPLL is left static. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
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-03-03fix-hdq-sample-period-calc.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-02rename-gta03-dropped-3d7k-new-moniker.patchAndy Green
GTA03 project is dropped, long live Openmoko 3d7k project. This name was literally generated by picking the first character of the next four car license plates to pass by I am told. The should catch all GTA03 instances except the machine name. I registered a new machine name since the 3d7k is different from original GTA03, the machine number is 2120. Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-02MERGE-via-pending-tracking-hist-add-om_3d7k_machine-type-patchmerge
pending-tracking-hist top was add-om_3d7k_machine-type-patch / e4e3848be23080f6ca6727d2a4353f09e53b9781 ... parent commitmessage: From: Andy Green <andy@openmoko.com> add-om_3d7k_machine-type.patch Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-02Fix typo in mach-gta02Sven Rebhan
Improve the comment on falling back to 100mA if ADC is missing. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-03-02GTA02 GSM requires PCF50633 GPIOSven Rebhan
The GSM part of all MACH_NEO1973s require GPIO functions, thus we should select PCF50633_GPIO for GTA02. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-03-02OpenMoko: Update for normal WM8753 device registration.Mark Brown
The WM8753 driver now uses the standard I2C device registration model and so requires the platform to register the device. Convert the OpenMoko GTA0x series devices to do so. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-02ARM/S3C2440: Don't build armv4t modules we can't loadRask Ingemann Lambertsen
The kernel can't load armv4t modules ("unknown relocation: 40"). This patch fixes the ARM makefile accordingly to tell GCC to generate armv4 code instead of armv4t code. The assembler still needs to allow armv4t instructions for some object files which are linked into the kernel. Signed-off-by: Rask Ingemann Lambertsen <rask@sygehus.dk>
2009-03-02Subject: Get rid of board_info information in glamo and s3c24xx_gpio ↵Balaji Rao
spigpio_info. X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=740c6704e830829d8539a6cc34346ff1980cd9ee Get rid of board_info information in glamo and s3c24xx_gpio spigpio_info. The board info does not belong there and has been removed. In spi_s3c24xx_gpio, board_info has been removed in mainline. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-26S3C64XX: Fix DMA channel numbersBen Dooks
The I2S TX and RX channels where reversed. Also add implicit numbers to the start of the two DMA controllers. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
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-26Fix the current leaking issue on gta03 a3 or later version.Matt Hsu
Since GPI0, GPI1 and GPI8 are for hardware version control. They would create current leaking if they are setup as output. It's resloved by adding gta03 specific fb_gpio_setup function in fb platform data. Signed-off-by: Matt Hsu <matt_hsu@openmoko.org> Reported-by: Dkay Chen <dkay_chen@openmoko.com>
2009-02-26Subject: fix_gta03_fiq_stuff.patchBalaji Rao
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=c94ea3d685fa6e9b24d62adb11a7ad6087b9edf5 fix_gta03_fiq_stuff.patch Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-26Subject: lis302dl_use_s3c24xx_gpio_spi_bitbang.patchBalaji Rao
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=5689ad9b0ded29adec4be64df53e488c648b9831 lis302dl_use_s3c24xx_gpio_spi_bitbang.patch Change lis302dl driver to use generic spi code. This requires that we define a s3c24xx_gpio spi bitbang based controller in mach-gta02.c. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-26Subject: spi_supoport_non_blocking_sync_transfers.patchBalaji Rao
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=f8fbb07854e3aff64dce9fe6ef6a8dc0e0f762b5 spi_supoport_non_blocking_sync_transfers.patch A mew option is added to spi_bitbang_info to specify if the transfers off it will be non blocking. A new function - spi_non_blocking_transfer is added to the SPI core. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-25add-s3c64xx-tzic-plat.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-25add-s3c64xx-tzic.patchAndy Green
This adds in the TZIC support consts and also the VM mapping for the TZIC units, and adds TZIC init into mach-om-gta03.c Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-25clean-neo1973-pm-gps.patchAndy Green
Clean out more switch() on version that has no point given the actual features that (don't) differ on supported GTA02 versions. We take care about forcing GPS regulator off on neo1973-pm-gps probe, but we don't take care about killing the UART GPIO so they don't drive into the powered-down subsystem. We took care of doing that when we turned off the thing already, but we cannot just call the OFF code from the probe due to problems with regulator state init. Reported-by: Rask Ingemann Lambersten <rask@sygehus.dk> Signed-off-by: Andy Green <andy@openmoko.com>