Amar Shankar [Thu, 12 Apr 2012 04:11:27 +0000 (09:41 +0530)]
EM/THERMAL: Enable platform thermal driver for Merrifield
BZ: 15131
This patch enables the platform thermal driver for
Merrifield BasinCove PMIC. This patch contains the
driver's initialization flow and exposes sysfs interfaces
to manipulate the PMIC Thermal registers
Change-Id: I17ec9f523f0c32eb8c7960057fc2eff7e512b88c
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43213
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 04:09:12 +0000 (09:39 +0530)]
EM/BCU: Enable BCU Driver for Merrifield Platform
BZ: 14348
This patch enables the basic functionality for the Burst
Control Unit inside the BasinCove PMIC on the Merrifield
platform.
This patch adds the sysfs interfaces that are used
to configure the voltage/current thresholds.
Change-Id: I014c6ddf7826022bc0033569079ff19ab06b810d
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43212
Reviewed-by: P, Eshwar N <eshwar.n.p@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Jouni Hogander [Tue, 27 Mar 2012 10:36:32 +0000 (13:36 +0300)]
[PORT FROM R2]pti: Check if pti is enabled in mipi header
BZ: 28818
Check in init if pti is enabled in mipi header. In case of pti is
disabled return error to avoid further accesses on pti.
Change-Id: I587c12caa11619d49fe38e865e451821df502fa2
Signed-off-by: Jouni Hogander <jouni.hogander@intel.com>
Reviewed-on: http://android.intel.com:8080/45916
Reviewed-by: Guerard, Christophe <christophe.guerard@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@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>
Ramakrishna Pallala [Mon, 23 Apr 2012 08:19:38 +0000 (13:49 +0530)]
smb347_charger: power supply registration clean up
BZ: 31946
This patch checks if the usb or mains charging is enabled by the
platform before registering with the power supply class. Also removes
few battery power supply attributes which are incorrectly implemented.
Change-Id: Ifb7c862bfcc2ccbdf149151a87bcccdbe2b45ef9
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/44466
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
yashodhan kurtadkar [Thu, 19 Apr 2012 09:37:57 +0000 (15:07 +0530)]
max17042: To fix chargefull error
BZ: 28919
This patch multiplies design_Cap and full_capnom
With the ModelMultiplication factor during initialization.
Change-Id: I3f682a41360f45f9c7a52112fa817a3ab9e036f3
Signed-off-by: yashodhan kurtadkar <yashodhan.kurtadkar@intel.com>
Reviewed-on: http://android.intel.com:8080/44005
Reviewed-by: Hari, NeelamX <neelamx.hari@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>
Shijie Zhang [Fri, 20 Apr 2012 16:55:01 +0000 (00:55 +0800)]
intel_scu_ipcutil: add OSC_CLK setting ioctl support
BZ: 32771
This patch adds an OSC_CLK ioctl command for OSC_CLK control, which
makes OSC_CLK control, test and debug more easier.
Change-Id: I7e48106cd04633c5840bbb3e2b57fd3479a9e972
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/44122
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 [Mon, 16 Apr 2012 15:46:32 +0000 (23:46 +0800)]
leds-intel-kpd-gpio.c: adjust the kpd led brightness
BZ: 31930
On Lexington, KPD LED brightness is set too high. This patch
lowers the KPD LED brightbess to save power, and changes the
KPD LED output current level setting method according to the
AHK3292 Datasheet.
Change-Id: I99649b48a29dbc2939b3421042dfb8371b623347
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/43534
Reviewed-by: Chen, Jie D <jie.d.chen@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>
Xiaokang Qin [Mon, 16 Apr 2012 03:18:40 +0000 (11:18 +0800)]
ipcutil: move oshob and osnib related in
BZ: 31397
Clean the ipc driver and move oshob and osnib related part into ipctuil
Change-Id: I425bfb7e930ddb80d9b45d54dc90e1fa32a91bb8
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Reviewed-on: http://android.intel.com:8080/43571
Reviewed-by: Afantenos, Marie CecileX <marie.cecilex.afantenos@intel.com>
Tested-by: Afantenos, Marie CecileX <marie.cecilex.afantenos@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Kalle Lampila [Tue, 17 Apr 2012 13:11:50 +0000 (16:11 +0300)]
atomisp: make dvs envelop size match to atomisp size step
BZ: 31288
This patch fixes issues set 1920x1088 resolution when dvs is
enabled. Dvs envelop height did not match to atomisp height step so
this patch make width and height round down nearest width and height
that match to steps.
Change-Id: I3ec862476f86537627f6245601f23db0d10f3346
Signed-off-by: Kalle Lampila <kallex.lampila@intel.com>
Reviewed-on: http://android.intel.com:8080/43842
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Eric Vorbe [Mon, 23 Apr 2012 11:44:14 +0000 (13:44 +0200)]
Revert "smb347_charger: power supply registration clean up"
BZ: 31946
This reverts commit
5144c57dc5a3589e6cbb87070ff329af313ff274.
Change-Id: I593193113efcb9a4aedb96ca9d33e8df18ba5e59
Signed-off-by: Eric Vorbe <ericx.vorbe@intel.com>
Reviewed-on: http://android.intel.com:8080/44411
Durgadoss R [Thu, 19 Apr 2012 21:28:39 +0000 (02:58 +0530)]
EM/THERMAL: Adjust TjMax for Penwell CPU
BZ: 32229
The coretemp driver assumes the TjMax for Penwell as 100 C.
This has to be adjusted to 90 C, by checking the cpu model
for Penwell (which is 0x27). This patch fixes this problem
by adding the cpu model in adjust_tjmax heuristics.
Change-Id: Iccee36db1f37f0ae81adc4ae1d257af70c03c2a5
Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Reviewed-on: http://android.intel.com:8080/44116
Reviewed-by: Mitra, DebalinaX <debalinax.mitra@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
xiaobing tu [Wed, 18 Apr 2012 07:04:45 +0000 (15:04 +0800)]
atomisp: use low order to allocate pages as our mobile memory is limited
BZ:31085 31905
REVERTME after changing the codes better.
With MTBF and Monkey testing, system often reset
vmstat shows memory is used up. kernel stack dump shows atomisp driver
is used to allocate many pages with order 3. It's quite too high, especially
when running on Lexington with 512M memory.
The patch changes it to use order 0 always.
Signed-off-by: xiaobing tu <xiaobing.tu@intel.com>
Change-Id: I2ceb3de6120a009c7cf3d649ee53f96a18143f44
Reviewed-on: http://android.intel.com:8080/43840
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Zhang, Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Jarzmik, Robert <robert.jarzmik@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Leo Yan [Thu, 19 Apr 2012 05:11:06 +0000 (13:11 +0800)]
hwmon/mpu3050: Increase device power up delay
BZ: 32281
Increase the device power up delay to avert reporting incorrect data
before the data sampling is stable.
Change-Id: Ic2abe753f3857dfd8274545895b18b837d90b6de
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/43957
Reviewed-by: Liu, Hong <hong.liu@intel.com>
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>
Michie Yamauchi [Mon, 16 Apr 2012 12:56:33 +0000 (14:56 +0200)]
atomisp: CSS/FW release from Synergy baseline of 11Apr2012
BZ: 27422 31660 31928
This release of CSS/FW addresses the following issues:
- Visible colorful blocks can be seen for QVGA video recording
- YUV upscaling
- 3A/DIS statistics verification error for YUV up-scaling in video
Change-Id: I274ea8495cd2e6d9aa2001758c0bed42cb518e12
Reviewed-on: http://android.intel.com:8080/43582
Reviewed-by: Yamauchi, Michie <michie.yamauchi@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Lampila, KalleX <kallex.lampila@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Arnaud Mandy [Mon, 16 Apr 2012 10:50:41 +0000 (13:50 +0300)]
atomisp: access to FNUMBER IOCTL
BZ: 31987
allowing access to get FNUMBER from sensor driver from ioctl.
Change-Id: I968ca1f0cd779162caeebcb3b11f452eed285cac
Signed-off-by: Arnaud Mandy <arnaud.mandy@intel.com>
Reviewed-on: http://android.intel.com:8080/43572
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Laakso, Antti <antti.laakso@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@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>
Christophe Bransiec [Wed, 18 Apr 2012 12:31:07 +0000 (14:31 +0200)]
[CTP_PR0][CWS-BT] : defconfig: Enable BT Human Interface Device Protocol
BZ: 31703
Can't use BT mouse and BT keyboard on the DUT even when devices are correctly paired
Bluetooth HIDP module is not activated in kernel configuration,
this patch enables it as a built-in module.
Change-Id: If7fc41e011d1bd338ff03e38a50f6e8404b978f3
Signed-off-by: Christophe Bransiec <christophex.bransiec@intel.com>
Reviewed-on: http://android.intel.com:8080/43885
Reviewed-by: Champciaux, Nicolas <nicolas.champciaux@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Gros, JulienX <julienx.gros@intel.com>
Reviewed-by: Aquilone, RaffaeleX <raffaelex.aquilone@intel.com>
Reviewed-by: Beldie, OvidiuX <ovidiux.beldie@intel.com>
Tested-by: Champciaux, Nicolas <nicolas.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Omair Mohammed Abdullah [Fri, 20 Jan 2012 07:05:33 +0000 (12:35 +0530)]
audio: platform: clean up platform driver to support future platforms
BZ: 15815
Platform driver contains Medfield specific code which needs to be removed so
that other platforms can be supported with same platform driver.
This change makes the SST driver register to the platform driver instead of the
other way round. The intel_sst_set_pll() function is replaced by the
intel_scu_ipc_set_osc_clk0() function and a proper calling mechanism is set up
in the machine driver. The intel_sst.h file is replaced by sst_platform.h. Some
ASoC core changes are backported from the upstream tree. Clock and PLL
enabling/disabling sequence is changed.
Change-Id: I40848eb0ebd671d988428daccccd9b8027752123
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/33673
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: 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>
Omair Mohammed Abdullah [Sun, 5 Feb 2012 13:43:04 +0000 (19:13 +0530)]
audio: sst: Move SST driver to soc/mid-86 directory
BZ: 15815
Moving SST driver from sound/pci/sst to the sound/soc/mid-x86 directory since it
depends on the SST platform and codec drivers. Also fixed some formatting errors.
Change-Id: I7f38eb2beb7cc5719d488d71c5e7f7c6d6338e25
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/33991
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: 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>
Sundar Iyer [Thu, 19 Apr 2012 04:04:59 +0000 (12:04 +0800)]
GFX-Display: enable deep sleep standby on Sony panels
BZ: 32027
Enable the deep sleep standby sequence on the Sony panels on the Lexington
FF device. This change reduces the leakage on the panel during standby by
aboud 6mW. This change should also bring down the power in all display off
use cases like display off, audio playback.
Change-Id: Id0f3302006fff08dc7ae5da5fe521be69dcd5746
Signed-off-by: ljia5 <lin.a.jia@intel.com>
Signed-off-by: Sundar Iyer <sundar.iyer@intel.com>
Reviewed-on: http://android.intel.com:8080/43952
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Zhongjun Chen [Tue, 17 Apr 2012 08:05:28 +0000 (16:05 +0800)]
Instrument HDCP authentication process
BZ: 31612
There are 3 minor Changes in the patch:
1) Print log when error happens during HDCP authentication process.
2) Cleanup coding style messes.
3) Assign IOCTL command id DRM_PSB_SET_CSC to 0x2a as 0x29 is used by DRM_PSB_CSC_GAMMA_SETTING.
Change-Id: I1f67cb291a33068b05bcfc74ca01698998843463
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Signed-off-by: Zhongjun Chen <zhongjunx.chen@intel.com>
Reviewed-on: http://android.intel.com:8080/43320
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>
Wu, Hao [Tue, 17 Apr 2012 08:07:49 +0000 (16:07 +0800)]
smb347: need smb347 to control USB OTG VBUS.
BZ: 32122
Need smb347 to control USB OTG VBUS for DV20.
Change-Id: I1807c97dce0ee45c7a864d0132360f0ecac76abf
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43675
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@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, 17 Apr 2012 09:14:53 +0000 (17:14 +0800)]
usb/penwell_otg: clean up rpm callbacks
BZ: 32151
Remove dead code and return call stauts. This patch
is ported from OTC branch.
Change-Id: Ieba5c1f934fd77a7d3e805c7f690e7b89c9ef982
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43673
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@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, 17 Apr 2012 08:46:19 +0000 (16:46 +0800)]
usb: penwell_otg: wake up PHY clock during RPM resume
BZ: 32151
Enable PHY clock to avoid potential hangups that happen if
usb_gadget_disconnect() is called while the cable is
unplugged. This patch is ported from OTC branch.
Change-Id: Ia62bb9c9e38070e705c131b63d9a0f3430165079
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43672
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@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, 17 Apr 2012 08:36:34 +0000 (16:36 +0800)]
otg: notify VBUS event when set_vbus called
BZ: 32151
On some platforms, driving vbus is done with an external
chip. This notification is send from otg_set_vbus() wrapper
every time it's called. This patch is ported from OTC branch.
Change-Id: Ieff49567d2b5c0297a7d4494199d2c3a120cd7bf
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43671
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@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, 17 Apr 2012 08:33:54 +0000 (16:33 +0800)]
usb: penwell_otg: use otg_set_vbus
BZ: 32151
We need to call otg_set_vbus wrapper instead of calling directly the
driver's function, to get the related event notification sent for any
listener. This patch is ported from OTC branch.
Change-Id: I9da9ef58b9761dbbed2a0829a30f2b96785fabf8
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43670
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@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>
Ramakrishna Pallala [Tue, 17 Apr 2012 22:36:03 +0000 (04:06 +0530)]
smb347_charger: power supply registration clean up
BZ: 31946
This patch checks if the usb or mains charging is enabled by the
platform before registering with the power supply class. Also removes
few battery power supply attributes which are incorrectly implemented.
Change-Id: If4ca2d4932e5816bf115757131243ff546d00302
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/43836
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Leo Yan [Tue, 17 Apr 2012 05:20:58 +0000 (13:20 +0800)]
misc/apds990x: Clear the AEN control bit when ALS is disabled
BZ: 31933
1. Clear the AEN bit of the enable register when ALS sensor is disabled
to avert the abnormal interrupt when ALS sensor is enabled.
2. Check the value of enable register before update to avert the
unnecessary write operation.
Change-Id: I446c794968fc99fede160ab163dd3caf6a085079
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/43640
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
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>
jzhuan5 [Tue, 17 Apr 2012 19:25:44 +0000 (15:25 -0400)]
usb:port one android gadget patch
BZ: 32120
usb: gadget: android: Don't allow changing the functions list if enabled
Change-Id: I8cb2f5b0f510eaf96b30047c9a8590486b958458
Signed-off-by: Benoit Goby <benoit@android.com>
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/43649
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jzhuan5 [Tue, 17 Apr 2012 07:34:02 +0000 (15:34 +0800)]
usb:port two langwell_udc patches
BZ: 32120
usb: langwell_udc: remove useless flags
usb: langwell_udc: use existing roundup macro
Change-Id: I30138aa271470614c81ae18f1a64b67531f492ec
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/43648
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>
Suneel Kandru [Thu, 12 Apr 2012 00:04:17 +0000 (17:04 -0700)]
widi: Audio Loopback driver for CLover Trail platform WiDi.
BZ: 31441
This patch enables build script to build AUdio loopback driver
Loop back driver is required to direct audio from device to Widi.
Change-Id: Id404db7ae0960a70baa4b30f8da62a986ffbe8aa
Signed-off-by: Suneel Kandru <suneelx.kandru@intel.com>
Reviewed-on: http://android.intel.com:8080/43191
Reviewed-by: Balguri, Mamatha <mamatha.balguri@intel.com>
Reviewed-by: Veeramani, Karthik <karthik.veeramani@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Sun, Hang L <hang.l.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shijie Zhang [Mon, 16 Apr 2012 13:45:23 +0000 (21:45 +0800)]
intel_scu_pmic & intel_scu_mip: change the driver init priority
BZ: 31879
OCD driver needs mip interface to access the mip data during init.
So PMIC and MIP driver initcall should be called before OCD driver
init. This patch fixes this problem.
Change-Id: I03071922c3b5e53ee98dd3c83111c4467c27906c
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/43521
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Kumar S, Pavan <pavan.kumar.s@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shijie Zhang [Thu, 12 Apr 2012 16:37:58 +0000 (00:37 +0800)]
intel_scu_pmic: fix potiential buffer overflow problem
BZ: 31509
Use snprintf instead of sprintf to avoid potiential buffer overflow problem,
and sscanf will return 0 instead of -1 when no args is converted succefully.
This patch fixes this two potiential issues.
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Change-Id: I27d3b79b43258056a8318efa0dae10677e53fd03
Reviewed-on: http://android.intel.com:8080/43249
Reviewed-by: Zhang, Shijie <shijie.zhang@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@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>
debalina [Thu, 19 Apr 2012 17:35:43 +0000 (23:05 +0530)]
EM/THERMAL: Fix for filename error to load the thermal driver
BZ: 32210
Post the merge of patch #43334, thermal driver failed to load correctly.
This happened due to errors in filenames and device names in the code.
This patch corrects these filename errors and loads the thermal driver correctly.
Change-Id: I0867a1d04f8d0f5fa157b3b855ca7918259f5987
Signed-off-by: debalina mitra <debalinax.mitra@intel.com>
Reviewed-on: http://android.intel.com:8080/43960
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: Hari, NeelamX <neelamx.hari@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shravan [Mon, 9 Apr 2012 12:54:48 +0000 (18:24 +0530)]
EM/THERMAL: Enable thermal sensor driver for Clover Trail platform
BZ: 30799
This patch adds the necessary changes to enable thermal sensor driver for
clover trail platform. Platform specific changes are also added to the driver
making it a common driver for both Medfield and CT platform.
Change-Id: I4523dea793d57737687f8b7974d47957985726e2
Signed-off-by: Shravan <shravan.k.b.m@intel.com>
Reviewed-on: http://android.intel.com:8080/42849
Reviewed-by: Krishna R, Ananth <ananth.krishna.r@intel.com>
Reviewed-by: R, Durgadoss <durgadoss.r@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>
Christophe Continente [Tue, 10 Apr 2012 14:34:20 +0000 (16:34 +0200)]
LTR301 support for redridge DV20
BZ: 31107
On DV2 boards the light sensor is replaced with a ltr301 sensor sitting on i2c5
bus address 0x23.
Patch ported from OTC branch, with changes including:
1. add "enable" sysfs entry to control enable/disable device
2. auto tuning threshold to generate interrupt when lux changes
Change-Id: Ic759149adb2c148f0c2df4a07dcba8db75d85954
Signed-off-by: Christophe Continente <christophe.continente@intel.com>
Signed-off-by: Forrest Zhao <forrest.zhao@intel.com>
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/42950
Reviewed-by: Chen, Jie D <jie.d.chen@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>
jzhuan5 [Thu, 23 Feb 2012 15:26:43 +0000 (10:26 -0500)]
usb:langwell_udc: enable sram and workaround dTD tripwire issue
BZ: 28733
This patch is a w/a to fix the dTD tripwire defect found in CLV A0.
The w/a should be removed after we have CLV+ B0.
Change-Id: I4824c99ceaac82e849690f8d9dd9a1fa1663e1b0
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/38249
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Wu, Xia <xia.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>
Chuanxiao Dong [Wed, 11 Apr 2012 09:00:19 +0000 (17:00 +0800)]
mmc: enable boot partition accessing for CLV
BZ: 31365
UMIP driver needs to access boot partition from IA. So eMMC driver
needs to open the access for it
Change-Id: I73a6df32e0229f9a24469524ba4f248236ae0659
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/43090
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Gao, Yunpeng <yunpeng.gao@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Chuanxiao Dong [Tue, 10 Apr 2012 07:16:43 +0000 (15:16 +0800)]
mmc: adjust secure erase/trim calculation
BZ: 30907
Although some eMMC card needs a larger timeout value for secure trim/erase
operations, but they can finish in a short time. For these eMMC card, we
can let them to enable this feature
Change-Id: I63534ea08eddb9456513472632fb502df5d3a1f7
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/43089
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>
Chuanxiao Dong [Tue, 10 Apr 2012 04:08:56 +0000 (12:08 +0800)]
Revert "[PORT FROM R2]mmc: core: increase eMMC card write timeout response time"
BZ: 31364
This reverts commit
cb9a4398354af070b33a6eff8b9da2698a5b311e.
As bug described, let driver have a retry is better than increasing timeout
value
Change-Id: I07c0632cb2f85b47523e9058e7ed553131543bb1
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/43088
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>
Mark Allyn [Thu, 5 Apr 2012 23:49:36 +0000 (16:49 -0700)]
Drivers: staging: sep: add fastcall api for insert shared addr
BZ: 30718
The fastcall interface requires a different method of handling
a request to have the shared area physical address to be
inserted into the message pool.
Bug: 30718
Change-Id: I64d04f2afaf0bfb9a7c9f66f8513dcff20fa88cc
Signed-off-by: Mark Allyn <mark.a.allyn@intel.com>
Reviewed-on: http://android.intel.com:8080/42608
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>
German Monroy [Tue, 10 Apr 2012 22:23:15 +0000 (15:23 -0700)]
powerdk: update wakelock tracepoint
BZ 31198
Fix from Lim Min Yeol that:
1. Moves trace function inside spinlock because wakelock pointer could
get invalidated during a tracing event
2. Polishes output
Change-Id: I3f4f7a0560f5a4494e3d85a7e1bd76ed77fba44e
Signed-off-by: Lim Min Yeol <min.yeol.lim@intel.com>
Signed-off-by: German Monroy <german.monroy@intel.com>
Reviewed-on: http://android.intel.com:8080/42990
Reviewed-by: Zhang, Dongxing <dongxing.zhang@intel.com>
Reviewed-by: Kanigeri, Hari K <hari.k.kanigeri@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Winson Yung [Tue, 10 Apr 2012 16:41:56 +0000 (09:41 -0700)]
sfi: Change SFI based device IRQ polarity to active high
BZ: 31180
Found during HSI/modem integration with ICS that setting
SFI based device IRQ polarity to active low causes lots
of spurious interrupts. Change it to active high to make
SFI base device IRQ work correctly.
Change-Id: I9a61751cbd1bac3745a94687bac2255fe6a68d5f
Signed-off-by: Winson Yung <winson.w.yung@intel.com>
Reviewed-on: http://android.intel.com:8080/42969
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Sahukar, Surya P <surya.p.sahukar@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Geng Xiujun [Tue, 17 Apr 2012 09:35:06 +0000 (17:35 +0800)]
[display-dv10]: donot suspend lvds bridge in dpms operation
BZ: 31725
This is a WA, it just sends dpi turn on/shut down package to panel during dpms
operation.
Change-Id: I2ff229c3517b2b8c01ffc1a798942c5d37da1991
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/43693
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 [Tue, 17 Apr 2012 02:52:47 +0000 (10:52 +0800)]
[display]: Port 3 patches from R3 and do some code clean
BZ: 32073
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
And this patch also does code clean for patch set 2, simplify its logic.
Change-Id: I3324e53871f9b6d77928cf6d20a0404463ea7c67
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/43632
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>
Lei Zhang [Fri, 13 Apr 2012 05:40:16 +0000 (13:40 +0800)]
Gfx-Display: [patch 1/3] Fix the issue of HDMI Fabric error
BZ: 30610
This is the kernel driver patch to fix the issue of HDMI fabric error.
It uses bhdmiconnected to indicate the status of HDMI power island on/off;
uses hdmi_state to indicate the HDMI hotplug signal. In this way, add
protection in mdfld_dsi_connector_dpms, mipi_hdmi_vsync_check where may
still access hdmi regs after power off.
This patch needs to co-work with another patch for HDMIObserver.
Change-Id: Ie78d9f73b0fb6abaea9e02de2b009245137fede3
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/43504
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>
Ramakrishna Pallala [Mon, 16 Apr 2012 00:07:29 +0000 (05:37 +0530)]
max17042: add max17047 entry in device id table
BZ: 30836
max17047 is same as max17050 chip, it only differs in
silicon packaging from max17050. max17042 driver
already supports max17050 chip so to support max17047 we
just need to add max17047 entry in its device id table.
This patch modifies the board-redridge.c file to
support this new chip on the platform. And also
adds the new entry max170xx_battery to power supplied_to
list of msic and smb347 charger drivers.
Change-Id: Ife2fb984e432a7a10bc168a772f0d7ccabdc00a5
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/43159
Reviewed-by: Hari, NeelamX <neelamx.hari@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
lebsir [Tue, 17 Apr 2012 09:50:53 +0000 (11:50 +0200)]
[PORT FROM R2] Revert "[REVERT ME]n_gsm: add dedicated traces in MUX for APIMR issues"
BZ: 25958
This reverts commit
6fe94a56686e6f4139518c0e9e072da68ecccd71.
This reverts patch http://android.intel.com:8080/#/c/41335
Change-Id: Ib47c9dbd3f2217f1ec2c5c89a1c2a05c661cc886
Signed-off-by: lebsir <samix.lebsir@intel.com>
Reviewed-on: http://android.intel.com:8080/43685
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Remy Protat [Wed, 18 Apr 2012 10:19:47 +0000 (12:19 +0200)]
Revert "usb:gadget: remove string Medfield in serial number"
BZ: 29562
This reverts commit
ba9cfb970c548106d3deee3f0bca8d52fed25108.
Change-Id: I6d18eeb66a11a632f45f38daefe5d3b5d7716d6c
Signed-off-by: Remy Protat <remyx.protat@intel.com>
Reviewed-on: http://android.intel.com:8080/43868
jzhuan5 [Wed, 11 Apr 2012 17:45:47 +0000 (13:45 -0400)]
usb:gadget: cancel pending control request after disconnection
BZ: 30958
Control requests can be pending on ep0IN after disconnection, after re-connection,
the request completes but the gadget (e.g. RNDIS) is already removed, this causes
NULL pointer issue. The patch removes the pending control request after disconnection.
Change-Id: Ifc9dc823ab550c0451667128c78c6f2ecebe1c4c
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/43029
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: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jzhuan5 [Tue, 17 Apr 2012 02:49:20 +0000 (22:49 -0400)]
usb:langwell_udc: fix a fabric error caused by langwell_ep_dequeue
BZ: 32071
upper layer may call usb_ep_dequeue without knowing the power state of
device controller. Conventionally in langwell_udc, got_irq can be used
to check if current state is fully powerd. So we need to make sure got_irq
is set in langwell_ep_dequeue() before accessing any register.
Change-Id: I8e8ae491b368d5392b84ccc4658a6be66b213cb5
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/43587
Reviewed-by: Wu, Hao <hao.wu@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Illyas Mansoor [Sun, 15 Apr 2012 16:13:25 +0000 (21:43 +0530)]
mfld_pmu: add might_sleep in pmu_pci_set_power_state
BZ: 31847
It is possible that pmu_pci_set_power_state() could be called from atomic
context if pm_runtime_irq_safe() is set by a driver and runtime_put/get called
from an atomic context.
But our implementation of set_power_state() does not allow calls to be made to
pmu_pci_set_power_state() is atomic context
Hence make it explicit by calling might_sleep() and let it provide a call stack
if anyone attempts to do so.
Change-Id: I141e1573e97e017c018c4a2576dfe4494c6d8f32
Signed-off-by: Illyas Mansoor <illyas.mansoor@intel.com>
Reviewed-on: http://android.intel.com:8080/43507
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Illyas Mansoor [Sun, 15 Apr 2012 15:29:27 +0000 (20:59 +0530)]
intel_scu_ipc: add might_sleep to ipc_command
BZ: 31846
ipc_command() function calls two blocking calls
but does not warn if called from atomic context
pm_qos_update_request() is a blocking call
acquire_scu_ready_sem() is a blocking call
Fixed this by adding might_sleep() to catch such calls.
Change-Id: I1308278a7870f2cd7f0ed2610d79d3c3efc3d266
Signed-off-by: Illyas Mansoor <illyas.mansoor@intel.com>
Reviewed-on: http://android.intel.com:8080/43506
Reviewed-by: Rudramuni, Vishwesh M <vishwesh.m.rudramuni@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Li, Ning <ning.li@intel.com>
Reviewed-by: Zhang, Shijie <shijie.zhang@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pandey Raj [Mon, 16 Apr 2012 11:23:35 +0000 (16:53 +0530)]
EM/Battery: Added max170xx_battery device id into charger driver
BZ: 30836
This patch adds a new entry max170xx_battery to bq24192_power_supplied_to
list of bq24192 charger driver to make the FG chip generic. The FG driver
initializes the chip depending upon the platform type.
Change-Id: Id57ccc6ff3effb366b3c7fa09987b9f56644729c
Signed-off-by: Pandey Raj <raj.pandey@intel.com>
Reviewed-on: http://android.intel.com:8080/43569
Reviewed-by: Gross, Mark <mark.gross@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>
Pandey Raj [Mon, 16 Apr 2012 11:09:59 +0000 (16:39 +0530)]
EM/Battery: Enable maintenance charging on clovertrail platform
BZ: 27582
This patch enables the maintenance charging on clovertrail platform.
Maintenance charging kicks in whenever the battery voltage goes below
the low maintenance threshold currently defined in board file. Once the
maintenance charging parameters are there in SFI table we will read the
values from the SFI table and program the charger as per the maintenance
threshold data defined. Currently the full charge voltage is 4176mV
and the maintenance charging lower threshold is 4076mV. The charging
current during maintenance is 500mA
Change-Id: I900671d6a1703455831b519ccb0c835e6dbbe232
Signed-off-by: Pandey Raj <raj.pandey@intel.com>
Reviewed-on: http://android.intel.com:8080/43285
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pandey Raj [Mon, 16 Apr 2012 10:03:33 +0000 (15:33 +0530)]
EM/Battery: Moving battery characterization data into board file for clovertrail
BZ: 30263
This patch is submitted to move the battery characterization data into board
file. Since there is a dependency on SMIP to provide this data, moving data
temporarily. Once the SMIP provides the battery characterization data, the
driver will read the data from SMIP only.
Change-Id: I45f677e5cd8a33bcfe1015959765332dafbe9379
Signed-off-by: Pandey Raj <raj.pandey@intel.com>
Reviewed-on: http://android.intel.com:8080/43549
Reviewed-by: Gross, Mark <mark.gross@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>
Tuukka Toivonen [Mon, 16 Apr 2012 12:58:49 +0000 (15:58 +0300)]
ov8830: HACK: allow driver to function even if AF detection fails
BZ: 27473
With some hardware, gpio pins are not properly configured to supply
power to the lens driver chip and consequently the chip will not
respond to i2c commands. This caused the drv201 detection function
to fail and whole ov8830 driver to fail functioning at all, even
from driving the sensor.
This patch allows ov8830 driver to drive sensor even if the lens driver
chip detection fails by ignoring the error code returned by the drv201
detection function. In this case only the focus functionality is disabled.
Change-Id: I552f638d8b7f84017feee62858094bc6b8d0726f
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/43578
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>
Tuukka Toivonen [Tue, 3 Apr 2012 14:18:30 +0000 (17:18 +0300)]
ctp_defconfig, mfld_defconfig: enable platform-specific camera drivers
BZ: 27473
Enable camera related subdevices (primary camera sensor, secondary
camera sensor, and flash driver) for Medfield and Clovertrail.
Change-Id: Idfb0ab40200f46a057a9957f966131f1830824ae
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/42262
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Gao, Bin <bin.gao@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Mon, 16 Apr 2012 10:47:01 +0000 (13:47 +0300)]
atomisp: fix Kconfig
BZ: 31681
The 'default m' line is removed to make non-medfield users happy. The other
lines are fixed accordingly to the checkpatch.pl.
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Change-Id: I8d202bccc3a2fa40b8ff885d9def7964c1e4a379
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/35257
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Mon, 2 Apr 2012 09:51:10 +0000 (12:51 +0300)]
atomisp: remove dependencies from AtomISP to subdevice drivers
BZ: 27473
Enabling AtomISP used to select also all sensor drivers in
the Kconfig. There is no point compiling all sensor drivers
for all platforms, so remove this dependency.
Change-Id: I44255cd33d3e4562841c083f6b6492d99b7fe8c2
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/42097
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Wed, 28 Mar 2012 12:37:11 +0000 (15:37 +0300)]
ov8830: add initial driver for drv201 AF actuator into ov8830 driver
BZ: 27473
Add initial support for drv201 AF actuator into the ov8830 driver.
The drv201 code should be moved into a separate driver later on,
so prefix all functions related to the drv201 with drv201.
Change-Id: I06d4c7c86279c5f0280a9fe7adc1077c49c65c75
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/41354
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>
luliuhui [Mon, 16 Apr 2012 07:28:43 +0000 (15:28 +0800)]
Graphic: Critical Klocwork issues for ICS scan 91
BZ: 31927
Revise kw issue in round 91 scan in kernel
Change-Id: I78ccb16588156a7022fda8c9dae5f67f46af64d6
Signed-off-by: luliuhui <liuhui.lu@intel.com>
Reviewed-on: http://android.intel.com:8080/43532
Reviewed-by: Xu, Randy <randy.xu@intel.com>
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>
Geng Xiujun [Fri, 13 Apr 2012 08:59:37 +0000 (16:59 +0800)]
Enable CABC for DV10
BZ: 31709
This patch enables CABC for lvds panel.
Change-Id: If5e74a510201b569b0a100d985bb9a77cbf13a97
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/43405
Reviewed-by: Park, Yong-joon <yong-joon.park@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>
zhang dongming [Fri, 13 Apr 2012 02:17:46 +0000 (10:17 +0800)]
Display: Optimize the delay time when gi display panel screen on
BZ: 29879
There so many delay in gi panel dpi ic init. cause gi Screen wake up
slowly after power key pressed. Optimize the delay time when Screen on.
Change-Id: I5450eb0e6d63815eaa18ed8c5cd079e2c191a603
Signed-off-by: zhang dongming <dongmingx.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/43333
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>
wu xia [Mon, 16 Apr 2012 06:29:33 +0000 (14:29 +0800)]
usb: revert USB patch42291
BZ: 31759
Patch42291 remove a USB HW workaround from USB driver. But
removing this workaround cause instability for CTP VV automated
testing. This means that the HW issue still exists on Cloverview
version. Revert this patch.
Change-Id: I8652e9968b56336d3d872f16d3a1dc0eaf07eb8f
Signed-off-by: wu xia <xia.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43537
Reviewed-by: Bourahmani, KarimX <karimx.bourahmani@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Wu, Hao <hao.wu@intel.com>
Tested-by: Dong, Chuanxiao <chuanxiao.dong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Christophe Guerard [Fri, 13 Apr 2012 09:12:35 +0000 (11:12 +0200)]
[LOGS] Swap thread id and process id
BZ: 31375
Change-Id: I80c25de5fbb0d7196f5e620bbc9f597882558a1e
Signed-off-by: Christophe Guerard <christophe.guerard@intel.com>
Reviewed-on: http://android.intel.com:8080/43418
Reviewed-by: Kanigeri, Hari K <hari.k.kanigeri@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Zhang Dongxing [Wed, 11 Apr 2012 05:29:26 +0000 (13:29 +0800)]
panic handle: check partition boundary when log is written
BZ: 31254
Change-Id: I9736b1c8b6bca677058ebca1dcdab11773dfc79a
Signed-off-by: Zhang Dongxing <dongxing.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/43030
Reviewed-by: Guerard, Christophe <christophe.guerard@intel.com>
Reviewed-by: Zhang, Jun <jun.zhang@intel.com>
Reviewed-by: Kanigeri, Hari K <hari.k.kanigeri@intel.com>
Tested-by: Guerard, Christophe <christophe.guerard@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Yu Wang [Fri, 13 Apr 2012 09:53:16 +0000 (17:53 +0800)]
Add OTG switch in DWC3 device driver.
BZ: 31649
This patch implements start_device() and stop_device() interfaces
provided for
OTG driver to satisfy the dynamic switch between host and device
functions.
Change-Id: I600c6187123fd3435f90ae1fbca382e59024df31
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/43427
Reviewed-by: Yuan, Hang <hang.yuan@intel.com>
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>
Yu Wang [Thu, 12 Apr 2012 09:51:26 +0000 (17:51 +0800)]
dwc_otg: Support switch host and device directly via sysfs.
BZ: 31708
Currently, the sysfs interface can't support switch HOST to DEVICE or
DEVICE to HOST directly. We have to restart whole HVP platform to do
this switch. There are two patches to fix this issue, this patch is for
host side fixing.
Fix build warning, and merge part of code about vbus control from Synopsys
reference code.
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Change-Id: Ic6ddb01174a8990b833d0f2b27a8a7447d69b7e2
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/43423
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>
Olivier Stoltz Douchet [Mon, 16 Apr 2012 08:12:46 +0000 (10:12 +0200)]
hsi_ffl_tty: increase modem boot timeout to 60 seconds as per IMC request
BZ: 28292
The modem post boot handshake timeout is currently set to 10 seconds, which
seems to be sufficient a time for the modem to setup its HSI IPC. But, this
assertion is not true and the modem can take up to one minute to boot up.
This patch is simply increasing the modem boot timeout to 60 seconds instead
of 10 seconds to allow correct modem reboot handshake in all contexts.
Still, this timeout value shall be fine tuned when the modem firmware will be
allowing shorter boot sequences - one minute seems huge for setting up the IPC.
Change-Id: Ie3dd6f58458fc5c6b628744588014a63698b774e
Signed-off-by: Olivier Stoltz Douchet <olivierx.stoltz-douchet@intel.com>
Reviewed-on: http://android.intel.com:8080/43536
Reviewed-by: Roulliere, Pierre <pierre.roulliere@intel.com>
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: Lucas, Guillaume <guillaume.lucas@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>
jzhuan5 [Tue, 10 Apr 2012 23:44:06 +0000 (19:44 -0400)]
usb:gadget: remove string Medfield in serial number
BZ: 29562
The "Medfield" in serial number is meaningless, the patch replaces it with 0s to avoid the confusion when running
on HW platforms other than Medfield.
Change-Id: I5bafd5b5cce95bed8e296d7a85fd953722f868dd
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/42919
Reviewed-by: Wu, Hao <hao.wu@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jzhuan5 [Wed, 11 Apr 2012 05:43:06 +0000 (13:43 +0800)]
usb/penwell_otg: add phy reset after reenable phy in initialization
BZ: 31265
As we have to disable (power-off) and reenable (power-on) phy during
driver init process, but sometimes in the initialization process,
PHY will generate some unexpected interrupts like ID=0, which will
confuse the OTG state machine, but it goes way after we did phy reset
per test result. So this patch adds PHY reset to avoid this issue.
Change-Id: I3b853116b824fd1d58df2af3ec0819866afe4e60
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43034
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ke Ai [Sat, 14 Apr 2012 22:48:55 +0000 (06:48 +0800)]
MIPI: Add necessary delay per HW DSI spec
BZ: 24684
Solve the MIPI on/off "fifo not empty" issue
Change-Id: Ic181674188dbb31cb4bcdf3d3f7f54cc3b50be82
Signed-off-by: Ke Ai <ke.ai@intel.com>
Reviewed-on: http://android.intel.com:8080/43500
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, 8 Mar 2012 08:13:16 +0000 (16:13 +0800)]
GFX-Display: add gamma and csc update interface
BZ: 29537
add a interface that named
psb_csc_gamma_setting_ioctl
to support csc and gamma change
Change-Id: I5bef6b87f832ed565a4ddb0f31f7c892fdf6da6e
Signed-off-by: Ke Ai <ke.ai@intel.com>
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Signed-off-by: Tong, Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/42653
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>
liu chuansheng [Fri, 9 Mar 2012 16:53:42 +0000 (00:53 +0800)]
SMP: blocked at csd_lock when bringing up the non-boot CPUs during waking up from suspend state
BZ: 26556
When system wake up from suspend state, sometimes the Jack interrrupt is comming
quickly and the corresponding irq thread snd_mfld_codec_intr_detection will call
ipc_command, which will call smp_call_function at last.
The call trace is like below:
snd_mfld_codec_intr_detection -->
sn95031_jack_detection -->
snd_soc_update_bits -->
snd_soc_read -->
sn95031_read -->
... -->
ipc_command -->
pm_qos_update_request -->
... -->
smp_call_function
At the same time, the suspend worker thread is bringing up the non-boot CPUs
(just only one on our platform).
The call trace is like below:
pm_suspend -->
suspend_devices_and_enter -->
enable_nonboot_cpus -->
_cpu_up -->
native_cpu_up
At this step, the second CPU is running start_secondary, and have set the
cpu online flag. In smp_call_function_single, it will send an IPI and waiting
for csd_unlock, but in some race conditions, the IPI message do not handled by
second CPU maybe due to the irq is still in disabled state.
THe solution is waiting for the second CPU gone into active status, then send the IPI
command to the second CPU.
Change-Id: I837d0ec4f07625f00ac68816e9c298161c26fea3
Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/38081
Reviewed-by: Zhang, Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Li, Zhuangzhi <zhuangzhi.li@intel.com>
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@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>
Vaibhav Agarwal [Tue, 28 Feb 2012 11:05:04 +0000 (16:35 +0530)]
HDMI-Audio: Update process_trigger flag to valid HAD state.
BZ: 24898 24987
During Dummy playback, statement to modifyprocess_trigger flag
is missing. This moves HAD to invalid state in some cases.
The solution is to modify process_trigger flag to valid HAD state.
HAD state is also updated with DISCONNECT, when the device is absent
and prepare is called.
Includes HDMI Klocwork spinlock error correction.
Change-Id: I17f272cca392e329b34ceb595d6fd7f4cfbc9586
Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@intel.com>
Signed-off-by: Shreyas Neerebailoor <shreyasx.neerebailoor@intel.com>
Reviewed-on: http://android.intel.com:8080/36842
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>
Guillaume Lucas [Thu, 12 Apr 2012 14:20:24 +0000 (16:20 +0200)]
n_gsm: don't allow write if state is not DLCI_OPEN
BZ: 31586
The n_gsm code doesn't have protection to avoid to perform
a write if a DLCi is not in the DLCI_OPEN state. This means
that it's possible to have data sending to the modem when
the DLCi is in the DLCI_OPENING state. Means, when the DLCi
is performing the asynchronous open.
To avoid this, this patch fix the write operation to return
the EAGAIN error if the write is not allowed.
Signed-off-by: Guillaume Lucas <guillaume.lucas@intel.com>
Change-Id: I3a98a9960e62a82afe96b1694a0a67727d84f5bb
Reviewed-on: http://android.intel.com:8080/43298
Reviewed-by: Lucas, Guillaume <guillaume.lucas@intel.com>
Reviewed-by: Pillet, VincentX <vincentx.pillet@intel.com>
Reviewed-by: Roulliere, Pierre <pierre.roulliere@intel.com>
Reviewed-by: Robert, Denis <denis.robert@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>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Yunpeng Gao [Fri, 13 Apr 2012 05:29:10 +0000 (13:29 +0800)]
mmc: disable eMMC boot partition access for Merrifield VP
BZ: 30542
The eMMC component in current Merrifield VP platform only implemnted
eMMC boot partition 0, did not implemented boot partition 1, which is
required by eMMC Spec. And the VP platform will crash if eMMC boot
partition 1 is accessed during kerenl boot.
This patch disable eMMC boot partition access for VP platform to
avoid this issue.
Change-Id: If74015fc69a32fc5da5c0968e109c3cbc9c5b50f
Signed-off-by: Yunpeng Gao <yunpeng.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/43347
Reviewed-by: Dong, Chuanxiao <chuanxiao.dong@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Li, Ning [Wed, 11 Apr 2012 08:30:40 +0000 (16:30 +0800)]
hsu: do not write to console when emmc_ipanic
BZ: 30826
When emmc_ipanic happens, panic logs will be keeping output to
console for more than 15 senconds, then watchdog will be triggered.
This causes kernel unable to save the log to emmc. This patch fixes
this issue by stop writing logs to console when emmc_ipanic.
Change-Id: I1482c79116cad0c590ff64ef4c273a5dc3eba071
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/43066
Reviewed-by: Zhang, Shijie <shijie.zhang@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>
Wu, Hao [Wed, 11 Apr 2012 13:10:52 +0000 (21:10 +0800)]
ehci-langwell-pci: set port as non-otg port
BZ: 31285
If the port is defined as otg-port, then current
code in usb core will try to start HNP, which is
not needed. so need to set our port as non-otg port.
Change-Id: I65316bd683296bd72c290c57fc5ecee78205678c
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43114
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@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 [Wed, 11 Apr 2012 13:02:30 +0000 (21:02 +0800)]
usb: never send A_ALT_HNP_SUPPORT to OTG2.0 device
BZ: 31285
A_ALT_HNP_SUPPORT is obsolete in USB OTG2.0 Spec. so
host should not send such command to USB OTG2.0 device.
Change-Id: I493a47fb26aff9920ab1a67e80bad8e4123c45dc
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43113
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@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 [Wed, 11 Apr 2012 13:00:24 +0000 (21:00 +0800)]
i386_ctp_defconfig: enable usb penwell_otg test mode
BZ: 31292
Enable usb penwell_otg_test mode.
Change-Id: I4547d915ab42b7f8f07fcdd218ac5d82d31de74f
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43112
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@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 [Wed, 11 Apr 2012 12:58:09 +0000 (20:58 +0800)]
i386_mfld_defconfig: enable usb penwell_otg Test mode support
BZ: 31292
Enable USB penwell_otg Test mode support.
Change-Id: I69ad8d2c3eff5cfaaede789e7e3dba9b719321e0
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43111
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@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 [Wed, 11 Apr 2012 10:06:34 +0000 (18:06 +0800)]
i386_ctp_defconfig: enable langwell_udc OTG support
BZ: 29011
For clv, we need OTG support in langwell_udc.
Change-Id: I203609937b088381b913d15f0f3f3444779f9a42
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43085
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wu, Hao [Wed, 11 Apr 2012 10:02:47 +0000 (18:02 +0800)]
usb/langwell_udc: only set gadget_is_otg when otg support is needed.
BZ: 29011
Set gadget_is_otg value if udc really needs support OTG. This value
will be used by gadget to decide if OTG descriptor is needed or not.
Change-Id: I31d18473f9e8ddbfc6c97e4a697a0a0a205963c2
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43084
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wu, Hao [Wed, 11 Apr 2012 10:00:22 +0000 (18:00 +0800)]
usb/gadget: add option for langwell_udc otg support
BZ: 29011
This patch adds one kernel option to decide if langwell_udc
needs otg support or not. This will finally decide if OTG
descriptor is needed or not.
Change-Id: Icef6cfdbed22db290643a936225a812bfe9e0d26
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43083
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
yifei.xue [Thu, 12 Apr 2012 05:14:33 +0000 (13:14 +0800)]
[Grpahics/Display]: Free the allocated memory in error paths of psb_gtt.c:psb_gtt_mm_alloc_insert_ht()
BZ: 31379
The functions drm_ht_create(),psb_gtt_mm_insert_ht_locked() may fails then the memory
allocated for the hash table entry and/or the drm hash table will leak.
The patch free the allocated memory when invoke fails.
Change-Id: Icd8a8a7ed9073e333830b9d829042ba1993d6b8d
Signed-off-by: yifei.xue <yifeix.xue@intel.com>
Reviewed-on: http://android.intel.com:8080/43223
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Weinehall, David <david.weinehall@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
shi yang [Thu, 12 Apr 2012 05:12:12 +0000 (13:12 +0800)]
[Display]: complete the mode config of PIPEA when start os
BZ: 30129
in function of mdfld_crtc_dsi_mode_set,display will set pipe config base
on different Panel. But this don't set when panel first power on.
So we add this config when commit MIPI show.
/* Setup pipe configuration for different panels
* The formula recommended from hw team is as below:
* (htotal * 5ns * hdelay) >= 8000ns
* hdelay is the count of delayed HBLANK scan lines
* And the max hdelay is 4
* by programming of PIPE(A/C) CONF bit 28:27:
* 00 = 1 scan line, 01 = 2 scan line,
* 02 = 3 scan line, 03 = 4 scan line
*/
Change-Id: If20521d48d83d0925e42c22d50eff20e007b0bd0
Signed-off-by: shi yang <yang.a.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/43220
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Liu, Chuansheng <chuansheng.liu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
German Monroy [Fri, 13 Apr 2012 20:30:32 +0000 (13:30 -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 is 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: Id8b80d41fd8253b624bf46ef72e41f4a4bb7238d
Signed-off-by: sathyanarayanan kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
Signed-off-by: German Monroy <german.monroy@intel.com>
Reviewed-on: http://android.intel.com:8080/43334
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Desurmont, DavidX [Fri, 13 Apr 2012 13:08:50 +0000 (06:08 -0700)]
Revert "kernel: when the phone power on we met lots of WTF crash."
BZ: 28359
This reverts commit
3de48a10e27d8ff44c38d3de97a34830c4a80d71
Orig-Change-Id: I7f04202cdb66a0c1855f941efc42323769706b0a
Change-Id: I36dadf743eee50004556e5338e09368afe55f2ed
Reviewed-on: http://android.intel.com:8080/43446
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>
David Cohen [Thu, 12 Apr 2012 15:14:54 +0000 (18:14 +0300)]
atomisp: mt9e013: read otp banks in reverse order
BZ: 31599
OTP banks should be read in reverse order to be able to get up-to-date
data.
Change-Id: I38865dab4e4004aade2d9829614dd4e893cc733d
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/43306
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@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>
shuguang gong [Sat, 7 Apr 2012 03:26:22 +0000 (23:26 -0400)]
Mt9e013: Set sensor pixel rate clk to 96MHz
BZ: 27683
ISP work frequency is only 200MHz on Lexington board.
High sensor pixel rate doesn't give enough OTF processing time
for ISP. This patch will decrease sensor pixel rate to 96MHz
and make ISP can work OTF.
Change-Id: I5e7e291781af7786ced33f3a82baf374cc267705
Signed-off-by: Shuguang Gong <shuguang.gong@intel.com>
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/42713
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Hu, Gang A <gang.a.hu@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Hu, Gang A <gang.a.hu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramesh Babu K V [Wed, 11 Apr 2012 13:02:46 +0000 (18:32 +0530)]
Revert "[PORT FROM R2]audio: sn95031: modify PCM2"
BZ: 30843
This reverts commit
ce35adf759aab6fcc13754eb8db020a41d531c6b.
The patch reverted here causing some crackling noise issues.
The reverted patch was wrongly enabling PCM2 during voice
call. The simultaneous enabling of both PCM2 and PCM1 during
voice call might cause crackling noise.
Fix the error by reverting patch #38989. This patch was added
to address the PCM2 enabling sequence as per the spec. Reverting
the patch would not cause any functionality difference.
Change-Id: Iab9f9320428ae5a39002cb5dc4f99eb49002d1a9
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/43103
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>
namarta [Fri, 13 Apr 2012 05:05:45 +0000 (10:35 +0530)]
Audio: use LLI dma transfer for audio firmware download.
BZ: 25658
Currently firmware is downloaded through single block dma mode.
This causes sst driver to submit block by block.
Add support for LLI (Linked list item also known as multi block) DMA transfer
in which driver can submit multiple DMA descriptor and then initiated
DMA just in one trigger. This will use DMA engine's capability effectively
thus reducing the time consumed in downloading the audio firmware.
This patch implements memory to memory LLI transfer mechanism in DMA driver
and modifies the SST driver to use the LLI capability.
Change-Id: I1b0ce209eae7eb3ae7392dfb66a34d8388610e71
Signed-off-by: Namarta Kohli <namartax.kohli@intel.com>
Reviewed-on: http://android.intel.com:8080/40906
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Vinnakota, Lakshmi N <lakshmi.n.vinnakota@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>
Hong Liu [Wed, 11 Apr 2012 07:50:18 +0000 (15:50 +0800)]
atmel_mxt_ts: [HACK DV20] load correct cfg file
BZ: 31105
There are 3 touch panels used on medfield tablet, we need to load correct
cfg file to make touch work.
dv1.0 mxt1386 0x4c maxtouch.cfg
dv2.0 mxt1386_wintek 0x4c maxtouch_wintek.cfg
dv2.0 mxt1386_hanns 0x4d maxtouch_hanns.cfg
currently we use dev name to differentiate dv10 or dv20 panel, while uses
i2c slave address to differentiate two dv20 panels.
This hack can be removed once firmware can runtime detect panel type.
Change-Id: Ie1ba8793f2e311322b1b0f98772de5b1b6d4de7a
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/43071
Reviewed-by: Wood, Brian J <brian.j.wood@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>
Hong Liu [Wed, 11 Apr 2012 07:05:37 +0000 (15:05 +0800)]
atmel_mxt_ts: [HACK DV20] detect touchscreen i2c addr runtime
BZ: 31105
DV1.5/2.0 hardware comes in two variants with different touch panels.
The touchscreen controller has different i2c address depending on the panel,
WintekA0=0x4c and Hannstouch=0x4d.
Searching for device at mxt1386 address, if not found use the other address.
This hack should be removed once SFI table has one correct touchscreen entry.
Patch ported from OTC branch.
Change-Id: Idfcdcf6f43dff1921a515f78dd548bcc3dd3f6dc
Signed-off-by: Hong Liu <hong.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/43070
Reviewed-by: Wood, Brian J <brian.j.wood@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>
Ramakrishna Pallala [Mon, 9 Apr 2012 01:22:39 +0000 (06:52 +0530)]
board-blackbay: changed fuel gauge gpio pin name to max_fg_alert
BZ: 31370
This patch modifies the gpio pin name to max_fg_alert. This will
avoid the dependency to know device id as the alert pin is present
on all platforms we can have single unique gpio pin name.
Change-Id: Ic7234e8e743e79c9286e685cb5b2ee49d382bc40
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/42788
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Hari, NeelamX <neelamx.hari@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>
Ramakrishna Pallala [Wed, 11 Apr 2012 02:34:59 +0000 (08:04 +0530)]
board-redridge: changed fuel gauge gpio pin name to max_fg_alert
BZ: 31370
This patch modifies the gpio pin name to max_fg_alert. This will
avoid the dependency to know device id as the alert pin is present
on all platforms we can have single unique gpio pin name.
Change-Id: I7eb79a44d3ea2f5743da741dd7ca668f0a89093c
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/43091
Reviewed-by: Kanigeri, Hari K <hari.k.kanigeri@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Hari, NeelamX <neelamx.hari@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>
Ramakrishna Pallala [Tue, 10 Apr 2012 09:42:49 +0000 (15:12 +0530)]
board-redridge: add support to read fuel gauge data from umip
BZ: 30840
This patch removes the WA to initialize the fuel gauge data and
adds the support to read this data from UMIP.
Change-Id: I5784b9442b8232a1db3a2166f64b2d50f5e6bd64
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/42978
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Hari, NeelamX <neelamx.hari@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>
Fei Jiang [Sun, 8 Apr 2012 19:21:20 +0000 (03:21 +0800)]
kernel-drm: remove buffer allocation for msvdx fw on Medfiled D0
BZ: 30913
For Penwell D0, msvdx fw is loaded by punit, so kernel drm driver don't need allocate buffer for fw.
Change-Id: I52060ae7579210b5dafb4f94d8f7219029a77676
Reviewed-on: http://android.intel.com:8080/42774
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: Zeng, Li <li.zeng@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Robert Jong-A-Lock [Fri, 23 Mar 2012 15:07:58 +0000 (16:07 +0100)]
atomisp: mt9e013: Remove D1 resolutions from Aptina mt9e013 driver
BZ: 28819
Remove D1 resolutions from Aptina mt9e013 driver
Change-Id: I862d7bc185f4da6710055da51cfdc74229605ea6
Reviewed-on: http://android.intel.com:8080/42918
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Lampila, KalleX <kallex.lampila@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>