aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210
Commit message (Collapse)AuthorAgeFilesLines
* ARM: s5pv210: p1: cleanup MakefileChirayu Desai2013-05-141-7/+3
| | | | | Change-Id: Iaed00a4d19f4423e0b518d4e7a094b6ea4face9b Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
* arm: s5pv210: cpufreq: fix incorrect directiveHumberto Borba2013-05-071-1/+1
| | | | | Change-Id: I37cc0152e1978a5caafe7ac6ce6c329f2a936b11 Signed-off-by: Humberto Borba <humberos@gmail.com>
* arm: s5pv210: p1: replace preprocessor directives with function callsHumberto Borba2013-05-071-5/+2
| | | | | | | * replaces #if(n)def CONFIG_MACH_P1 with machine_is_p1() Signed-off-by: Humberto Borba <humberos@gmail.com> Change-Id: I100010800dcd1e78439234539dd127b1231ffac4
* add support for p1Chirayu Desai2013-05-0525-613/+10886
| | | | | | | Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org> Signed-off-by: Humberto Borba <humberos@gmail.com> Signed-off-by: Koudai Aono <koxudaxi@gmail.com> Change-Id: I2dcbaee7f17852ed3ea4a5db2d103704027fe259
* aries: rfkill: fix unbalanced irqPawit Pornkitprasan2012-12-091-1/+9
| | | | | | | BlueDroid makes disable call to rfkill which it is already disabled causing unbalanced irq which prevents the device from going to sleep Change-Id: If188d952ff368c03cb6a5a45d48cabc5f5e05501
* aries: Wi-Fi adjustmentsPawit Pornkitprasan2012-12-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Application of the following 2 commits for aries. Should help with Wi-Fi not working for some users. Symptoms include the following lines in dmesg sdio_reset_comm(): mmc1: Error resetting SDIO communications (-110) commit 00fdd611fdc3d837d55185ece69bee18ca51bd40 Author: Dmitry Shmidt <dimitrysh@google.com> Date: Wed Jan 26 18:28:44 2011 -0800 ARM: herring: Increase delay to 200 ms in wlan power on Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> commit 7b8e3bc20dfedd5d55af325c91b79bb4a778193b Author: Dmitry Shmidt <dimitrysh@google.com> Date: Tue Nov 8 11:35:15 2011 -0800 ARM: s5pv210: herring: Add delay to wait for wlan carddetect Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> Change-Id: I470e033aad9706fd705c06f92aebea8aa1210b7f
* Revert "ARM: aries: Increase delay to 200 ms in wlan power on"Pawit Pornkitprasan2012-11-301-1/+1
| | | | | | Seems to also cause troubles This reverts commit e58990bfa7ed1d795dd0c934ed97ab49c1174d59.
* ARM: aries: Increase delay to 200 ms in wlan power onPawit Pornkitprasan2012-11-251-1/+1
| | | | | | Fixes sdio timed out (-110) for some users Change-Id: I0adc9e7b8706fa8eddbb67e2b616067ea5e21991
* vibrantmtd: set stock gps gpio configDaniel Bateman2012-11-161-0/+16
| | | | Change-Id: Ieb8b30668a43c2b5558ac261f71c4d05253a982b
* fascinatemtd: driver cleanupjt11342012-11-041-9/+4
| | | | | | | | | - fascinatemtd has no FFC, remove s5ka3dx driver - remove device-specific light and accel drivers (fascinate is the only device using kr3dh anyways) - also remove unneeded s5k4ecgx include Change-Id: Ic0f6984b60146141e85aad0a2c16fcd5026d144b
* s5pc110: Improved OC codePawit Pornkitprasan2012-11-032-3/+3
| | | | | | | | | | | | - Set arm_volt_max back to 1350000 as some users are reporting SoD without any OC - Set arm_volt for 1.2 GHz to 1275000 for now, because higher values cause SoD for all devices while this works on most devices. (this basically revert values to what they previously were) Change-Id: Ic01f606a5fc5145ce9d8e8f6961a80262503e0d6
* Add ability to under- and overvolt.Kasper Hettinga2012-10-302-3/+42
| | | | | | | | | | | | Patch set 1: original commit Patch set 2: removed spaces Patch set 3: increased stock voltage at 1200MHz to 1325mV Patch set 4: changed UV interface to allow OV with Voltage Control Patch set 5: spacing Patch set 6: rebased Patch set 7: allow higher OV voltage Change-Id: Ie5f5d8ca7ed64e63b9be0aa088b99c1b8466b605
* enable 1.2GHz OCjt11342012-10-233-16/+38
| | | | | | | | * keep same voltage settings as 1GHz * properly update APLL values * set max freq to 1GHz on bootup, up to the user to OC Change-Id: I643cb1b54dd684b9dbe6066fbdef1a86b9123d79
* Call cpufreq_update_policy on DVFS events.Mike Kasick2012-10-171-10/+11
| | | | | | | | | | Calls cpufreq_update_policy on DVFS lock/unlock events to ensure that DVFS locks take effect with the governor's preferred frequency (if higher than the lock frequency). Previously the lock would set the frequency to the target level and expect the governor to reevaluate on a timer, which ondemand does, but powersave and performance do not. Change-Id: I19a454d7173afdb99d0a87845285f84606cf24e1
* aries-vibrator: add sysfs interface to control vibration intensityjt11342012-10-041-4/+46
| | | | Change-Id: Ia69e9fe28111a36fb9fa32410e54e69f84fbcd57
* aries: Use DVFS locks instead of cpufreq policy mangling in pvr.Mike Kasick2012-10-031-0/+1
| | | | | | | | | | | | | | | The pvr driver requires that the memory bus speed is kept fast while the GPU is active. Since the memory bus speed is tied to the CPU frequency, pvr (previously) used a cpufreq notifier called on policy updates to ensure the CPU is running at a minimum 200 MHz while active. The problem with this approach is that any changes to scaling_min_freq while the GPU is active (e.g., while interacting with the Processor settings menu) get clamped to 200 MHz, which persists even when the GPU is inactive. By switching to DVFS locks, changes to scaling_min_freq persist, and so allows the use of 100 MHz when the GPU is inactive. Fixes epiccm #14. Change-Id: I12bf5a6f3cba2da853d5528f4c62a659a1489806
* fascinate: better fixes for issues in dpram modem driverjt11342012-09-041-1/+1
| | | | | | | | | increase drive strength to GPIO_PHONE_RST_N to match stock Samsung gingerbread source code reenable request_phone_reset() in dpram driver Change-Id: Icbbbb10f1065eb8d59af3b743a60f951683f99f5
* Merge "cypress-touchkey: attempt to filter out "phantom" key-presses" into ↵Pawit Pornkitprasan2012-07-291-0/+19
|\ | | | | | | jellybean
| * cypress-touchkey: attempt to filter out "phantom" key-pressesjt11342012-07-281-0/+19
| | | | | | | | | | | | | | | | | | | | | | * this issue only affects the fascinate * this patch attempts to work-around a hardware defect that causes "phantom" key-presses to be sent during high levels of 3G radio activity * based on work by Electric Bill * reference: http://forum.xda-developers.com/showthread.php?t=1551580 Change-Id: I1fc6f56ad02f31c60a8e399b03d5f0e0b8c1f2df
* | Revert "aries: add OC support"Pawit Pornkitprasan2012-07-293-41/+4
|/ | | | | | | | | This reverts commit 463e99c53ae3b7c18ad3bee3825d4d75c603adae See Andrew Dodd's comments on http://review.cyanogenmod.com/#/c/19820/. Also been getting rare homescreen corruption after moving PVR to DVFS lock. Change-Id: I628ca36ea63d87b6e74ef346f4acb04d5bfadeae
* s5pc110_battery: fix charging display for car dockPawit Pornkitprasan2012-07-251-0/+4
| | | | | | Thanks to logicmann on xda for sending me an adapter to test with Change-Id: If497ecd39c2e2646320f5e603c94968edd0cc837
* aries: stop DVFS from spammingDaniel Bateman2012-07-231-4/+4
| | | | Change-Id: I05f3f0656a6d9c43f1e8e611c16f83c9d78d90a8
* aries: add OC supportDaniel Bateman2012-07-223-4/+41
| | | | Change-Id: Iaf1e26ad7e19ea0205b7f2905f28fccc19f712f8
* Merge remote-tracking branch 'google/android-samsung-3.0-jb' into HEADPawit Pornkitprasan2012-07-202-4/+3
|\ | | | | | | | | | | | | | | | | | | | | | | Reverted ad-hoc support for now Conflicts: drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c drivers/net/wireless/bcmdhd/dhd_linux.c drivers/net/wireless/bcmdhd/wl_android.c drivers/net/wireless/bcmdhd/wl_cfg80211.c Change-Id: Ibaa7a841b177c86a235828e94be5b870f0ac090e
| * ARM: s5pv210: herring: FIMC1 buffers are not used, so reduce them.JP Abgrall2012-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jung-min.oh@samsung.com suggested ... """ Some memory can be reduced in crespo. For normal video playback, liboverlay in GB uses the reserved memory of FIMC1 but libhwcomposer in ICS uses the reserved memory of FIMD. """ Change-Id: Id3f40d78795fb96900678fb97ee8e0189daa79d3 Signed-off-by: JP Abgrall <jpa@google.com>
| * S5PC11X: PD: Restore clock status in error case of enabling power domainKisoo Yu2012-03-301-3/+2
| | | | | | | | | | | | | | | | | | | | Before enabling power domain, all clocks in that power domain should be on. After enabling, clock status is restored as before. Even though power domain enabling fails, clock should be restored as before. Change-Id: I069ae8883b260b6a0c669747a0fbf63d5401e8c0 Signed-off-by: Kisoo Yu <ksoo.yu@samsung.com>
| * ARM: s5pv210: herring: don't disable prox sensor during suspendSimon Wilson2012-02-271-1/+1
| | | | | | | | | | | | | | | | | | A previous change caused the proximity sensor to become disabled during suspend to reduce power consumption , but this needs to remain on if activated. Change-Id: I74920c10b89c4dacd9688dc8db689fb097d64087 Signed-off-by: Simon Wilson <simonwilson@google.com>
* | s5pv210: Add cpufreq available freqs tablePawit Pornkitprasan2012-04-251-0/+6
| |
* | Optimize MFC memory usage, properlyPawit Pornkitprasan2012-04-141-2/+2
| | | | | | | | | | | | | | | | | | | | - There are several bugs in MFC memory management that needs to be fixed for non-equal buffer size to work properly. - Samsung originally reduced CPB_BUF_SIZE, but it causes mis-decoding of some videos. So we increase it back and also slightly increase the memory allocation to support it. - Userspace mmap size needs to be changed to 35328*1024 (port0_size - firmware_size + port1_size)
* | vibrantmtd: port back stock kernel vibration valuesDaniel Bateman2012-04-111-0/+6
| |
* | s5pv210: cpufreq: Adjust clkdiv_valPawit Pornkitprasan2012-04-111-1/+1
| | | | | | | | | | To match the stock Samsung kernel. Thanks to DerTeufel1980 on xda for pointing this out
* | Revert "aries: MFC memory optimization"Pawit Pornkitprasan2012-04-031-2/+2
| | | | | | | | | | | | There are videos for which this doesn't work This reverts commit 2a8ea36ee305fcc01c417448e34a206dea7b00dd.
* | Merge branch 'android-samsung-3.0-ics-mr1' of ↵Pawit Pornkitprasan2012-04-023-21/+103
|\ \ | | | | | | | | | | | | | | | | | | http://android.googlesource.com/kernel/samsung into HEAD Conflicts: drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c
| * | ARM: s5pv210: herring: don't disable prox sensor during suspendSimon Wilson2012-02-021-1/+1
| |/ | | | | | | | | | | | | | | | | A previous change caused the proximity sensor to become disabled during suspend to reduce power consumption , but this needs to remain on if activated. Change-Id: Idf5ac8df7d1e62f1644820d6590e28eb702ca83b Signed-off-by: Simon Wilson <simonwilson@google.com>
| * arm: herring: allow multiple pdp contexts for non-wimax devicesSimon Wilson2012-01-181-1/+4
| | | | | | | | | | Change-Id: Ib7fc84c64ba3cf1bad4662175683a8ac8c0a99ea Signed-off-by: Simon Wilson <simonwilson@google.com>
| * ARM: S5PC11X: improve USB signal qualityThomas Ryu2012-01-111-3/+2
| | | | | | | | | | | | | | | | Tunning of PHY0 Tune Register to improve physical characteristics. This improves the margin of USB eye diagram, which means the quality of USB signal is also improved. Signed-off-by: Thomas Ryu <smilesr.ryu@samsung.com>
| * ARM: S5PC11X: wimax pins sleep current reductionsangamanatha2012-01-111-4/+4
| | | | | | | | | | | | | | ARM: S5PC11X: wimax sleep gpio configuration changes to reduce the sleep current. Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
| * S5PC11X: PD: Add spinlock in power domain controlKisoo Yu2012-01-101-3/+12
| | | | | | | | | | | | | | | | | | All power domain controls use one NORMAL_CFG register. So, enable and disable procedure needs a protection from simultaneous access. Change-Id: I1f726faa7b546d111bc286e60de8189ebc0ea975 Signed-off-by: Kisoo Yu <ksoo.yu@samsung.com>
| * ARM: s5pv210: herring: Add wlan locale translation tableDmitry Shmidt2012-01-031-0/+71
| | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * ARM: S5PC11X: sleep current reduction of cdma/wimax.Thomas Ryu2011-12-191-11/+11
| | | | | | | | | | | | | | change the sleep gpio configurations of cdma/wimax table to reduce sleep current. Signed-off-by: Thomas Ryu <smilesr.ryu@samsung.com>
* | aries: MFC memory optimizationPawit Pornkitprasan2012-04-021-2/+2
| | | | | | | | Memory configuration based on SCH-I500 Gingerbread source
* | aries: Memory optimzationPawit Pornkitprasan2012-04-011-4/+6
| | | | | | | | Original work done on crespo/epic by Shareef Ali <shareefalis@gmail.com>
* | Disable s3c_config_sleep_gpio on captivate for nowPawit Pornkitprasan2012-03-141-0/+6
| |
* | Revert "Apply increased mmc drive strength to Captivate as well (user feedback)"Pawit Pornkitprasan2012-02-191-1/+1
| | | | | | | | May be causing trouble with some weak internal SD card
* | Implement and call s3c_config_sleep_gpioPawit Pornkitprasan2012-02-191-27/+81
| | | | | | | | | | | | The stock kernel runs this at sleep. No idea why the Nexus S's kernel doesn't. The GPIO settings have been checked from the latest Galaxy S, Captivate, Fascinate, Vibrant and Galaxy S B kernel.
* | vibrantmtd: Fixes SEND_END headset buttonsDaniel Bateman2012-01-271-1/+1
| |
* | captivatemtd: Port battery charging/fuel gauge code from stockPawit Pornkitprasan2012-01-242-0/+106
| | | | | | | | | | Improves (but does not completely fix) phone turning off while charging for some users (charging death).
* | aries: Only inject bootmode if bootmode is single digitPawit Pornkitprasan2012-01-181-1/+8
| | | | | | | | | | | | This prevents confusion with watchdog reboot (bootmode=238) which will confuse the script grepping for bootmode=2 causing unintended reboot into recovery
* | aries: Remove mass storage gpio setting not found in the original kernelPawit Pornkitprasan2012-01-151-1/+1
| |
* | aries: Revert unneeded GPIO changesPawit Pornkitprasan2012-01-101-8/+8
| | | | | | | | | | These may be causing the device to randomly die even though they came from Samsung's official kernel