Vishwesh M Rudramuni [Fri, 23 Mar 2012 10:35:00 +0000 (16:05 +0530)]
[PATCH 6] intel_soc_clv: Adding PM support for CLV
BZ: 26897
This patch enables PM support for cloverview platform.
Change-Id: I1c42e8a00df1ea11e6410011902bfd371bf51098
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Reviewed-on: http://android.intel.com:8080/40188
Reviewed-by: Mansoor, Illyas <illyas.mansoor@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>
Vishwesh M Rudramuni [Wed, 4 Apr 2012 20:38:56 +0000 (02:08 +0530)]
[PATCH 5] i386_mfld_defconfig: Enabled MDLFD PM
BZ:26897
This patch enables the Medfield PMU driver in the config.
Change-Id: I226187d577b1f551632ad1305606d00b6994f68c
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Reviewed-on: http://android.intel.com:8080/40187
Reviewed-by: Mansoor, Illyas <illyas.mansoor@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>
Vishwesh M Rudramuni [Fri, 23 Mar 2012 10:18:32 +0000 (15:48 +0530)]
[PATCH 4] intel_soc_mdfld: PM driver for Medfield
BZ:26897
intel_soc_mdfld.c has code which is Medfield specfic
This patch has callbacks for pmu_power_off and
minor fixes in coretemp.c and sdhci-pci.c
Change-Id: I54bfc49c58c65b5eaa19e0525744fc5d1aea09cf
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Reviewed-on: http://android.intel.com:8080/40185
Reviewed-by: Mansoor, Illyas <illyas.mansoor@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>
Vishwesh M Rudramuni [Tue, 27 Mar 2012 06:58:33 +0000 (12:28 +0530)]
[PATCH 3] intel_idle: Idle driver changes for PM
BZ:26897
This patch has PM specific changes to idle driver catering to all
Platforms.
Change-Id: I4c8499c127afd18fbf0e64154428ebd5a5cbe612
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/40186
Reviewed-by: Mansoor, Illyas <illyas.mansoor@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>
Vishwesh M Rudramuni [Thu, 29 Mar 2012 07:30:35 +0000 (13:00 +0530)]
[PATCH 2] intel_soc_pm: Refactored code for pm
BZ:26897
Power Management driver after code refactoring the existing pmu/idle driver
to have a single driver supporting future platforms like CLV
& Tangier.
intel_soc_pmu.c has code mostly interfacing pmu's in North Complex &
South Complex. Mostly platform independant code.
intel_soc_pm_debug.c for mostly debug related code.
intel_soc_pci.c for pci related functions.
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Change-Id: Id57714bbdf426dee451d0c7c062323cd91e2cdf7
Reviewed-on: http://android.intel.com:8080/40184
Reviewed-by: Rudramuni, Vishwesh M <vishwesh.m.rudramuni@intel.com>
Reviewed-by: Krishnakumar, Nivedha <nivedha.krishnakumar@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@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>
Vishwesh M Rudramuni [Thu, 29 Mar 2012 06:58:53 +0000 (12:28 +0530)]
[PATCH 1] mid_pmu: Removing the exisiting PMU Drv
BZ:26897
This patch removes the exisitng MFLD pmu drivers.
Change-Id: I30247a734ea10bb3ff8c4e62168fb344633d2c8e
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Reviewed-on: http://android.intel.com:8080/35951
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Yang, Fei <fei.yang@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>
xiaojin [Thu, 19 Apr 2012 00:49:38 +0000 (08:49 +0800)]
n_gsm.c: Enhancement of gsm_mux TX/RX buf allocate
BZ: 28510
In LEX platform, we found huge kmalloc fail if repeated gsmld open and close
that trigged by stmd(userspace) or modem reset.
LEX memory size is 512M, only the half of Medfield.
Enhancement:
1. gsm_mux buf/txframe allocation moved to gsmld_config, according to mtu/mru of cfg
2. if encoding ==0, txframe allocate one mtu; otherwise allocate double mtu
3. if allocation size less than PAGE, use kmalloc; otherwise use vmalloc
This patch is part of the solution to TX/RX buffer allocate fail.
We also need to change mtu/mru in STMD, it should matched to N1 of AT+CMUX.
N1(Maximum Frame Size) of modem is 1509 now.
Signed-off-by: xiaojin <jin.xiao@intel.com>
Change-Id: I928f9943bce17c065e070750ccf6648d577b17ff
Reviewed-on: http://android.intel.com:8080/43942
Reviewed-by: Stoltz-douchet, OlivierX <olivierx.stoltz-douchet@intel.com>
Reviewed-by: Pillet, VincentX <vincentx.pillet@intel.com>
Reviewed-by: Xiao, Jin <jin.xiao@intel.com>
Reviewed-by: Roulliere, Pierre <pierre.roulliere@intel.com>
Reviewed-by: Liu, Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: Lebsir, SamiX <samix.lebsir@intel.com>
Tested-by: Lebsir, SamiX <samix.lebsir@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shijie Zhang [Tue, 24 Apr 2012 12:34:08 +0000 (20:34 +0800)]
intel_mid_gpadc: increase the GPADC driver init priority
BZ: 33128
Charger driver on CTP needs to call gpadc intereface during init, so
GPADC driver has to be initilized before the Charger driver.
This patch increases the GPADC driver init priority to fix this problem.
Change-Id: Ia0ec6c6c4fa2afe1938bdd79a6eb474e5371c6a1
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/45275
Reviewed-by: Li, Ning <ning.li@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shreyas Neerebailoor [Fri, 20 Apr 2012 10:22:43 +0000 (15:52 +0530)]
DMA: Move dma_pool_destroy to free channel
BZ: 31979
The DMA pool for LLI is destroyed in atomic context.
This function might sleep and it should not be called in atomic
context.
Moved the destroying of the DMA pool to free channel resource
function.
Change-Id: I7624a69de3d8a3815fb0b3733cf441a246aea045
Signed-off-by: Shreyas Neerebailoor <shreyasx.neerebailoor@intel.com>
Reviewed-on: http://android.intel.com:8080/44152
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Bensaid, Selma <selma.bensaid@intel.com>
Reviewed-by: Babu, Ramesh <ramesh.babu@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Fei Yang [Thu, 19 Apr 2012 23:26:38 +0000 (16:26 -0700)]
CRYPTO: enable twofish for android_secure
BZ: 33312
VOLD creates android_secure on primary storage, which requires twofish
cipher algorithm support from kernel. This patch enables TWOFISH.
Change-Id: I7dddb5bb7ef26a329cb1694268d68e869f438c6f
Signed-off-by: Fei Yang <fei.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/44087
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@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>
Ramakrishna Pallala [Tue, 24 Apr 2012 01:48:37 +0000 (07:18 +0530)]
MFLD/Battery: Fix charging status reporting issue incase of OverTemp
BZ: 32569
This patch fixes the battery status reporting issue for high and
low temperatures. This patch also cleans up the status monitoring
worker by removing the code related to battery status computation
logic which was not required in status monitioring worker.
Change-Id: I6c5f628896f66a08fb6096ee74883b3e7ea70863
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/45912
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>
Ramakrishna Pallala [Tue, 24 Apr 2012 09:45:37 +0000 (15:15 +0530)]
EM/Battery: Compute battery health from fuel gauge
BZ: 32795
This patch disables the power supply registration for
battery from smb347 charger driver and adds the capability
to compute battery health from max17042 fuel gauge driver.
Change-Id: I71150bbad8c914edfbae34d5ded0f7e744ce8568
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/44357
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Eric Vorbe [Wed, 25 Apr 2012 14:21:13 +0000 (16:21 +0200)]
Revert "IMG code drop 840215 plus local changes"
BZ: 27656
This reverts commit
bcde9d363c2ef3938d39c4b14b09f75144cc6f85.
Change-Id: I30a9950adfc68558804d257d359a23ac0f7decc6
Signed-off-by: Eric Vorbe <ericx.vorbe@intel.com>
Reviewed-on: http://android.intel.com:8080/46057
Ashish K Singh [Mon, 16 Apr 2012 14:50:22 +0000 (20:20 +0530)]
staging/Kconfig: Changes to make Matrix driver visible in /dev
BZ: 22055
Change in Kconfig file to support Matrix driver.
Change-Id: Id547461b39cc9d003f7e24067640596672d918eb
Signed-off-by: Ashish K Singh <ashish.k.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/43600
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@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>
Zhang Dongxing [Fri, 20 Apr 2012 05:29:33 +0000 (13:29 +0800)]
panic_handle: make emmc_panic.c work without logger
BZ: 32660
When logger is disabled, emmc_ipanic.c is compiled with failure messages because
emmc_ipanic.c depended on logger module. At the same time, logger_pti.c has same issue.
For emmc_iapnic.c, dumping logcat buffer function is enabled only when CONFIG_ANDROID_LOGGER
is set to y. In order to use less macro references, some functions are moved to another
location without any change.
For logger_pti.c, we make ANDROID_LOGGRT_PTI depends on ANDROID_LOGGER. Then logger_pti.c and logger.c
can be enabled/disabled at the same time.
Change-Id: Ib59e85b022b4a163f8a002f2f2c405550fe28d62
Signed-off-by: Zhang Dongxing <dongxing.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/44106
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jli127 [Tue, 24 Apr 2012 05:24:09 +0000 (13:24 +0800)]
driver/max11871: add sysfs debug interface
BZ: 32663
This patch add sysfs debug interface to
max11871 touchscreen driver.
The interfaces added includes command,
fw_ver, hreset, sreset, irq_count and
panel_params.
Signed-off-by: jli127 <jian.d.li@intel.com>
Change-Id: Ieabad396f23b2ee5868478c9f6f9b40360d4b9e0
Reviewed-on: http://android.intel.com:8080/45344
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Li, Ning [Mon, 23 Apr 2012 11:31:34 +0000 (19:31 +0800)]
hsu: do not stop log when system not hang
BZ: 30826
Console stops printing logs when oops_in_progress bit is set.
If if it's set and it's not a bug causing system hangs, we still
need to print logs after that. This patch is a fix under this situation.
Change-Id: I4f9fb1552d8ad1425b2bae3f9c9fc47e0a874bf7
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/44418
Reviewed-by: Zhang, Shijie <shijie.zhang@intel.com>
Reviewed-by: Berthier, Emmanuel <emmanuel.berthier@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
David Cohen [Mon, 16 Apr 2012 10:46:47 +0000 (13:46 +0300)]
atomisp: mt9e013: fix fuseid read operation
BZ: 33398
mt9e013 driver's function used to read an array of registers is used by
OTP and FUSEID read operations. But due to bug, that function was
ignoring addr argument and hardcoding OTP read registers.
This patch fixed such function to provide correct fuseid values.
Change-Id: I2a0e81da3a724dfb0a933633e294e450e9facc42
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/43567
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>
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>