Ramakrishna Pallala [Thu, 15 Mar 2012 09:05:41 +0000 (14:35 +0530)]
Battery: Add support for max17050 FG chip
BZ: 24846
This patch adds the support for max17050 FG chip in
MSIC charger driver.
Change-Id: I4d4d8fc06cf3f03387f911988c9fef9856aa4132
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/39281
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: Gugwad, SantoshX <santoshx.gugwad@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramakrishna Pallala [Thu, 15 Mar 2012 08:32:32 +0000 (14:02 +0530)]
max17042: Added support for max17050 chip
BZ: 24846
This patch adds the support for max17050 chip to the existing
max17042 fuel gauge driver.
Change-Id: Idd88d1989884fee5990db393699f8654d021a16c
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/39278
Reviewed-by: Kanigeri, Hari K <hari.k.kanigeri@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: Gugwad, SantoshX <santoshx.gugwad@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Asutosh Pathak [Fri, 16 Mar 2012 01:17:36 +0000 (18:17 -0700)]
Max17050 : Add Max17050 support in board file
BZ: 27610
In GI SFI table new entry for Max17050 have been added - hence this
patch is needed while parsing the SFI table
Change-Id: I557cbf13aad7d76d0e9bca506f3c7822cdc96ba5
Signed-off-by: Asutosh Pathak <asutosh.pathak@intel.com>
Signed-off-by: Eric Seibel <eric.seibel@intel.com>
Reviewed-on: http://android.intel.com:8080/39268
Reviewed-by: Ponnusamy, Siva Prasath <siva.prasath.ponnusamy@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Tested-by: Gugwad, SantoshX <santoshx.gugwad@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jzhuan5 [Tue, 13 Mar 2012 06:18:00 +0000 (02:18 -0400)]
usb:gadget: drain ep0 when reset config
BZ: 25477
gadgets such as RNDIS, ACM and MTP use ep0 for command control. Thus, when resetting
config, it's necessary to make sure request pending on ep0 is drained.
rndis_command_complete doesn't check req->status before further processing, it's corrected
in the patch.
fix a NULL pointer issue of is_in macro in function ep_set_halt
Change-Id: I1d40dd45ebcb6f4bfeeaaceb58167e09a43ed85f
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/38773
Reviewed-by: Li, Wenji <wenji.li@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
KP, Jeeja [Fri, 16 Mar 2012 16:45:58 +0000 (22:15 +0530)]
audio: Add Support for MIC1 and MIC2 routing based on the board type
BZ: 27733
Analog MIC on CLV VV board use MIC1 path and on PR boards it used MIC2.
This patch added support Mic routing based on board Type.
Change-Id: Ia9b3796cae2ea2d0a88f93bac6111e3f1e117db4
Signed-off-by: KP, Jeeja <jeeja.kp@intel.com>
Signed-off-by: Arulselvan M <arulselvan.m@intel.com>
Reviewed-on: http://android.intel.com:8080/39380
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramesh Babu K V [Thu, 8 Mar 2012 11:05:53 +0000 (16:35 +0530)]
audio:asoc machine driver for gilligan island board
BZ: 26074
This patch adds new asoc machine driver for gilligan
island board. Gilligan island board has on board AMIC
and doesn't have any DMIC.
This patch disables the pins that are not connected on
the board.
Change-Id: I8261661cd66911e035c77bde57936f8c856be6ed
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/38008
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramesh Babu K V [Thu, 8 Mar 2012 11:01:24 +0000 (16:31 +0530)]
audio:[WORKAROUND]swap amic bias in codec driver
BZ: 26685
This patch is a work around fix for a HW bug in GI PR1.x boards.
The GI boards has amic bias lines are swapped.
Bug 26790 is used to track the HW fix for this issue.
This patch should be reverted once the HW bug is fixed.
Change-Id: Id999445ef66c9f82661acb4a961e61221182a55b
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/38007
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Vaibhav Agarwal [Thu, 15 Mar 2012 13:23:32 +0000 (18:53 +0530)]
Audio: Correct mapping for VSP right MUX
BZ: 27435
Incorrect mapping exist for VSP right mux. This caused uplink
not working with Headset plugged-in
The solution is to modify these mapping to correct ones.
Change-Id: I823eb8bd075c2584e6b1d4fa83b2d2ee9b4429a6
Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@intel.com>
Reviewed-on: http://android.intel.com:8080/39256
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Babu, Ramesh <ramesh.babu@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pierre Tardy [Wed, 14 Mar 2012 08:52:26 +0000 (09:52 +0100)]
AndroidKernel.mk: Make kernel build dep on minigzip
BZ: 26498
minigzip has better performance related to incrementatl image generation
Change-Id: I63af0b848967857fadc4ce670f3586f03f2db4b8
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Reviewed-on: http://android.intel.com:8080/38987
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
KP, Jeeja [Mon, 12 Mar 2012 23:25:33 +0000 (04:55 +0530)]
audio: Enable Vibra for CTP
BZ: 27048
Added Vibra Driver for enabling Vibra on CTP.
PWM generator is in the Cloverview SOC. Before turn off clock for audio
fabric the PWM generator must be disabled.
Vibra driver will be registered as the PCI device for Handling the PM.Currently
the PCI_ID for vibra driver is not yet released.
This patch will have workaround to configure the PWM generator as part of
SST driver. This will be Fixed when IFWI with PCI for vibra is released.
Change-Id: I65d77dd2d87bc9373926b39943c5193fc438ca62
Signed-off-by: KP, Jeeja <jeeja.kp@intel.com>
Reviewed-on: http://android.intel.com:8080/38378
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Hong Liu [Tue, 6 Mar 2012 09:04:29 +0000 (17:04 +0800)]
hwmon/ltr502als: add shutdown method
BZ: 10605
Shutdown the device during system reboot, in some circumstances if system
is doing reboot while device is power on, the device may enter into unknown
state, not acking any i2c transactions. Shutdowning the device seems help
to avoid this issue.
Change-Id: I2b6b6b5924a8aeffba06cabd32ac92984b1249e8
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/37762
Reviewed-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramesh Babu K V [Fri, 10 Feb 2012 17:15:50 +0000 (22:45 +0530)]
[PORT FROM R2]audio: sn95031: modify PCM2 enabling sequence
BZ: 24696
PCM2 port enabling sequence is changed. PCM2 port is enabled after enabling
the DMIC clock and other widgets.
Also converted some msleep() to usleep_range() since msleeps below 20 ms are not
guaranteed.
Change-Id: I565172acdabd1934a50dd178e086231a659ed8bc
old-Change-Id: Ic3bd318c9a10d102e2c818429e4c63eb5ff2290a
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/38989
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Omair Mohammed Abdullah [Tue, 6 Mar 2012 11:02:09 +0000 (16:32 +0530)]
audio: Fix concurrency issues while calling snd_soc_dapm_sync()
BZ: 20570
A list structure in the ASoC core was getting corrupted resulting in kernel
panic. This was due to concurrent access to the list data structure from two
code locations.
Calls to snd_soc_dapm_sync() which accesses this data structure were not
protected. Added proper locking to fix the issue.
Change-Id: Ibb344d5a1070bc08bd200b15e9d6f99fc8d415f9
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/37687
Reviewed-by: Saripalli, Ramakrishna <ramakrishna.saripalli@intel.com>
Reviewed-by: Babu, Ramesh <ramesh.babu@intel.com>
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: R, Dharageswari <dharageswari.r@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramesh Babu K V [Tue, 28 Feb 2012 15:36:40 +0000 (21:06 +0530)]
audio:add support for mono speaker
BZ: 23041
This patch adds support for mono speaker configuration
using runtime sst params.
If particular board has mono speaker, kernel config
SND_MFLD_MONO_SPEAKER_SUPPORT needs to selected to enable
the mono speaker support.
Change-Id: I3084772106669c129c426981c140b60afe658d41
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/36911
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Lokesh Gupta [Wed, 7 Mar 2012 17:02:44 +0000 (17:02 +0000)]
[PORT FROM R2] atomisp: CSS/FW release from Synergy baseline of 07Mar2012
BZ: 27375
This release of CSS/FW addresses the following issues:
- Enable MACC in preview
- New 3A statistics for R2
Change-Id: I6109898ccefc6bfb0e2d0bf44d2958e412afadf2
Orig-Change-Id: Id0e3db83b9173af0f396104456d528cbb8f6250e
Signed-off-by: Lokesh Gupta <lokesh.gupta@intel.com>
Reviewed-on: http://android.intel.com:8080/38974
Reviewed-by: Sutic, Aleksandar <aleksandar.sutic@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Robert Jong-A-Lock [Thu, 8 Mar 2012 23:47:16 +0000 (00:47 +0100)]
[PORT FROM R2] sh_css: fix improper bayerorder cropping
BZ: 27375
bayer order is matched to the isp's native bayer order by
cropping off a line or column or both dependant on the
bayer pattern chosen. This cropping was not done properly.
Change-Id: I6f267758943eb8948cabc373c1918e015271b5e9
Orig-Change-Id: Ieca6672f8db70084f5c59d596007960b3e33a35c
Reviewed-on: http://android.intel.com:8080/38973
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Hong Liu [Wed, 14 Mar 2012 06:06:26 +0000 (14:06 +0800)]
max11871: add firmware update logic
BZ: 27410
New driver drop from Maxim to add firmware update code during driver
init phase.
Change-Id: I8c43f004fc5ae82534d545725acbf8ced4cdda76
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/37918
Reviewed-by: Yan, Leo <leo.yan@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Leo Yan [Wed, 14 Mar 2012 09:17:33 +0000 (17:17 +0800)]
ltr502als.c: Change the ALS's first interrupt delay
BZ: 26367
In a dim environment, ALS need much more time to trigger the first
interrupt than in a bright environment when it's enabled. So we need
to increase the delay time to avert that delayed work reports a zero
if the device is not in a dark environment.
Change-Id: Ie45b8731d2b9a23a4512eb4a8150106008cbe079
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/38788
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Leo Yan [Tue, 13 Mar 2012 05:39:07 +0000 (13:39 +0800)]
ltr502als.c: Modify the way to change the config register
BZ: 26351
When change the device mode, we need to set the CONFIG REG to idle mode
first to disable interrupt. Otherwise, some interrupts may be triggered
abnormally during the mode switch.
Change-Id: I67792fce52fc1377aed9b5316b84a122451c7fde
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/38779
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Geng Xiujun [Thu, 23 Feb 2012 06:10:31 +0000 (14:10 +0800)]
GFX-Display: Set backlight duty factor to 127 for DV10
BZ: 24890
From panel spec, we don't found exact saying about maximum value of backlight
duty, but per the debug resust, when set it to 127 instead of 255, it can work.
Change-Id: Ide08eb912f1e6e4882db4630c68ef181b815ed12
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/36338
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Tong, BoX <box.tong@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ke Ai [Fri, 9 Mar 2012 01:18:33 +0000 (09:18 +0800)]
GFX-Display: change GI PWM frequnce to 1KHZ.
BZ: 26690
the orginal is 20KHZ, which cause backlight to
filker when display not at 100%.
Num of PWM / 1frame = (BCFRQSEL + 1) * 2 ^ BL_DIMM_STEP
here set BCFRQSEL = 16 ==>
00010000
BL_DIMM_STEP = 1 ==> 000
Change-Id: Ia9329f8bbbe3b72d887366a9af89fbacd7feb523
Signed-off-by: Ke Ai <ke.ai@intel.com>
Reviewed-on: http://android.intel.com:8080/38042
Reviewed-by: Tong, BoX <box.tong@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tong, Bo [Wed, 14 Mar 2012 04:54:28 +0000 (12:54 +0800)]
Port a bunch of patches from R2
BZ: 17008
This patch includes below bug fixing
0001-HDMI-Fix-the-unnecessary-encoder_restore-action.patch: BZ: 20187
0002-GFX-Display-Fix-charging-screen-mess-issue.patch: BZ: 19361
0003-GFX-DISPLAY-fix-lock-screen-flip-issue-when-audio-is.patch: BZ: 20293
0004-GFX-Display-Add-support-for-some-modes-in-video-data.patch: BZ: 22978
0005-GFX-DISPLAY-improve-mipi-panel-init-stability.patch: BZ: 23028
0006-Display-HDMI-do-audio-busy-check-in-psb_runtime_susp.patch: BZ: 19448
0001-Revert-GFX-display-Audio-can-t-play-on-hdmi-after-su.patch: Orig-patch: 32311
Change-Id: Iab06b59e4b6bd0e895658278fbd81f350ed5a3f1
Signed-off-by: Tong, Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/35365
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wu, Hao [Mon, 12 Mar 2012 08:36:03 +0000 (16:36 +0800)]
usb/penwell_otg: stop ULPI polling when in test mode
BZ: 26716
ULPI Polling will fail and cause HW/SW reset once entered test
mode, so when it entered test mode, then notify penwell_otg to
stop ULPI polling.
Change-Id: I477b39ac9cd01a4baf8f848c323f703a3c6a114a
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/38322
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Li, Wenji <wenji.li@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: Saripalli, Ramakrishna <ramakrishna.saripalli@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wu, Hao [Thu, 8 Mar 2012 12:36:31 +0000 (20:36 +0800)]
usb/penwell_otg: extend ulpi access timeout value
BZ: 26396
This patch extends the ulpi access timeout to 2ms, as we found sometime
the ulpi access response is slow and cause unexpected timeout event.
The unexpected timeout event will cause USB HW/SW stack reset and make
some compliance test failed due to reset.
Change-Id: I03a54e9f8329ae116d81f18954130b9da64847f2
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/37985
Reviewed-by: Li, Wenji <wenji.li@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Durgadoss R [Mon, 5 Mar 2012 10:52:54 +0000 (16:22 +0530)]
[Kernel] Kobject_uevent: Fix Netlink error handling
BZ: 26259
kobject_uevent() uses a multicast socket and should ignore
if one of listeners cannot handle messages or nobody is
listening at all. The upstream commit id is:
ebf4127cd677e9781b450e44dfaaa1cc595efcaa
Change-Id: I51f3375e7b286200d41002bdca54cb080bcd0e62
Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Reviewed-on: http://android.intel.com:8080/37545
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Philippe Skowronski [Mon, 12 Mar 2012 13:06:27 +0000 (14:06 +0100)]
pci_quirks: adding D0i1 support for HSU on CLV. [REVERT ME]
BZ: 26448
Change-Id: I0f3028ecd5be07490ecf6d0e6e90add1e946e802
Signed-off-by: Philippe Skowronski <philippe.skowronski@intel.com>
Reviewed-on: http://android.intel.com:8080/38354
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
santosh [Wed, 14 Mar 2012 14:36:35 +0000 (10:36 -0400)]
[PORT FROM R2]Battery : Program PWRSRCLMT based on SFI Table
BZ: 23370
Program PWRSRCLMT based on SFI table value and report NOT CHARGING if
temperature is greater than the allowed thresholds and charger is
connected
Change-Id: I2689766fb620ee2e5159a23bab96c8c049acdb91
Orig-Change-Id: I43a19e809ed6b354b5c4ce9b74c587e0964b01b5
Signed-off-by: debalina <debalinax.mitra@intel.com>
Signed-off-by: santosh <santoshx.gugwad@intel.com>
Reviewed-on: http://android.intel.com:8080/38991
Reviewed-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
santosh [Wed, 14 Mar 2012 12:32:54 +0000 (08:32 -0400)]
[PORT FROM R2]max17042: To fix fuel gauge reporting full @ 72%
BZ: 24327
This patch sets the cycles parameter to restored value to avoid wrong
learncfg configuration. Changes suggested in new implementation guide
for calculating remaining capacity are also present.
Change-Id: I4f34cebcb01cb69d3b572397e1bfd6a510f398d7
Orig-Change-Id: I40ef4be0013cc7e4799bcaa28efd4d2239c0b7c2
Signed-off-by: yashodhan kurtadkar <yashodhan.kurtadkar@intel.com>
Signed-off-by: santosh <santoshx.gugwad@intel.com>
Reviewed-on: http://android.intel.com:8080/38963
Reviewed-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Lassi Väätämöinen [Tue, 13 Mar 2012 12:47:40 +0000 (14:47 +0200)]
atomisp: fixes Klocwork issues
BZ: 24562
Fixes Klockwork issue #114398, which are under atomisp driver.
The case #114393 is a false positive, and is omitted.
The case #114433 is under V4L2 subsystem, and should not be
addressed by us.
Change-Id: I20a1370c600ce63e25a5ba9e9fc2958c6adbf9ec
Signed-off-by: Lassi Väätämöinen <lassix.vtminen@intel.com>
Reviewed-on: http://android.intel.com:8080/36576
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Reviewed-by: Sutic, Aleksandar <aleksandar.sutic@intel.com>
Reviewed-by: Mandy, Arnaud <arnaud.mandy@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ilkka Koskinen [Fri, 2 Mar 2012 13:36:42 +0000 (15:36 +0200)]
atomisp: Make sure acceleration fw gets freed when closing the device
BZ: 15864
In the case the client has requested to load acceleration firmware but
hasn't asked to unload it before closing the device, the resources
reserved for the fw haven't been released.
Change-Id: I23a9832167392dea4b2c4211202a8c95b36d3251
Signed-off-by: Ilkka Koskinen <ilkka.koskinen@intel.com>
Reviewed-on: http://android.intel.com:8080/36863
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Fri, 24 Feb 2012 14:17:58 +0000 (16:17 +0200)]
atomisp: lock isp_lock when access to ACC FW container
BZ: 25527
This patch does following things.
It protects the ACC FW container by setting isp_lock everywhere. Unfortunately
we need to hold a global lock (isp_lock) during access and handling the ACC FW
item, because __acc_fw_free() invalidates a FW as well. In the future we need
to split container lock and the item locks.
It moves lock outside atomisp_acc_fw_alloc() and renames it to
__acc_fw_alloc().
Change-Id: If8ce9cedf381954d0dffd566c325f5ca5592e79b
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/36869
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Wed, 29 Feb 2012 11:53:21 +0000 (13:53 +0200)]
atomisp: display an error message if ISP power cycling fails
BZ: 25735
AtomISP driver resets ISP by power cycling it. This patch encapsulates
the resetting into a new function which checks if the power management
functions failed, and if so, displays an error message.
Change-Id: I248fe7eeeaf8c363e09e17287a812e9aab82463c
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/37223
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Brian Wood [Tue, 6 Mar 2012 22:33:37 +0000 (14:33 -0800)]
MFLD_DV10: Camera sensor GPIO and SFI touchscreen change
BZ: 27297
This commit has changes for camera sensor GPIO needed
that differ from PRx phones in their IFWI SFI table.
This is contains the removal of the touchscreen manual
enablement that is now in latest IFWI.
Change-Id: Ideafded12f854230b33ae907b724a2ffdd9a9580
Signed-off-by: Brian Wood <brian.j.wood@intel.com>
Reviewed-on: http://android.intel.com:8080/37757
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Xu, Feng [Fri, 9 Mar 2012 08:48:55 +0000 (16:48 +0800)]
[PORT FROM R2]Fix spinlock holes in tty_buffer.c
BZ: 26164
The tty_buffer_request_room is well protected, while after it return,
it release the port->lock, so the buf.tail is not protected.
Change-Id: I302f78b42c297e16ccf3b93a78254cc3f900326f
Orig-Change-Id: I0e5571803993a436316702b39cf987af1d2a2415
Signed-off-by: Even Xu <feng.xu@intel.com>
Reviewed-on: http://android.intel.com:8080/38084
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Xu, Feng [Fri, 9 Mar 2012 07:35:29 +0000 (15:35 +0800)]
[PORT FROM R2]HSU Driver: fix possible memory leak
BZ: 26435
In hsu_startup function, DMA buffer was allocated. while in
hsu_shutdown function, the allocated buffer is not free. So
potentially this will cause memory leak.
Change-Id: I706eab1dafcc728a77f38fca8b3253e6b46bd37f
Orig-Change-Id: I85a03246fcaa6a85b8ba8d254b8b4684036355f6
Signed-off-by: Even Xu <feng.xu@intel.com>
Reviewed-on: http://android.intel.com:8080/38074
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Protat, RemyX [Tue, 13 Mar 2012 15:37:46 +0000 (08:37 -0700)]
Revert "Revert "Graphic: Critical Klocwork issues for ICS kernel""
BZ: 23906
This reverts commit
bf34e28aebd941e61fb080674a77a30f13e9a848
Change-Id: Ic05ad95627d2a541f493bb5a27a124ea463bd19b
Signed-off-by: Remy Protat <remyx.protat@intel.com>
Reviewed-on: http://android.intel.com:8080/38876
Protat, RemyX [Mon, 12 Mar 2012 15:34:30 +0000 (08:34 -0700)]
Revert "Graphic: Critical Klocwork issues for ICS kernel"
BZ: 23906
This reverts commit
dbdd38c317a0754ea95129e974780c952028bb61
Change-Id: Ia84b6aeffdaf8e1ff7d324ebb6b7d5df74bd8190
Signed-off-by Protat, RemyX<remyx.protat@intel.com>
Reviewed-on: http://android.intel.com:8080/38372
Reviewed-by: Protat, RemyX <remyx.protat@intel.com>
Tested-by: Protat, RemyX <remyx.protat@intel.com>
Gurumurthy Gowdar [Thu, 8 Mar 2012 17:57:00 +0000 (23:27 +0530)]
Battery: Fix for reporting charger health DEAD when VBUS is low
BZ: 22487
This patch reports charger health as DEAD,when VBUS voltage is low
connected through DCP using external power supply
Change-Id: I4e8039fad2ecc6716d83d303a4baa091eb89d0b3
Signed-off-by: Gurumurthy Gowdar <gurumurthyx.gowdar@intel.com>
Reviewed-on: http://android.intel.com:8080/37981
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Tested-by: Gugwad, SantoshX <santoshx.gugwad@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Li Wenji [Fri, 2 Mar 2012 03:52:06 +0000 (11:52 +0800)]
langwell_udc: STALL the bad setFeature/clearFeature request
BZ: 26747
As the USB spec request, a SetFeature() or ClearFeature() that
references a feature that cannot be set or that does not exist
should causes STALL to be returned in the Status stage of the
request.
Change-Id: I118d32bd7e5f4e66f4c23d109c9186c8898657a7
Signed-off-by: Li Wenji <wenji.li@intel.com>
Reviewed-on: http://android.intel.com:8080/37939
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Saripalli, Ramakrishna <ramakrishna.saripalli@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: Wu, Hao <hao.wu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Christophe Continente [Mon, 12 Mar 2012 12:44:48 +0000 (13:44 +0100)]
REVERT-ME [DV10] TS is not available
BZ: 27092
till IFWI_04 delivery, TS must be hardcoded into the board-redridge.c file.
Change-Id: If9d1790b5eb1a65cc1ad15ed234b89100ab9a664
Signed-off-by: Christophe Continente <christophe.continente@intel.com>
Reviewed-on: http://android.intel.com:8080/38350
Reviewed-by: Seibel, Eric <eric.seibel@intel.com>
Tested-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Wed, 7 Mar 2012 09:18:08 +0000 (11:18 +0200)]
ov8830: adjust exposure time to prevent over-exposure in office
BZ: 26645
Adjust exposure time for typical office day environment.
Change-Id: Iba071287c26cd40c047f08abf28f54d3ad7f03b4
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/37843
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Wed, 7 Mar 2012 12:36:29 +0000 (14:36 +0200)]
ov8830: adjust manual white balance gains
BZ: 26645
Adjust white balance gains to red: 1.43 green: 1.0 blue: 1.56
Change-Id: I869f4ead72f0164be17d74c0f501ec6ac4972bea
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/37842
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Wed, 7 Mar 2012 11:41:31 +0000 (13:41 +0200)]
ov8830: enlarge maximum resolution by using dummy pixels
BZ: 26638
The nominal 8 Mpix resolution for ov8830 is 3264x2448. However,
the ISP is cropping some pixels away from this which makes
the maximum resolution visible to application less than the
nominal resolution. This patch increases the maximum resolution
mode for ov8830 by 16 pixels by including dummy pixels around
the active image area so that the nominal resolution is maintained
after ISP cropping.
Change-Id: I9ff9d75ebb31f972512463ca69e725ea3a9d9a4e
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/37838
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Tue, 6 Mar 2012 11:34:26 +0000 (13:34 +0200)]
ov8830: fix the maximum resolution
BZ: 26431
Fix the maximum resolution that the sensor driver reports
Change-Id: Ie3b036a32e72861f210058f9fed093ced0d5e03a
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/37719
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Thu, 23 Feb 2012 09:36:54 +0000 (11:36 +0200)]
ov8830: adjust ov8830_mode_1600 PLL settings from 24 MHz to 19.2 MHz
BZ: 25738
Change-Id: I3e67c027e8d34f0473cc49ed9c67f2da6470edbb
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/37225
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Thu, 23 Feb 2012 09:13:21 +0000 (11:13 +0200)]
ov8830: add sensor mode 1600x1200 with binning
BZ: 25738
Add mode 1600x1200. The mode assumes 24 MHz clock which is wrong.
Correct this in later patches.
Change-Id: I930c41b111da9b6bc1343e4ecdfed0d16c3086d8
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/37224
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Mark F. Brown [Thu, 1 Mar 2012 21:50:00 +0000 (13:50 -0800)]
spi: intel_mid_ssp_spi device header moved to include/linux/spi
BZ: 25983
intel_mid_ssp_spi.h contains public structure: struct intel_mid_ssp_spi_chip
The header needs to be located in the include/linux/spi directory
Added includes for header dependencies
Change-Id: I52fcfda28d89ceca0113e9497028bfa7769dca22
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Reviewed-on: http://android.intel.com:8080/37360
Reviewed-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Mark F. Brown [Thu, 1 Mar 2012 21:59:29 +0000 (13:59 -0800)]
spi: support for intel_mid_ssp_spi for tangier simulation
BZ: 25983
The tangier simulator has some quirks that need to be accounted for:
Broken interrupt status handling
Broken PCI config space setting
Change-Id: Ifc02b2ae0d1db9bc2c9d65eb6a37ca49416bcf85
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Reviewed-on: http://android.intel.com:8080/37361
Reviewed-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Mark F. Brown [Thu, 1 Mar 2012 22:09:07 +0000 (14:09 -0800)]
serial: max3110 does not require dw pci spi controller
BZ: 25983
Works on Bulverde SSP controller as well
Change-Id: I0727e83c47b24b07d0ef47a7f7718d00f092c5ce
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Reviewed-on: http://android.intel.com:8080/37362
Reviewed-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Mark F. Brown [Thu, 1 Mar 2012 22:10:43 +0000 (14:10 -0800)]
serial: resolved race condition between spi transfers
BZ: 25983
There is a race between termios configuration and xmit that can cause the
intel_mid_ssp_spi driver to stall.
Serializing spi transactions fixes the problem.
Change-Id: I42204edbad571d109840eaab2ffcc884e8890885
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Reviewed-on: http://android.intel.com:8080/37363
Reviewed-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Mark F. Brown [Thu, 1 Mar 2012 22:13:59 +0000 (14:13 -0800)]
merrifield: added board-vp support for SSP UART
BZ: 25983
There are special requirements for tangier simulation:
DMA is disabled
PCI capability ADID value (Bus number) is wrong in simulator
SFI entry needs to be overridden
Change-Id: I7a1c27d2898ec8bb962999c7f21b8f85ca1911e3
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Reviewed-on: http://android.intel.com:8080/37364
Reviewed-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Mark F. Brown [Fri, 2 Mar 2012 01:30:03 +0000 (17:30 -0800)]
merrifield: framebuffer support for tangier simulator
BZ: 25997
Change-Id: Id4d2c590c5ea799dbf0db9e278d2c7061ab8ed16
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Reviewed-on: http://android.intel.com:8080/37365
Reviewed-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Mark F. Brown [Fri, 2 Mar 2012 06:30:53 +0000 (22:30 -0800)]
merrifield: added defconfig
BZ: 26035
Change-Id: Ie9efff9e282422b5fff20de11d414b5ff2cfaf6d
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Reviewed-on: http://android.intel.com:8080/37366
Reviewed-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Bin Gao [Fri, 9 Mar 2012 01:58:02 +0000 (17:58 -0800)]
merrifield: added early printk support for debug UART
BZ: 25951
Currently we have 3 types of early printk consoles: max3110 SPI-UART, HSU and PTI.
PTI is awlays supported because it's a Soc debugging feature.
HSU is always supported but also depends on board design. Some boards don't have
HSU UART pins routed to the connector so we can't use it.
Max3110 SPI-UART is a stand-alone chip with SPI interface located in the debug card.
Drivers can access to this chip via Soc's SPI controller or SSP controller(working
in SPI mode).
Previously for mrst, mdfld and clv, max3110 was connected to SPI controller,
but for mrfld, max3110 is connected to SSP controller. This patch is to enable the
early printk console via the SSP controller.
Change-Id: I8ea0e39cd0cb1f2eca3785854fed878f46d9aa1d
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Signed-off-by: Claude Brouat <claude.brouat@intel.com>
Signed-off-by: Bin Gao <bin.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/37359
Reviewed-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Mark F. Brown [Fri, 24 Feb 2012 02:07:06 +0000 (18:07 -0800)]
merrifield: initial platform code
BZ: 25129
INTEL_MID_CPU_CHIP_TANGIER support added
mrfl soc platform specific code added
board-vp virtual platform specific code added
apb timers are deprecated in tangier
Change-Id: I5d5230e6ba78662e9d43bd11ba2d062ebc782255
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Reviewed-on: http://android.intel.com:8080/36583
Reviewed-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Vinod Koul [Mon, 6 Feb 2012 05:46:08 +0000 (11:16 +0530)]
[PORT FROM R2]audio: add codec control for high perf mode
BZ: 21177
This patch add a new kcontrol for configuring the high perfomance mode for
codec. This control should be set for high_prof mode to get bettr audio quality
and in low_power mode for getting better battery life.
Setting hp mode for simultanoesu routing (in codec) to both headset and speaker
doesnot work. It will work only in lp mode.
Change-Id: I7026c572a0a330c5a324a6ad3700bdf34ac88a3c
Old-Change-Id: I7a46ad9a57662216ee49decef1b0eccb74e86fa1
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/37816
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Norvin Shuster [Wed, 29 Feb 2012 19:06:17 +0000 (11:06 -0800)]
Disk Encryption: Enable software file system encryption
BZ: 25592
Include device-mapper and SHA256 and CBC crypto modes to support
User File system encryption use case.
Change-Id: I4b2e74cdc45df1c2abc982f5af591ccd7dd06f2d
Signed-off-by: Norvin Shuster <Norvin.Shuster@intel.com>
Reviewed-on: http://android.intel.com:8080/37062
Reviewed-by: Shuster, Norvin <norvin.shuster@intel.com>
Reviewed-by: Saripalli, Ramakrishna <ramakrishna.saripalli@intel.com>
Reviewed-by: Allyn, Mark A <mark.a.allyn@intel.com>
Reviewed-by: Mangalampalli, Jayant <jayant.mangalampalli@intel.com>
Tested-by: Mangalampalli, Jayant <jayant.mangalampalli@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Fabien Peix [Tue, 6 Mar 2012 15:11:23 +0000 (16:11 +0100)]
FM: driver clean-up
BZ: 26486
This patch adresses some formatting issues in vanilla TI FM driver.
- Remove magic numbers when possible
- Remove C99 style comments
- Rename poorly named defines
Change-Id: I22249c3b4f4e99521b486d7e6fdec644a85860fe
Signed-off-by: Fabien Peix <fabienx.peix@intel.com>
Reviewed-on: http://android.intel.com:8080/37728
Reviewed-by: Suet, Nicolas <nicolas.suet@intel.com>
Reviewed-by: De Cesco, Jonathan <jonathan.de.cesco@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Zurmely, PierreX <pierrex.zurmely@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Fabien Peix [Thu, 16 Feb 2012 10:23:18 +0000 (11:23 +0100)]
FM: linux drivers media wl128x TIFM radio
BZ: 26051
FM radio driver from TI delivered on 2012/01/08.
Change-Id: I6a4ce26c4668fb2803319030c2d611507b022563
Signed-off-by: Fabien Peix <fabienx.peix@intel.com>
Reviewed-on: http://android.intel.com:8080/35585
Reviewed-by: Suet, Nicolas <nicolas.suet@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Zurmely, PierreX <pierrex.zurmely@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wu, Hao [Thu, 16 Feb 2012 09:40:08 +0000 (17:40 +0800)]
usb/penwell_otg: charging notification api changes for CLV
BZ: 23221
As power_supply interface updated, so USB OTG driver can use unified
interfaces to notify battery charger events and charging current
limitation.
Change-Id: I752624094f16461a5bed909889c177f4c62078ea
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/34867
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Pandey, Raj <raj.pandey@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pandey Raj [Mon, 5 Mar 2012 12:25:10 +0000 (17:55 +0530)]
EM/Charger: sysfs reflecting charger type as USB_DCP for wall charger
BZ: 25505
Added the code to reflect the charger type as USB_DCP when wall charger
is connected to differentiate between the different type of USB chargers.
Change-Id: Ic3f5bcf993500456b4b93143f795439a848f606a
Signed-off-by: Pandey Raj <raj.pandey@intel.com>
Reviewed-on: http://android.intel.com:8080/37551
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Natarajan, SaravananX <saravananx.natarajan@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
luliuhui [Thu, 8 Mar 2012 02:35:26 +0000 (10:35 +0800)]
Graphic: Critical Klocwork issues for ICS kernel
BZ: 23906
Revise NULL pointer dereferenced issues in kernel.
Revise buffer overflow issues in kernel.
For kw scan round #47.
Change-Id: I84323877ef00983e1cf5e43c580904945d8b9f2b
Signed-off-by: luliuhui <liuhui.lu@intel.com>
Reviewed-on: http://android.intel.com:8080/37895
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Fei Yang [Fri, 17 Feb 2012 01:56:06 +0000 (17:56 -0800)]
[PORT FROM R2]: porting two patches from R2.
BZ: 23292
1. Decrease TS:cyttsp refresh inteval for lower power consumption.
Author: Fengwei Yin <fengwei.yin@intel.com>
2. ipvs: use deferrable timers to avoid frequent wake-up.
Author: Pierre Tardy <pierre.tardy@intel.com>
Change-Id: Ibced86bcc71bc7eb556b5f940b56b0a43c79df70
Signed-off-by: Fei Yang <fei.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/36623
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Fei Yang [Tue, 28 Feb 2012 01:46:27 +0000 (17:46 -0800)]
CONFIG: CONFIG_HZ=100
BZ: 25011
Set CONFIG_HZ=100 and CONFIG_HZ_100=y
Change-Id: Ibc632e978a35c25979b4c237d70267661f60c6da
Signed-off-by: Fei Yang <fei.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/36808
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Zhang, Yanmin <yanmin.zhang@intel.com>
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: Nallasellan, Singaravelan <singaravelan.nallasellan@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: Iyer, Sundar <sundar.iyer@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Cheon-Woei Ng [Sat, 3 Mar 2012 01:49:36 +0000 (17:49 -0800)]
Critical Klocwork issues for KERNEL domain
BZ: 23909
Fix critical Klocwork issues in codes assigned to the KERNEL domain. Only Intel owned codes are fixed.
Change-Id: Icfab0c529294580d60f9a0e6fc87b4f2e1be9b17
Signed-off-by: Cheon-Woei Ng <cheon-woei.ng@intel.com>
Reviewed-on: http://android.intel.com:8080/37474
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ke Ai [Fri, 24 Feb 2012 09:27:08 +0000 (17:27 +0800)]
GFX-Display: fix CTP PR1.0 brighness and suspend
BZ: 25004
1.After MIPI port enable and video mode timing working,
we are better use HS to send command.
in logic LP also should be ok in burst mode, however,
it is more difficlt to control. now chang to use HS.
2.for suspend case, also has the same problem
when video mode working, we need use HS to turn on/off panel,
3. we need enable GFX_RTPM if we want to suspend our display
controller, so we need open this flag for CTP
4. Don't reset the CMI MIPI panel when resuming.
Change-Id: Ia1252139e7cae16868ede534fe15b55d0a0dc769
Signed-off-by: Ke Ai <ke.ai@intel.com>
Signed-off-by: Austin Hu <austin.hu@intel.com>
Reviewed-on: http://android.intel.com:8080/36523
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Fei Yang [Wed, 7 Mar 2012 17:31:30 +0000 (09:31 -0800)]
CONFIG: Enable hyperthreading scheduler support
BZ: 25012
Set CONFIG_SCHED_SMT=y
Change-Id: Ia71c70b73d26d98a7e048b6f06e501c747da322e
Signed-off-by: Fei Yang <fei.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/37870
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Faouaz TENOUTIT [Mon, 27 Feb 2012 18:55:46 +0000 (19:55 +0100)]
HSI eDLP protcol delivery (20-24 February INTEG CAMP outcome)
BZ: 24995
- Fix the boot crash/freeze (lock/unlock inconsistancy)
- Improve the modem reset mngt (Wait for modem reset)
- Remove the debug capability to the HSI controller
- Put the HSI Power management under DLP switch
Faouaz TENOUTIT <faouazx.tenoutit@intel.com>
Change-Id: I24e4fc288ce81d28e9b95f48b076f3ea6ae77a89
Signed-off-by: Faouaz TENOUTIT <faouazx.tenoutit@intel.com>
Reviewed-on: http://android.intel.com:8080/36786
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: Roulliere, Pierre <pierre.roulliere@intel.com>
Reviewed-by: Lebsir, SamiX <samix.lebsir@intel.com>
Tested-by: Lebsir, SamiX <samix.lebsir@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Youvedeep Singh [Thu, 8 Mar 2012 16:40:16 +0000 (22:10 +0530)]
mfld-pmu: [REVERT ME] Ignoring UART0/1/2 on CVT platform to avoid BT Hang.
BZ: 26604
This Patch is to Ignore D0ix requests from UART0/UART1/UART2.
Currenlty Platform is getting Fabric error when Bluetooth is turned ON/OFF.
All UART0/1/2 are under lss41, So it ignores all devices under lss41.
Change-Id: I510c5054da97a1b1b1470733fbc8ad112b7cb259
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/37836
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Pathak, Asutosh <asutosh.pathak@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Seema Pandit [Wed, 29 Feb 2012 19:26:15 +0000 (11:26 -0800)]
Change display KSEL based on config option CTP_CRYSTAL_38M4.
BZ: 25776
For cloverview+, 19.2 MHz crystal plan to be used. With cloverview A0
38.4 MHz crystal being used. Change display KSEL based on kernel config
option CTP_CRYSTAL_38M4. With 19.2 MHz. HDMI clock needs to be hardcoded
due to some regression, to be fixed later.
Change-Id: I537fae5ea52535e55998e8a86befa1e1a0599f8b
Signed-off-by: Seema Pandit <seema.pandit@intel.com>
Reviewed-on: http://android.intel.com:8080/37305
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Gao, Bin <bin.gao@intel.com>
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Reviewed-by: Tong, BoX <box.tong@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Leo Yan [Thu, 1 Mar 2012 02:43:43 +0000 (10:43 +0800)]
apds990x: Romove pm_runtime related code
BZ: 25809
Since we are using runtime early suspend/resume to do power management
now, pm_runtime functions are not necessary, remove them to simplify
the driver.
Change-Id: I9d88da9334238ceb951fdfd5a20f87d1007a4593
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/37167
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Leo Yan [Tue, 6 Mar 2012 02:48:06 +0000 (10:48 +0800)]
board-ctp.c: Add platform data of apds990x sensor
BZ: 26371
Since apds990x sensor driver is also for ctp platform, copy the
platform data from board-blackbay.c to board-ctp.c
Change-Id: Idc46833c7bc99974d5f9aa7bd443d0deafbffbc9
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/37634
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Vaibhav Agarwal [Tue, 6 Mar 2012 09:58:54 +0000 (15:28 +0530)]
Audio: Configure SSP3 for CTP in Audio driver
BZ: 25850
In Medfield, SSPx is configured by SCU FW. However, in CTP platform
it is not done.
The solution can be:-
CASE1:
If audio driver should not be involved in SSP3 ALT-FUNC config then
it has be to be done as follows:
- In IFWI UMIP header, configure the GPIO pins, so that IA FW sets the
corresponding FLIS registers.
- During Audio D0i3 entry/exit, SCU FW saves and restores these values.
CASE2:
- audio driver configures SSP3 ALT-FUNC in probe.
- During Audio D0i3 entry/exit, SCU FW saves and restores these values.
CASE3:
- audio driver configures SSP3 ALT_FUNC in probe and resume.
As a workaround solution for usecase integration, CASE3 is implemented.
If there is a power impact then we need to go for CASE1 or CASE2.
Change-Id: I13f92b9559f4efe27feb9bec926ddc88946e0e60
Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@intel.com>
Reviewed-on: http://android.intel.com:8080/37685
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Babu, Ramesh <ramesh.babu@intel.com>
Reviewed-by: Kp, Jeeja <jeeja.kp@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Hong Liu [Tue, 6 Mar 2012 01:55:18 +0000 (09:55 +0800)]
max11871: cleanup command sending code
BZ: 26386
Define a new structure to organize the command sending code, this is
helpful to code comprehension and maintainability.
Change-Id: Ib6273917c3fed284cc13472a4619d27225ce1b1f
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/37635
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Hong Liu [Fri, 2 Mar 2012 08:55:14 +0000 (16:55 +0800)]
max11871: replace private work queue with threaded irq
BZ: 26369
Using threaded irq to handle touch report instead of work queue.
Change-Id: Id827f09182e7a41ea3e9893b54cae9e3c5baf1b9
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/37625
Reviewed-by: Li, Jian D <jian.d.li@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Jason Hu [Thu, 1 Mar 2012 06:39:38 +0000 (14:39 +0800)]
GFX-Display: Avoid block in drm_wait_vblank().
BZ: 25652
When PipeB is power gated, we won't enable pipeb vblank interrupt
and wait vblank.
Change-Id: I02fbb83debc74e75fa7cac444acac3cb3d643809
Signed-off-by: Jason Hu <jason.hu@intel.com>
Signed-off-by: Jackie Li <yaodong.li@intel.com>
Reviewed-on: http://android.intel.com:8080/37190
Reviewed-by: Zhu, Tianyang <tianyang.zhu@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Jouni Hogander [Wed, 22 Feb 2012 16:13:17 +0000 (18:13 +0200)]
[PORT FROM R2]audio: sst: Fix sst_wait_timeout and replace sst_wait_interruptible_timeout
BZ: 24061 24813
sst_wait_timeout is improperly using wait_event_interruptible_timeout. Fix it to
use wait_event_timeout. Also, replace all usages of
sst_wait_interruptible_timeout with sst_wait_timeout since driver needs to wait
for reply from firmware in any case.
Change-Id: Ic67678ea020874f63c447d75695a9d5cd44060dc
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/36791
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Noziska, PatrickX J <patrickx.j.noziska@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shreyas Neerebailoor [Thu, 1 Mar 2012 09:52:54 +0000 (15:22 +0530)]
[PORT FROM R2]:HDMI-Audio: Avoiding infinite loop corner case during BUFFER_DONE event
BZ: 24383
During the reprogramming of the registers during BUFFER_DONE event
the loop iteration variable used is modified inside the loop which
in some case lead to an infinite loop. This condition is avoided
by using a temporary variable to hold the calculated value.
Change-Id: Icce13cf019c04a70673fa774c274937dec7c48ff
Signed-off-by: Shreyas Neerebailoor <shreyasx.neerebailoor@intel.com>
Reviewed-on: http://android.intel.com:8080/37244
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
John Mathew [Mon, 20 Feb 2012 14:29:07 +0000 (16:29 +0200)]
intel_idle: Show correct S & C states in pytimechart
BZ: 5160
Move the trace_cpu_idle from cpuidle.c to intel_idle.c
where the demotion may happen. Remove trace_power_start
and trace_power_end apis and they are deprecated.
Change-Id: Ia755bbe9559b92b60b5d0deef8193bfa33d7fb3b
Signed-off-by: John Mathew <john.mathew@intel.com>
Reviewed-on: http://android.intel.com:8080/35296
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
santosh [Tue, 28 Feb 2012 12:23:16 +0000 (17:53 +0530)]
[PORT FROM R2]Battery: Added a WA to retry reading fault status register
BZ: 22687
Due to MSIC HW bug, the charger fault register bits are not getting
updated immediately when the charging is enabled.
This patch adds a WA to retry the reading of charger fault register
before it report charger fault.
Change-Id: I56a5a0b40339b0881a185988f8e0ae1826403e46
Orig-Change-Id: I2235ac3a27072375e04e770ef4efe62ff9fa3260
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: santosh <santoshx.gugwad@intel.com>
Reviewed-on: http://android.intel.com:8080/36852
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Li, Ning [Thu, 1 Mar 2012 03:32:09 +0000 (11:32 +0800)]
pwm: enable pwm driver on CTP
BZ: 25800
enable CONFIG_MID_PWM on CTP.
Change-Id: I75a90965e64969a8b6c20de3839d3d259e269837
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/37166
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Li, Ning [Thu, 1 Mar 2012 03:27:31 +0000 (11:27 +0800)]
pwm: enable pwm driver on MFLD
BZ: 25800
enable CONFIG_MID_PWM on MFLD.
Change-Id: I02dde215b131ffeafc982c86d7c88912c0020b90
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/37165
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Li, Ning [Wed, 29 Feb 2012 06:56:40 +0000 (14:56 +0800)]
pwm: add PWM driver on CLV platform
BZ: 25800
On Clovertrail platform, Pulse Width Modulator driver needs to be
supported to control the LED brightness and etc. This patch adds
this driver and changes the interface in LED driver.
Change-Id: I6f7595188e4b3f632e2d1551c9f85715aa1d4b04
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/37161
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Prabu Renganathan [Fri, 2 Mar 2012 07:40:41 +0000 (15:40 +0800)]
max11871: fix calibration for x and y coordinates
BZ: 25967
x/y co-ordinates are marginally off
Change-Id: If4a9818088fd4186129e1060c0690408974299b3
Signed-off-by: Prabu Renganathan <prabu.renganathan@intel.com>
Reviewed-on: http://android.intel.com:8080/37307
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Brian Wood [Tue, 28 Feb 2012 00:05:12 +0000 (16:05 -0800)]
MFLD_DV10: Update to kernel for new IFWI
BZ: 24127
This commit removes the SFI device initialization code
needed for the touchscreen. This is now handled inside
the MFLD_DV10 IFWI as is done in the PRx platform devices.
This commit also contains a temporary workaround for
the front camera GPIO (176) not being setup by the IFWI
and put into the SFI table. Once IFWI handles this like
in the PRx phone IFWI this can be removed. For now I'm
adding this along with the above BZ, but it might get its
own and I'll link dependencies of BZ's.
Change-Id: I851ad9940b56abb0e4090b820d7b484b213c5a29
Signed-off-by: Brian Wood <brian.j.wood@intel.com>
Reviewed-on: http://android.intel.com:8080/36802
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Christophe Guerard [Fri, 2 Mar 2012 14:31:08 +0000 (15:31 +0100)]
[REVERT ME] Add traces in ap core dump creation
BZ: 25960
Change-Id: I6aa3c76218c169366222e1baf167db29dc4e0dc6
Signed-off-by: Christophe Guerard <christophe.guerard@intel.com>
Reviewed-on: http://android.intel.com:8080/37440
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
John Mathew [Thu, 23 Feb 2012 16:42:37 +0000 (18:42 +0200)]
Modem reset and crash dump signals should be active during suspend
BZ: 25010
In the file drivers/hsi/clients/hsl_ffl_tty.c the func enable_irq_wake
should be called for modem reset and crash dump interrupts as they are
gpios and need to be enabled during suspend.
Change-Id: I8fd666dc444b9d07bb2b8fed11b1fd9b169508f5
Signed-off-by: John Mathew <john.mathew@intel.com>
Reviewed-on: http://android.intel.com:8080/36436
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Roulliere, Pierre <pierre.roulliere@intel.com>
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: Lebsir, SamiX <samix.lebsir@intel.com>
Tested-by: Lebsir, SamiX <samix.lebsir@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Youvedeep Singh [Thu, 1 Mar 2012 19:10:19 +0000 (00:40 +0530)]
mfld-pmu: [REVERT ME] Ignoring D0ix from SPI1 and USB on CVT.
BZ: 24247
This patch is a part of PM Enabling on CVT.
This patch is a work around and will be removed later.
Prevents D0ix requests of SPI1 and USB to avoid platform hang at boot time.
USB - In case we do D0i1 we are getting hanged.
SPI - Hangs on FFRD device but does not hang on VV Board.
We are tracking these work arounds through BZ 24239 25894.
Change-Id: Icb99cb5439f85a209ab61ad9438905541106fd3c
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/37021
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Youvedeep Singh [Thu, 1 Mar 2012 18:32:07 +0000 (00:02 +0530)]
mfld-pmu: [REVERT ME] Acquiring Wake_lock to prevent S3 on CVT
BZ: 24247
This patch is a part of PM Enabling on CVT. As S3 is not enabled
on CVT platform, This Patch Acquires a wake_lock on CVT Platform
and will prevent platform to enter S3.
This Work around we are tracking through BZ 25898.
Change-Id: I47b713a85ef9e9f1bc3ba72b9f15559f343a6b69
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/37016
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Youvedeep Singh [Thu, 1 Mar 2012 17:22:37 +0000 (22:52 +0530)]
mfld-pmu: [REVERT ME] Enbaling PM ON Cloverview
BZ: 24247
This patch is a part of PM Enabling on CVT. This patch is a work around.
Currenlty Some of drivers are not implimented/integrated in CVT which
is causing the platform to hang at boot time.
We are Tracking this Work around thrpugh 25901.
Change-Id: I493fb3580f1e0d64321d825f82794b6b3bb0c927
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/35773
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Youvedeep Singh [Thu, 1 Mar 2012 17:01:24 +0000 (22:31 +0530)]
mfld-pmu: add pmu driver probe for Cloverview
BZ: 22963
add pmu driver support for CTP
Signed-off-by: Asutosh Pathak <asutosh.pathak@intel.com>
Signed-off-by: Prabu Renganathan <prabu.renganathan@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Change-Id: Id9055f7d193ef0e45e84d0ef6568cf83bddfcec6
Reviewed-on: http://android.intel.com:8080/34611
Reviewed-by: Singh, Youvedeep <youvedeep.singh@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Pathak, Asutosh <asutosh.pathak@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Mark Allyn [Thu, 23 Feb 2012 00:06:18 +0000 (16:06 -0800)]
Drivers: Staging: Sep: Fix klocworks in sep_trace_events.h
BZ: 23917
The trace header is no longer needed; it has been removed
Change-Id: Ib8bc387c4d08453416a72d95b9a4101e347ab97b
Signed-off-by: Mark Allyn <mark.a.allyn@intel.com>
Reviewed-on: http://android.intel.com:8080/36296
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Bin Gao [Wed, 29 Feb 2012 18:45:25 +0000 (10:45 -0800)]
intel_scu_ipc: Support 19.2M Hz crystal for CLV+ boards
BZ: 25776
CLV A0 boards have 38.4M Hz crystal.
Moving forward all CLV+ based boards will use 19.2M Hz crystal, the
same frequency with MDFLD.
To enable old CLV A0 boards, just enable CONFIG_CTP_CRYSTAL_38M4.
For new CLV+ boards, simply disable CONFIG_CTP_CRYSTAL_38M4.
Display, audio and camera are impacted from the crystal frequency
change because they use oscillator output clocks from the Soc.
Change-Id: I755a81c700f09a505b0a554b49be3ac07c7eb4f2
Signed-off-by: Bin Gao <bin.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/37049
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Mai, Leonard <leonard.mai@intel.com>
Reviewed-by: Pandit, Seema <seema.pandit@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Hong Liu [Thu, 1 Mar 2012 05:19:12 +0000 (13:19 +0800)]
max11871: switch to multi-touch protocol type B
BZ: 25701
Changing to type B simplifies touch reporting code, and also saves
kernel-userspace traffic.
Change-Id: I34f2c564e9eaf2431c8f92e8a200b4b7bfc26a0e
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/37178
Reviewed-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: Yan, Leo <leo.yan@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Hong Liu [Wed, 29 Feb 2012 09:13:24 +0000 (17:13 +0800)]
max11871: remove key handling code
BZ: 25701
Relying on virtual key handling in Android framework, driver doesn't
need to handle key event now.
Change-Id: If7fa9a4392bdc2d2517ce0ea7f2cc55294aaa8c7
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/36972
Reviewed-by: Yan, Leo <leo.yan@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Hong Liu [Mon, 27 Feb 2012 08:25:46 +0000 (16:25 +0800)]
max11871: add virtual key definition file
BZ: 25701
max11871 touch on GI uses virtual keys solution, add board property
file to define touch area for 4 function keys.
And disable touch event to key event translation inside driver.
Change-Id: I75f892674bea8e535c1840140796fccb98790f64
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/36971
Reviewed-by: Yan, Leo <leo.yan@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Hong Liu [Mon, 27 Feb 2012 08:20:41 +0000 (16:20 +0800)]
intel-mid: add an API to create board property file
BZ: 25701
Add an API to let device driver create needed board property file.
Board property files in Android should be added to /sys/board_properties/,
f.e virtual keys are defined as virtualkeys.<input_name>, with this file
android framework can translate touch event located in areas defined in this
file to corresponding key events.
Change-Id: I4db8c3baf0208b48e851ad0cd60f89a7602e984c
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/36970
Reviewed-by: Yan, Leo <leo.yan@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Christophe Guerard [Fri, 2 Mar 2012 11:41:18 +0000 (12:41 +0100)]
Enable "quota, tag, owner" match and stats support in netfilter requested
BZ: 26075
Change-Id: I8b68da2f07a8656c288e5c59d46075bed0063351
Signed-off-by: Christophe Guerard <christophe.guerard@intel.com>
Reviewed-on: http://android.intel.com:8080/37416
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Thu, 23 Feb 2012 15:28:23 +0000 (17:28 +0200)]
atomisp: prefixing functions by double underscore
BZ: 25527
Rename following functions:
atomisp_acc_get_fw() -> __acc_get_fw()
atomisp_acc_get_index() -> __acc_get_index()
atomisp_acc_fw_free_args() -> __acc_fw_free_args()
atomisp_acc_fw_free() -> __acc_fw_free()
to reflect that they require to have isp_lock mutex held. It also removes
"atomisp_" part from the names, because the functions are local to the module.
Change-Id: I6abf75911ddc6a7d6e977916122207bf6e17e912
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/36868
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Sebastian Niciarz [Fri, 24 Feb 2012 10:26:02 +0000 (11:26 +0100)]
[PORT FROM R2] nfc: split long i2c xfers into smaller chunks supported by i2c controller
BZ: 23876
Due to limitation of I2C silicon on Penwell I2C xfers longer than 31 bytes
are not guaranteed to be atomic. If TX fifo underrun occurs during such
a transfer I2C controller will automatically generate a STOP condition.
This patch splits all long I2C transfer requested by NFC stack into chunks
of up to 31 bytes and transmits them as separate I2C transfers.
Change-Id: I9801081ee275d57ce00e86d1dc310e391e73bd27
Orig-Change-Id: I2533a7e61110c34107e963d5fb2444b64dc70fb4
Signed-off-by: Sebastian Niciarz <sebastian.niciarz@intel.com>
Signed-off-by: Dejan REBRACA <dejanx.rebraca@intel.com>
Reviewed-on: http://android.intel.com:8080/36616
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Wahid, KenX <kenx.wahid@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Tested-by: Zurmely, PierreX <pierrex.zurmely@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>