aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2410/mach-gta01.c
AgeCommit message (Collapse)Author
2009-09-23Fix wrong commitNelson Castillo
I'm quite sorry I sent the commit that crashes GTA01. The fix is quite short. Fixing is easier than reverting and fixing conflicts. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-22Make s3c TS driver use s3c-adc APINelson Castillo
I had a patch by Vasily Khoruzhick <anarsoul@gmail.com> in the linux-arm-kernel as a guide for some of the changes. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-02gta01: when charging the current reported should be negativePaul Fertser
Reported-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-07-05GTA01: fix current and voltage reporting unitsPaul Fertser
According to power_supply class specification all voltages and currents must be reported in uV and uA correspondingly. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-05-25gta01: fix jbt6k74 spi registrationPaul Fertser
Without this jbt6k74 is not seen by the system and consequently display doesn't work with Qi. Rebasing to .28 introduced a regression (probably in a6af63e826b79ae1ba2d8cbfa66805cc2dfe367c) resulting in jbt6k74 no longer manageable by the kernel. This was unnoticed before because u-boot does its own LCM initialization. With Qi it resulted in a white screen. This patch is fixing it by making spi host bus number (unspecified, defaults to 0) and spi device (jbt6k74) bus number match. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-04-15make touchscreen filter symbols const static in mach-gta01.c and mach-gta02.cNelson Castillo
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-04-14better naming for filter_configurationTim Niemeyer
this affects gta01 and gta02, now we can enable both in the .config Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2009-03-26CodingStyle with copy-src also fixedWerner Almesberger
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
2009-03-26disabling fast_charge is done with 0tim.niemeyer@mastersword.de
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
2009-03-10Add filter_chain objectNelson Castillo
Filter chains should be completely opaque to the drivers that use it. We fix this with this patch. ~ Make the "filter chain" a new object. ~ We can build with CONFIG_TOUCHSCREEN_FILTER=n with no problems in a cleaner way. ~ Update s3c2410_ts.c to use the filter_chain object. ~ Cleanups. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-03-10Use non-void configurationsNelson Castillo
This patch defines a ts_filter_configuration structure to avoid using void* in the filter initialization, fixing another upstream correction. This also makes the initialization more readable. Tested in GTA02/rev6. Other changes: ~ Comment filter configuration structures. ~ ts_filter.c:ts_filter_chain_create improved. ~ Small cleanups. ~ More TODOs/FIXMEs. ~ Updated GTA02 filter configuration. ~ Updated GTA01 filter configuration. ~ Updated mach-s3c2410/include/mach/ts.h for the new ts. configuration structure. ~ Updated all the filters to use the new configuration structure. ~ Removed MAX_TS_FILTER_CHAIN constant that is no longer needed. No more evil casts left it seems. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
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-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-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-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-21Adapt last Touchscreen Changes from GTA02 to GTA01Jose Luis Perez Diez
Pardon me if I am too verbose but this is my first opportunity to send a patch. I was wishing to try andy-tracking kernels on GTA01 long ago but It was FOSDEM and recent threads on the lists asking for GTA01 that made me do it. When I participated on the thread http://n2.nabble.com/empiezo-a-amargarme-con-los-kernels-necesito-consejo-td2347206.html in the Spanish mailing list asking what kernel to use with which distribution, I responded that only FSO based supported 2.6.28 and upwards. I could not resist to brag that I tested 2.6.29 on GTA01 but only with kexec ( it is possible that my wording was more ambiguous on the thread). Nelson Asked if I had problems booting it with u-boot. I tried and was successful but this time I played a Little with the interface and vala term and noticed that the on screen keyboard was changing the key pressed. Using http://svn.openmoko.org/developers/tick/touchtest/touch_test.py shown that most of the Up and sometimes the previous Move to where landing on ([290..310],575). Revising the code shown that the some of the filters and the option to disable them were missing on mach-gta01.c. I have tested the kernel with the patch applied with the filters disabled and also with them enabled. When the filters are active I still receive some misplaced up events but much less (the raster terminal keyboard is usable). Signed-off-by:Jose Luis Perez Diez <perezdiez@gmail.com>
2009-02-08s3c_mci_move_regulator_stuff_to_platform_code.patchBalaji Rao
Move the regulator handling stuff away from s3cmci.c to mach-gta01.c. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-01-27Subject: pcf50606_rebase_changes,patchBalaji Rao
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=445395c9fcfb78ea62ab5a69b84c2c12efe01cff pcf50606_rebase_changes,patch This patch brings into andy-tracking all changes related to pcf50606 from old balaji-tracking.
2009-01-09Update mach-gta01.c to reflect the new plat-s3c changes.Balaji Rao
Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2008-11-21uplevel-neo1973kbd-gta03-compatibility.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19Add default platform data for i2c to make GTA01 bootMicael Henriksson
Signed-off-by: Micael Henriksson <micael.h@gmail.com>
2008-11-19GTA01: Build fixesJonas Bonn
Some header files have moved so update #includes. devs.h has been moved and updated. Delete the old version at include/asm-arm/plat-s3c24xx as it is no longer used. Nothing to migrate from this file to the new file at the new location. s3c_device_i2c has become s3c_device_i2c0 Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19tracking-fix-include-moves.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-touchscreen-driver-gta01-missing-includes.patchMike Westerhof
Add missing initialization for the touchscreen driver for the gta01 platform. Signed-off-by: Mike Westerhof <mwester@dls.net>
2008-11-19test-touchscreen-median.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19Carry over changes to spi-gpio.hJonas Bonn
This patch carries over the OpenMoko modifications at include/asm-arm/arch-s3c2410/spi-gpio.h to arch/arm/mach-s3c2410/include/mach/spi-gpio.h Note: board_size and board_info have been removed upstream, but as we still rely on them we'll just put them back for now. These will need to be removed (and the corresponding driver changes made, of course) before this can go upstream. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19Move asm/arch/ts.h to mach/ts.hJonas Bonn
Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19Move asm/arch/neo1973-pm-gsm.h to mach/neo1973-pm-gsm.hJonas Bonn
Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19Move asm/arch/mci.h to mach/mci.hJonas Bonn
Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19[ARM]: Move asm/arch/gta01.h to include/machJonas Bonn
This file is OpenMoko specific and didn't get moved in the big file move. Move it to arch/arm/mach-s3c2410/include/mach where it belongs and fix the references to it. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19GTA01: Do I2C device registration in machine setup codeJonas Bonn
I2C devices should be registered with i2c_register_board_info in the machine setup code. This allows the devices to be auto-probed when the requred driver is loaded. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19tracking-2.6.27-rc2-include-path-changes.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19checkpatch-fixes.patchAndy Green
This cleans out some random externs in C files that checkpatch does not like and introduces a couple of .h files to contain them. Plus some other minor checkpatch style complaints. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19gta01-uart-fifo-trigger-sooner.patchMike Westerhof
Set the UART FIFO to trigger earlier on the GTA01 device to minimize UART overruns from the GSM. Signed-off-by: Mike Westerhof <mwester@dls.net>
2008-11-19fix-suspend-backlight-timing-gta01.patchMike Westerhof
This patch adds the gta01 backlight callback that defers the restoring of the backlight until after the jbt driver has resumed. This doesn't eliminate the flashing of the LCD on the gta01, but it reduces it considerably. Signed-off-by: Mike Westerhof <mwester@dls.net>
2008-11-19gta0x-add-minimal-GSM-flowcontrol.patchMike Westerhof
Add the basic GSM flowcontrol code. Signed-off-by: Mike Westerhof <mwester@dls.net>
2008-11-19tracking-2.6.27-irqtype-rename.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19commit 5f42e24d361cd83178fe8da9d68efbf41a011483Mike Westerhof
Add missing initialization for the touchscreen driver for the gta01 platform. Signed-off-by: Mike Westerhof <mwester@dls.net>
2008-11-19gta01-fix-jbt-platform-missing-members.patchMike Westerhof
Created an attachment (id=594) / BZ#79 Add missing platform_data that caused the GTA01 to crash on suspend/resume The interface to the jbt6k74 driver changed slightly; this patch adds the missing platform_data for the GTA01. This prevents a crash while suspending. This patch also makes some minor changes to cleanup and clarify some debug messages. Signed-off-by: Mike Westerhof <mwester@dls.net>
2008-11-19fix-gta01-spi-resume-patchMike Wester
Patch to register the SPI device and thus the save/resume for the display This patch does *NOT* resolve this problem, but it does make things a bit better. The SPI device name changed with 2.6.24, and the change was made for the gta02 but never propagated to the gta01. With this change, you'll now see the entries for the spi bus and the display controller in /sys; and the display controller suspend/resume functions will be called. (via BZ 79) Signed-off-by: Mike Wester <mwester@dis.net>
2008-11-19[neo] Every access to GPIO bank B has to go through the shadow codeHolger Freyther
- Any setting of any PIN on bank B will undo the LED setting. Introduce neo1973_gpb_set_pin to set the PIN in a way not losing the LED or any other shadowed setting. - Update users of GPBXY for gta01 and gta02. Signed-Off-By: Holger Freyther <zecke@openmoko.org>
2008-11-19OpenMoko => OpenmokoHolger Freyther
Signed-Off-By: Holger Freyther <zecke@openmoko.org>
2008-11-19gta02-acc.patchmokopatches
2008-11-19s3c_mci-gta01.patchmokopatches
2008-11-19s3c2410_ts-gta01.patchmokopatches
2008-11-19gta01-core.patchmokopatches
This patch adds support for the FIC Neo1973 GTA01 machine type to the ARM port of the Linux kernel. Signed-off-by: Harald Welte <laforge@openmoko.org>