aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* smdk4412: fix mag cover turning screen offsbrissen2013-12-131-1/+3
| | | | | | | when charger is plugged in or disconnected while cover is closed and then opened. Change-Id: Ifa74d3d0689e1a5c84a4683c2fe24918bc5ab87a
* smdk4412: revert jpeg_dev from update 11sbrissen2013-12-131-7/+0
| | | | | | | | fixes front cam for some that broke from update 11 merge http://forum.xda-developers.com/showpost.php?p=48429637&postcount=576 Change-Id: I4a654f10e9ccd50a744a710ecd01d2d26f67401d
* Kona: up charging current to stocksbrissen2013-12-111-1/+24
| | | | Change-Id: I20b9c19bd6d7fa67c9edd80261224414cde8c53c
* mali: bulk import of r3p2-01rel3 drivers from i9300-update12mcampbellsmith2013-12-10228-14913/+17080
| | | | | | Courtesy of a similar commit from OMNI ROM. Requires updated mali blobs Change-Id: I9ee55b653b57b7c390f8e0e8cd4fc068f1c751c3
* Samsung i9300 Update 11sakindia1232013-12-098-23/+167
| | | | Change-Id: I7f6dbdd97e3ed66634bf123d43224a79524c04e9
* Add support for Note 8 (N5100 and N5110)sbrissen2013-11-1164-237/+45646
| | | | Change-Id: I6c9798682f9f6349b37cb452353bd0c0e6958401
* tzic: add required ifdef for sec asm extensioncm-10.2-M1Tanguy Pruvot2013-10-192-1/+8
| | | | | | | others files using this implements this flag and ifdef to keep compat with gcc 4.4.3 Change-Id: I290caa7727b750be2f82f13eb5260b877700f81d
* Revert "max77693: Standardize the output of the "online" property"Ricardo Cerqueira2013-09-192-5/+1
| | | | | | | | This reverts commit 1a05356029493b29f866cf04f7550243ef3ae687, the enumerator breakage introduced by change Iafbd9fb45253b02d539ac0ba114f57b3bf9eeed4 can be reverted cleanly without further impact and it's a cleaner fix Change-Id: I351c320f98691241fbe321a0b1ac54152802deb4
* max77693: Standardize the output of the "online" propertyRicardo Cerqueira2013-09-191-0/+4
| | | | | | | Return "0" when no power supply is present Fixes CYAN-2138 Change-Id: I4a4391a454e8e1c5681f8a27ce498f77b4934e28
* d710: cypress: fix home button and auto-update defconfigDorian Snyder2013-09-011-1/+1
| | | | Change-Id: I1dd142d0b168101a8170e742d115bf70a47daa48
* Fix kernel build errorarrrghhh2013-08-311-1/+1
| | | | Change-Id: I1191517240ae7bcfb2fcbbffc98e22f28e8fa151
* smdk4412: max77693_haptic: move sysfs nodeDaniel Hillenbrand2013-08-271-39/+26
| | | | Change-Id: If25044f5eb36ea0374c691c8fee3965b785b8cbf
* cypress-touchkey: remove backlight timeout featureDaniel Hillenbrand2013-08-235-415/+175
| | | | | | | | | Userspace implementation: http://review.cyanogenmod.org/48796 http://review.cyanogenmod.org/48872 http://review.cyanogenmod.org/48884 Change-Id: Id4ac50168220310e82aa4aae367dad4e72e3a9c3
* cypress: report led status via sysfsDaniel Hillenbrand2013-08-211-1/+12
| | | | Change-Id: Iddecb0688e758eca3ba77b520510a6728ad1e3bb
* n7100: add cyanogenmod mdnie presetDaniel Hillenbrand2013-08-191-0/+16
| | | | Change-Id: I42e3ec88452239a6b953dff0e636a8c2e5dbf958
* Merge "mali: pick the right GPU voltage table for 1400MHz devices, restore ↵Daniel Hillenbrand2013-08-171-6/+7
|\ | | | | | | thresholds" into cm-10.2
| * mali: pick the right GPU voltage table for 1400MHz devices, restore thresholdsClément G2013-08-161-6/+7
| | | | | | | | | | | | | | | | | | | | 8-level table was always used, resulting in increased voltages for 1400MHz devices. Now, the right table (5-level) can be picked at runtime. Restore the thresholds to stock value for more stable frequencies. Change-Id: I29900535c15557e75c72793b7169771982fce7f9
* | Increase lowest GPU step for 1400MHz devicesClément G2013-08-161-2/+6
|/ | | | | | | | | Devices using the 1400MHz Exynos 4210 are using 1280*800 screens. This is a much bigger resolution than the Galaxy S2. 100MHz as the lowest GPU step is too low for these devices, resulting in lag. Bump it up to 134MHz. Change-Id: Ifd08cdc2e263695232d034890e54585f122453ff
* isa1200: move sysfs node for pwm levelsbrissen2013-08-131-27/+13
| | | | Change-Id: I50b353531a1ee581217305b257d30317ce73b0c7
* mshci: disable MMC_CAP_ERASE on u1Daniel Hillenbrand2013-08-101-0/+4
| | | | Change-Id: I944a80e4ffd9d7b86b18a13534a3fa8fd2104934
* max8997: move sysfs node for pwm levelDaniel Hillenbrand2013-08-101-27/+13
| | | | Change-Id: I1ca8450000be99505c7c48c6c4fd2dfb15bba670
* mmc: fix the workqueue overload battery wasteAndrea Arcangeli2013-08-041-2/+2
| | | | | | | | | | | | | | | | After switching to the smdk4412 kernel I noticed a workqueue overload, battery lasting less, and Android OS showing up at the top as result. Tracing showed that mmc_host_clk_gate_work was one of the runqueues called regularly in the background. The #ifdef is clearly reversed and that leads to the ndelay being called every time, while ndelay was never called before. Not yet sure if this fixes the "apparent" regression but it's not bad so far, after 1h of uptime android OS is below Android System. Change-Id: Ief78ed7ddb3eec85636844b9a730cac832b096b4
* fimc/s3cfb: Remove inlines breaking build on 4.3XpLoDWilD2013-07-264-4/+4
| | | | | | | If anyone have any idea why it cannot find function body for these two functions... Others are fine. Change-Id: Ifebb2e995a4ef4e779bed2e8f12aa7990ac19b41
* Merge "smdk4412: add i925/p4noteltevzw support" into cm-10.1Daniel Hillenbrand2013-06-2510-66/+409
|\
| * smdk4412: add i925/p4noteltevzw supportsbrissen2013-06-2510-66/+409
| | | | | | | | Change-Id: I17d3befd6a6538c16db0675253927068a09085c6
* | isa1200_vibrator: user configurable vibration intensitysbrissen2013-06-251-1/+65
|/ | | | | | | This patch was taken from maxx77693_haptic motor. Vibration is configured via DeviceSettings. Change-Id: Ibca1271798b22a6aacd6e81f2f2d128def69845e
* Merge "USB: f_mass_storage: 2048 block size for cdrom devices" into cm-10.1Daniel Hillenbrand2013-06-242-17/+13
|\
| * USB: f_mass_storage: 2048 block size for cdrom devicesjpeg7292013-06-212-17/+13
| | | | | | | | | | | | | | | | | | | | Enables computer Bios's to recognize the cdrom device like most other cdrom devices. This allows people to boot ISOs from their phone. Indentation corrected. Change-Id: Ia3ff20cb5b40da71da9702695d2ff974727deda8
* | Merge "UMS: f_mass_storage: Added cdrom option to UMS-lun-devices" into cm-10.1Daniel Hillenbrand2013-06-242-0/+43
|\ \
| * | UMS: f_mass_storage: Added cdrom option to UMS-lun-devicesjpeg7292013-06-212-0/+43
| |/ | | | | | | | | | | | | | | | | This patch allows programs to change the cdrom option at runtime through sysfs. Indentation corrected. Change-Id: I4beab26133e3ac325ecbded1414d4e6215e377e8
* | d710: initial support for the Epic 4G Touch (SPH-D710)Dorian Snyder2013-06-2055-262/+8961
|/ | | | Change-Id: Iafbd9fb45253b02d539ac0ba114f57b3bf9eeed4
* u1: port sensors and modem interface from smdk4210 kernelDaniel Hillenbrand2013-06-1847-8/+25007
| | | | Change-Id: Ifa0a332a0413f4ceb3c70e96573786ae576a2ae0
* Samsung i9300 Update 10sakindia1232013-06-141-6/+6
| | | | Change-Id: I549efadb9464c7f0e4248c31f1f8bff55ffed458
* smdk4412: bulk update from i9300 update 9Daniel Hillenbrand2013-06-0412-180/+740
| | | | Change-Id: Icd3e7b601f3f4c8b3dcf053fed5819fb7caf5296
* mali: change alloc order from 6 to 11 for 4210Daniel Hillenbrand2013-05-301-4/+0
| | | | | | taken from samsung i9100 jb update Change-Id: Ie67ffa8a72101fbe4460cdde1cb5c3435979ca66
* usb gadget: use two luns on devices with two cardsDaniel Hillenbrand2013-05-291-11/+24
| | | | | | | - ported from Codeworkx's smdk4210 patch (https://github.com/CyanogenMod/android_kernel_samsung_smdk4210/commit/7f87bd61861a7c6dfc74c6f113f4df655b8925ff) - allows to use both internal and external sd-card as mass-storage on devices with two cards Change-Id: I3345097081bc1e306b8a63c0ae2b0edcccbff018
* ondemand: cpuidle detectionAndrea Arcangeli2013-05-281-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I found a problem with the ondemand governor while in earlysuspend suspend mode (ondemand keeping the freq close to the max at all times despite near 0% load). The problem is that the cpu starts to go in long cpuidle cycles, a sampling_rate of 10000 (usec) is applied only once in a while and the real sampling_rate becomes 1 second (or more). So when a wakeup happens we return to the 10000usec sampling rate. The ondemand sees lots of activity after the wakeup but those "loads" must be adjusted down if the previous wall_time delta was huge and the current one is tiny. We're too close to long cpuidle to worry about the cpu freq anyway and it may be just a jitter load that if we take into account without adjusting it down, will lead to the next long cpuidle to be entered at the max freq again, and this repeats forever. So my solution is to tweak the ondemand to scale down the "load" according to the decrease in the wall_time delta ratio (deep_sleep_ratio variable). This allows the CPU to stay at the lowest freq during the deep sleeps even when the ondemand governor is enabled and the sampling_rate is set to 10000. (setting the sampling_rate to values >100000 would also tend to hide the problem but it'd screw the interactive behavior by running at the lowest frequency for too long during interactive usage) During interactive usage with the screen on (not in earlysuspend mode), or during playback or voip with screen off the deep_sleep_rate is set to 1 practically all the time so it won't alter the behavior of the ondemand governor unless the system is very idle (and in turn when we want it to stay at low freq). Change-Id: If0391e6d6c41c1c8c9fa590502e88e681a800b04 Signed-off-by: Andrea Arcangeli <andrea@cpushare.com>
* drivers: modem_if : Remove some debuggingsakindia1232013-05-274-10/+10
| | | | Change-Id: I4ac65badbd41c930bc226d0162cdb446f32d6fe6
* mxt224_u1: Silence some status messagessakindia1232013-05-261-3/+3
| | | | Change-Id: Ied425b0a0c8cd83ba96fdbdfa15a979af59f7cae
* cm3663: fix initial proximity sensor stateDaniel Hillenbrand2013-05-261-0/+4
| | | | Change-Id: I544cf4065fd18bd9a54c855fdbbe3507c3ec3f75
* u1: add cyanogenmod mdnie scenarioDaniel Hillenbrand2013-05-252-0/+61
| | | | Change-Id: Ieed885c3c06c8c0445d6e6f2bd68de2bc0223491
* u1: import from CyanogenMod/android_kernel_samsung_smdk4210Daniel Hillenbrand2013-05-2518-409/+4041
| | | | Change-Id: I9629a4060538c9c4c6a43a86a56826cd7123d1b5
* update bcmdhd driver from GT-9505 Sourcesbrissen2013-04-2579-3753/+9568
| | | | | | drivers pulled from http://review.cyanogenmod.org/#/c/36122/ Change-Id: Ide4aef99ee1d594f4222ae69aca0bdb7d563e80a
* smdk4412: mali: merge with r3p1 driver from note8Justin2013-03-2658-951/+1762
| | | | Change-Id: I75db69081b986ec326fe347f73aa3655648e6b81
* Merge branch 'cm-10.1-experimental' into HEADcodeworkx2013-03-16447-3249/+6704
|\
| * WIFI: Use kernel version 3.4 ifdef's.Brian Beloshapka2013-02-271-13/+26
| | | | | | | | Change-Id: I7f8414839e2205dff8939cab6739789633e31204
| * bcmdhd: kang from d2Andrew Dodd2013-02-2735-731/+1518
| | | | | | | | Change-Id: I16a99ec34895212fecbafa13fdb714158b476dad
| * Merge remote-tracking branch 'kernelorg/linux-3.0.y' into 3_0_64Andrew Dodd2013-02-27412-2505/+5160
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/Kconfig arch/arm/include/asm/hwcap.h arch/arm/kernel/smp.c arch/arm/plat-samsung/adc.c drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_drv.h drivers/mmc/core/sd.c drivers/net/tun.c drivers/net/usb/usbnet.c drivers/regulator/max8997.c drivers/usb/core/hub.c drivers/usb/host/xhci.h drivers/usb/serial/qcserial.c fs/jbd2/transaction.c include/linux/migrate.h kernel/sys.c kernel/time/timekeeping.c lib/genalloc.c mm/memory-failure.c mm/memory_hotplug.c mm/mempolicy.c mm/page_alloc.c mm/vmalloc.c mm/vmscan.c mm/vmstat.c scripts/Kbuild.include Change-Id: I91e2d85c07320c7ccfc04cf98a448e89bed6ade6
| | * netback: correct netbk_tx_err to handle wrap around.Ian Campbell2013-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit b9149729ebdcfce63f853aa54a404c6a8f6ebbf3 ] Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Jan Beulich <JBeulich@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| | * xen/netback: free already allocated memory on failure in xen_netbk_get_requestsIan Campbell2013-02-141-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit 4cc7c1cb7b11b6f3515bd9075527576a1eecc4aa ] Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>