summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2013-10-16max17048: add sysfs for check battery capacityHyongbin Kim
For check battery capacity, read Battery ID from ADC. User can check with below adb commend. "cat /sys/class/i2c-dev/i2c-0/device/0-0036/battery_capacity" Bug 1368059 Change-Id: I49ba1216244b85258fa3ef1ec8f60fd27a81e26b Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/299269 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-10-01input: touch: maxim_sti: Update to version 1.4.3, v29Xiaohui Tao
Description: version 1.4.3 TegraTab bringup v29 DVT3+; Improvement: Noise performance is also improved in this version. Bug 1353325 Bug 1367501 Change-Id: I50a08845d4232e2d462c25bf0f7ae91eb166a141 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/280094 GVS: Gerrit_Virtual_Submit Reviewed-by: Youngjin Kim <nkim@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-07input: touch: maxim_sti: Update to version 1.4.1, v25Robert Collins
Description: version 1.2.0 TegraTab bringup v25 DVT3+; Changes: * Eraser starts as being reported as pen and then switches to eraser without an intervening lift of the pen. * Touch panel not responsive after standby resume * Stylus events on virtual keyboard are missing with v24 build. Bug 1357895 Bug 1353325 Bug 1360030 Change-Id: I4c01e13165074f5c0cbd5a71cf961956a66c07b1 Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/271801 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-08-25PM QoS: Add EMC freq min/max as PM QoS paramsJinyoung Park
Added EMC frequency min/max as PM QoS parameters. Bug 1346293 Change-Id: Ib9eb6977edd56420d8518231d06749b2fbf5c34c Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/263783 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-23power: max17048: sysedp throttle in low SOCHyongbin Kim
When low SOC, limit freq of cpu, gpu, emc by sysedp_lite. Bug 1316595 Change-Id: I112efb815d3c57731d7478bb2ab0589c10f72865 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/264167 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-23edp: tegra_core_lite: add tegra_core_liteHyongbin Kim
When SOC is low, we need to limit clk of cpu, gpu, emc. For simple use, set power directly and set edp limit. Just use cpupri table. Bug 1316595 Change-Id: I3f2644f8564735551be6e61248e916b2981e70ef Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/264166 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-23power: max17048: set current threshold at low SOCHyongbin Kim
Support current threshold table for prevent sudden power off or freeze under low SOC. Bug 1304204 Bug 1316595 Change-Id: I4374c27a781a96d3f5b6a3f59af2ce3dcd55bbf3 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/249079 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-23hwmon: ina230: add export set current thresholdHyongbin Kim
At low SOC, we need to limit current for system stability. When set low value to current threshold, should set minimum cpu number to avoid power down of current monitor. Bug 1304204 Bug 1316595 Change-Id: I52219755a62acbb5289a6d28237b5ac57fa1a54a Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/249078 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-20misc: tegra-profiler: allocate memory on demandIgor Nabirushkin
Tegra Profiler misc driver: allocate memory on demand from the user space, not on boot Bug 1312406 Change-Id: Ic50e4e29a6066cee49c60cb435ab8f46c4748cbc Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/258202 GVS: Gerrit_Virtual_Submit Reviewed-by: Daniel Horowitz <dhorowitz@nvidia.com> Tested-by: Daniel Horowitz <dhorowitz@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-20ARM: tegra: Add Tegra ProfilerIgor Nabirushkin
Add Tegra Profiler kernel misc driver Bug 1312406 Change-Id: Ie5715bd0029a4d06fb20fa4ad8724827411a6c3b Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/250840 GVS: Gerrit_Virtual_Submit Reviewed-by: Daniel Horowitz <dhorowitz@nvidia.com> Tested-by: Daniel Horowitz <dhorowitz@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-19power: bq2419x: Support set charging complete SOCHyongbin Kim
Add sysfs for set charging complete SOC in user space. When soc value is not 100%, just check soc and cut charger power when charging is done. Set value should be between 60 and 100. Make foraml way to use SOC check charging done. Bug 1342684 Change-Id: Ia45a585e4709d0d109788018e38d24ffa1e42c09 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/261486 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-18input: touch: maxim_sti: Update to version 1.4.1, v22Robert Collins
Changes: - Water Rejection: Multiple Stylus cursors are getting displayed when the water drops are there in screen - Water Rejection: Touch screen is not responding to stylus or manual touch in water droplet area Bug 1301942 Bug 1302147 Change-Id: If5b403995ca2eeef0106b61553616fc0455351ff Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/261949 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-08-13input: touch: maxim_sti: Update to version 1.4.0, v21Robert Collins
Changes: - Fixed: Will respawn touch_fusion daemon in the event it crashes (bug 1316502/1339998). - Fixed: Touch linearity issues fixed (Bug 1326822). - Improved: Linearity on edges (Bug 1333700). Bug 1316502 Bug 1326822 Bug 1333700 Bug 1339998 Change-Id: I731da02b5912723b41da553eca19400885e10976 Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/260856 Reviewed-by: Bo Kim <bok@nvidia.com> Tested-by: Bo Kim <bok@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-12video:tegra:ad5823 support physical/working rangeKarl Kim
NVCS can't set the full range because the ad5823 driver is clipping position value as working range. This is separated physical and working range Bug 1340766 Change-Id: I61f4dbdc8572fd6b1725a9e0803656b9d0bc1ec4 Signed-off-by: Karl Kim <kkim@nvidia.com> Reviewed-on: http://git-master/r/259886 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jake Park <jakep@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-08-08tty: serial: enable irq_wakeHarry Hong
enable irq_wake for uart interrupt if wakeup from lp0 is required. ex) BT host-wake pin is connected to uart3_cts. so, making uart interrupt as wake irq. bug 1328470 Change-Id: I11f7ea8a627a84972c5d734d256a253cad2bc0af Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/257237 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-07power: max17048: apply RCOMP for temp compensationHyongbin Kim
Fuel gauge need to compensate the RCOMP value according to Battery temperature chaging. For best performance, reduce period to 10sec and apply new RCOMP when temperature is changed over 1.5C. Bug 1304204 Bug 1317331 Change-Id: I4e74d1e39d68297c5df9fccad0cb2879b7663e34 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/258671 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bo Kim <bok@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-06input: misc: sensor driversErik Lilliebjerg
- reduce suspend time for compass and pressure - fix MPU possible interrupt storm - fix MPU sample frequency overrun - fix MPU 9250 support for sw_rev > 2 HW - add BMP280 support to BMP180 pressure driver - optimize MPU FIFO timestamp algorithm - add compass self-test - add data interface Bug 1313284 Bug 1311053 Bug 1295128 Bug 1256470 Bug 1236893 Change-Id: I4ffa906c07ed1d07ad3b89aea9eb83fb153b765d Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/246132 Reviewed-by: Robert Collins <rcollins@nvidia.com> Tested-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> (cherry picked from commit 8cdf5b9ccfb47477229bf2cbb37f5132e81ad39e) Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/258517 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-06input: touch: maxim_sti: Update to version 1.3.1, v19Robert Collins
Changes: - Fixes bug 1322007 We are seeing a halo of no touch/pen activity around a thumb on the screen. - Fixes bug 1327520 Touch strokes are missing at intermittent soft keys on virtual keyboard soft key press. - Improves bug 1327474 Drawing with finger suddenly starts to act as eraser if user changes the finger while drawing. - Improves bug 1296212 Erasing angle is not consistent using stylus, sometimes draws during erase. Bug 1322007 Bug 1327520 Bug 1327474 Bug 1296212 Change-Id: Ic5c909e9d3aa18e8dc5a3fb8fec06ab8ffedc7d6 Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/258244 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-07-31Revert "Revert "input: touch: maxim_sti: Update to version 1.3.0, v17""Gabby Lee
This reverts commit 1d3379677dc7c4c9f3304b5ac5c1d97463fe5c45 Change-Id: I2dadbc5dee06a92073ee7fdcfb5ba5d2f037aa6f Reviewed-on: http://git-master/r/256610 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-07-30arm: tegra: tegratab: active-standby: add cmdline informatioinchunx
into /proc/net/{tcp udp tcp6 udp6} files. Get process's cmdline from a sock's corresponding inode pointer, so that cmdline can't be used by Android active-standby app to find the corresponding package name. Bug 1185001 Change-Id: Idc8651e4bb85b8a152dfade9689a719f7d72687d Signed-off-by: Chun Xu <chunx@nvidia.com> Reviewed-on: http://git-master/r/253458 Tested-by: Jiukai Ma <jiukaim@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-29Revert "input: touch: maxim_sti: Update to version 1.3.0, v17"Gabby Lee
This reverts commit 4b00bd31b95da2af9aa750e165239a4ab288f696 Change-Id: I1d3379677dc7c4c9f3304b5ac5c1d97463fe5c45 Reviewed-on: http://git-master/r/254837 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-07-26Camera: driver: Added getting exposure time API into ov7695 yuv sensor driverAlvin Park
Added getting exposure time API into ov7695 yuv sensor driver Bug 1330342 Change-Id: Icbcacdce5c19515d0f6f6b35f5fc81fa4462f9a4 Signed-off-by: Alvin Park <apark@nvidia.com> Reviewed-on: http://git-master/r/253247 Reviewed-by: Karl Kim <kkim@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-07-25input: touch: maxim_sti: Update to version 1.3.0, v17Bo Kim
Description: - Finger separation - Input device split option - V15 sensitivity degrade fix - Handling of unexpected TSC reset - Marginal improvements in stylus and finger recognition - Add robustness to Netlink backlog handling Bug 1321258 Bug 1324688 Bug 1302894 Bug 1324917 Bug 1327474 Bug 1324291 Change-Id: I3e9a16cc15351c48f0c21cc2cc2065e846237daa Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/252842 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: David Jung <djung@nvidia.com> Tested-by: David Jung <djung@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-22video: backlight: pwm_bl: device tree support for pwm_blMin-wuk Lee
Add device tree support for pwm based backlight driver. Values for platform data required by pwm backlight driver are parsed from device tree properties, directly. For function pointers in platform data, separate devdata generating driver is prepared. In order to construct functions, it also parses values from different device tree node. Backlight output array to make linear backlight response are parsed in separate devdata generating driver. Bug 1240921 Change-Id: Ie2b20efa368a0caa3a8a4d316482a2153cdaadc1 Signed-off-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-on: http://git-master/r/251313 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-21input: touch: maxim_sti: Update to version 1.2.0, v16Robert Collins
Description: Reduce number of SPI interrupts while touch is present. Reduces from 5000 interrupts per second to 800-1200 interrupts per second when a touch is present. Bug 1308711 Change-Id: I1d88a062d0538526fa24374c5d38d52813857a33 Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/250534 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bo Kim <bok@nvidia.com> Tested-by: Bo Kim <bok@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-07-16input: touch: maxim_sti: Update to version 1.2.0, v14Robert Collins
Description: Fixes bug 1301375 LP0 suspend/resume issues. Fixes bug 1293278 by adding more manufacturing tests. Fixes bug 1318848. Adds CPUBoost flag. Bug 1293278 Bug 1301375 Bug 1318848 Change-Id: I78ca8f6119aa948d7d9a57a912bc9946fccba0c6 Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/249532 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-07-16power: bq2419x: add charging current check for check charging completeHyongbin Kim
When charging current is below 256mA, stop charging for preventing over charge and safety of battery. Change-Id: Ib6bd3f8a4951364e2653b77f7eb0f2eedadda1e8 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/249536 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-07-16hwmon: ina230: add export get current fuctionHyongbin Kim
Add get current function for check charging complete. Change-Id: Ic19cd05699855237d5b6493c8370ac8e93e17d22 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/249535 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-15power: bq2419X: Support BQ24193 and set JEITA registerHyongbin Kim
Set ICHG=4.1A and ISET=1 for charging 0.2C at T1~T2. Set VSET=4.2V for 4.2V charging at T3~T5. Bug 1324720 Change-Id: I17d144658706140bee1298edfa9792b2eb0f5605 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/248303 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-15net: wireless: wl12xx: Add wifi edp supportHarshavardhan Nalajala
Enable wl12xx edp support config and add edp support structures to wl12xx_platform_data. bug 1299023 Change-Id: Icbb63229eee521f61801beaee77d86295e1e5cc9 Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/236169 (cherry picked from commit 6436202553991f42ca27c63e2a6571f7144dabc7) Reviewed-on: http://git-master/r/249086 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-11backlight: pwm_bl: Selectable edp throttllingBo Kim
Backlight EDP throttling could be selectable by platform data. Bug 1316595 Bug 1318582 Bug 1319905 Bug 1310789 Change-Id: Idcf0893ac7554d4a525028703592b2e4954c30d2 Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/246997 Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-08power: bq2419x: Cut power of charger when charging complete for factory mode.Hyongbin Kim
Pull out EN_HIZ clear fuction from bq2419x_reset_wdt(). It clear EN_HIZ every 40 sec. When cut_pwr_chg_complete flag set, Forced set EN_HIZ when charging complete. Bug 1316646 Change-Id: I8d169fcef5f62d01a29b543a607e03a2f59622d9 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/245235 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-07arm: tegratab: load touch fw according to board revisionDavid Yu
Change-Id: Ica93560f8eba67d5ba9975c42e0c7431f1b10ce8 Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/244945 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-07vm: add vm_iomap_memory() helper functionLinus Torvalds
Various drivers end up replicating the code to mmap() their memory buffers into user space, and our core memory remapping function may be very flexible but it is unnecessarily complicated for the common cases to use. Our internal VM uses pfn's ("page frame numbers") which simplifies things for the VM, and allows us to pass physical addresses around in a denser and more efficient format than passing a "phys_addr_t" around, and having to shift it up and down by the page size. But it just means that drivers end up doing that shifting instead at the interface level. It also means that drivers end up mucking around with internal VM things like the vma details (vm_pgoff, vm_start/end) way more than they really need to. So this just exports a function to map a certain physical memory range into user space (using a phys_addr_t based interface that is much more natural for a driver) and hides all the complexity from the driver. Some drivers will still end up tweaking the vm_page_prot details for things like prefetching or cacheability etc, but that's actually relevant to the driver, rather than caring about what the page offset of the mapping is into the particular IO memory region. Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit b4cbb197c7e7a68dbad0d491242e3ca67420c13e in upstream v3.9) Change-Id: I203f48975ccd9047a588669d13173385b906ab5b Bug 1316563 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/244439 (cherry picked from commit f1f51c1f1823e4b5254db2b80d08302df95af11e) Signed-off-by: David Yu <davyu@nvidia.com> Change-Id: Ibf65b97e4ff4956a2e6ecb33b7926ec283648c16 Reviewed-on: http://git-master/r/245000 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-01video: tegra: nvavp: add support for vde.emcKevin Huang
vde.emc is required to know whether video playback is going on or not. Display efficiency rate is set to 45% if both dc.emc and vde.emc is enabled. vde.emc clock is enabled when non-zero avp.emc clock rate is requested and is disabled when zero avp.emc clock is requested. Bug 1266369 Change-Id: Ic1de7145763a41a8adf11a9e1cd7a1cd723f46e2 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/232614 (cherry picked from commit 1a7d3d91d7491813b8b335f202504152ab137193) Signed-off-by: Kenneth Kwak <kkwak@nvidia.com> Change-Id: I491c6356800309123b9cb3ece9fb32d4dfe00d78 Reviewed-on: http://git-master/r/242227 Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-07-01power: bq2419x: check vcell when charging complete and set restart charging ↵Hyongbin Kim
voltage When SOC 100% and disable charging, we should restart charging when voltage is droped under some voltage. if not, it make large gap between real SOC and current SOC(100%). If there is no vcell_check fuction, just check soc value. Bug 1310558 Change-Id: I23431e53678607e7c963338a85e7cdb23deba79b Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/243893 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-07-01power: max17048_battery: Add export get vcell fuctionHyongbin Kim
Chager driver need vcell value for better checking charing complete. Bug 1310558 Change-Id: I9c19f3500e7a85478dc761668d58a5b3b1bafe5f Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/243892 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-30drivers: tegra: ov7695: edp supportBo Kim
Bug 1244384 Change-Id: Ia44451cd79a5f551f479685d4089e2398a5fc152 Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/242293 Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-30drivers: tegra: ov5693: edp supportBo Kim
Bug 1244384 Change-Id: Ifb5c71e26c3d2a78c38beeaf20b48b38e6e3cb3c Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/242292 Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-30power: bq2419x: Not use charging terminationHyongbin Kim
Tegratab system can draw over charger power (5V*2A), unexpect charging termination happen under 99% SOC.(around 93%~98%). BQ charger occur charging termination when Vbatt is above recharge threshold voltage(4208mA - 100mV = 4108mA) and current is below ITERM(256mA). So we need to disable charging termination and control charger enable/disable with check SOC. When SOC over 100%, disable charging and under 99% SOC, enable charger. Bug 1310558 Bug 1316010 Change-Id: Ic3463f004171f580661595d6cd1ad2b94eb538bf Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/243270 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-30power: max17048: Remove charging done check and add export soc get fuctionHyongbin Kim
Remove forced set 100% SOC code when charging done. Sometimes, charging termination is done under 98% SOC, when tegratab spend whole power of charger and charging current drop under ITERM. Charger driver will check SOC and control charging. Bug 1310558 Bug 1316010 Change-Id: I127665fc4c1fa68584080b879f2184687c6e692b Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/243269 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-27input: touch: maxim: add trace pointYogish Kulkarni
Add trace point in IRQ handler for profiling. Bug 1313953 Change-Id: I832efacf17603ae85cd03b455c8d17828fbeeec5 Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com> Reviewed-on: http://git-master/r/242431 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-06-26staging: iio: adc: palmas: Add ADC reading with dual-current source for CH3Jinyoung Park
Added ADC reading with dual-current source for Channel3 in order to do series resistance cancellation for thermal diode. Bug 1287901 Change-Id: Ifaf6ae6e293d66955f5c55d9c739af94a692a30e Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/241375 Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-26staging: iio: adc: palmas: Support extended delay modeJinyoung Park
The extended delay mode is added 400us delay to help system settles to loaded situation. Bug 1287901 Change-Id: I7965c89be6f5249110eae4c646c84f44e36257c8 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/241371 Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-25Thermal: generic_adc_thermal: Add second value read back on read channel rawJinyoung Park
Added second value read back on read channel raw. Bug 1287901 Change-Id: I0bde33c4cb16e1c500b0cf86b64ec3e84e9a61d7 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/241374 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-06-25staging: iio: Support second value read back on iio_st_read_channel_rawJinyoung Park
Support second value read back on iio_st_read_channel_raw. Bug 1287901 Change-Id: I2d5eb06ae3434fbca8a92591e8b498340371c771 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/241373 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-06-23regulator: palmas: make sure disable boost during suspend for SMPS10Laxman Dewangan
If flag for SMPS10 has the disable_boost_on_suspend is true then make sure that boost of SMPS10 is disabled. If any regulator is using this then defer the boost disable and disable when client actually disable the smps10. bug 1291841 Change-Id: Ia03d29f68132f87b970d4df8402b3cdd4dba95df Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/239722 (cherry picked from commit 368abfad3a0b27fa893df2d1b201339701df367d) Signed-off-by: Harry Hong <hhong@nvidia.com> Change-Id: I9cd793bc0e8a49a0f295c1490d5bd92e9ccba57c Reviewed-on: http://git-master/r/240921 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Yong Goo Yi <yyi@nvidia.com> Tested-by: Yong Goo Yi <yyi@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-18ARM: tegra: Programming Palmas SWOFF_COLDRST registerHarry Hong
Programming poweron_lpk bit of SWOFF_COLDREST register based on poweron_lpk value in pdata. if it's 0, the system off type by long press key is power down. if it's 1, the system off type by long press key is restart. bug 1308187 Change-Id: Id6944aa31b753d711626b08bbde9e51d031bfcc9 Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/239620 Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-17Thermal: Add generic ADC thermal sensor using IIO frameworkJinyoung Park
Added generic ADC thermal sensor driver using ADC drivers supported by IIO framework for thermal management. Bug 1287901 Change-Id: Ic6fdb0fef4476c1d2a91ffcd9d18cba07dfb2d8d Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/238545 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Edward Riegelsberger <eriegels@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-06-17staging: iio: adc: palmas: Add iio_maps for consumer mappingJinyoung Park
Added iio_maps to associate iio channels with consumers. Bug 1287901 Change-Id: I11fdb73213dbd07d9e92a11d4c883028a37905d2 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/238543 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit