summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-07[UART] keep the afe enabled in interrupt handlerandroid-4.4w_r6android-bcm-tetra-3.10-kitkat-wearoza pawandeep
do not disable autoflow control in BT recieve interrupt handler. though we re-enable it at watermark of 150 bytes, this should avoid and be at a safer side for fifo overrun corner cases. [bug: 17870872] Change-Id: I4b34f6dd3680d1a88f31fe0afa9effff838d8b15 Signed-off-by: oza pawandeep <oza@broadcom.com>
2014-10-06input: em718x: mark interrupt with IRQF_NO_SUSPENDAleksej Makarov
since this is a wakeup interrupt and it should not be suspended [bug: 17784557] Change-Id: I8988e8740829f0bc94a63a077e628bf4017ebf00 Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-10-06Revert "em718x: Remove locks in suspend/resume callbacks"Aleksej Makarov
This reverts commit d0f43236cb4b3376e52d957bc0249fc78718b1ea. since it doesn't solve the problem: interrupt needs to be marked with IRQF_NO_SUSPEND flag instead [bug: 17784557] Change-Id: I9ae18d3470ec89de1ced8d52d7db3cafd0dc09fa
2014-10-03em718x: Remove locks in suspend/resume callbacksPer Fransson
Remove lock in suspend callbacks which can deadlock with the one in em718x_irq_handler(), which in turn blocks the suspend thread in kernel/irq/manage.c:synchronize_irq() [bug: 17784557] Change-Id: I3d9816eb0d260f7be5e8feb0c131966554db6ab2
2014-10-02Revert "[BT-UART] UART wakelock timeout default to 0"Sean Wan
This reverts commit ede14b7c9573119abd911f0ec57dc42fcd1c0b6a. Bug: 17676656 Change-Id: I42d45c2dc3173ac05f0cbd19b74d1c931bb1c167
2014-10-02BT-LPM: attach the qos node to bt-lpmAlok Moondra
Buganizer id: 17634060 Change-Id: Iaaea2b729f31494e79b7ebb2723bbd68e6c48f5d Signed-off-by: Alok Moondra <alokm@broadcom.com>
2014-09-29[ARM] brooks: switch to di02.1.4.6015-3 sensor hub FWAleksej Makarov
[bug: 17679645] Change-Id: I2b75eeafe752703f091f106f813545581c1e6a7e Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-29firmware: em718x: new di02.1.4.6015-3 FW imageAleksej Makarov
[Pedometer] Report only counted steps when in suspend [Pedometer] Improved false step rejection [bug: 17679645] Change-Id: I76172de90c18244bdb2bb0a6e93ec603196a83b3 Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-29input: em718x: report steps on resumeAleksej Makarov
we can collect a lot of steps while being in suspend and will report them only when some few steps taken after resume which can happen even next day. To avoid it, we read steps from sensor hub on every resume. [bug: 17679645] Change-Id: Ibd0bd63ef9d1af6ee001b15e4b3bfd162df7bb1e Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-29FG: Init capacity adjustment in flat regionInderpal Saluja
In first boot, if initial OCV capacity calculated during flat region and saved capacity, then in next reboot if the delta between the init and saved is more then the threshold of flat region, then we should use initial OCV capacity rather than saved capacity [bug:17596399] Change-Id: I7857867c4fdd2b66eb6a04e05da1bfea7255b0dd Signed-off-by: Inderpal Saluja <isaluja@mps-clkwork-02.sj.broadcom.com>
2014-09-29FG: Charging status wrongInderpal Saluja
When boot with charger connected. In FG probe flags.chrgr_connected is not set if charger is connected, this will result in wrong charging status in case event is received before FG has register event notifier [bug:17452421] Change-Id: Ic1b67ca46949c983ab93b9ab965d50fda30801a0 Signed-off-by: Inderpal Saluja <isaluja@broadcom.com>
2014-09-24[BT-UART] UART wakelock timeout default to 0oza pawandeep
[this commit is for google testing/dogfooders only] buganizer id #17504283 Problem: Battery drain observed during BT/GPS activity Solution: while BT/GPS communication, UART wakelock used to be active which is not required since, both BT and GPS acquire their own wakelocks. upon careful analysis, we have decided to reduce UART wakelock timeout to 0 Change-Id: Iee5e90d437fcb3c755baa79dd29cba20f30594ac Signed-off-by: oza pawandeep <oza@broadcom.com>
2014-09-24[ARM] brooks: parameters for em718x sensor hubAleksej Makarov
[bug: 17579127] Change-Id: I0fc3fad156b5b8cb188beb0910f2d482738c44b0 Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-24input: em718x: FW parameter load supportAleksej Makarov
- added the possibility to update FW parameters vis sys-fs interface to support tuning in run-time - support FW parameters in device tree [bug: 17579127] Change-Id: I0f6fc7ea5def2b773a0b92abf06b7ba4456c12ab Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-24[ARM] brooks: switch to di02.1.4.6015-2 FW for em718xAleksej Makarov
[bug: 17579127] Change-Id: I309e134b0ca6daf1d1f97df4bb4d7ddee8df3838 Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-24firmware: em718x: new di02.1.4.6015-2 FW for sensor HUBAleksej Makarov
axes orientation changed: acc.x = -acc.x acc.y = -acc.y, gyro.x = -gyto.x, gyro.y = -gyro.y, mag.z = -mag.z [bug: 17579127] Change-Id: I226c983ba5a40df0d382f5f2ffb6ebe0c64764bb Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-24input: em718x: fix axes orientationAleksej Makarov
according to changes in em718x FW [bug: 17579127] Change-Id: I92346efbd048e44ec8e921dc8da423339cde853c Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-19[ARM] brooks: switch to em718x FW label di02.1.4.6015-1Aleksej Makarov
[bug: 17579127] Change-Id: I00e2754a0e1598bd5da84c70094be4cb6ab61ddc Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-19firmware: em718x: new di02.1.4.6015-1Aleksej Makarov
new SDK released: di02.1.4.6015 fixed magnetic data scaling [bug: 17579127] Change-Id: Ia5eccd63282c9a16744b8f2835687ad45fb17f9a Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-16mfd: bcmpmu59xxx-accy-core: Prevent array overflowImre Sunyi
When calling bcmpmu_get_next_trim_curr() the logic assumed that an increment in register resulted in next higher current trim setting. HW has it in two's complement format. Register value 0x1F corresponds to -5% and register value 0x00 corresponds to -3% which is the next higher setting. When already on the highest possible trim setting return the highest possible value for the data type the function can return. [bug: 17511445] Change-Id: I4506da818dff829bbfc04e25432b0b85b13e89a0
2014-09-16video: bcm: Disable image enhancement on NT35310Johan Olson
Deactivate image enahancement in display driver IC. This will reduce banding effects. Some colors will become less "vibrant". Change-Id: Ia23f726c4ba23dda693960da0b409353e1d5cdee [bug: 17394346]
2014-09-16backlight: lm3630a: Add sysfs for ramp on off ctrlJohan Olson
Light HAL layer needs to be able to set ramp on off ctrl. Adding sysfs interface "ramp_onoff" to which userspace can set and get the ramp_onoff register value. Change-Id: I5fbfb018a2e152caf595cf63867645f5480da902 [bug: 17481248]
2014-09-16[ARM] brooks: Remove CONFIG_UEVENT_HELPER_PATHJohan Olson
CONFIG_UEVENT_HELPER_PATH is not used and should not be set. Since /sbin/hotplug does not exists, calls to kobject_uevent_env() will always return -2 (-ENOENT). Removing this entry solves the problem. Change-Id: I0694060a224646b2fe2e9bab2c627138ff44c3da [bug: 17481248]
2014-09-16video: bcm: Send uevent when first frame is postedJohan Olson
If enabled, send an uevent to notify user space that the first frame has been sent. This can be used by lights HAL to turn on backlight quickly. Change-Id: I4095f3bca93e7f11de4c432b771cf8fceb7c1982 [bug: 17481248]
2014-09-16Revert "tetra: Add backlight config for turning on fast"Johan Olson
This reverts commit 43db02ffb293be6fa8e7ec07d9b86eeb32924143. Change-Id: Icd59f0db7a78094472e2ff78fa61f4035a2e8e29 [bug: 17481248]
2014-09-16Revert "video: bcm: Add notifier when first frame is sent"Johan Olson
This reverts commit 854eaccf19f372946c248d2efe5eb77124a0b66c. Change-Id: I6934ed2b52831e0d4b50fbefcdc946649b566696 [bug: 17481248]
2014-09-16Revert "backlight: lm3630a: Notification of first frame"Johan Olson
This reverts commit ed6ae2467f4a7dbccb8e35def20ce196e3a847b4. Change-Id: I6a9216b3b77b38c2063f397b516d1ecea024a893 [bug: 17481248]
2014-09-15input: synaptics_dsx: Block touch reports after wakeupJohan Olson
After wakeup gesture key has been sent, we shall not send any touch events until finger is released. bug:16802591 Change-Id: Ia9e4066cc1ba0dfe5b66fa7e31648f7c52365a11
2014-09-12Set SELinux to EnforcingArtur Pacholec
Change-Id: I9f9374c1ade12ebcc7b5e4b0d92fdc1a57bfc787
2014-09-12FG: Wrong current sample fix CSP 834010Inderpal Saluja
Updated sampling rate to 4Hz Added settling time before starting FG work Avoid latch sample if read before sampling_t Change-Id: I68f5e14212778d86c6871defc607ebbc8617af5d
2014-09-12Clean caches and stop before a smart resetPer Fransson
This change ensures that: 1) the contents of a subsequent RAM dump is up to date 2) any online cores are put in a controlled (busy looping) state Bug: 17466768 Change-Id: I2950388d15f2c46b2dccb38924d9fc0d21702f3f
2014-09-11Revert "FG: Wrong current sample fix CSP 834010"inder saluja
This reverts commit 7d5d6c520e486cc7148b13964e886613afd1a536. Change-Id: I56d365ab93ada152bad4b67215e95e39a2b3c3f2
2014-09-11Revert "FG: Avoid latch sample if read before sampling_t"inder saluja
This reverts commit 2870266638d76f83420258510395555ebd07069d. Change-Id: I4f630025de1834e448370c9568e402f98429b2ab
2014-09-10input: em781x: more robust device init procedureAleksej Makarov
hub FW will be loaded after triggering the reset of device to ensure proper device state. In case of error the reset of device will be triggered again. Change-Id: Ifc80df59ddc44dc6c0fb1f6b41d6b028e734e0ba Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-10FG: Avoid latch sample if read before sampling_tInderpal Saluja
Change-Id: I2171c991d73a34e71a5a8ce0a6de960220ffae97 Signed-off-by: Inderpal Saluja <isaluja@broadcom.com>
2014-09-09[ARM] brooks: switched to di02.1.4.5478-10 sensor hub FWAleksej Makarov
Change-Id: I1e9a95d679cc00b21425393044d237576e4f6c39 Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-09firmware: em718x: new di02.1.4.5478-10 sensor hub FWAleksej Makarov
- Moved several unused files in hooks to hooks_old - Small change to how steps are reported Change-Id: Ief21233d2f4d63b56518f7696b2ab32c06a887f2 Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-09FG: Wrong current sample fix CSP 834010Inderpal Saluja
Updated sampling rate to 4Hz Added settling time before starting FG work Change-Id: Ic322f55e5aedd065e93908aaaf6bd9b80d0fad2f Signed-off-by: Inderpal Saluja <isaluja@broadcom.com>
2014-09-09tetra: Add backlight config for turning on fastJohan Olson
Add configuration needed for first frame notification Change-Id: I3eb873709273419ae66b841f8246b366ce8deaa4
2014-09-09video: bcm: Add notifier when first frame is sentJohan Olson
Some drivers need to know when the first frame after sleep/ambient is sent to the display. For example backlight. Adding a notifier for first frame being sent. Change-Id: I53355866db4c8ddbaf9b98ca75c0e6a8225a8085
2014-09-09backlight: lm3630a: Notification of first frameJohan Olson
Backlight must be turned on quickly to get a good user experience. Adding a listener for notifier of when the first frame is sent to the display. Change-Id: I4741dbb159738a7978737fbff72b98e5df357ac8
2014-09-09firmware: synaptics: Update synaptics touch firmwareJohan Olson
New version: PR1640536_09051401 Change-Id: I65a3f39e41a238fa2b7ae7d285e03046ce3dce2d
2014-09-08Revert "input: synaptics_dsx: Send KEY_WAKEUP on normal touch"Johan Olson
This reverts commit 5d69b7eb6b1725e8d664ce03af585aadfc0cca81. Change-Id: Icd465387bf7d51c63b14060ef9ec1d69f6017f26
2014-09-08Revert "[ARM] Brooks: add synaptics,wake-event-on-touch"Johan Olson
This reverts commit c23ebd73325b11f0ed1ae279bed160b014820e17. Change-Id: Ic9521e91edbbb32452bf5a8918997a68f30bf44f
2014-09-08power: bcmpmu-fg: At init show 1% capacity when estimated is 0%Imre Sunyi
A higher value as was before could lead to * not fast enough response time for real shutdown * bad initial estimation of capacity when charging during bootup Change-Id: Ifa97ac5de8bd4d8b74acf771101cb742af2e3406
2014-09-08input: synaptics_dsx: Send only one wakeup gesture keyJohan Olson
If the touch chip is fast enough we will send multiple wakeup gesture keys which might be interpreted as wakeup AND a sleep request. Problem fixed by only sending one key event. Change-Id: I62db71df5747a2787c9023fc8d898994d122a671
2014-09-05[ARM] brooks: switch to di02.1.4.5478-9 FW for em718xAleksej Makarov
Change-Id: I7f647fb8d9f1c4dd5eed6804c506bbfd4937d5c7 Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-05firmware: em718x: new di02.1.4.5478-9 FWAleksej Makarov
[Pedometer] General improvement and bug fix: - Improved the pedometers resistance to shaking when e.g biking or traveling by car. - Fixed a unlikely bug where the step counter could report outrageous values [Pedometer] Send event on every possible step: - Sends an event on every possible step. When the step is a certain step, reports the internal step count. When not certain about the step reports a value in the range [1,5] Change-Id: I07b9c84445ddf5128dc28c2b87efaa80e81fd39f Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
2014-09-05power: bcmpmu-fg.c: At init capacity set correct charging stateImre Sunyi
If you have detected a valid charger type and USB charging is enabled and you have a charging current set then you are charging. Before the logic set this to discharging. Change-Id: Idac1d9ecd707cda49a250482483a4e9d5be7dc84
2014-09-05[ARM]: brooks: Enable flat OCV checkImre Sunyi
Flat region defined to be: A 25mV change in OCV shall not give more than 5% change in capacity. For Sony_1 battery this corresponds to OCV capacity range of [20, 50]% Change-Id: Ie5e1c7d050aa44c7852b6dca014b8ab68839dac7