kernel/kernel-mfld-blackbay.git
12 years agousb:makefile: adjust the otg item in makefile
jzhuan5 [Fri, 9 Dec 2011 03:08:52 +0000 (22:08 -0500)]
usb:makefile: adjust the otg item in makefile

BZ: 15492

The current position of otg item causes ehci driver being loaded
before otg driver, due to which, USB Host function is not available.
Thus, adjust it to the right place.

Change-Id: I0710b8c91525c7207a501476cc213b1b0a333e3a
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/26925
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Dong, Chuanxiao <chuanxiao.dong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agousb/penwell: enable USB Host function in config
Wu, Hao [Mon, 28 Nov 2011 18:06:13 +0000 (02:06 +0800)]
usb/penwell: enable USB Host function in config

BZ: 15492

Patch enabled USB Host function in config for R3, including EHCI support.

Change-Id: I641c5ff9b6bc151419d02843610a64207181e93f
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/26924
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Tested-by: Dong, Chuanxiao <chuanxiao.dong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agousb/penwell_otg: hold wake_lock for OTG A device states
Wu, Hao [Thu, 13 Oct 2011 19:04:25 +0000 (03:04 +0800)]
usb/penwell_otg: hold wake_lock for OTG A device states

BZ: 15492

This patch is used to hold wake_lock to prevent S3 state which
USB will be in D3. Some OTG A device state needs to keep USB in
D0 state, so add this protection.

R2 BZ: 12119

Change-Id: I16267c4b360bfc819f38d3e5a1c509acf03878b3
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/26923
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Tested-by: Dong, Chuanxiao <chuanxiao.dong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agousb/penwell: Port USB Host patches to K30
Wu, Hao [Mon, 28 Nov 2011 18:16:31 +0000 (02:16 +0800)]
usb/penwell: Port USB Host patches to K30

BZ: 15492

Port USB Host related patches from R3 to R3(K30). It includes below
patches:

linux-2.6.35-ac-2010-08-24.patch
usb: ehci: add power budget limitation for penwell
linux-2.6.35-usb-ehci-langwell-pci-add-transceiver-driver-inter.patch
usb: ehci-pci: add SRAM initialization code for S0i3 exit
usb: ehci-hub: Clear PHCD before resuming
Bug fixing patches for 5382/5549/7166.

Change-Id: I3f57bcba7a2ef024b7b57d10405b339026fc1a58
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/26922
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Tested-by: Dong, Chuanxiao <chuanxiao.dong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years ago[PORT FROM R2] n_gsm.c: avoid race condition in network interface
Denis Robert [Tue, 13 Dec 2011 13:45:05 +0000 (14:45 +0100)]
[PORT FROM R2] n_gsm.c: avoid race condition in network interface

BZ: 15922

When the RIL ask (via iotcl) to delete the network interface, if a userland proc
ess is transfering, the xmit function can be called while the interface is delet
ed.
The interface is now stopped before deleting it.

Move from linux-2.6/drivers/char to linux-2.6/drivers/tty

Change-Id: If8e4ad645f6f048ec9b90eb225ef414acf009316
Orig-change-Id: I1e3c9881a7e9e50e30d9d2ac46cfdff4b758b532
Signed-off-by: Vincent Pillet <vincentx.pillet@intel.com>
Signed-off-by: Denis Robert <denis.robert@intel.com>
Reviewed-on: http://android.intel.com:8080/27176
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agopanic_handle: dump logcat buffer when kernel panic happened
Zhang Dongxing [Tue, 23 Aug 2011 07:09:17 +0000 (15:09 +0800)]
panic_handle: dump logcat buffer when kernel panic happened

BZ: 17216

We also dump the existing logcat buffer data into emmc and just copy
the dumped data back to logcat buffer after system reboot. Then we
can use logcat command to retrieve the dumpped log data.

Change-Id: Id7afab9ded5e4d84e7791ea42b573560261701a4
Signed-off-by: Zhang Dongxing <dongxing.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/26997
Reviewed-by: Guerard, Christophe <christophe.guerard@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agopanic handle: Stream call trace into emmc
Zhang Dongxing [Tue, 26 Jul 2011 02:33:41 +0000 (10:33 +0800)]
panic handle: Stream call trace into emmc

BZ: 17214

Once kernel panic happened, we will save all call stack of all
threads into __log_buf and then we will write it to emmc panic
partition. With the increase of thread count, we need more
large__log_buf. It will waste more RAM buffer.

We stream the call trace from __log_buf into emmc panic
partition without allocating more RAM buffer. Once there is
some call trace logged in __log_buf, we will write all into emmc.

Change-Id: I7293c80fdadfee056694a9e1a548e2f17e955e61
Signed-off-by: Zhang Dongxing <dongxing.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/26996
Reviewed-by: Guerard, Christophe <christophe.guerard@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agopanic_handle: Add a debugfs entry to disable/enable emmc ipanic manually
Yanmin Zhang [Mon, 13 Jun 2011 03:32:07 +0000 (11:32 +0800)]
panic_handle: Add a debugfs entry to disable/enable emmc ipanic manually

BZ: 17477

emmc ipanic feature would dump the task kernel stacks of all processes.
That erases all the log_buf usually. Although emmc ipanic writes the info
to storage, but it's not good for living debugging using ITP or other
debug tools. We want to check sys log and other info such like
specific variables and memory, when the panic happens.

This patch adds disable_emmc_ipanic, a new debugfs entry. To disable
emmc ipanic manually:

The patch also adds a boot parameter disable_emmc_ipanic which can be used
when kernel panic at booting.

By default, disable_emmc_ipanic==0.

Change-Id: I2642d2a28a1e6838fb65bc4811b701fe87bdd6ae
Signed-off-by: Yanmin Zhang <yanmin.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/26995
Reviewed-by: Guerard, Christophe <christophe.guerard@intel.com>
Tested-by: Zhang, Dongxing <dongxing.zhang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoPanic_handle: fix all warning messages.
Zhang Dongxing [Tue, 24 May 2011 00:36:11 +0000 (08:36 +0800)]
Panic_handle: fix all warning messages.

BZ: 17212

remove all of compiling warnings.

Change-Id: I8f9f5d1ae9314b510d0ab9695bc36d1d95a71c56
Signed-off-by: Zhang Dongxing <dongxing.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/26994
Reviewed-by: Guerard, Christophe <christophe.guerard@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agopanic_handle: Save kernel msg into EMMC when kernel panic FOR NEW OPTION
liu chuansheng [Tue, 17 May 2011 08:33:51 +0000 (16:33 +0800)]
panic_handle: Save kernel msg into EMMC when kernel panic FOR NEW OPTION

BZ: 17212

Adding a new option for enabling the emmc panic handler

Change-Id: I2838e2e7291ca46c4525f3d7b63ef9371a4c8d53
Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/26993
Reviewed-by: Guerard, Christophe <christophe.guerard@intel.com>
Tested-by: Zhang, Dongxing <dongxing.zhang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agopanic_handle: Save kernel msg into EMMC when kernel panic
liu chuansheng [Mon, 16 May 2011 13:28:55 +0000 (21:28 +0800)]
panic_handle: Save kernel msg into EMMC when kernel panic

BZ: 17212

Adding the new panic handler emmc_ipanic, when panic happened,
the emmc ipanic will save the log buffer and thread info into
emmc emergency partiton.

Change-Id: I59d58b303d7df6e26040bb9da883225b7c3d0713
Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/26992
Reviewed-by: Guerard, Christophe <christophe.guerard@intel.com>
Tested-by: Zhang, Dongxing <dongxing.zhang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years ago[Port from R2-stable] Intel Keypad LED driver patches
Shijie Zhang [Fri, 16 Dec 2011 00:23:17 +0000 (08:23 +0800)]
[Port from R2-stable] Intel Keypad LED driver patches

BZ: 17581

This BZ includes the following BZ:
10361, 13071, 13148, 13751, 14636, 14411, 15649

Change-Id: I801658043354cd0de3f680425e63790c6c5fd040
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/27709
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years ago[PORT FROM R2] IPC Driver Patches
Li, Ning [Thu, 15 Dec 2011 11:32:30 +0000 (19:32 +0800)]
[PORT FROM R2] IPC Driver Patches

BZ: 17485

This BZ includes the following BZs:
10321, 11749, 8773, 9027, 9446, 9459, 10685, 14922, 16961, 16789

Change-Id: I6b5463d15c4fc0e41efe47c4d64ec0d66613ff6b
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/27703
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Zhang, Shijie <shijie.zhang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoAndroidKernel.mk: forward job server information kernel build script
Pierre Tardy [Wed, 14 Dec 2011 17:15:46 +0000 (18:15 +0100)]
AndroidKernel.mk: forward job server information kernel build script

BZ: 16664

when building the kernel there are two independant job server that runs at
the same time, that could lead to double the number of // jobs

Change-Id: I0d9be7a75dfe4fd2a22325b8e4d62cf27aa134a2
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Reviewed-on: http://android.intel.com:8080/27344
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years ago[PORT FROM R2] GPIO controller driver
Philippe Skowronski [Thu, 15 Dec 2011 13:24:07 +0000 (14:24 +0100)]
[PORT FROM R2] GPIO controller driver

BZ: 16830

This BZ includes BZ:
3216

Change-Id: Ie47d733938e185b8c714233fcade1c08ff37b3e8
Signed-off-by: Philippe Skowronski <philippe.skowronski@intel.com>
Reviewed-on: http://android.intel.com:8080/27624
Reviewed-by: Chotard, Celine <celine.chotard@intel.com>
Tested-by: Chotard, Celine <celine.chotard@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoltr502als.c: Port patches from GB
Leo Yan [Tue, 13 Dec 2011 07:11:32 +0000 (15:11 +0800)]
ltr502als.c: Port patches from GB

BZ: 17031

This patch inclues fixing for the following bugs:
BZ 16176: Obviate incorrect PS interrupt
BZ 13626: Reduce intergation circles and enhance adc-lux conversion
BZ 10605: workaround for proximity sensor do not work on first boot issue
BZ 13733: Add GPL header in the code file

Change-Id: I81b73662115d421d7a002a79d096e8a87590ec4a
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/27132
Reviewed-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agotouchscreen: Port patches from GB
Leo Yan [Thu, 15 Dec 2011 00:57:45 +0000 (08:57 +0800)]
touchscreen: Port patches from GB

BZ: 17031

This patch inclues fixing for the following bugs:
BZ 12527:
0001-atmel_mxt224-config-data-change-to-improve-stability.patch
0002-atmel_mxt224-disable-auto-calibration-after-calibrat.patch
BZ 11001:
0003-atmel_mxt224-remove-reset-when-cycle-overflow.patch
BZ 13372:
0004-atmel_mxt224-lower-touch-threshold-to-improve-touch-.patch

Change-Id: I6e2c336fec71a9bbbc194ea1cdbcb502534411dc
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/27427
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>
12 years ago[PORT FROM GB] I2C patches
Li, Ning [Wed, 14 Dec 2011 07:32:02 +0000 (15:32 +0800)]
[PORT FROM GB] I2C patches

BZ: 17357

This BZ includes the following BZ:
15120, 13176

Change-Id: I9762daad766811cf87379aa2fa33ce8d418987c7
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/27295
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years ago[PORT FROM R2] ADC driver patches
Li, Ning [Tue, 13 Dec 2011 05:46:49 +0000 (13:46 +0800)]
[PORT FROM R2] ADC driver patches

BZ: 17163

This BZ includes the following BZ:
11047, 10427, 12458, 13583, 15827

Change-Id: Ifb5bb6736820beec875157d67fd54f90bad85364
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/27160
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Zhang, Shijie <shijie.zhang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoAdding ctp_pr0 build variant.
Seema Pandit [Wed, 7 Dec 2011 16:50:41 +0000 (08:50 -0800)]
Adding ctp_pr0 build variant.

BZ: 16707

Change-Id: Ie668feee1fc50807f9a5ebc97d14fe213df0de46
Signed-off-by: Seema Pandit <seema.pandit@intel.com>
Reviewed-on: http://android.intel.com:8080/26875
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>
12 years ago[LOG] PTI not enabled on kernel 3.0
Christophe Guerard [Mon, 12 Dec 2011 16:28:44 +0000 (17:28 +0100)]
[LOG] PTI not enabled on kernel 3.0

BZ: 16865

Change-Id: Ie3e9f41cad62ab72c7051ea899f24668519748c1
Signed-off-by: Christophe Guerard <christophe.guerard@intel.com>
Reviewed-on: http://android.intel.com:8080/27068
Reviewed-by: Chotard, Celine <celine.chotard@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agointel_scu_ipc: add cloverview support
Leonard Mai [Wed, 30 Nov 2011 15:20:14 +0000 (07:20 -0800)]
intel_scu_ipc: add cloverview support

BZ: 16713

Cloverview SOC use different PCI Device ID for IPC hence existing IPC
driver won't be successfully probed on Cloverview SOC.

Clovertrail Phone is using Avondale Cove PMIC (TI PSNB5072A) which is
derivative of the TI MSIC chip used on Medfield with reduced capabilities.
All PMIC registers ofsets on Avondale Cove PMIC are compatible with TI MSIC.

This patch adds IPC probing and support for Cloverview SOC.

Change-Id: I1a5cd363aafd1da6eb8c6445c0fb60c584827fc4
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Reviewed-by: Mark Gross <mark.gross@intel.com>
Reviewed-by: Fei Yang <fei.yang@intel.com>
Reviewed-by: Bin Yang <bin.yang@intel.com>
Tested-by: Siva Prasath Ponnusamy <siva.prasath.ponnusamy@intel.com>
Reviewed-on: http://android.intel.com:8080/26620
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Seibel, Eric <eric.seibel@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>
12 years agoi2c: add cloverview support
Leonard Mai [Wed, 30 Nov 2011 20:20:19 +0000 (12:20 -0800)]
i2c: add cloverview support

BZ: 16711

Cloverview SOC use different PCI Device IDs for I2C controllers hence
existing Medfield I2C driver won't be loaded on Cloverview SOC.

This patch adds I2C probing support for Cloverview SOC

Change-Id: I5f26899c141e09ddf420db160b678882234e6dfa
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Reviewed-by: Mark Gross <mark.gross@intel.com>
Reviewed-by: Fei Yang <fei.yang@intel.com>
Reviewed-by: Bin Yang <bin.yang@intel.com>
Tested-by: Siva Prasath Ponnusamy <siva.prasath.ponnusamy@intel.com>
Reviewed-on: http://android.intel.com:8080/26622
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Ponnusamy, Siva Prasath <siva.prasath.ponnusamy@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agommc: adding mmc and sdio support for cloverview
Leonard Mai [Sat, 19 Nov 2011 16:29:18 +0000 (08:29 -0800)]
mmc: adding mmc and sdio support for cloverview

BZ: 16722

Cloverview SOC use different PCI Device IDs for eMMC/SDIO controllers
hence existing eMMC/SDIO driver won't be initialized on Cloverview SOC.

This patch adds eMMC and SDIO probing support for Cloverview SOC. Also,
Cloverview does not support eMMC mutex as comparing to Penwell hence not
to expose the Dekker's mutex mechanism for Cloverview.

Change-Id: I47927feef3c6cc62acc0c5912e1e2e8d7c0c7f2c
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Mark Gross <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/26618
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: Dong, Chuanxiao <chuanxiao.dong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agommc: sdhci: ignore CLV card detection support
chuanxiao.dong@intel.com [Fri, 9 Dec 2011 05:39:04 +0000 (13:39 +0800)]
mmc: sdhci: ignore CLV card detection support

BZ: 16895

CLV has different memery map with MFLD which can cause fabric error
if using the same rule with MFLD. And currently CLV didn't have runtime
pm, so we can disable SD gpio detection temporary for CLV

Change-Id: I10805f5338a232aa290e7f44ecaaed2a34ff44cb
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/26658
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Mai, Leonard <leonard.mai@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years ago[Graphics/Display]: Port a bunch of patches from R2
Randy Xu [Sun, 11 Dec 2011 11:17:20 +0000 (19:17 +0800)]
[Graphics/Display]: Port a bunch of patches from R2

BZ: 17008

This patch includes below bug fixing

0002-Gfx-Display-Enhance-DDC-to-read-extention-block-in-E.patch:BZ: 13176
0003-GFX-PM-Support-of-MIPIA-Display-OFF-during-video-pla.patch:BZ: 14855
0004-Gfx-Display-Fix-issue-for-MIPI-ERROR-fifo-is-not-emp.patch:BZ: 15147
0005-GFX-PM-fix-the-return-value-when-encoder-fail-to-pow.patch:BZ: 16150
0006-Solve-one-PM-issue-may-lead-to-Fabric-error.patch:BZ: 15373

Change-Id: Ia7cf3dc456df204489368dca3ff4e3a1f615bbec
Signed-off-by: Randy Xu <randy.xu@intel.com>
Signed-off-by: Tong Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/27125
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoPort over CTP patches from hc ddk-1.7 to ics-ddk-1.8
Guoqiang Cao [Sun, 11 Dec 2011 20:05:51 +0000 (12:05 -0800)]
Port over CTP patches from hc ddk-1.7 to ics-ddk-1.8

BZ: 13288

Port over CTP patches from hc ddk-1.7 to ics-ddk-1.8 which includes
several patches

Change-Id: I31a1e1820af228509f4f664015e7fda82526bb88
Signed-off-by: Guoqiang Cao <guoqiang.cao@intel.com>
Signed-off-by: Tong Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/27124
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>
12 years ago[PORT FROM GB] Add support for dynamically adjusting volume during the call in S3...
Shijie Zhang [Fri, 28 Oct 2011 00:54:50 +0000 (08:54 +0800)]
[PORT FROM GB] Add support for dynamically adjusting volume during the call in S3 state

BZ: 13269

This patch fix the problem that can not adjust the volume during the
call in S3 state with screen off because of the proximity sensor. By
adding sysfs interface "enabled_wakeup" and "disabled_wakeup" in
gpio-keys to dynamically enable or disable the gpiokeys.

Change-Id: I80c45daca2999821502302998f76e0e54c806a68
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/26773
Reviewed-by: Barthes, FabienX <fabienx.barthes@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agomrst: process atmel_mxt224 from SFI table
Hari Kanigeri [Thu, 8 Dec 2011 15:52:47 +0000 (07:52 -0800)]
mrst: process atmel_mxt224 from SFI table

BZ:16879

At present the atmel_mxt224 value is hard coded in blackbay_pr2.c
file. This value is already part of SFI table, and should make use
of this instead of using hard coded values.

changed the name of Atmel_mxt224 to mxt224 to match with the
name used in SFI table.

Change-Id: Ic86dbfc306cf28ef534bd8f6dd1e28da486af885
Signed-off-by: Hari Kanigeri <hari.k.kanigeri@intel.com>
Signed-off-by: Prabu Renganathan <prabu.renganathan@intel.com>
Reviewed-on: http://android.intel.com:8080/26863
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>
12 years agoapply pvrdbg flag to kernel space IMG DDK
John Ye [Fri, 9 Dec 2011 10:00:52 +0000 (18:00 +0800)]
apply pvrdbg flag to kernel space IMG DDK

BZ: 16943

The userspace DDK can be compiled to debug mode with flag pvrdbg=1,
however this did not affect the kernel DDK code.
This commit fixes this issue.

Change-Id: I73877360183badd3958cbd264130b3d776070135
Signed-off-by: John Ye <john.ye@intel.com>
Reviewed-on: http://android.intel.com:8080/26916
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoGfx-Display: fixed the issue that HDMI can't show video playback with HW Composer.
Austin Hu [Mon, 5 Dec 2011 10:04:13 +0000 (18:04 +0800)]
Gfx-Display: fixed the issue that HDMI can't show video playback with HW Composer.

BZ: 16345

When play video with HDMI by Gallery, overlay crashes because overlay plane size
(= HDMI sink device mode) exceeds DC source image size in aspect ratio mode.

Fixed the issue by setting HDMI default scaling mode to center. And Resoure Manager
can decide to set HDMI scaling to center before playing video via HDMI, to avoid
such issue.

Change-Id: I8cf42740962377125ac9ed631cd1fa828b57555f
Signed-off-by: Austin Hu <austin.hu@intel.com>
Reviewed-on: http://android.intel.com:8080/26915
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>
12 years ago[Graphics/Display]: Port a bunch of patches from R2
Randy Xu [Sun, 11 Dec 2011 11:17:20 +0000 (19:17 +0800)]
[Graphics/Display]: Port a bunch of patches from R2

BZ: 17008

This patch includes below bug fixing

0002-GFX-3D-2D-using-private-queue-instead-of-common-work.patch:BZ:4306
0003-GFX-Display-fix-V_1P22_VCCAON_DSI-rail-high.patch:BZ:  6670
0004-GFX-PM-Enable-GL3-attributes-including-auto-clock-g.patch:BZ: 6371, 8403, 8405, 8406, 8407 & 8408
0005-GFX-Display-Added-ULPS-support-to-DPI-driver.patch:BZ:  9284
0006-GFX-Display-replaced-busy-waits-20ms-with-mslee.patch:BZ:  9440
0007--PORT-FROM-R1-GFX-Display-update-pr2-cabc-control.patch:BZ:  8544
0008--PORT-FROM-R1-Graphics-Display-SGX-HW-recovery-ca.patch:BZ:  10106
0009--GFX-Display-Not-change-the-panel-devInfo-when-cre.patch:BZ: 11873
0010-Gfx-Display-Refined-scaling-setting-to-support-Cent.patch:BZ: 11093
0011-GFX-Improve-HDMI-rotation-mechanism-kernel.patch:BZ: 10804, 11517, 10736
0012-Gfx-Display-Fix-vblank-enable-disable-defect-in-HDM.patch:BZ: 11434
0013-psb_drm-obsolet-fields-can-be-deleted-in-psb_drm.h.patch:BZ: 9354
0014-Graphics-restore-the-BCD-reference-count-in-case-of.patch:BZ: 11670
0015-Gfx-Display-sending-HDMI-audio-suspended-resumed-ue.patch:BZ: 12415
0016-GFX-Display-add-code-to-support-HDMI-compliance.patch:BZ: 5876, 5879
0017-GFX-display-update-HDMI-AVI-info-support-kernel.patch:BZ: 5877
0018-Gfx-Display-Modify-DPMS-to-just-turn-off-HDMI-plane.patch:BZ: 12541
0019-GFX-display-Add-a-ioctl-interface-for-HDMIpipe-enabl.patch:BZ: 12881, 12949
0020-GFX-Display-fix-mimic-mode-will-be-changed-during-m.patch:BZ: 5876
0021-Graphic-Solve-klocwork-review-defects-for-pvr.patch:BZ: 13836
0022-Gfx-Display-fix-issue-of-HDMI-could-not-get-i2c-ada.patch:BZ: 14013
0023-GFX-Display-fix-refresh-info-not-right-of-MIPI-mode.patch:BZ: 13941
0024-Gfx-Display-fix-the-issue-of-HDMI-hotplug-could-not.patch:BZ: 13917
0025-GFX-HDCP-port-I2C-address-change-to-0x3A-without-re.patch:BZ: 14427
0026-GFX-display-add-code-to-support-HDMI-set-power-stat.patch:BZ: 13944
0027-Gfx-Display-Fix-issue-of-music-does-not-restart-on.patch:BZ: 13987
0028-GFX-Display-enhancement-HDMI-compliance-test-support.patch:BZ: 14104, 14617, 14627
0029-GFX-HDMI-HDCP-Fix-HDCP-cann-t-be-enabled-disabled.patch:BZ: 13724
0030-GFX-Display-Fix-call-issue-when-connect-HDMI.patch:BZ: 13468
0031-GFX-display-fix-HDMI-corrupted-after-resume-from-r.patch:BZ: 13067
0032-Gfx-Display-fix-issue-of-incoming-call-display-on-H.patch:BZ: 14113
0033-Gfx-Display-Ensure-HDMI-clock-is-enabled-before-HDM.patch:BZ: 14156
0034-GFX-display-update-hdmi_state-usage.patch:BZ: 14097
0035-GFX-display-flush-the-plane-changes-when-disable-e.patch:BZ: 15146
0036-GFX-display-fix-hdmi-dpms-fabric-error.-for-R2.patch:BZ: 14884, 14091, 12933
0037-GFX-Display-fix-OVADD-fabric-error-hdmi-resume-fail.patch:BZ: 15667
0038-GFX-Display-fix-lost-video-when-upplug-HDMI.patch:BZ: 15527

Change-Id: I35d6304f3cd84c6f45d3ef4c23637e4e41a68f83
Signed-off-by: Randy Xu <randy.xu@intel.com>
Reviewed-on: http://android.intel.com:8080/26914
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoGfx-Display: fixed the issue that HDMI can't display in ICS.
Sophia Gong [Thu, 1 Dec 2011 13:12:33 +0000 (21:12 +0800)]
Gfx-Display: fixed the issue that HDMI can't display in ICS.

BZ: 16029

HDMI encoder's detect callback doesn't go through the correct process
which checks HDMI connection status via MSIC and un-gates Display B
island, because the CONFIG_X86_MRST switch is turned off in ICS kernel
config.

Fixed the issue by using CONFIG_X86_MDFLD.

Note: as the HDMIObserver middleware hasn't been integrated into ICS,
we have to turn on HDMI by connecting it with PR2/3 during booting
system, or by using some libdrm based tools.

Change-Id: I031e3b6a108c36d0ba70ffcc8742fb5e31f1066a
Signed-off-by: Sophia Gong <sophia.gong@intel.com>
Reviewed-on: http://android.intel.com:8080/26682
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years ago[Graphics]: Integrating the IMG DDK1.8 into ICS mainline
Randy Xu [Sun, 11 Dec 2011 11:02:12 +0000 (19:02 +0800)]
[Graphics]: Integrating the IMG DDK1.8 into ICS mainline

BZ: 16598

Upgrade to PVR DDK 1.8. The 1st set (changes under hardware/intel/linux-2.6/) of 4.

Graphics: PVR DDK 1.8 drop (ED 1.8.778983)

Feature enabled:
1. Surface Texture: GLES1/2_EXTENSION_EGL_IMAGE_EXTERNAL.
2. Pixel format: XRGB888; XBGR8888 & ABGR8888 are rendered via Skia (SW) rather than GPU with GL.
3. EGL_ANDROID_recordable: supports rendering to matching buffer formats that are suitable for feeding to an OpenMAX video encoder.

Feature disabled:
1. HWC HAL of PVR: integrated, but turned OFF (SUPPORT_ANDROID_REFERENCE_COMPOSER_HAL).
2. ION memory manager: integrated, turn OFF support for OMAP (CONFIG_ION_OMAP).
3. Composition Bypass mode: SUPPORT_ANDROID_COMPOSITION_BYPASS.

Change-Id: I5b1ad973d4454324e5194d3f8c05458aa7a3a9b8
Signed-off-by: John Ye <john.ye@intel.com>
Signed-off-by: Randy Xu <randy.xu@intel.com>
Reviewed-on: http://android.intel.com:8080/26913
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoPanic: mmc: core: implement mmc panic ops
Chuanxiao Dong [Tue, 25 Oct 2011 12:20:33 +0000 (20:20 +0800)]
Panic: mmc: core: implement mmc panic ops

BZ: 16578

Port this patch from R2

Ops for panic driver to write kernel logs or user space logs into
eMMC card when panic happened.

Change-Id: I84b9e397bb12610a5a93454a0be63b90a99baccf
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/26320
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoPanic: mmc: SDHCI: implement panic ops for MFLD SDHCI driver
Chuanxiao Dong [Tue, 25 Oct 2011 12:27:00 +0000 (20:27 +0800)]
Panic: mmc: SDHCI: implement panic ops for MFLD SDHCI driver

BZ: 16578

Port this patch from R2

This patch will implement the panic ops for MFLD sdhci host driver.
The original sdhci host driver was using interrupt mode which is not
preferred in panic mode. So implemented another ops which will use
polling mode instead

Change-Id: I4d808405eadd7565141f3bf8e1531148e6c0fc9a
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/26321
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agomid_pmu/intel_idle: porting from r2 build
Vishwesh M Rudramuni [Fri, 25 Aug 2006 23:45:48 +0000 (05:15 +0530)]
mid_pmu/intel_idle: porting from r2 build

BZ: 15910

This contains all the changes for the intel idle & pmu driver
from the r2 build. The significant changes done are in pmu
driver to remove most of the global variables & adding a structure.
in intel_idle driver adding mfld_cstates & adding the target
residency based on the formula. lpmp3 issues & in general pmu code
clean up.

Change-Id: Iad0f396f438cf5cd42ad42fcd185b7149db28d16
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Reviewed-on: http://android.intel.com:8080/25692
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoapic: fixing the mwait hang issue during s3 exit
Vishwesh M Rudramuni [Fri, 1 Sep 2006 17:22:17 +0000 (22:52 +0530)]
apic: fixing the mwait hang issue during s3 exit

BZ: 16590

This patch was missed in the pmu driver s3 enabling. This is a very
important patch where we dont disable lapic when we are entering S3.
In cases where there is a mwait failure & scu aborts, pmu interrupt
will not be forwarded to IA as lapic is suspended & system will hang
with bothcpu's in mwait state. hence in this patch we try to have a
seperate lapic_suspend/resume routines specific to our platform.

Change-Id: I8903d353ea038280d6276f44c25e8b36fb2458bf
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Reviewed-on: http://android.intel.com:8080/26281
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agomrst: add cpu detection and earlyprintk support for cloverview
Leonard Mai [Mon, 28 Nov 2011 16:15:32 +0000 (08:15 -0800)]
mrst: add cpu detection and earlyprintk support for cloverview

BZ: 15575

Cloverview SOC use CPUID=0x30650 which translates x86_model to 0x35. The
Medfield kernel currently does not support this x86_model number hence
it won't be able to detect Cloverview SOC properly. Also, there is a memory
map change on Cloverview's SPI1 interface hence earlyprintk won't work on
Cloverview SOC.

This patch adds CPU detection and earlyprintk support for Cloverview SOC.

Change-Id: I1ce935aeee4b42a02b62e14c01682806d16e0acb
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Reviewed-by: Yong Yao <yong.yao@intel.com>
Tested-by: Siva Prasath Ponnusamy <siva.prasath.ponnusamy@intel.com>
Reviewed-on: http://android.intel.com:8080/25443
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agohsi: add cloverview probing support
Leonard Mai [Mon, 28 Nov 2011 13:39:43 +0000 (05:39 -0800)]
hsi: add cloverview probing support

BZ: 15576

Cloverview SOC use different PCI Device ID for HSI hence existing Medfield
HSI driver won't be loaded on Cloverview SOC.

This patch add HSI probing support for Cloverview SOC

Change-Id: I58ae53c59b8d0405cf00469dcc48d87eb2774538
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Tested-by: Siva Prasath Ponnusamy <siva.prasath.ponnusamy@intel.com>
Reviewed-on: http://android.intel.com:8080/25445
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agomfd: add probing support for cloverview
Leonard Mai [Mon, 28 Nov 2011 17:39:58 +0000 (09:39 -0800)]
mfd: add probing support for cloverview

BZ: 15592

Cloverview SOC use different PCI Device ID for HS-UART hence existing
HS-UART driver won't be successfully probed on Cloverview SOC.

This patch adds HS-UART probing support for Cloverview SOC

Change-Id: Ic6ee5b73239445b81758a7dac26b2c5121fb472e
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Tested-by: Siva Prasath Ponnusamy <siva.prasath.ponnusamy@intel.com>
Reviewed-on: http://android.intel.com:8080/25452
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agointel_mid_dma: add cloverview probing support
Leonard Mai [Mon, 28 Nov 2011 13:53:27 +0000 (05:53 -0800)]
intel_mid_dma: add cloverview probing support

BZ: 15578

Cloverview SOC use different PCI Device ID for DMA hence existing
Medfield DMA driver won't be initialized on Cloverview SOC.

This patch adds GP-DMA/LPE-DMA probing support for Cloverview SOC

Change-Id: I837815f7d5a9f0f1ceae7a5f913456130ed621f4
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Tested-by: Siva Prasath Ponnusamy <siva.prasath.ponnusamy@intel.com>
Reviewed-on: http://android.intel.com:8080/25444
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>
12 years agoBrowsing is not working
Marc Blassin [Wed, 30 Nov 2011 14:36:44 +0000 (15:36 +0100)]
Browsing is not working

BZ: 15379

As ioctl in the tty_operations struct for kernel 3.0 requires only 3
parameters, the wrong signature in n_gsm (4 parameters) leads to an IOCTL
call to the MUX which is not handled correctly.
Because of this, the RIL is not able to request the network interface
creation to the MUX via the GSMIOC_ENABLE_NET IOCTL call, so 3G data browsing is not
possible as no network interface exists.

Change-Id: Ic2ef269b5f3f161448230e6fd88ba35b3537c133
Signed-off-by: Marc Blassin <marcx.blassin@intel.com>
Reviewed-on: http://android.intel.com:8080/25804
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>
12 years agointel_mid_i2s: fix runtime pm
Fei Yang [Wed, 30 Nov 2011 00:27:04 +0000 (16:27 -0800)]
intel_mid_i2s: fix runtime pm

BZ: 15772

PCI device drivers need this change due to runtime pm init
scheme change in Linux 3.0

Change-Id: I8051637114ebadcb236efd25a1a5029e66aacff4
Signed-off-by: Fei Yang <fei.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/25641
Reviewed-by: Le Gall, Louis <louis.le.gall@intel.com>
Reviewed-by: Pichon, SylvainX <sylvainx.pichon@intel.com>
Reviewed-by: Germond, Cyril <cyril.germond@intel.com>
Reviewed-by: Suet, NicolasX <nicolasx.suet@intel.com>
Reviewed-by: Barthes, FabienX <fabienx.barthes@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: Centelles, Sylvain <sylvain.centelles@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agobluetooth: add tiwl1283 btwilink driver + updated TI ST
Fabien Peix [Mon, 21 Nov 2011 16:15:35 +0000 (17:15 +0100)]
bluetooth: add tiwl1283 btwilink driver + updated TI ST

BZ: 15234

Merged from GB R2 K2.6.35 to Kernel 3.0.8
This is the btwilink driver along an updated version of
shared transport.

Change-Id: I3e099edd3865250b122867cea4c6dbfef4528b76
Signed-off-by: Fabien Peix <fabienx.peix@intel.com>
Reviewed-on: http://android.intel.com:8080/25350
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoAdding intel_mid_i2s drivers to kernel 3.0
Sylvain Pichon [Fri, 25 Nov 2011 15:58:40 +0000 (16:58 +0100)]
Adding intel_mid_i2s drivers to kernel 3.0

BZ: 15712

Change-Id: Ie3671d54db65a99a1752e6db2a4c690e0d3c27b9
Signed-off-by: Sylvain Pichon <sylvainx.pichon@intel.com>
Reviewed-on: http://android.intel.com:8080/25553
Reviewed-by: Le Gall, Louis <louis.le.gall@intel.com>
Reviewed-by: Suet, NicolasX <nicolasx.suet@intel.com>
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>
12 years agoAudio: intel_sst inclusion path change.
Cyril Germond [Tue, 29 Nov 2011 11:10:52 +0000 (12:10 +0100)]
Audio: intel_sst inclusion path change.

BZ: 15668

As intel_sst driver location has changed, all components including intel_sst.h
must have the correct inclusion path.

Change-Id: Id0f9c9203cc8c965de7bc56f89e6b8edfd0685ec
Signed-off-by: Cyril Germond <cyril.germond@intel.com>
Reviewed-on: http://android.intel.com:8080/25548
Reviewed-by: Suet, NicolasX <nicolasx.suet@intel.com>
Reviewed-by: Pichon, SylvainX <sylvainx.pichon@intel.com>
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>
12 years agoaudio: port the non upstreamed changes
Ramesh Babu K V [Mon, 24 Oct 2011 09:46:29 +0000 (15:16 +0530)]
audio: port the non upstreamed changes

BZ: 15246

move staging sst to sound/
port sn95031 changes
port sst_platform and mfld_machine drv
port the intel-mid-dma driver
port the intel-sst driver
asoc:add ignore_pmdown_time flag to dai_link
(backport for k3.2)

Orignal commit log for asoc backport patch:
ASoC framework delays playback widget power down sequence
by 5 seconds.  This delay is applicable for all the playback
streams.  This delay is not required for voice dai's.

This patch adds ignore_pmdown_time flag to snd_soc_dai_link
structure.  Each dai_link can choose to ignore the pmdown_time
based on board configuration.

commit ID in upstream asoc tree:
e50fad4f029c36ed85a71fe7413684cfd3c7d78c

Change-Id: I50c665d842730cdb5bb54fd1d39680ba3b1fcd5c
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/25532
Reviewed-by: Suet, NicolasX <nicolasx.suet@intel.com>
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>
12 years agoregulator: Enable regulator support in kernel 3.0
Aymen Zayet [Wed, 23 Nov 2011 15:18:07 +0000 (16:18 +0100)]
regulator: Enable regulator support in kernel 3.0

BZ: 15061

The Wifi uses fixed regulator driver attached to mmc 2 slot.

Change-Id: I03f845be9ffde97202a5023eb4d2d97f02b47b6b
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25385
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agokernel: Adding wireless network support.
Aymen Zayet [Wed, 23 Nov 2011 10:59:23 +0000 (11:59 +0100)]
kernel: Adding wireless network support.

BZ: 15061

Add the configuration required to make the wifi enabled within the
Linux kernel.

Change-Id: Icdb6c27b49cb6e22625996d3e51d9a03a5f49805
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25384
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agolnw_gpio: Initialize the lnw driver using fs_initcall.
Aymen Zayet [Tue, 22 Nov 2011 13:58:13 +0000 (14:58 +0100)]
lnw_gpio: Initialize the lnw driver using fs_initcall.

BZ: 15061

Platform dependent code requires the langwell gpio driver to be
initialized earlier to be able to request some GPIOs related to
WIFI.

Change-Id: I8d24b162b5852a7d4083d1c15850783ad5bcf119
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25383
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agokernel: enable CONFIG_RFKILL.
Aymen Zayet [Tue, 22 Nov 2011 13:55:14 +0000 (14:55 +0100)]
kernel: enable CONFIG_RFKILL.

BZ: 15061

Enable full control of the Radio from the user space. Feature required
by some wifi applications.

Change-Id: Ic9e5276e84f2a30e4f7f1abc7c1b71b646b06127
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25382
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agosdhci: attach fixed regulator to sdhci host controller.
Aymen Zayet [Tue, 22 Nov 2011 13:45:12 +0000 (14:45 +0100)]
sdhci: attach fixed regulator to sdhci host controller.

BZ: 15061

The WIFI requires a fixed regulator to enable / disable the chip.
So in the early device initialization, the regulator shall be requested
for the sdhci host controller.

Change-Id: I1e2b779c85f7cf14e2d24a3ed1bc651e8b0c8805
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25381
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agosdhci: Do not power off the mmc card when entering in S3.
Aymen Zayet [Mon, 21 Nov 2011 18:24:42 +0000 (19:24 +0100)]
sdhci: Do not power off the mmc card when entering in S3.

BZ: 15061

Avoid enabling / disabling the regulator on suspend / resume.
The attached card shall remain powered by the regulator.

Change-Id: I5c848d911a27e9b0d19c5a37cf4ae60bcab77ccf
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25380
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agosdhci: Adding regulator support when setting mmc ios.
Aymen Zayet [Mon, 21 Nov 2011 18:22:11 +0000 (19:22 +0100)]
sdhci: Adding regulator support when setting mmc ios.

BZ: 15061

Enable / disable regulator when mmc ios is updated.

Change-Id: Ib9a0fa2b5399a000ef5e86adff49a4ef33e6c2d8
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25379
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agosdhci: Fix missing runtime_pm get/put.
Aymen Zayet [Mon, 21 Nov 2011 18:16:18 +0000 (19:16 +0100)]
sdhci: Fix missing runtime_pm get/put.

BZ: 15061

make sure that card is powered on / off when required.

Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Change-Id: I3c6183fa5ac85caf64f61048447ed2880c6c4828
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25378
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agokernel: Adding FLAGS required by the wifi.
Aymen Zayet [Mon, 21 Nov 2011 18:04:11 +0000 (19:04 +0100)]
kernel: Adding FLAGS required by the wifi.

BZ: 15061

Actually, the wifi driver is based on compat wireless modules that
requires WL12XX_PLATFORM_DATA to be enabled within the kernel. So
it shall be enabled by default with WL12XX.

The wifi uses two AON gpios and thus the wifi interrupt handler is
forwarded by the GPIO driver. So to prevent losing wifi interrupts,
HARDIRQS_SW_RESEND shall be used.

Change-Id: Ic61fd84cc2ef849e7b97bb90164e53b9f0ba944d
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25377
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agomrst: Initialize wl12xx platform data.
Aymen Zayet [Mon, 21 Nov 2011 16:29:42 +0000 (17:29 +0100)]
mrst: Initialize wl12xx platform data.

BZ: 15061

Perform Wifi platform data initialization.

Change-Id: I71f7bde84dcff44fb587c0c69bc021dd07264f6d
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25376
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agosdhci: Adding new Quirk for the sdhci controller.
Aymen Zayet [Mon, 21 Nov 2011 13:33:05 +0000 (14:33 +0100)]
sdhci: Adding new Quirk for the sdhci controller.

BZ: 15061

The SDHCI controller is not able to perform a soft reset on resume.
So SDHCI_QUIRK_CANNOT_KEEP_POWERCTL is added to reset completely the
sdhci controller rather than resetting CMD / DATA.

Without this quirk, the reset on resume  will never complete and the
system hangs.

Change-Id: I00f46558624b5a65deb7f49cceec6dc2af7b37b4
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25375
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
12 years agoAudio: Headset detection.
Deng BingX [Tue, 8 Mar 2011 01:22:39 +0000 (09:22 +0800)]
Audio: Headset detection.

Change-Id: I8245b11b2df3af3f2a0bca3eec6c1c3d4bdb185b
Signed-off-by: bdeng3X <bingx.deng@intel.com>
Reviewed-on: http://android.intel.com:8080/25152
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoAudio: Add headset detcetion module config in i386_mfld_cdk_android_defconfig.
Deng BingX [Tue, 8 Mar 2011 01:24:45 +0000 (09:24 +0800)]
Audio: Add headset detcetion module config in i386_mfld_cdk_android_defconfig.

Change-Id: Id4c4afe0565cdaa0c5a3d6eeef36fc700b760842
Signed-off-by: bdeng3X <bingx.deng@intel.com>
Reviewed-on: http://android.intel.com:8080/25153
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
12 years agogfx-gtt: enhanced GTT memory manager to support different buffer types.
Jackie Li [Wed, 23 Nov 2011 15:00:06 +0000 (23:00 +0800)]
gfx-gtt: enhanced GTT memory manager to support different buffer types.

This is patch 2/5 of HWC enabling.

Added three interfaces to GTT memory manager to support follow buffers:
1) all kinds of PVR meminfo
2) BCD buffer
3) user mode allocated buffer.

Change-Id: I9bdcd4f18cf01ab58976c495d51b0aa0a3d27583
Signed-off-by: Jackie Li <yaodong.li@intel.com>
Reviewed-on: http://android.intel.com:8080/25090
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoPort I2C driver from current driver to k30
Bin Yang [Mon, 21 Nov 2011 16:36:02 +0000 (16:36 +0000)]
Port I2C driver from current driver to k30

BZ: 15206

1. some differences of runtime PM implementation, including
auto runtime suspend.
2. one bug fixing in ISR.
3. add dump function for debugging.
4. correct clock setting.

Change-Id: Ib3d82e91333aa33bd319d5fed88389b15bd698fc
Signed-off-by: Bin Yang <bin.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/25164
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agodw_spi_pci: add spi1 probing support for cloverview
Leonard Mai [Tue, 22 Nov 2011 19:46:57 +0000 (11:46 -0800)]
dw_spi_pci: add spi1 probing support for cloverview

BZ: 15092

Cloverview SOC use different PCI Device ID for SPIs hence existing
SPI driver won't be initialized on Cloverview SOC.

This patch adds SPI1 probing support for enabling Cloverview SOC.
Also, 0x0800 is the PCI device ID for SPI controller 1 on Penwell (not 0)
hence corrected the comment.

Change-Id: Ie0db4da6cf4f72f1ddb0ae4f53f029eec44f0f0d
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Tested-by: Siva Prasath Ponnusamy <siva.prasath.ponnusamy@intel.com>
Reviewed-on: http://android.intel.com:8080/25028
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agopti: add pti probing support for cloverview
Leonard Mai [Tue, 22 Nov 2011 20:00:54 +0000 (12:00 -0800)]
pti: add pti probing support for cloverview

BZ: 15091

Cloverview SOC use different PCI Device ID for PTI hence existing PTI
driver won't be loaded on Cloverview SOC.

This patch adds PTI probing support for Cloverview SOC

Change-Id: I16e5770e8019cb7357bd430809abf11e3e9b8ba5
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Tested-by: Siva Prasath Ponnusamy <siva.prasath.ponnusamy@intel.com>
Reviewed-on: http://android.intel.com:8080/25027
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agogpio: add cloverview probing support
Leonard Mai [Tue, 22 Nov 2011 20:05:43 +0000 (12:05 -0800)]
gpio: add cloverview probing support

BZ: 15089

Cloverview SOC use different PCI Device ID for GPIO hence existing Medfield
GPIO driver won't be initialized on Cloverview SOC.

This patch add GPIO probing support for Cloverview SOC.

Change-Id: Ibc46a51605726ff9ddd8ffccf793bece3beb4949
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Tested-by: Siva Prasath Ponnusamy <siva.prasath.ponnusamy@intel.com>
Reviewed-on: http://android.intel.com:8080/25026
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoPort from k35: camera drivers updated to ww46
Tao Jing [Tue, 22 Nov 2011 06:30:12 +0000 (14:30 +0800)]
Port from k35: camera drivers updated to ww46

including the following patche:

http://android.intel.com:8080/#change,23169
http://android.intel.com:8080/#change,22968
http://android.intel.com:8080/#change,22967
http://android.intel.com:8080/#change,23022
http://android.intel.com:8080/#change,22679
http://android.intel.com:8080/#change,22832
http://android.intel.com:8080/#change,22073
http://android.intel.com:8080/#change,22984
http://android.intel.com:8080/#change,22895

Change-Id: I1b795471f52a791f9ef16ef34da75dee16f36f23
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24970
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoPort from k35: camera drivers updated to ww45
Tao Jing [Tue, 22 Nov 2011 04:45:25 +0000 (12:45 +0800)]
Port from k35: camera drivers updated to ww45

including the following patches:

http://android.intel.com:8080/#change,22630
http://android.intel.com:8080/#change,22612
http://android.intel.com:8080/#change,22755
http://android.intel.com:8080/#change,22396
http://android.intel.com:8080/#change,21860
http://android.intel.com:8080/#change,22699

Change-Id: Iec91a5eb24d5bd3b7090a0f55170ce1d7064e237
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24969
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoEnable hardware composer, kernel driver
Yong Yao [Tue, 22 Nov 2011 16:00:19 +0000 (00:00 +0800)]
Enable hardware composer, kernel driver

Change-Id: I8c8364484c97d0b1a3d63a1b98d83ab4072d45dc
Reviewed-on: http://android.intel.com:8080/24914
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agousb/penwell_otg: update USB charger type detection flow
Wu, Hao [Mon, 21 Nov 2011 22:27:30 +0000 (06:27 +0800)]
usb/penwell_otg: update USB charger type detection flow

BZ: 14936

2 patches missed, which can cause USB Host PC can not be
detected by penwell correctly.

Change-Id: Ie1dd3d4be2e5afa9924c3cb7c3be95ee942adde7
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/24844
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoavoid boot time warning from the back light driver
mgross [Mon, 21 Nov 2011 06:37:09 +0000 (14:37 +0800)]
avoid boot time warning from the back light driver

Change-Id: I0db6b3218e5fb846dc521441228fefa9db98d937
Reviewed-on: http://android.intel.com:8080/24660
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agovideo config: add for camera part
Tao Jing [Fri, 18 Nov 2011 10:06:29 +0000 (18:06 +0800)]
video config: add for camera part

adding for lm3554, mt9e013, mt9m114

Change-Id: Ibfe770c1371f2b9a1cd294e4347737e87bac91c3
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24504
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24691

12 years agolm3554: porting driver
Tao Jing [Thu, 17 Nov 2011 14:35:42 +0000 (22:35 +0800)]
lm3554: porting driver

make necessary changes fit for new 3.0 kernel

Change-Id: Ide71921c2cbf93eba44f77432e8f4913caf6d288
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24493
Reviewed-by: Zhang, Xiaolin <xiaolin.zhang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24690

12 years agomrst.c: add for camera part
Tao Jing [Fri, 18 Nov 2011 10:06:01 +0000 (18:06 +0800)]
mrst.c: add for camera part

adding for lm3554, mt9m114, mt9e013

Change-Id: I40faa51404f8738eecb02b7de5a6455d566683af
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24503
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24689

12 years agoatomisp: porting driver
Tao Jing [Fri, 18 Nov 2011 10:03:34 +0000 (18:03 +0800)]
atomisp: porting driver

make necessary changes fit for new 3.0 kernel

known issue:
1: SSE3 is not enabled in kernel, so use memcpy instead. will
change back once enabled.
2: tpg does not have mbus interface but obselete set_fmt... interface
which is not supported in new 3.0 kernel. So currently tpg is not
enabled. Will add it later.

Change-Id: I2c8f12ba27ae2e0aae7e98a66cd807e5920725a4
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24501
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24688

12 years agoatomisp: adding atomisp driver from r2 branch
Tao Jing [Thu, 17 Nov 2011 14:16:23 +0000 (22:16 +0800)]
atomisp: adding atomisp driver from r2 branch

uploaded origin driver:
78646f18af816f8aee68cb6acb1003bffc8fdf8d

This fit for 0930 CSS FW

Change-Id: I8a7095375eca284edf78771d363723e879822d76
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24500
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24687

12 years agomt9m114: porting driver
Tao Jing [Thu, 17 Nov 2011 14:55:27 +0000 (22:55 +0800)]
mt9m114: porting driver

make necessary changes fit for new 3.0 kernel

Change-Id: I0193abdf4ba998f8813c6a48584536b6db50e570
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24499
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24686

12 years agoi386_mfld_defconfig: add multimedia and camera part
Tao Jing [Fri, 18 Nov 2011 10:07:01 +0000 (18:07 +0800)]
i386_mfld_defconfig: add multimedia and camera part

Change-Id: I6430b5d4196db560f726a805ad484596b2f6c605
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24505
Reviewed-by: Zhang, Xiaolin <xiaolin.zhang@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24685

12 years agomt9m114: adding mt9m114 driver from r2 branch
Tao Jing [Thu, 17 Nov 2011 14:15:44 +0000 (22:15 +0800)]
mt9m114: adding mt9m114 driver from r2 branch

uploaded origin driver:
43d3c045cae032b0a33fb48e211845c88a2ab432

Change-Id: Iae2787016cde415d36a7244cf8ebe656fe6524fc
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24498
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24684

12 years agomt9e013: porting driver
Tao Jing [Thu, 17 Nov 2011 15:02:48 +0000 (23:02 +0800)]
mt9e013: porting driver

make necessary changes fit for new 3.0 kernel

Change-Id: I776f20018bba03e17f8fe65f433a4cbba70a3e74
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24497
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24683

12 years agomt9e013: adding mt9e013 driver from r2 branch
Tao Jing [Thu, 17 Nov 2011 14:15:24 +0000 (22:15 +0800)]
mt9e013: adding mt9e013 driver from r2 branch

uploaded origin driver:
d46a8f7fe77cbac3c3fd0377a9fc48c8b7f2ddcd

Change-Id: I211bed3fae556c7d2adaee45bdf95eae50ccf340
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24496
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24682

12 years agolm3554: adding lm3554 driver from r2 branch
Tao Jing [Thu, 17 Nov 2011 14:14:56 +0000 (22:14 +0800)]
lm3554: adding lm3554 driver from r2 branch

uploaded origin driver:
65274f990540a8688cb1c0da4ea4ee1a407e822f

Change-Id: Ibf62c7cf24f27a380d36488f2fc27f590e575830
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/24492
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
Reviewed-on: http://android.intel.com:8080/24681

12 years agointel_idle: add support for cloverview atom processor
Leonard Mai [Sat, 19 Nov 2011 14:47:05 +0000 (06:47 -0800)]
intel_idle: add support for cloverview atom processor

BZ: 14868

Cloverview SOC has introduced new x86_model = 0x35 which currently not yet
supported in the intel_idle driver.

This patch adds a new variant x86_model = 0x35 for enabling Cloverview Atom
proccessor.

Change-Id: Ib437e5a0f8e512ea276d64e43fb517e3815a73e1
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Tested-by: Prabu Renganathan <prabu.renganathan@intel.com>
Tested-by: Sujith Thomas <sujith.thomas@intel.com>
Reviewed-on: http://android.intel.com:8080/24635
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoTelephony Port to Linux 3.0: Mux Driver configuration file
Marc Blassin [Fri, 18 Nov 2011 16:11:18 +0000 (17:11 +0100)]
Telephony Port to Linux 3.0: Mux Driver configuration file

BZ 14841

This patch enabled the N_GSM mux driver.

Change-Id: I8a0fe21bdcd38fd0c7d281d6ff6f9309b35aec9a
Signed-off-by: Marc Blassin <marcx.blassin@intel.com>
Reviewed-on: http://android.intel.com:8080/24614
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoTelephony Port to Linux 3.0: Mux Driver
Marc Blassin [Fri, 18 Nov 2011 09:20:35 +0000 (10:20 +0100)]
Telephony Port to Linux 3.0: Mux Driver

BZ 14734

This is port for the telephony MUX driver from linux 2.6 to linux 3.0
As n_gsm.c was already existing in the linux 3.0 tree, this is mainly a patch
containing the differences between the 2 versions plus the fix shown
by checkpatch.pl tools.

Change-Id: I518edf602c4101ff18baf57b1e9659d2404d9f1b
Signed-off-by: Marc Blassin <marcx.blassin@intel.com>
Reviewed-on: http://android.intel.com:8080/24613
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoTelephony Port to Linux 3.0: HSI Kernel config
Marc Blassin [Tue, 15 Nov 2011 13:14:30 +0000 (14:14 +0100)]
Telephony Port to Linux 3.0: HSI Kernel config

BZ: 14473

This patch enable the HSI protocol driver in the kernel config.

Signed-off-by: Marc Blassin <marcx.blassin@intel.com>
modified:   arch/x86/configs/i386_mfld_defconfig

Change-Id: I058ed3a3638ea1b8182e37756fdb1532f02243cb
Reviewed-on: http://android.intel.com:8080/24612
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoTelephony port to Linux 3.0: HSI driver.
Marc Blassin [Mon, 14 Nov 2011 17:15:42 +0000 (18:15 +0100)]
Telephony port to Linux 3.0: HSI driver.

BZ: 14450

This is HSI part for the telephony port from linux 2.6 to linux 3.0
This patch contains:
- the HSI driver files (controller and client) written by Olivier Stoltz-Douchet and
the related include files.
- the required changes for the kernel configuration files to enable/disable the HSI in the
default mfld kernel configuration.
- the required changes to enable the HSI hardware in the platform data (already took care about the
necessary changes to have the itp working correctly).

modified:   arch/x86/platform/mrst/mrst.c
modified:   drivers/Kconfig
modified:   drivers/Makefile
new file:   drivers/hsi/Kconfig
new file:   drivers/hsi/Makefile
new file:   drivers/hsi/clients/Kconfig
new file:   drivers/hsi/clients/Makefile
new file:   drivers/hsi/clients/cmt_speech.c
new file:   drivers/hsi/clients/hsi_char.c
new file:   drivers/hsi/clients/hsi_ffl_tty.c
new file:   drivers/hsi/clients/ssi_protocol.c
new file:   drivers/hsi/controllers/Kconfig
new file:   drivers/hsi/controllers/Makefile
new file:   drivers/hsi/controllers/hsi_arasan.h
new file:   drivers/hsi/controllers/hsi_dwahb_dma.h
new file:   drivers/hsi/controllers/intel_mid_hsi.c
new file:   drivers/hsi/controllers/omap_ssi.c
new file:   drivers/hsi/hsi.c
new file:   include/linux/hsi/hsi.h
new file:   include/linux/hsi/hsi_char.h
new file:   include/linux/hsi/hsi_ffl_tty.h
new file:   include/linux/hsi/intel_mid_hsi.h
new file:   include/linux/hsi/omap_ssi_hack.h
new file:   include/linux/hsi/ssip_slave.h

Change-Id: I4f89ac2b8482403301c84dd018bd285b812214f0
Signed-off-by: Marc Blassin <marcx.blassin@intel.com>
Reviewed-on: http://android.intel.com:8080/24611
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agonfc: Add pn544 driver from GB R2 K2.6.35
Sebastian Niciarz [Fri, 18 Nov 2011 09:32:52 +0000 (10:32 +0100)]
nfc: Add pn544 driver from GB R2 K2.6.35

BZ 14096

This is the NFC controller driver (PN544) from K2.6.35 with a small
adaptation to new ioctl API in K3.0.

Change-Id: I9e6c1cef0d99405d2a013e223bde903a6c077852
Signed-off-by: Sebastian Niciarz <sebastian.niciarz@gmail.com>
Reviewed-on: http://android.intel.com:8080/24610
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoAudio: Audience kernel driver migration to k308
Cyril Germond [Tue, 15 Nov 2011 07:11:35 +0000 (08:11 +0100)]
Audio: Audience kernel driver migration to k308

BZ: 14425

Integration of Audience driver in k3.08 kernel.
Rebase of latest Audeince driver on initial import.

Change-Id: Iaead5b2e15ddfbe42c5f32a32103311d8536bd9a
Signed-off-by: Cyril Germond <cyril.germond@intel.com>
Reviewed-on: http://android.intel.com:8080/24609
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoMFLD Power off support:
sathya [Wed, 16 Nov 2011 23:30:12 +0000 (15:30 -0800)]
MFLD Power off support:

Merged changes from git://jfumg-gcrmirror.jf.intel.com/a/bsp/hardware/intel/linux-2.6.git

commit 9281a8b9e1ce267b74e5b73fa6ac822f5c1a8aa4
Author: Pavan <pavan.kumar.s@intel.com>
Date:   Thu Sep 15 16:23:50 2011 +0100

    mid_pmu: implement mfld_shutdown to send S5 pmu command

    BZ: 5512

    mfld_shutdown function is implemented to issue S5 pmu command
    This will be invoked from mrst.c to enter into S5. S5 sequence is
    necessary to sync vRTC to RTC

    Change-Id: Ie31291a24fdd1437b9ab6711907ce90aff08a65b
Signed-off-by: Pavan <pavan.kumar.s@intel.com>
    Orig-Change-Id: Ifb39bcc457c59aaa9865559e45b7429327edf05e
    Reviewed-on: http://android.intel.com:8080/19746
Reviewed-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Change-Id: I83f74c2c8a172ae19b06bc79b2cd51f661d66008
Reviewed-on: http://android.intel.com:8080/24608
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agointel_mid_powerbtn: use shared SRAM to read Powerbutton state
Zhifeng Wang [Fri, 18 Nov 2011 05:33:27 +0000 (13:33 +0800)]
intel_mid_powerbtn: use shared SRAM to read Powerbutton state

BZ: 8874

switch power button read access from IPC to shared SRAM to help
reduce latency introduced by IPC call.

Change-Id: I158b6ffa5cc28f7db527e0740fb1b54d40082cf0
Signed-off-by: Zhifeng Wang <zhifeng.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/24607
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoEM/BCU: Port Medfield BCU Driver to k3.0
Durgadoss R [Fri, 18 Nov 2011 09:28:03 +0000 (14:58 +0530)]
EM/BCU: Port Medfield BCU Driver to k3.0

BZ: 14769

This patch ports the existing BCU Driver to K3.0.
This driver is a platform driver, that is new to K3.0.
So, this patch just adds the file(intel_mid_ocd.c) to K3.0
and the appropriate configurations.

Change-Id: I9b256ac47fee02dda278934dc92c43563542ad63
Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Reviewed-on: http://android.intel.com:8080/24606
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agogfx: enabling video encode/decode in 3.0 kernel
Vishwesh M Rudramuni [Sat, 5 Aug 2006 04:51:45 +0000 (10:21 +0530)]
gfx: enabling video encode/decode in 3.0 kernel

Change-Id: Ibf8679b462e9f2b12e873ee13da27224495d3396
Signed-off-by: Vishwesh Rudramuni <vishwesh.m.rudramuni@intel.com>
Reviewed-on: http://android.intel.com:8080/24605
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoIntel MDF battery support: Config file update
sathya [Fri, 18 Nov 2011 04:31:18 +0000 (20:31 -0800)]
Intel MDF battery support: Config file update

Change-Id: If20f3b7c81e67ffdbefe1edc36b17672c4466865
Reviewed-on: http://android.intel.com:8080/24604
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoFixing config file issues:
sathya [Fri, 18 Nov 2011 04:25:02 +0000 (20:25 -0800)]
Fixing config file issues:

Config file update sequence is not followed correctly in previous edits. So syncing it with make menuconfig output.

Change-Id: If2585ab693e940fe62c7baeaaa07feb880f6000f
Reviewed-on: http://android.intel.com:8080/24603
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoIntel MDF battery support
sathya [Wed, 9 Nov 2011 21:22:02 +0000 (13:22 -0800)]
Intel MDF battery support

Fork lifted the battery driver (intel_mdf_battery) from git://jfumg-gcrmirror.jf.intel.com/a/bsp/hardware/intel/linux-2.6.git

On top of that following 3.0 fixes are added.

1. 3.0 runtime pm fixes.
2. In kerenl 3.0, kfifo architechture is modified to support elements. So Irq kfifo in intel_mdf_battery.c is modified to use Int elements.

Change-Id: I650661992d062ad531ae8999432c4b3b7cae57c8
Reviewed-on: http://android.intel.com:8080/24602
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
12 years agoAsynchronous initcall support:
sathya [Thu, 17 Nov 2011 00:13:20 +0000 (16:13 -0800)]
Asynchronous initcall support:

Merged changes from git://jfumg-gcrmirror.jf.intel.com/a/bsp/hardware/intel/linux-2.6.git

commit c8b0c2b4b610ae7018015df2ce2e7988bb7f9b5b
Author: Pierre Tardy <pierre.tardy@intel.com>
Date:   Tue Jun 28 16:13:36 2011 +0200

    async: add some macro to factorize asynchronous initcalls

    BZ:  4092

    If one wants to asynchronize its module initcalls, he has to make a few
    callbacks that are always the same. make a handful macro to factorize this.

    These macro should only be used if the module has no dependant modules on it.

    Change-Id: Ibc373a5ab6577a141028af6571092be6905e3843
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Change-Id: I7f03f4b259e010e73de72865f41862c30f458bad
Reviewed-on: http://android.intel.com:8080/24601
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
13 years agogfx: fixing the runtime pm api's usage in gfx driver for 3.0
Vishwesh M Rudramuni [Thu, 10 Aug 2006 19:03:51 +0000 (00:33 +0530)]
gfx: fixing the runtime pm api's usage in gfx driver for 3.0

With kernel 3.0 there were some changes done to runtime pm
framework. we should no longer do pm_runtime_set_active & pm_runtime_enable
at probe & should be replaced with pm_runtime_put_noidle(). similarly
at remove function should replace pm_runtime_disable()/
pm_runtime_set_suspended() with pm_runtime_get_noresume(). Without
this change pm_runtime_suspend would not work because of change
in usage count.

Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Change-Id: Icfe0759fcaf1746c87ddbd28e2e2f3baf7ac5e08
Reviewed-on: http://android.intel.com:8080/24088
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Monroy, German <german.monroy@intel.com>
13 years agousb/langwell_udc: use pm_runtime_get/put instead of sync functions in atmoic context
Wu, Hao [Sun, 13 Nov 2011 18:04:46 +0000 (02:04 +0800)]
usb/langwell_udc: use pm_runtime_get/put instead of sync functions in atmoic context

BZ: 14275

As we can not put runtime_suspend/runtime_resume into atmoic context, so it
should not be safe to invoke pm_runtime_get/put_sync in atmoic context

Change-Id: I06ebe6c0635e15c16ea765b7b14c538dda91575c
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/23995
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
13 years agoved/vec: Base ved/vec driver to recent GB R2 version
Li Zeng [Wed, 9 Nov 2011 12:40:32 +0000 (20:40 +0800)]
ved/vec: Base ved/vec driver to recent GB R2 version

BZ 14096

    commit aadc57bad641e43dd9f5b07a5c5654f5f3a2cafc
    Author: Elaine Wang <elaine.wang@intel.com>
    Date:   Fri Oct 21 17:45:09 2011 +0800

        Fix MPEG4 encoding corruption issue.

        BZ: 11720

        The video screen display mosaic when playing a video on the low(30m) or low QVGA mode.

        Some pr2s can't reproduce this issue and some can reproduce this issue consistently.
        Suspect it's caused by Intra16 Bias Table and Inter Bias Table lost during D0i3. Similar
        issue had been observed on H264 dual-core encoding on iCDK B0. To fix this problem, video
        driver saves the bias table and writes them to TopazSC after resume from D0i3.
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Change-Id: Ia1431b1abeeb2e96386ab9d34c8c22300e0462cf
Signed-off-by: Li Zeng <li.zeng@intel.com>
Reviewed-on: http://android.intel.com:8080/23889
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>