Eric Vorbe [Wed, 25 Apr 2012 09:15:16 +0000 (11:15 +0200)]
Revert "[PORT FROM R2]pti: Check if pti is enabled in mipi header"
BZ: 28818
This reverts commit
29baf44f0bb8d14636e58b400d9dc9a51d23c1fa.
Change-Id: Iebd395a606b6b83dad3cc9d801cd954706b12337
Signed-off-by: Eric Vorbe <ericx.vorbe@intel.com>
Reviewed-on: http://android.intel.com:8080/46022
David Cohen [Fri, 20 Apr 2012 14:21:04 +0000 (17:21 +0300)]
atomisp: reserve ioctls to avoid ABI conflicts for customer
BZ: 27960
Customer asked us to implement 2 ioctls for debug purpose. As such
ioctls can't be merged to our tree for security purpose, we're marking
them as reserved ioctls to avoid create ABI conflicts.
Change-Id: I26a83903ce5d3a01f1640e090db553a37c80b7db
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/44148
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Laakso, Antti <antti.laakso@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>
Andy Shevchenko [Mon, 16 Apr 2012 10:57:23 +0000 (13:57 +0300)]
lm3554: restructure i2c communications
BZ: 32196
Currently the driver uses the lm3554 registers as a storage for the values. Due
to this it communicates too often in both ways with the chip. It's a bit
suboptimal (*) and even potentialy wrong in some cases (**).
* driver uses an additional mutex for serialization and the
read-before-write technique
** when driver had used power on or off for the chip, the storage would have
become to the inconsistent state.
Thus this patch addresses mentioned inconveniences. It moves storege from
hardware to the struct lm3554 fields and uses only sequential writes to set a
value.
Change-Id: I3ec755d43999ea07384c4f18e31013dd8e4c69f6
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43707
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Wed, 11 Apr 2012 14:06:22 +0000 (17:06 +0300)]
lm3554: simplify lm3554_s_flash_mode()
BZ: 32196
Accordingly to the datasheet there is no difference between torch and flash
registers when we set up the operating mode.
Change-Id: I5cbb7bd3c3ed5e2c6cf8713830dfebb2480dbdbb
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43706
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Mon, 16 Apr 2012 13:18:48 +0000 (16:18 +0300)]
lm3554: use struct lm3554 as storage of actual values
BZ: 32196
There is no need to keep value in the hardware and sometimes it's even a bad
idea.
This patch partialy moves the storage from hardware to the struct lm3554 fields
and will be used later as well.
Change-Id: Ia80d465404bfb38bb24d02274ab95986d6a16870
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43705
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Wed, 11 Apr 2012 11:58:41 +0000 (14:58 +0300)]
lm3554: rename of few types
BZ: 32196
This patch renames few types as follows
struct lm3554_priv -> struct lm3554
p_lm3554_priv -> flash
to_lm3554_priv() -> to_lm3554()
platform_data -> pdata
There is no functional change.
Change-Id: I0dc8a133f1ef90fb666d9dbd2b970cf9f8009103
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43704
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Tue, 10 Apr 2012 10:11:14 +0000 (13:11 +0300)]
lm3554: small refactoring
BZ: 32196
- move platform data check upper in lm3554_probe()
- use struct lm3554_internal_ops
- remove dead and unused code
- append proper description
- add type of the subdevice
Change-Id: I6d752c26296db1c7f05dfe83e06f22866a6c53d1
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43703
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@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>
Dale Stimson [Thu, 15 Mar 2012 23:39:17 +0000 (16:39 -0700)]
IMG code drop 840215 plus local changes
BZ: 27656
Change-Id: I8a7b3ffdef00c8e5ec5a2b64c44a0239086f3357
Signed-off-by: Dale Stimson <dale.b.stimson@intel.com>
Reviewed-on: http://android.intel.com:8080/44346
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>
Shravan [Tue, 24 Apr 2012 06:11:26 +0000 (11:41 +0530)]
[EM/THERMAL]: Enabling DTS driver on CTP
BZ: 32757
This patch contains code to enable DTS driver on CTP
Change-Id: Ic17e25b9ea67cb90be5f9ad5cd65985fe0f1d2df
Signed-off-by: Shravan <shravan.k.b.m@intel.com>
Reviewed-on: http://android.intel.com:8080/45345
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: R, Durgadoss <durgadoss.r@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
luliuhui [Tue, 24 Apr 2012 00:40:05 +0000 (08:40 +0800)]
Graphic: Critical Klocwork issues for GRAPHICS in round 103
BZ: 33105
Revise NULL pointer dereferenced issues in kernel in round 103 scan.
Change-Id: I93488fdb96bc0fa8693e7fd1d9b36027ae4d98a5
Signed-off-by: luliuhui <liuhui.lu@intel.com>
Reviewed-on: http://android.intel.com:8080/44735
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>
Jianxu Zheng [Thu, 19 Apr 2012 11:45:51 +0000 (19:45 +0800)]
ion: export functions to enable usage by kernel modules
BZ:32709
EXPORT_SYMBOL/EXPORT_SYMBOL_GPL is missing for the exposed ION
API. This patch adds the EXPORT_SYMBOL to the public ION API.
Change-Id: I88ff618506efd136eb1d1b2648edfb4cea4ae53d
Signed-off-by: Jianxu Zheng <jian.xu.zheng@intel.com>
Reviewed-on: http://android.intel.com:8080/44095
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Jonathan DE CESCO [Wed, 18 Apr 2012 15:41:52 +0000 (17:41 +0200)]
net/core: fix rollback handler in register_netdevice_notifier
BZ: 31995
Coming from upstream commit
8f891489866ec62a87494eff3ed17c88152c32d4
"Within nested statements, the break statement terminates only the
do, for, switch, or while statement that immediately encloses it,
So replace the break with goto."
Change-Id: I5c11e8fb4424cd2418da3b14eab02a55cea8a719
Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jonathan DE CESCO <jonathan.de.cesco@intel.com>
Reviewed-on: http://android.intel.com:8080/43912
Reviewed-by: Zayet, AymenX <aymenx.zayet@intel.com>
Reviewed-by: Jarzmik, Robert <robert.jarzmik@intel.com>
Reviewed-by: Regairaz, JulieX <juliex.regairaz@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 06:08:37 +0000 (11:38 +0530)]
EM: Enable kernel config flags for EM drivers
BZ: 31157
Enable the kernel config flags for Charger, BCU, Thermal and
DTS driver for Merrifield phone platform
Change-Id: I83c617913b71c8bd1079af73b9a42a824be83739
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43230
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@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 06:04:49 +0000 (11:34 +0530)]
EM/Battery: Charger helper: charger helper initial commit
BZ: 21548
Abstract charger operations in charger helper layer
This will expose interfaces to charger driver so that
hardware specific functions can be interfaced
Change-Id: I4a3d408f0d09d16fe9eaf2630c3f757e78165512
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43229
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 06:00:51 +0000 (11:30 +0530)]
EM/Battery: Read battery profile and config
BZ: 15399
Read battery charge profile and battery config from
platfrom layer
Change-Id: I465f153c4335271fb282dc5b8d45959196d95d7d
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43228
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 05:58:42 +0000 (11:28 +0530)]
EM/Battery: Implement APIs in Charger driver for FG
BZ: 19894
This patch contains 5 APIs added to the charger driver code
for the FG driver to access
Change-Id: I4f74a78b51cf5b0c3a677a9b0e9d85cc82b9e90c
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43227
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@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 05:55:27 +0000 (11:25 +0530)]
EM/Battery: Implement ADC sensor reading for charger
BZ: 15402
Implementation to fetch ADC sensor reading for obtaining adc channel
values in charger driver
Change-Id: If7800da1c6f145facaaf350cc39fac886c011f85
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43226
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@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:37:56 +0000 (10:07 +0530)]
EM/Battery: Registering for otg callback and getting otg capability
BZ: 15398
This patch adds the code for registering the charger driver with
otg driver for callback and obtaining the otg capabilities.
Callback registration and querying otg capabilities functions are
implemented as stubs.
Change-Id: Ia3f9af5f77730c1706a357ba968eeca523c46494
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43225
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 04:28:27 +0000 (09:58 +0530)]
EM/Charger: Enable Basin Cove Charger Driver
BZ: 15397
Enable basin cove charger driver with initialization flows and
register with power supply subsystem
Change-Id: I241c0044e3f806285e76a8f6aa4a01e3055e5299
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43224
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: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>