Ramesh Babu K V [Wed, 4 Apr 2012 08:30:41 +0000 (14:00 +0530)]
hdmi-audio:mark the alsa ring buffer memory as uncached
BZ: 29792
When mmap method of driver is called, driver remaps
the buffers to user space using remap_pfn_range().
However this doesn't guaranteed to mark the pages
as non-cacheble.
As per Documentation/x86/pat.txt, if RAM region is
mmap'ed then in addition remap_pfn_range() we need to use
set_memory_uc() for marking pages as uncacheble.
Change-Id: I0152bb0cea1d0aef4b2eca9f82e59d932b1939a6
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/42472
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Vinnakota, Lakshmi N <lakshmi.n.vinnakota@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>
lizhuangzhi [Tue, 27 Mar 2012 00:49:13 +0000 (08:49 +0800)]
audio: sn95031: [WORKAROUND]Make jack detect delay time longer for Lexington platform
BZ: 27775
On LEX platform, the jack module type is changed. Jack_DET is connected to the left
HP channel, only one interrupt occur during people plug in headset, It's good
for plug interrupt stable, But the mic bias voltage maybe unstale after 250ms
wq delay, Use CONFIG_SND_MFLD_MACHINE_GI macro to control 700ms longer time delay as
workaround for LEX platform.
Change-Id: I274b915644adaeed8749a49cd5655e6b16c81ed0
Signed-off-by: Zhuangzhi Li <zhuangzhi.li@intel.com>
Reviewed-on: http://android.intel.com:8080/40775
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>
Reviewed-by: Gross, Mark <mark.gross@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>
KP, Jeeja [Thu, 22 Mar 2012 16:17:57 +0000 (21:47 +0530)]
audio: Exposed LPE Mixer controls for the HAL to select the Mixer required
based on the sink device
BZ: 26104
Added support for device pipeline configuration by exposing LPE Mixer
elements as ALSA mixer controls.
To add support in SOc for add platform controls, following alsa patchs
are applied
1. 0001-ASoC-core-Add-API-call-to-register-platform-kcontrol
2. 0002-ASoC-core-Make-platform-probe-more-like-codec-probe
Change-Id: I01b829294f82753496f06a5df05afec4c48384b7
Signed-off-by: KP, Jeeja <jeeja.kp@intel.com>
Reviewed-on: http://android.intel.com:8080/40136
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Kun Jiang [Wed, 21 Mar 2012 06:06:16 +0000 (14:06 +0800)]
kernel: when the phone power on we met lots of WTF crash.
BZ: 28359
The ipv6-tables didn't open in the past so all the ip6tables operate fail.
Open the config in kernel to enable the ipv6-tables.
Signed-off-by: Kun Jiang <kunx.jiang@intel.com>
Change-Id: I7f04202cdb66a0c1855f941efc42323769706b0a
Reviewed-on: http://android.intel.com:8080/39911
Reviewed-by: He, Bo <bo.he@intel.com>
Reviewed-by: Tang, Rico <rico.tang@intel.com>
Reviewed-by: Jiang, KunX <kunx.jiang@intel.com>
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>
Marc Mao [Tue, 10 Apr 2012 08:34:02 +0000 (16:34 +0800)]
[Graphics/3D]: Reset pLastSyncInfo to fix Post and Post2 switch hang issue
BZ: 30855
When HWC enabled, HWC bypass layers will displayed by Post2 interface. But normal
Framebuffer will still use Post interface. In kernel driver, Post2 will call
PVRSRVSwapToDCBuffer2KM, it will append last frame's sync info to current flip command.
But if app switch for Post, the previous buffer maybe is freed and the sync info is wrong.
The patch will clear the pLastSyncInfo and then PVRSRVSwapToDCBuffer2KM will not append
last frame's sync info to the first frame after switch.
Change-Id: If700cd17aa6d55d4e9bf2574e18e078c307ee764
Signed-off-by: Marc Mao <marc.mao@intel.com>
Reviewed-on: http://android.intel.com:8080/42890
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Wang, Gang A <gang.a.wang@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-GFX-DISPLAY-Add-vblank-mask-when-enable-disable-PIPE.patch: BZ: 25812
0002-GFX-DISPLAY-Fix-MIPI-panel-power-faild-issue.patch: BZ: 21666
0003-HDMI-Audio-play-music-via-HDMI-will-play-from-the-sp.patch: BZ: 18714
Change-Id: I555f741c5e3effe3685fd86ad85db6ef842da3c4
Signed-off-by: Tong, Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/42018
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
lizhuangzhi [Mon, 9 Apr 2012 08:26:46 +0000 (16:26 +0800)]
max11871: Correct the coordinate of touch keypad area
BZ: 29565
Make touch keypad area bigger to improve user experience
Change-Id: I5c498fd4c5a2b1233490128e93da40a6dd44b19f
Signed-off-by: lizhuangzhi <zhuangzhi.li@intel.com>
Reviewed-on: http://android.intel.com:8080/42783
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Liu, Chuansheng <chuansheng.liu@intel.com>
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>
Hong Liu [Thu, 5 Apr 2012 05:49:58 +0000 (13:49 +0800)]
[PORT FROM R2] atmel_mxt224: limit i2c read write block size to 30 bytes
BZ: 30319
The designware i2c controller only supports 32 bytes read/write due to
hardware limitation, we need to split big i2c block read/write into
several 32-byte trunk to avoid i2c "TX FIFO overrun" error.
Since mxt224 uses 16bit address, this leaves 30 bytes for data read/write.
Change-Id: I7e9998d90b0432709224926933e91328ce4a1672
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/42859
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>
Bin Yang [Fri, 6 Apr 2012 10:50:23 +0000 (18:50 +0800)]
support different hsu pin settings on multi platform
BZ: 30744
Old HSU driver hard coding the pin setting. It cannot
work on CLV VV/PRx board correctly.
This patch supports different pin settings on multi platform.
Change-Id: Ie9b8a591df680a9f61687c70444cf5233b28c08c
Signed-off-by: Bin Yang <bin.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/42685
Reviewed-by: Zhang, Shijie <shijie.zhang@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>
Cheon-Woei Ng [Thu, 5 Apr 2012 22:02:21 +0000 (15:02 -0700)]
Revert Klocwork fixes on non-Intel codes
BZ: 23909
Klocwork fixes were commited for non-Intel codes by mistake. Revert the fix per Kernel Team request.
Change-Id: Idddf1bd7adf45f6a0d48d3fc7fa5114059a355ff
Signed-off-by: Cheon-Woei Ng <cheon-woei.ng@intel.com>
Reviewed-on: http://android.intel.com:8080/42609
Reviewed-by: Saripalli, Ramakrishna <ramakrishna.saripalli@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Desurmont, DavidX [Wed, 11 Apr 2012 08:11:23 +0000 (01:11 -0700)]
Revert "intel_mid_osip: update intel osnib and oshob driver"
BZ: 28905
This reverts commit
f0e0db4ea6e7df1dfd6c6c78a5654d2999be19dc
orig-change-id: I1aaf95f44bd85b524dde52b0e2542a9d6f811c3e
Change-Id: If7c5f05165d7e857ddc5d948794660a1000b1cbc
Reviewed-on: http://android.intel.com:8080/43061
Reviewed-by: Desurmont, DavidX <davidx.desurmont@intel.com>
Tested-by: Desurmont, DavidX <davidx.desurmont@intel.com>
Takashi Iwai [Sat, 24 Sep 2011 10:16:29 +0000 (12:16 +0200)]
ALSA: aloop - Use vmalloc buffer
BZ: 30009
This patch is back ported ICS kernel from k3.2 rc1
snd-aloop driver is virtual and has no need for allocating contiguous
pages. It'll be more system-friendly to use vmalloc buffers.
Change-Id: I8cc6901f38706daa5cb1dfbddb34cc6b648236da
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ramesh Babu K V <ramesh.babu@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/42441
Reviewed-by: Babu, Ramesh <ramesh.babu@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: Balguri, Mamatha <mamatha.balguri@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>
jli119X [Mon, 9 Apr 2012 05:17:45 +0000 (13:17 +0800)]
CTS failure: android.permission.cts.FileSystemPermissionTest#testAllFilesInSysAreNotWritable
BZ: 20679
Remove the writeable access for others group to fix this CTS issue
Change-Id: Ie4fbd0c4645250952b9e03d61c87619edc6e03f6
Signed-off-by: jli119X <jianpingx.li@intel.com>
Reviewed-on: http://android.intel.com:8080/42759
Reviewed-by: Zhang, Hongyu <hongyu.zhang@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Tested-by: Li, XiaojingX <xiaojingx.li@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Geng Xiujun [Fri, 6 Apr 2012 04:50:47 +0000 (12:50 +0800)]
GFX-DISPLAY: [DV10] Fix MIPI panel mode setting fial issue
BZ: 30737
Connector's detect founction should return its status.
Change-Id: I7b1146a335e7d5071b9ec81dc1e6f1de01964a7c
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/42638
Reviewed-by: Zhang, Lei <lei.zhang@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>
Anand Bodas [Thu, 5 Apr 2012 17:53:09 +0000 (23:23 +0530)]
GFX-Display: Improve interpolation for CABC
BZ: 29577
This patch makes CABC use 4-point interpolation and
removes color artefacts in images.
Change-Id: Ie5d478225e2b974ce8ec55f87fcbae74b6e89220
Signed-off-by: Anand Bodas <anand.v.bodas@intel.com>
Reviewed-on: http://android.intel.com:8080/42567
Reviewed-by: Shi, Yang A <yang.a.shi@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Geng Xiujun [Sun, 1 Apr 2012 08:26:47 +0000 (16:26 +0800)]
GFX-DISPLAY: Fix I2C error for DV10 when resume
BZ: 30094
This patch has the following changes:
1. Call mode setting function in late resume.
2. Enable lvds bridge suspend.
Change-Id: I87fcc746a8478feb555b654f656edbec6ed8fe24
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/42040
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>
Pan Zhenjie [Sat, 31 Mar 2012 01:57:22 +0000 (09:57 +0800)]
[Display]: Fix slideshow chaos issue after suspend/resume.
BZ: 29803
The default display mode is 32-bitBGRX. When play slideshow,
it will change to 16-bitBGRX mode. But when suspend, display driver
do not save the lastest DSPACNTR(0x70180) and DSPASTRIDE(0x70188) registers.
So in resume process, old values will be set into the registers.
Change-Id: I4699cd38d730e5323c86c0f5561e5d27469ebb6a
Signed-off-by: Pan Zhenjie <zhenjie.pan@intel.com>
Reviewed-on: http://android.intel.com:8080/41934
Reviewed-by: Shi, Yang A <yang.a.shi@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Anand Bodas [Tue, 27 Mar 2012 16:51:53 +0000 (22:21 +0530)]
GFX-Display: Enable CABC from boot
BZ: 29291
CABC was being enabled in power_up code which was not called
during boot, as the display was already initialized by FW.
Added code to enable CABC without power cycling display.
Changed to send bytes instead of words due to BZ 28302.
Change-Id: I3e8f529fb9b296a9c7563eb618fb192b0ffa9411
Signed-off-by: Anand Bodas <anand.v.bodas@intel.com>
Reviewed-on: http://android.intel.com:8080/40975
Reviewed-by: Ai, Ke <ke.ai@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: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Laurent FERT [Tue, 27 Mar 2012 16:28:50 +0000 (18:28 +0200)]
DV10: GFX-Display: Fix duty cycle range
BZ: 29289
From MSIC spec, duty cycle takes 7-bit value percentage
ranging from 0 to 99%; not from 0 to 127.
Change-Id: If0e7411fa3f0e327b0ef372cf7d81624a7e0a3fd
Signed-off-by: Laurent FERT <laurentx.fert@intel.com>
Reviewed-on: http://android.intel.com:8080/40973
Reviewed-by: Fert, Laurent <laurent.fert@intel.com>
Reviewed-by: Geng, Xiujun <xiujun.geng@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>
shi yang [Thu, 22 Mar 2012 03:33:11 +0000 (11:33 +0800)]
GFX-Display: fix flip flash when do display resume
BZ: 28372
when do display resume, the sceen will flash to the former app ui
screen. So save the init black screen base value to hardware context
of MIPI. And resume will not show flash now.
Change-Id: Ia31a1e68983bfeffc193c52919da1acb8439b0b0
Signed-off-by: shi yang <yang.a.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/40092
Reviewed-by: Liu, Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Pan, Zhenjie <zhenjie.pan@intel.com>
Reviewed-by: Tu, Yun <yun.tu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@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>
Vinod Govindapillai [Tue, 3 Apr 2012 18:12:16 +0000 (21:12 +0300)]
ov8830: Adding a new 16:9 preview mode
BZ: 27476
Low resolution camera modes are not working in clovertrail because
the current preview modes in the lens driver do not support 16:9
resolutions. A new preview mode 1920x1080 is added to support wide
preview resolutions.
Change-Id: I41a5dd8d384d2a7bc1ef74a74c92674789584817
Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-on: http://android.intel.com:8080/42398
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Tue, 27 Mar 2012 14:06:01 +0000 (17:06 +0300)]
lm3554: fix the usage of the gpio API
BZ: 30218
For each change of a gpio line the current driver calls a sequence:
gpio_request();
gpio_direction_output();
gpio_free();
The requesting and freeing of the gpio line is affecting the sysfs. Moreover
there is no guarantee that the gpio line will keep the state after the
gpio_free() call.
In our case gpio_direction_output() might sleep. Due to this we end up with
following traceback in the timer function.
[ 51.552511] BUG: sleeping function called from invalid context at drivers/gpio/gpio
[ 51.552536] in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: kworker/0:0
[ 51.552558] Pid: 0, comm: kworker/0:0 Not tainted 3.0.22-mid26-00191-g8147537 #90
[ 51.552569] Call Trace:
[ 51.552618] [<
c10357c3>] ? vprintk+0x365/0x3ca
[ 51.552641] [<
c1028e00>] __might_sleep+0xf9/0x100
[ 51.552668] [<
c121d0d1>] gpio_free+0x23/0xd3
[ 51.552702] [<
f867d4f2>] set_gpio_output+0x2c/0x33 [lm3554]
[ 51.552717] [<
f867d58c>] lm3554_flash_off_delay+0x28/0x3e [lm3554]
[ 51.552744] [<
c1040723>] run_timer_softirq+0x1ba/0x2b0
...
The patch changes the logic of the usage of the gpio API.
Probe:
gpio_request();
gpio_direction_output();
Remove:
gpio_direction_output();
gpio_free();
In driver usage:
gpio_set_value();
Change-Id: I616bdec6af68c73485c88a078b44a3f07249078b
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/42148
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shijie Zhang [Fri, 30 Mar 2012 13:36:39 +0000 (21:36 +0800)]
intel_mid_osip: update intel osnib and oshob driver
BZ: 28905
Base on current IPC driver framework, it is not suitable to put
OSNIB and OSHOB access code inside IPC bus driver. So we move it
into intel_mid_osip driver, to make it more clear in logic.
Change-Id: I1aaf95f44bd85b524dde52b0e2542a9d6f811c3e
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/41846
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
David Cohen [Wed, 7 Mar 2012 08:59:37 +0000 (10:59 +0200)]
[PORT FROM R2] atomisp: acc: use vmalloc() when loading/allocating acceleration firmware
BZ: 23757
Currently acceleration API tries to allocate memory for loaded firmware
with kmalloc(). As such firmwares used to be bigger than PAGE_SIZE,
kmalloc() may get in trouble if memory is too fragmented. vmalloc() is a
safer option.
Change-Id: I43a4cb829a62ea4672ff20eafcb5d17d7815a54e
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/37828
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Govindapillai, Vinod <vinod.govindapillai@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-on: http://android.intel.com:8080/42095
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
David Cohen [Mon, 26 Mar 2012 08:16:50 +0000 (11:16 +0300)]
atomisp: hmm: allow sleep when alloc_private_pages() is trying order == 0
BZ: 27472
For performance purpose, alloc_private_pages() tries to allocate pages
without allowing to sleep. But such approach may fail when system isn't
yet running out of memory.
This patch allows alloc_pages() to sleep when page order == 0, which
happens after a bigger order failed in atomic mode or even in case it was
the original requested order.
Change-Id: I9f1c83eac3aae973b4c7a2961a1b9c7dec3e72a6
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Tested-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-on: http://android.intel.com:8080/40704
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Laakso, Antti <antti.laakso@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
David Cohen [Mon, 2 Apr 2012 11:47:26 +0000 (14:47 +0300)]
Revert "atomisp: use GFP_KERNEL on CTP when ISP allocates memory"
BZ: 27472
This reverts commit
0a978a3166274a7ba53408199e85f0a49e566582.
Change-Id: Idd7750623e1475838182100d818d88c98e703081
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/42092
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Christophe Lebouc [Thu, 5 Apr 2012 08:26:28 +0000 (10:26 +0200)]
Remove hardcoded smb347 device
BZ: 29047
Remove harcoded smb347 device, will be provided in SFI table in IFWI 07.86
Change-Id: Ia1c9eaefe84af13f7651167712dc51c280594682
Reviewed-on: http://android.intel.com:8080/42478
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Lebouc, Christophe <christophe.lebouc@intel.com>
Tested-by: Lebouc, Christophe <christophe.lebouc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shijie Zhang [Fri, 6 Apr 2012 17:51:07 +0000 (01:51 +0800)]
intel_scu_mip: fix UMIP write corruption problem
BZ: 30789
Before sending UMIP write command, the data to be written into UMIP
should be prepared and copied into intel_mip_base, or the UMIP content
won't get updated.
Change-Id: Ief737144e9fd0efa03ba4773baee1eddbf130e1a
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/42671
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramakrishna Pallala [Mon, 2 Apr 2012 05:12:02 +0000 (10:42 +0530)]
dv10_battery: add support to init fuel gauge data
BZ: 29048
This patch adds the support to initialize maxim fuel gauge
data for dv10 platforms and adds charger interface for battery
charging notifications.
Change-Id: I3d1a54bf5d901666b25ac9ff416a054c32cdb4e3
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/42117
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Hari, NeelamX <neelamx.hari@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramakrishna Pallala [Mon, 26 Mar 2012 06:49:51 +0000 (12:19 +0530)]
max17042: dynamically detect fule gauge chip type
BZ: 27685
This patch detects the fuel gauge chip type based on the
chip version register and does the register initializations
settings accordingly.
Added new field checksum in the max17042_config_data structure
to match with the UMIP offset with the addition of checksum
field
Change-Id: I491cc83a0783b2110fe1a061ae2d6fe132c181f7
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/40750
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Hari, NeelamX <neelamx.hari@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Chen, Jie [Sun, 1 Apr 2012 05:28:27 +0000 (13:28 +0800)]
hwmon: lps331ap: report data should use 2's complement
BZ: 30050
This patch make sure the report data accurate when pressure or
temperature number is negative -- need do transform from 2's
complement.
Change-Id: Ia907b284e0139e5544863d638e0e7c85e50b8553
Signed-off-by: Chen, Jie <jie.d.chen@intel.com>
Reviewed-on: http://android.intel.com:8080/42021
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>
namarta [Tue, 3 Apr 2012 08:32:23 +0000 (14:02 +0530)]
Audio: Add control to enable/disable the loudspeaker amplifier whenever
speaker trun ON/OFF.
BZ: 26047
IHF speaker buzzing noise caused by loudspeaker amplifier being active
all the time.
Loudspeaker amplifier is enabled when audio played to loudspeaker and
disabled when audio not played to loudspeaker.
Change-Id: Icd3f7a74e40ccf33395562609b0d81a6e7e224d5
Signed-off-by: namarta <namartax.kohli@intel.com>
Reviewed-on: http://android.intel.com:8080/38133
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: Noziska, PatrickX J <patrickx.j.noziska@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>
wu xia [Wed, 4 Apr 2012 07:38:35 +0000 (15:38 +0800)]
usb: remove SW workaround for USB HW bug9000364367
BZ: 30413
In Medfield, the status described in this HW bug will not happen, and
it was fixed in Cloverview's version of the cntroller. So remove this
SW workaround from USB driver.
Change-Id: I449044eef4df6ac54b70cc09f05f4f789f77ccac
Signed-off-by: wu xia <xia.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/42291
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Saripalli, Ramakrishna <ramakrishna.saripalli@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Wu, Hao <hao.wu@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>
Youvedeep Singh [Fri, 6 Apr 2012 05:15:47 +0000 (10:45 +0530)]
intel_mid_hsi: [REVERT ME] CTP kernel compilation failure if OSPM disabled.
BZ: 30716
This Patch Avoids the compilation failure on CVTP Platform if OSPM is not enabled.
As enable_standby is defined in mfld_pmu file. If OSPM will be disbaledi, mfld-pmu.c file will
compile and enable_stadby will not be defined. And compilation failure will occur.
Error Detail:
drivers/built-in.o: In function `intel_hsi_init':
/home/kratos/android/ics_main/hardware/intel/linux-2.6/drivers/hsi/controllers/intel_mid_hsi.c:
3463:undefined reference to `enable_standby'
make[2]:: *** [.tmp_vmlinux1] Error 1
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory
`/home/kratos/android/ics_main/hardware/intel/linux-2.6'
make: *** [get_kernel_from_source] Error 1
This workaround is Tracked through 28529.
Signed-off-by: Renganathan, Prabu <prabu.renganathan@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Change-Id: I71ea506a7b9988922deab6bd93bfcb5d6f1fb882
Reviewed-on: http://android.intel.com:8080/42606
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Tested-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shijie Zhang [Sun, 1 Apr 2012 13:12:43 +0000 (21:12 +0800)]
intel_scu_ipc: Port MRFLD SCU IPC code to ICS
BZ: 29852
This patch ports Merrifield SCU IPC code to ICS main branch.
Change-Id: Ifaa5c3602de74f7d35af61871cc7793bea65de85
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/42019
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>
he bo [Sat, 31 Mar 2012 01:58:39 +0000 (09:58 +0800)]
[PORT FROM R2] [AUDIO] Worker thread cancelled late on close function call
BZ: 29782
Cancel the workqueue first and then close it to avoid close
and the workqueue is still running.
Change-Id: I943e68a5430a250d47acf2d3106a5a810b9a13c6
Signed-off-by: he, bo <bo.he@intel.com>
Signed-off-by: zhang, yanmin <yanmin.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/41935
Reviewed-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
liu chuansheng [Thu, 5 Apr 2012 11:45:32 +0000 (19:45 +0800)]
graphics: Fix the memory leak when android restart
BZ: 29277
When android restarted that some critical app crashed, such as system_server,
some allocated buffer(HT/4M, some nodes) do not be freed even the swapchain has
been destroyed.
Because there are some nodes are still mapping the corresponding gtt, which cause
the reference count is still > 0.
The typical scenerio is:
1/ When android startup, the surface flinger will create the swapchain:
drm_ioctl -- >
PVRSRV_BridgeDispatchKM -->
BridgedDispatchKM -->
PVRSRVCreateDCSwapChainBW -->
PVRSRVCreateDCSwapChainKM -->
CreateDCSwapChain -->
psb_gtt_map_pvr_memory -->
psb_gtt_add_node
There are 4 times calling for psb_gtt_map_pvr_memory() at initialization phase;
2/ After a while, there are 2 times meminfo ioctl calling:
drm_ioctl -->
psb_gtt_map_meminfo_ioctl -->
psb_gtt_map_meminfo -->
psb_gtt_add_node
So after initialization, there are 6 reference counts for the created buffer;
3/ When android crashed, just has 4 times to call the remove_node actions:
binder_deferred_func -->
put_files_struct -->
filp_close -->
fput -->
psb_release -->
drm_release -->
PVRSRVDrmPostClose -->
PVRSRVRelease -->
... -->
DestroyDCSwapChain -->
psb_gtt_unmap_pvr_memory -->
psb_gtt_remove_node
The 4 times derefence actions are from destroyswapchain, but still has 2 times
need to be derefenced.
Then although the surface flinger process has died, but there are > 4M memory leak.
Due to:
drm_ht_create(&hentry->ht, 20)
The solution is when destroyswapachain is called, free the any using mapping also.
Change-Id: I43e4e07a5616c5abb465b08972d2f31ad1af1746
Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/42440
Reviewed-by: Tu, Xiaobing <xiaobing.tu@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 [Tue, 3 Apr 2012 22:59:23 +0000 (06:59 +0800)]
GFX-Display: support command mode recovery+video play
BZ: 30390
1.for recovery mode, there is no user mode.
if no user mode, once DSR enter, driver can not
exit.
so.only enable DSR after user mode start.
for kerenel boot, disable DSR
2. notice there is a mistake for command mode
video play back. update it to support video playback
Change-Id: I7bfb146a3aab83ae8f80210b0353b3508d8bdc83
Signed-off-by: Ke Ai <ke.ai@intel.com>
Reviewed-on: http://android.intel.com:8080/42284
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 [Mon, 2 Apr 2012 15:47:41 +0000 (23:47 +0800)]
GFX-Display: system no response after HDMI plug in
BZ: 30219 30202
the hotplug workqueue has not been initialized for CTP
Change-Id: Ic8516b332894e9bd92bf6e541ed91ca376cabc30
Signed-off-by: Ke Ai <ke.ai@intel.com>
Reviewed-on: http://android.intel.com:8080/42161
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@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>
Jouni Hogander [Mon, 2 Apr 2012 10:54:00 +0000 (13:54 +0300)]
GFX: Wait for fifos to drain without disabling irqs
BZ: 30600
Currently hs and lp fifos are wait for to drain empty with irqs
disabled. This is causing over 10 ms delays in serving irqs.
Fix this by waiting for drain with irqs enabled. Below is some
measurement data which is pointing out how long irqs are disabled with
and without the change:
Without the patch:
[ 73.700271] pkg_sender_queue_pkg: Irqs disabled for 0 s 9575 ns
[ 73.719582] pkg_sender_queue_pkg: Irqs disabled for 0 s 9085 ns
[ 73.751292] pkg_sender_queue_pkg: Irqs disabled for 0 s
15106810 ns
[ 73.769823] pkg_sender_queue_pkg: Irqs disabled for 0 s 6485 ns
[ 73.786978] pkg_sender_queue_pkg: Irqs disabled for 0 s 5294 ns
[ 73.821279] pkg_sender_queue_pkg: Irqs disabled for 0 s
16171132 ns
[ 73.840085] pkg_sender_queue_pkg: Irqs disabled for 0 s 5984 ns
[ 73.857343] pkg_sender_queue_pkg: Irqs disabled for 0 s 6240 ns
[ 73.891511] pkg_sender_queue_pkg: Irqs disabled for 0 s
14745899 ns
[ 73.909342] pkg_sender_queue_pkg: Irqs disabled for 0 s 6135 ns
[ 73.944162] pkg_sender_queue_pkg: Irqs disabled for 0 s
16777262 ns
[ 73.963695] pkg_sender_queue_pkg: Irqs disabled for 0 s 5619 ns
[ 73.980245] pkg_sender_queue_pkg: Irqs disabled for 0 s 6340 ns
[ 80.681112] pkg_sender_queue_pkg: Irqs disabled for 0 s 9886 ns
[ 80.700579] pkg_sender_queue_pkg: Irqs disabled for 0 s 11108 ns
[ 80.727872] pkg_sender_queue_pkg: Irqs disabled for 0 s 9375 ns
[ 80.757529] pkg_sender_queue_pkg: Irqs disabled for 0 s
14181476 ns
[ 80.775409] pkg_sender_queue_pkg: Irqs disabled for 0 s 6050 ns
[ 80.810399] pkg_sender_queue_pkg: Irqs disabled for 0 s
16299589 ns
[ 80.828709] pkg_sender_queue_pkg: Irqs disabled for 0 s 6545 ns
With the patch:
[ 70.794775] pkg_sender_queue_pkg: Irqs disabled for 0 s 4797 ns
[ 70.811161] pkg_sender_queue_pkg: Irqs disabled for 0 s 5509 ns
[ 70.839142] pkg_sender_queue_pkg: Irqs disabled for 0 s 4783 ns
[ 70.856893] pkg_sender_queue_pkg: Irqs disabled for 0 s 6019 ns
[ 70.874424] pkg_sender_queue_pkg: Irqs disabled for 0 s 6600 ns
[ 70.892013] pkg_sender_queue_pkg: Irqs disabled for 0 s 6280 ns
[ 70.909587] pkg_sender_queue_pkg: Irqs disabled for 0 s 7602 ns
[ 70.927151] pkg_sender_queue_pkg: Irqs disabled for 0 s 6390 ns
[ 70.944694] pkg_sender_queue_pkg: Irqs disabled for 0 s 5819 ns
[ 70.979816] pkg_sender_queue_pkg: Irqs disabled for 0 s 6229 ns
[ 70.997361] pkg_sender_queue_pkg: Irqs disabled for 0 s 6070 ns
[ 71.014916] pkg_sender_queue_pkg: Irqs disabled for 0 s 6831 ns
[ 71.032498] pkg_sender_queue_pkg: Irqs disabled for 0 s 7242 ns
[ 77.781915] pkg_sender_queue_pkg: Irqs disabled for 0 s 8403 ns
[ 77.798697] pkg_sender_queue_pkg: Irqs disabled for 0 s 9235 ns
[ 77.815363] pkg_sender_queue_pkg: Irqs disabled for 0 s 8583 ns
[ 77.831776] pkg_sender_queue_pkg: Irqs disabled for 0 s 8845 ns
[ 77.849450] pkg_sender_queue_pkg: Irqs disabled for 0 s 8063 ns
[ 77.865879] pkg_sender_queue_pkg: Irqs disabled for 0 s 9725 ns
[ 77.882287] pkg_sender_queue_pkg: Irqs disabled for 0 s 7051 ns
Change-Id: I04d0554254772d2986caa1df1fde0a440caf36a1
Signed-off-by: Jouni Hogander <jouni.hogander@intel.com>
Reviewed-on: http://android.intel.com:8080/42084
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Remy Protat [Fri, 6 Apr 2012 09:51:00 +0000 (11:51 +0200)]
Revert "Refactored board files"
BZ: 28671
This reverts commit
8b048c7edd9de2e22dcb3e893ddf4da7bbe82404.
This reverts patch http://android.intel.com:8080/#/c/40278
Signed-off-by: Remy Protat <remyx.protat@intel.com>
Change-Id: I0d9f2d18c953645edb8074daa2b22360163e7eaf
Reviewed-on: http://android.intel.com:8080/42670
Reviewed-by: Protat, RemyX <remyx.protat@intel.com>
Tested-by: Protat, RemyX <remyx.protat@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Youvedeep Singh [Wed, 4 Apr 2012 15:48:05 +0000 (21:18 +0530)]
mfld-pmu: [REVERT ME] Option to choose between HSI and Standby on CVT platform through cmdline.
BZ: 30308
Currently HSI Modem 7060(BZ# 28529) is having a issue on CVT Platform and
it will not go to Low Power Mode. Standby will not work if HSI is enabled.
So HSI and Standby can be mutually exclusive.
So This patch provides the option to choose between Standby/HSI based on enable_stadby 1/0.
HSI Bug is Trached seprately through 28529.
Change-Id: I50c78dffa692eee6df0f599e7fc4247c65ff7254
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/42234
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Benoit Romieu [Wed, 28 Mar 2012 15:11:28 +0000 (17:11 +0200)]
intel_scu_watchdog: define CONFIG_DISABLE_SCU_WATCHDOG=y
BZ: 27691
Enable the ability to disable the kernel watchdog by cmdline.
For this purpose, add intel_scu_watchdog.disable_kernel_watchdog=1 to
the cmdline. Needed for debug (breakpoints)
Change-Id: Ib04d73ee9063487865720219cd0341b613eee416
Reviewed-on: http://android.intel.com:8080/41376
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ashish K Singh [Fri, 10 Feb 2012 13:17:29 +0000 (18:47 +0530)]
arch/x86/configs: change in i386_mfld_deconfig .
BZ: 22055
change in i386_mfld_deconfig to support Matrix driver.
Change-Id: I122e312656072e229bbe368954bdb2c5f658e472
Signed-off-by: Ashish K Singh <ashish.k.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/34914
Reviewed-by: Iyer, Sundar <sundar.iyer@intel.com>
Reviewed-by: Yung, Winson W <winson.w.yung@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Saripalli, Ramakrishna <ramakrishna.saripalli@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ashish K Singh [Fri, 10 Feb 2012 12:59:44 +0000 (18:29 +0530)]
staging/matrix: driver for Matrix 2.5, an internal performance tool.
BZ: 22055
This driver adds support for the user-space Matrix tool.
Change-Id: I636fa2d826aeee9f100b3d824127e7f0a24eafd7
Signed-off-by: Ashish K Singh <ashish.k.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/34907
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Yanmin Zhang [Mon, 26 Mar 2012 18:34:55 +0000 (02:34 +0800)]
[REVERT ME] tty-ffl: Change ffl_hangup_wq to be a freezable workqueue
BZ:27289
When system goes to s3, tty-ffl might detect a modem TX timeout
and start error recovery before hsi is resumed. The patch
changes workqueue ffl_hangup_wq to be freezable.
Change-Id: I5b9e7b1bffccfc016afd4e373e2ba438a81680a0
Signed-off-by: Yanmin Zhang <yanmin.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/40789
Reviewed-by: Roulliere, Pierre <pierre.roulliere@intel.com>
Reviewed-by: Chotard, Celine <celine.chotard@intel.com>
Tested-by: Chotard, Celine <celine.chotard@intel.com>
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
wu xia [Sun, 1 Apr 2012 10:35:14 +0000 (18:35 +0800)]
usb: improve the usb performance of adb push/pull file
BZ: 24941
The usb performance is low when adb push/pull files to/from PR3 phone.
The reason is that USB interrupt is delayed by OTG device controller.
USB interrupt interval is controlled by USBCMD.ITC. The default value
of ITC is a little high. Set ITC to low value to shorten interrupt
interval.
Change-Id: I85577648e5d0844aaf05ed343c393cad5619f375
Signed-off-by: wu xia <xia.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/39931
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Louis Le Gall [Tue, 27 Mar 2012 11:17:35 +0000 (13:17 +0200)]
Enable VOIP SSP Driver on CTP
BZ: 21780
This patch modify the 'builtin' voip ssp driver to a format
compatible with hw codecs (MSIC, but mostly Cirrus logic that
is not able to provide master pcm format as legacy used on
medfield platforms)
In this new format, the SSP provides Master I2S 16 bits@48Khz
First channel (Framesync low) : 16bits of channel 1 data
second channel (framesync high) : 16bits of channel 2 data +
8 dummy bits (clk is running at 1.923Mhz need 40bits)
This signal is comptatible with audience and two version of hw
codecs as it is very close to signal provided by modem (i2s 48hz
without dummy bits)
Please note that platform modification is required to change
hw codec configuration and audience firmware to take care of
voip signal format modification.
Change-Id: I73323201842345db85ab571df6f2f1a3f242b303
Signed-off-by: Louis Le Gall <louis.le.gall@intel.com>
Reviewed-on: http://android.intel.com:8080/40931
Reviewed-by: Bellouard, Jean-marieX <jean-mariex.bellouard@intel.com>
Reviewed-by: Centelles, Sylvain <sylvain.centelles@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
sathyanarayanan kuppuswamy [Wed, 21 Mar 2012 18:02:10 +0000 (11:02 -0700)]
Refactored board files
BZ:28671
Board files for different platforms have lot of common code, hence
to avoid code duplication we have re-factored the current board
file structure into following.
For each device we have created a separate platform_*device_name*.c,h
files.
platform_*device_name*.c - Contains device init and helper
functions.
platform_*device_name*.h - Contains extern declaration of init
function.
Compilation of these platform files are controlled using corresponding
driver CONFIG options.
To use these devices, In board files we will have to just include the
header file and add reference to the device init function in the
device_id structure.
Change-Id: I28f8add6f9ba96dcc6513cffe856cd2c487d09ee
Signed-off-by: sathyanarayanan kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-on: http://android.intel.com:8080/40278
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Wood, Brian J <brian.j.wood@intel.com>
Tested-by: Wood, Brian J <brian.j.wood@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 Allyn [Tue, 20 Mar 2012 17:16:48 +0000 (10:16 -0700)]
Drivers: staging: sep: add ioctl to insert shared address into msg
BZ: 28280
Change-Id: Ic27a4cda6f6ffdf6636f4f717f2137f5ab4333ad
Signed-off-by: Mark Allyn <mark.a.allyn@intel.com>
Reviewed-on: http://android.intel.com:8080/39816
Reviewed-by: Matthews, Michael L <michael.l.matthews@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>
namarta [Mon, 2 Apr 2012 13:27:47 +0000 (18:57 +0530)]
Audio: Add Alsa mixer control to enable loopback.
BZ: 27786
By default,Loopback was enabled,this was causing issue with simultaneous
playback and capture.
This patch added alsa mixer control to enable loopback when required.
Change-Id: I8609927802bf819076cce43c5345f6f16aa3fbbf
Signed-off-by: namarta <namartax.kohli@intel.com>
Reviewed-on: http://android.intel.com:8080/42118
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: Vinnakota, Lakshmi N <lakshmi.n.vinnakota@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>
Kappel, LaurentX [Thu, 29 Mar 2012 15:53:15 +0000 (08:53 -0700)]
Revert "intel-mid: remove WA for smb347 charger"
BZ: 29047
This patch removes the WA for adding device entry
in intel-mid.c as the latest IFWI support device entry
for smb347 charger.
Old-Change-Id: Ic6ee390ae82c181dc51e1e6080a1a790bf1a4232
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
This reverts commit
b23a47438facee19378fb3db4c95a995e4f0b471
Change-Id: Ic3d8c963d3cfa11c3035fe8bd92adb6273b902af
Signed-off-by: Laurent Kappel <laurentx.kappel@intel.com>
Reviewed-on: http://android.intel.com:8080/41677
Reviewed-by: Lebouc, Christophe <christophe.lebouc@intel.com>
Tested-by: Lebouc, Christophe <christophe.lebouc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Youvedeep Singh [Sat, 24 Mar 2012 16:25:36 +0000 (21:55 +0530)]
Revert "mfld-pmu: [REVERT ME] Acquiring Wake_lock to prevent S3 on CVT"
BZ: 25898
This reverts commit
db41b8e475625d7f7ffedee6cce1d0ea098ce980.
Removing the wakeLock, as we are going to enable S3.
Change-Id: Id0e0590a0c540189af654a1fd1666d67094529d8
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/40523
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Youvedeep Singh [Sat, 24 Mar 2012 16:07:50 +0000 (21:37 +0530)]
mfld-pmu: Removing C6 offload specific code on CVT PLatform.
BZ: 25898
C6 offload is not done by PMU Driver on CVT Platform.
It is handled by PUNIT FW on CVT Platform.
Change-Id: I50f5c6a592b9325150d3f833945086e2205a3baf
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/40522
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Youvedeep Singh [Sat, 24 Mar 2012 15:20:23 +0000 (20:50 +0530)]
mfld-pmu: [REVERT ME] Do not put SRAM in D0i3 during S0i3/S0i1/S3 on CVT Platform.
BZ: 25898
Putting SRAM (lss 12, lss 13) into D0ix caused SRAM Error (F504) on CVT Platform.
So keep it in D0 state untill issue is resolved.
This Work around we are tracking through BZ 28764.
Change-Id: I029800fd8841cc9abd635c7405fa60dd3deec240
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/40521
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Youvedeep Singh [Tue, 3 Apr 2012 09:13:52 +0000 (14:43 +0530)]
i386_mfld_defconfig: Adding Flag to indicate C6 Offload support in OS.
BZ: 25898
This Flag indicates if C6 Offload is to be Done by OS.
In case of mfld C6 offload is done by OS.
In case of CVT platform it is handled by PUNIT.
This Flag will be used to port the mfld Code into CVT.
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Change-Id: I317508c1679664d673f36d219b023c9cdfc66934
Reviewed-on: http://android.intel.com:8080/42056
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Cuesta, FernandX <fernandx.cuesta@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, 22 Mar 2012 15:13:49 +0000 (20:43 +0530)]
Revert "mfld-pmu: [REVERT ME] Enbaling PM ON Cloverview"
BZ: 25901
This reverts commit
7157dace4c5f3680d889b94befe16562f9752b38.
Currently Drivers are merged into CVT platform. Now we are not getting hanged at boot time.
This patch will put the devices into D0ix which do not have Drivers.
This is am importand patch for Power Optimisation.
Change-Id: If59ecb30fa13050603bfa0983b82691c7aa34593
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/39933
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Bin Gao [Thu, 29 Mar 2012 06:47:19 +0000 (23:47 -0700)]
atomisp: add pci id for CLV+ ISP device
BZ: 29564
CLV+ pci shim has a new PCI ID for ISP, now enable it from driver.
Change-Id: Ia9d3923ce2956c064392165aabca024660070202
Signed-off-by: Bin Gao <bin.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/41587
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Renganathan, Prabu <prabu.renganathan@intel.com>
Reviewed-by: Chilakala, Mallikarjuna <mallikarjuna.chilakala@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Omair Mohammed Abdullah [Tue, 13 Mar 2012 06:14:15 +0000 (11:44 +0530)]
EM/Battery: Make battery prints use dev_dbg
BZ: 16334
Some battery prints come periodically in the dmesg logs and fill up the logs.
Using dev_dbg instead of dev_info will make the prints dynamically configurable
using sysfs, so that they are turned on only when required.
Change-Id: I9882570344ffbd1c9d08ea87484a87b712046035
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/38786
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Gao, Yunpeng [Sun, 1 Apr 2012 22:32:43 +0000 (15:32 -0700)]
Revert "REVERT ME: Define CONFIG_BOARD_MRFLD_HVP"
BZ: 30074
This reverts commit
79b249f83b76ddad1d37553b5ad15e56e98ba5b7
Change-Id: I5118b93a27645a0e2fb76a9811fe82588fb549f6
Reviewed-on: http://android.intel.com:8080/42069
Reviewed-by: Gao, Yunpeng <yunpeng.gao@intel.com>
Tested-by: Gao, Yunpeng <yunpeng.gao@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Yunpeng Gao [Sun, 1 Apr 2012 07:18:45 +0000 (15:18 +0800)]
Add Merrifield HVP board type support
BZ: 30074
Merrifield HVP board is different from Merrifield VP board in
quite a few components, such as storage, usb, audio and so on.
So it's necessary to add a new macro in kernel board type for
Merrifield HVP.
This patch add a new board type macro CONFIG_BOARD_MRFLD_HVP
for Merrifield HVP board and also creat a new board specific
file board-hvp.c for HVP board specific.
Change-Id: Iaac388518979dae4df7d24062572e926d3d54aed
Signed-off-by: Yunpeng Gao <yunpeng.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/42033
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Brouat, Claude <claude.brouat@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Guillaume Lucas [Wed, 28 Mar 2012 14:02:20 +0000 (16:02 +0200)]
[PORT FROM R2][REVERT ME]n_gsm: add dedicated traces in MUX for APIMR issues
BZ: 25958
This patch is an update for the MUX driver in the goal to add
dedicated traces to have input for the APIMR issues.
Change-Id: I040ea3f27ad0816d724b16dc7ecb887051ce065d
Orig-Change-Id: I2c9a660e6c48153dcd680bd6b8db8d1683cc3f7a
Signed-off-by: Guillaume Lucas <guillaumex.lucas@intel.com>
Reviewed-on: http://android.intel.com:8080/41335
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>
Jozef Kruger [Thu, 29 Mar 2012 21:51:57 +0000 (14:51 -0700)]
atomisp: fix gdc table handling
BZ: 29626, 29628
This patch fixes the incorrect freeing of the morphing table when GDC_CAC
is enabled. When it gets enabled, we need to set the current morphing table
into the CSS again, not free it. Freeing the table that the CSS was still
using caused memory corruption which luckily only resulted in the table
being rejected but could have also lead to a corrupted table being used.
Change-Id: I67177757f32c6b4f35dd176999c59bd719586d9d
Signed-off-by: Jozef Kruger <jozef.kruger@intel.com>
Reviewed-on: http://android.intel.com:8080/41714
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>
Yu Wang [Sat, 31 Mar 2012 03:25:54 +0000 (11:25 +0800)]
xHCI: Enable USB HID and storage class driver.
BZ: 29957
Support USB3 stick, keyboard and mouse.
Change-Id: If0eddd38987581c03f1371f92d88a34858f1b25e
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/41939
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>
Jiebing Li [Fri, 30 Mar 2012 15:46:38 +0000 (23:46 +0800)]
Enable Merrifield USB3 device support
BZ: 29924
Add USB3 device controller driver and super speed
support in Mass Storage gadget driver to fully
enable USB3 Mass Storage function.
Change-Id: I98e37ba91b09345f7f1f083efe491c8c7f587a15
Signed-off-by: Jiebing Li <jiebing.li@intel.com>
Reviewed-on: http://android.intel.com:8080/41909
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>
Yu Wang [Fri, 30 Mar 2012 09:34:22 +0000 (17:34 +0800)]
xHCI: Merrifield support xHCI driver.
BZ: 28067
Add new files to support dwc xHCI driver. The xHCI registered as platform device
driver which match the platform device registered in dwc otg driver.
Follow PCI xHCI driver, the dwc xHCI driver register two HCD too. So the
dwc xHCI driver is very simliar to common xHCI driver.
Enable DWC OTG driver and xHCI driver in Merrifield default config file.
Change-Id: Ifee09e14faf420679f15da4e3e95d5d8174f8ac3
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Change-Id: I5bbda239407449a6cb4db2d190232ba1f7dd54ee
Reviewed-on: http://android.intel.com:8080/41870
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>
Yu Wang [Fri, 30 Mar 2012 08:08:31 +0000 (16:08 +0800)]
dwc_otg: Provide sysfs interface to user space to switch host mode and
device mode.
BZ: 29834
Because currently there is no workable micro A usb3 cable on market. So
provide sysfs interface to support switch host mode and device mode from
user space.
Usage(commands):
switch to host: echo A > /sys/devices/pci0000:00/0000:00:11:0/otg_id
switch to device: echo A > /sys/devices/pci0000:00/0000:00:11:0/otg_id
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Change-Id: I60a4cefa72508f6f3dc70abbea5bc8f954eb644b
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/41865
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>
Yu Wang [Mon, 19 Mar 2012 18:51:41 +0000 (02:51 +0800)]
dwc_otg: Support dwc otg driver.
BZ: 28055
Add new otg interfaces in struct gadget and hcd.
Add new files to support dwc otg controller.
Change-Id: Ib17fd180f7126a5f66e2eb47a44ead0257988309
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/39621
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>
Wu, Hao [Fri, 16 Mar 2012 07:10:25 +0000 (15:10 +0800)]
usb/penwell_otg: notify charger driver to drive VBUS in CLV
BZ: 28638
USB driver will notify charger driver to provide 5v on VBUS line
of USB OTG port in CLV, this is needed for USB Host function.
Change-Id: I151c254e95c89c9a615655911a8de6e7283ba18b
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/40194
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Pandey, Raj <raj.pandey@intel.com>
Reviewed-by: Gross, Mark <mark.gross@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 [Fri, 30 Mar 2012 08:20:36 +0000 (13:50 +0530)]
EM/Battery: Charger driver to support the HOST mode functionality
BZ: 26199
Whenever an USB OTG device inserted/removed to the Clovertrail
platform bq24192 charger driver should turn the VBUS ON/OFF and
should be able to support the OTG device functionality. Setting
the GPIO direction to input during the VBUS OFF as not doing it
will break the HOST support on VV boards as GPIO 36 is muxed
Change-Id: I65359d9aa8e75acb5c4f49d4d84313931847e04d
Signed-off-by: Pandey Raj <raj.pandey@intel.com>
Reviewed-on: http://android.intel.com:8080/40182
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: Wu, Hao <hao.wu@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@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>
Li, Ning [Fri, 30 Mar 2012 08:47:42 +0000 (16:47 +0800)]
dw-i2c: porting MRFL I2C driver to ICS
BZ: 29848
This patch ports MRFL I2C driver to ICS mainline, including two main
changes: issue STOP after each transaction, controller bus index
mechanism change due to incompatible with MFLD & CTP.
Change-Id: I8e3d75eba8b09916fcd00e7611122428a46b3ae5
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/41866
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Zhang, Shijie <shijie.zhang@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>
Shijie Zhang [Wed, 28 Mar 2012 22:39:51 +0000 (06:39 +0800)]
intel_scu_mip: update intel mip driver
BZ: 28902
Base on current IPC driver framework, it is not suitable to put MIP
access code inside IPC bus driver. So we move it to a dedicated mip
driver, to make it more clear in logic.
Change-Id: I2b2392f586d5c5ef17b3498cdfe6e58e396e7ebf
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/41379
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 [Sat, 31 Mar 2012 03:57:16 +0000 (11:57 +0800)]
apds990x: Check gpio status after handling IRQ
BZ: 29351
Since apds990x's interrupt pin is level style and some GPIO controllers
don't support level trigger, we need to check gpio pin value to
see if there is another interupt occurs between the interrupt status
register read and interrupt ack. If that happens, we need to do the
IRQ handle again to avert interrupt missing.
Change-Id: I09dd0049a4a520a92e22ecd1476b688ab56e2864
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/41856
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>
jli127 [Thu, 29 Mar 2012 08:28:57 +0000 (16:28 +0800)]
hwmon/l3g4200d_poll.c: extends device enable delay
BZ: 29384
The l3g4200d gyro sensor needs longer
delay after enable to generate stable data
in CTP_PR0 devices. This patch add a
longer delay after device enable.
Change-Id: I9bbf375ac301ae1072ba17afee440d69f1cbc78a
Signed-off-by: jli127 <jian.d.li@intel.com>
Reviewed-on: http://android.intel.com:8080/41608
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>
Yunpeng Gao [Fri, 30 Mar 2012 02:55:41 +0000 (10:55 +0800)]
EMMC4.5: Enable eMMC 4.5 Large Sector Size feature
BZ: 29677
According to eMMC Spec 4.5, enable large sector size feature
(4KB Native sector) can improve performance for eMMC device
bigger than 256GB.
To enable this feature, it needs to disable the emulation mode of
eMMC device first. Since the emulation mode disable is one-time
operation, it should be done by vendor or FW.
This patch will not disable emulation mode. It will just check
whether the eMMC device emulation mode has been disabled. If true,
then the driver will report kernel block layer with 4KB hardware
sector while keep 512B size block on eMMC bus. This is just what
the eMMC 4.5 Spec requires.
Change-Id: If0306654b49e823bfffc4583f353bf696d07441f
Signed-off-by: Yunpeng Gao <yunpeng.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/41776
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
he bo [Wed, 28 Mar 2012 13:26:51 +0000 (21:26 +0800)]
mask the HDMI IRQ after suspend
BZ: 29566
when HDMI suspend, it should mask the HDMI IRQ, for it will generate
the HDMI plug out interrupt after shutdown the MSIC_VHDMICNT, and
the interrupt will wake up the system frequency if the HDMI cable
inserted.
Change-Id: Id8e9e368db9812ffe059ec1e4c969eeca959cbef
Signed-off-by: he, bo <bo.he@intel.com>
Signed-off-by: Rico, Tang <rico.tang@intel.com>
Reviewed-on: http://android.intel.com:8080/41583
Reviewed-by: Zhang, Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Hogander, Jouni <jouni.hogander@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>
Geng Xiujun [Thu, 29 Mar 2012 05:52:51 +0000 (13:52 +0800)]
HDMI/PM: Port two HDMI hotplug patches from R2
BZ: 29595
The issue is tracked by BZ 19079, HDMI cable plug/unplugged not detected when
device is in S0 with Screen OFF. Jouni's two patches are ported to R3.
0001-hdmi-Fixes-for-hdmi-hotplug-detection.patch
Remove random control of HDMI rails around gfx driver. Power on is now
done in psb_intel_hdmi.c:mdfld_hdmi_init during boot up.
Global variable hdmi_state is not updated properly when display is
blanked. Fix this by updating hdmi_state in hdmi_do_hotplug_wq.
Also msic_irq should be type IRQF_NO_SUSPEND to ensure hpd interrupts
are not lost.
0002-hdmi-Implement-hdmi-cable-detection.patch
According to MSIC HDMI Integration Guide both, VCC330 and VHDMI, must
be enabled hotplug detection to work. This would cause unacceptable
power leak in S3 state -> Take approach to have hotplug detection
working only when device is not in S3. HDMI cable Plug in/out during
S3 is detected when waking up from S3. This allows powering off VCC330
and VHDMI during S3.
To implement this following changes are done in this patch:
Create dedicated freezeable workqueue for hotplug detection to ensure
ongoing detection is stopped before powering off HDMI rails on
suspend and resumed only when rails are powered on again.
Add mechanism to detect cable plug out during S3 when waking up.
Change-Id: I161928534a3c6b197c0d2ac450e5587ff196a74b
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/41579
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, 30 Mar 2012 00:06:51 +0000 (08:06 +0800)]
GFX-Display: support CTP command mode DSR.
BZ: 29754
1. update code of DSR mode enter condition
2. for 0x36 memory tranfer direction , it does not every time
need to send, so clear it.
3. fix command mode shift issue ,which lead by 0x70184 mistake
4. improve debug read interface, considering command mode
Change-Id: I49065908b72870d742870ed63c16961c785880b9
Signed-off-by: Ke Ai <ke.ai@intel.com>
Reviewed-on: http://android.intel.com:8080/41720
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>
Christophe Guerard [Thu, 8 Mar 2012 13:48:09 +0000 (14:48 +0100)]
[DEBUG] Enable debug features in kernel config
BZ: 29652
Change-Id: Iaf38d9f3f190cb01de167cbeab46e5d5389b3361
Signed-off-by: Christophe Guerard <christophe.guerard@intel.com>
Reviewed-on: http://android.intel.com:8080/37996
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Zhang, Dongxing <dongxing.zhang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
lizhuangzhi [Wed, 28 Mar 2012 14:16:04 +0000 (22:16 +0800)]
misc/apds990x: Fix proximity sensor couldn't wakeup screen issue
BZ: 28722
Remove IRQF_TRIGGER_LOW flag when request_threaded_irq, We only need
to use IRQF_TRIGGER_FALLING for interrupt triger, This will avoid
IRQ pending when wakeup system.If we use level trigger mode, after the
system wakeup by IRQ, need to check_irq_resend when resume noirq, the level
irq will be ignored, so irq handler won't run, the irq pending bit never cleared.
Change-Id: I1a646ed5b3a4caff2efd93a82248e034c4fc41a2
Signed-off-by: Zhuangzhi Li <zhuangzhi.li@intel.com>
Reviewed-on: http://android.intel.com:8080/41353
Reviewed-by: Yan, Leo <leo.yan@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Onkalo, Samu <samu.onkalo@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Chuanxiao Dong [Thu, 29 Mar 2012 03:47:03 +0000 (11:47 +0800)]
mmc: core: rework mmc_mmc_erase_timeout function
BZ: 29554
The calculation of erase/trim timeout is not excatly the same with
spec. Needs a rework. This patch can fix this.
Change-Id: Ieca799d2f1c181304f5dc57e896114868fe6ed99
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/41560
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jli119X [Tue, 27 Mar 2012 00:52:17 +0000 (08:52 +0800)]
CTS failure: android.net.cts.TrafficStatsTest#testTrafficStatsForLocalhost
BZ: 22053
Root cause: We should turn on the ONFIG_UID_STAT switch in arch/x86/configs/i386_mfld_defconfig
to get the specified process's traffic state.
Change-Id: I87bf3e4edc062c2669418b5850ac7da7dcc328c4
Signed-off-by: jli119X <jianpingx.li@intel.com>
Reviewed-on: http://android.intel.com:8080/40768
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Wood, Brian J <brian.j.wood@intel.com>
Reviewed-by: Zhang, Hongyu <hongyu.zhang@intel.com>
Reviewed-by: Li, XiaojingX <xiaojingx.li@intel.com>
Tested-by: Li, XiaojingX <xiaojingx.li@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Vaibhav Agarwal [Tue, 20 Mar 2012 19:24:45 +0000 (00:54 +0530)]
Audio: Add different handler for button_press GPIO
BZ: 26377
Currently, only single handler is used for HP_DET,
BUTTON_PRESS interrupt line. However, it should be handled
differently. Thus, no interrupts are reported for button
press event(s).
The solution is to register seperate handlers for different
GPIO lines and handle each event appropriately.
Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@intel.com>
Change-Id: I8262487d423a10f49d93ca24be7a43cbac894738
Reviewed-on: http://android.intel.com:8080/39834
Reviewed-by: Kp, Jeeja <jeeja.kp@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>
Vaibhav Agarwal [Mon, 12 Mar 2012 09:51:44 +0000 (15:21 +0530)]
Audio: Check for jack status during boot time for HP_DET gpio pin only
BZ: 27809
During clv_soc_jack_add_gpio(), clv_soc_jack_gpio_detect() is
executed irrespective of GPIO pin. (Headset detection, button press)
This caused, erroneous jack status reported to above layer during
boot time.
The solution is to verify jack status during boot time for HP_DET
gpio pin only.
This patch also contains some changes in clv_machine, cs42l73 driver
to be used as a loadable module.
Change-Id: I943fc6efb40bf16a6ecf2763c7263cbaeec9556c
Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@intel.com>
Reviewed-on: http://android.intel.com:8080/39830
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>
KP, Jeeja [Wed, 14 Mar 2012 23:26:47 +0000 (04:56 +0530)]
audio: Added mixer control to select Master/Slave mode for Voice port.
BZ: 25500
Added mixer control to select Master/Slave mode for Voice port.
For Voip call the Voice port need to be configured in I2S master mode and
for CSV call Voice port need to be configured in I2S Slave mode.
This patch add's mixer control to select Master and Slave Mode for Voice port
Change-Id: I6cd9370a5cd57b0a099906afcdcbe1b79ffbafdc
Signed-off-by: KP, Jeeja <jeeja.kp@intel.com>
Reviewed-on: http://android.intel.com:8080/39088
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@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>
David Cohen [Wed, 28 Mar 2012 13:50:15 +0000 (16:50 +0300)]
atomisp: silence false-positive critical KW issue
BZ: 24562
KW cannot detect very well kernel code flow. For 3rd time we receive
same false-positive critical KW issue. This patch will trick KW.
Change-Id: Ibdf97d69284d70a62253f510c4e8af5b6212f446
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/41327
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Jacob Pan [Wed, 11 Jan 2012 06:44:25 +0000 (22:44 -0800)]
v4l/atomisp: let pmu driver handle power island states
BZ: 25359
When atomisp is treated as real PCI device as it should be, ISP
often refuses to transition from D3hot to D0 state. This is likely
caused by an ordering problem where in resume PCI PM core restores
config space prior to calling pci_set_power_state and the driver's
rpm resume function. PMCSR in PCI PM cap is set to D0 from D3 but
refuses to transition possibly due to the fact that power islands
are still down for atomisp.
This patch moves power island control from driver rpm callbacks to
pmu driver such that the action is better coordinated.
Change-Id: I83ac338aa391793a2da12371dd9b6787370cb21d
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Acked-by: David Cohen <david.a.cohen@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/36782
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@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>
Alek Du [Mon, 5 Dec 2011 02:39:19 +0000 (02:39 +0000)]
hsu: optimize console idle time
BZ: 27541
HSU console blocks runtime suspend for 2 seconds event it is not in using.
This patch optimize HSU driver to suspend quickly while HSU console is
inactive.
Change-Id: I610e1430dcbd69f91f407e3ddfa25adb0e100fdb
Signed-off-by: Alek Du <alek.du@intel.com>
Signed-off-by: Bin Yang <bin.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/26047
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Yun(Mark) Tu [Thu, 29 Mar 2012 23:25:28 +0000 (16:25 -0700)]
GFX-3D: WA: program SGXMP2 clock gating earlier
BZ:26839
WA in PO: Program SGX544MP master clk gating earlie, or CPU stuck later
before loading SGX driver, root cause is still unkown
Signed-off-by: Yun(Mark) Tu <yun.tu@intel.com>
Change-Id: I921f5f85ca5f98efcaab2aa56225977ee3e9bd9b
Reviewed-on: http://android.intel.com:8080/41718
Reviewed-by: Tu, Yun <yun.tu@intel.com>
Reviewed-by: Dai, Yu <yu.dai@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Lei Zhang [Tue, 27 Mar 2012 08:19:44 +0000 (16:19 +0800)]
Gfx-Display: correct the reg setting of MIPIA_PORT_CTRL in driver
BZ: 29163
This patch corrects the reg setting of bit 23 in MIPIA_PORT_CTRL. This bit should
be always set to 0 for PNWB0 and forward. The bit defination changed from PNW A0
to B0, but the Spec is not updated to the date. Here in driver correct this bit setting
to 0 as required.
Change-Id: I7bef71ccdeedd349a35259b78c1aab1fca0f3371
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/40888
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Zhang Dongsheng [Thu, 22 Mar 2012 10:38:34 +0000 (18:38 +0800)]
GFX-Display: support multi bytes read from panel.
BZ: 28604
For read multi bytes, driver need to set Max return size.
Change-Id: I7112f1bebf55ba108c867fff75f3faa667d732c8
Signed-off-by: Ke Ai <ke.ai@intel.com>
Signed-off-ny: Dongsheng zhang<dongsheng.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/40439
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ke Ai [Thu, 22 Mar 2012 10:11:57 +0000 (18:11 +0800)]
GFX-Display: support send command align to byte.
BZ: 28302
1.before this patch, the DCS parameters max to 8
which not meet some DCS command necessary.
2.another, before this patch, command send align to
DWORD, which has potential overwrite panel intrel
register problem.
here ,update it more dynamic
Change-Id: I0d6544e7b8127f03d8a1be25dad41c0834ece77c
Signed-off-by: Ke Ai <ke.ai@intel.com>
Reviewed-on: http://android.intel.com:8080/40438
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Austin Hu [Thu, 22 Mar 2012 09:02:16 +0000 (17:02 +0800)]
GFX-Display: enabled Enzo MIPI panel type dynamic detection.
BZ: 23437
The patch depends on patch #31959, #31960 and #34457.
Enabled MIPI panel dynamic detection according to firmware GCT data,
so that the unified display driver build could be used for PRx and
Enzo SC1 systems.
Change-Id: I12e05557ccca09a10b03c4381b70a1d266ae2f0e
Signed-off-by: Austin Hu <austin.hu@intel.com>
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Signed-off-by: zhang dongming <dongmingx.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/40138
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ke Ai [Tue, 13 Mar 2012 07:41:43 +0000 (15:41 +0800)]
GFX-Display:dynamic caculate DSI clock according mode
BZ: 28373
Before this patch, the DSI lock is hard code. Here update it according format caculate.
Please use the mode->vrefresh to change the DSI lock, as you wanted.
The DPLL will be changed during restore.In restore function, DPLL changed to by pass mode.
by functon mdfld_dsi_controller_init. in fact, this function is not necessary here. Another
place will take care this.
mdfld_auo_dsi_dbi_restore(struct drm_encoder *encoder)
-------> mdfld_auo_dsi_controller_init(dsi_config, dsi_config->pipe, true);
Change-Id: I90c3f231d8f568a2d7a5d0f35d6608d40536a108
Signed-off-by: Ke Ai <ke.ai@intel.com>
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/39871
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramachandra Sudarshan N [Thu, 22 Mar 2012 06:25:00 +0000 (11:55 +0530)]
[REVERTME] intel_mid_hsi: workaround for HSI suspend in Redridge
BZ: 28547
In Redridge HSI is not going into runtime suspend state which
blocks S0ix. This patch provides a workaround till a real fix
is in place
Change-Id: I56797865c6e9128893fc7ef0544e01241ea26e05
Signed-off-by: Sudarshan Ramachandra <sudarshan.n.ramachandra@intel.com>
Reviewed-on: http://android.intel.com:8080/40107
Reviewed-by: Stoltz-douchet, OlivierX <olivierx.stoltz-douchet@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>
liu chuansheng [Tue, 27 Mar 2012 09:13:22 +0000 (17:13 +0800)]
wakeup_log: adding the irq action name to output
BZ: 29086
When system wakeup from S3, current wakeup is as below:
[ 123.765635] wakeup from IRQ 67
We can not easily to know where is the IRQ from, unless
cat /proc/interrupts.
The changing is adding the action name to output, the traces
will like below:
[ 320.280637] wakeup from IRQ 67
[ 320.280643] IRQ 67,action name:msic_power_btn
Change-Id: Ieda5eea7e51d0e98fb1ff213467e86d91fa62d37
Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/40767
Reviewed-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Yun(Mark) Tu [Wed, 28 Mar 2012 20:47:56 +0000 (13:47 -0700)]
GFX-3D: Add related config to support SGX544 MP2
BZ: 26839
Add DRM_CTP_PR1 into Kconfig, and SGX544MP2's register bar length is
0x10000
Change-Id: I355ca4c08b0cc79877fb1e538c9725f44bbf20ba
Signed-off-by: Yun(Mark) Tu <yun.tu@intel.com>
Reviewed-on: http://android.intel.com:8080/41511
Reviewed-by: Ponnusamy, Siva Prasath <siva.prasath.ponnusamy@intel.com>
Reviewed-by: Dai, Yu <yu.dai@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wu, Hao [Tue, 27 Mar 2012 14:43:12 +0000 (22:43 +0800)]
usb/penwell_otg: increase timeout to keep Vbus invalid in idle state.
BZ: 28539
This patch workaround resolved the issue VBUS will not stay off for
5s. Also increase A_WAIT_BCON timer for better user experience.
Change-Id: I3c9e24200187081a72425a52ee179019512dde10
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/40951
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Tang, Richard <richard.tang@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: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wu, Hao [Tue, 27 Mar 2012 13:22:01 +0000 (21:22 +0800)]
usb/langwell_udc: reset the maxpacket when disable ep
BZ: 29129
This patch resets the maxpacket value, as everytime the
ep descriptor maxpacketsize will be from ep maxpacket.
If we don't reset the maxpacket, errors will happen when
reassign eps to new gadget functions.
Change-Id: Ice22e8d4b78ba6a967cee6ce5fbecbfc79b42759
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/40943
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Tang, Richard <richard.tang@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: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pandey Raj [Wed, 28 Mar 2012 07:39:37 +0000 (13:09 +0530)]
Updating UI to show the battery percentage increase every 60s
BZ: 24777
Whenever charger is connected/removed to the platform the UI should
update the battery percetange increasing/decreasing. So, the UI update
is done using the polling method rightnow. The interrupt based solution
is WIP and needs to be verified on few platforms before going into
mainline.
Change-Id: Id42349b5ceb07b9e7144a1f2adfd8d9b2442d272
Signed-off-by: Pandey Raj <raj.pandey@intel.com>
Reviewed-on: http://android.intel.com:8080/40679
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>