summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2013-09-14video: tegra: nvmap: flush deferred cache ops on deleteKirill Artamonov
We don't flush deferred cache ops if handle is deleted. Because of that it can still be referenced in deferred queue after deletion until full deferred queue flush. The situation is rare in real life, because usually ops are flushed when handle is pinned or full L1/L2 flush is triggered, The bug was exposed by nvmap stresstester. Flush deferred cache ops if handle is deleted. bug 1229518 bug 1236133 Reviewed-on: http://git-master/r/200519 (cherry picked from commit 5c65bd6be7a642e813d8561573067bf959d68a0d) Change-Id: I3419be801adc1ae1d1ba561470c9bdeeae02ca26 Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com> Reviewed-on: http://git-master/r/201245 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2013-09-14mmc: sdhci: Move to tegra pre-si configJeff Smith
Change-Id: I2aee3308c729546d227538187eb5225b91decfe0 Signed-off-by: Jeff Smith <jsmith@nvidia.com> Reviewed-on: http://git-master/r/161908 Reviewed-by: Automatic_Commit_Validation_User
2013-09-14video: tegra: host: Disable 3D DVFSTerje Bergstrom
Disable 3D DVFS until it has been verified. Change-Id: I388037cd0e95bda73c6d47eb1c7ec5e4a9fcb72a Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/201727 GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14video: tegra: host: Enable 3D power gatingTerje Bergstrom
Bug 1179425 Change-Id: I37ed34bfa943fa2514e86a34429739c774d56f31 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/197270 (cherry picked from commit a6593b4b62a9c648b0905be5eeb6090adb81a234) Reviewed-on: http://git-master/r/201725 GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14video: tegra: host: Enable 2D power gatingTerje Bergstrom
Bug 1179423 Change-Id: Ida9acdebcdb28272aba1ab1d47669f7396beb3f4 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/197271 (cherry picked from commit 102c24c2c72d82e6c883ca32bfdeb8c5b4615c9a) Reviewed-on: http://git-master/r/201723 GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14video: tegra: host: Enable MSENC power gatingTerje Bergstrom
Enable MSENC power gating. Bug 1162876 Change-Id: I26322798dd083d19bce1708132e91073057360f7 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/197269 (cherry picked from commit 9c712b0c3e279cab12e528c4ece48a8485ea5d8f) Reviewed-on: http://git-master/r/201722 GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14thermal: pwm_fan: Fix coverity errorAnshul Jain
Change-Id: I5976d9c01ef0b8b145ba6df182a72bafffbcc27d Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/190794 (cherry picked from commit 7a4ef61fa5258b3e31084165313c2784124f2748) Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: http://git-master/r/201685 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-09-14nfc: implement i2c shutdown for Broadcom nfcAnita Kar
Implementation of i2c shutdown for bcm2079x nfc module to discard any i2c communication after shutdown. Bug 1203783 Change-Id: I10ac641629d5c6ab8d0adb229588a89d77ab99ae Signed-off-by: Anita Kar <akar@nvidia.com> Reviewed-on: http://git-master/r/191939 GVS: Gerrit_Virtual_Submit (cherry picked from commit 3777260ddec2fe578e7985dbec401cfce887d01f) Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: http://git-master/r/201642 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14thermal: pwm_fan: Suspend and resumeAnshul Jain
This provides functionality for suspend and resume in fan. Bug 1201225 Change-Id: I3f431dc8365cdac9bcadbbb35524ea13cabf78f8 Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/#change,173929 (cherry picked from commit e9a7bd8b9d5e441e99e170e97ebe4dcd760ebea3) Reviewed-on: http://git-master/r/173068 (cherry picked from commit d3a52f61f636ad6a85ce4a7ae1cf92ef9c5e1acc) Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: http://git-master/r/201633 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14hwmon: Tegra Temperature Monitor driversreenivasulu velpula
This driver monitors both local and remote temperatures at regular intervals. If there is certian degrees change in temperatures then it executes the callback registered for the platform. This driver assumes presence of on-board TMP411 sensor by TI. This driver also adds a sysfs interface to read current temperature of the remote hotspot and local temperature. Bug 1182410 Reviewed-on: http://git-master/r/190217 (cherry picked from commit fc1c166747f938f05e7491e7fb63e5c843549a95) Change-Id: I9789abe267cbabe05560c70e79a3cbbe4f73ccdb Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com> Reviewed-on: http://git-master/r/201608 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-09-14HID: i2c-hid: Fix for kconfig conflictRamalingam C
Fixing the configuration conflict Bug 990892 Bug 1178683 Change-Id: Ibd2135f938bb3b27e78f4ae1194874a9cd347e58 Signed-off-by: Ramalingam C <ramalingamc@nvidia.com> Reviewed-on: http://git-master/r/199331 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-09-14HID: i2c-hid: replacing the module_i2c_driverRamalingam C
Replacing the usage of module_i2c_driver with module_init and module_exit. Bug 990892 Bug 1178683 Change-Id: I4680bc40840b436b8694e5abbb20d07fba4eb201 Signed-off-by: Ramalingam C <ramalingamc@nvidia.com> Reviewed-on: http://git-master/r/199330 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-09-14drivers: misc: Suspend and resume in fan therm estAnshul Jain
Bug 1205034 Bug 1210575 Change-Id: Ia639634a1a20ab7bc56ed941bc7efe1426509f83 Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/190815 (cherry picked from commit 49ecc8470a28345ec3ed932766a5f1776a8bf15b) Signed-off-by: Richard Zhao <rizhao@nvidia.com> Change-Id: Ib464f5a44aa61629a6d4e1211f492657b7f76e7b Reviewed-on: http://git-master/r/199325 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-09-14video: tegra: reset the cache of fb_pan_displayRamalingam C
Enabling the tegra_fb_pan_display for fbconsole by resetting the cache of offset. Bug 1219063 Bug 1216172 Bug 1216329 Change-Id: I3ca52834e7e3bb5d2f99ce6687266485f55afce1 Signed-off-by: Ramalingam C <ramalingamc@nvidia.com> Reviewed-on: http://git-master/r/194749 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2013-09-14tlv320aic3xxx: add i2c shutdown implementationRahul Mittal
Adds i2c shutdown related checks Bug 1226744 Reviewed-on: http://git-master/r/197860 (cherry picked from commit 73e0c048b6e8ecfe26f1d19fa6accaf10df6542d) Change-Id: I9c33c4a1e2efbca07e73dd8fd515004533f5a6c2 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/200787 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-09-14input-cfboost: add trace pointsYogish Kulkarni
Add trace points to log time stamp when the input event is received and time at which boost work is scheduled. This is for detailed profiling of touch latency. Bug 1229219 Change-Id: I5f2f4f3d821d93b550fa9f86dc8fd562fa5d460a Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com> Reviewed-on: http://git-master/r/197954 (cherry picked from commit 04f7d704a071ecf4fc1f70841d020c08e58fe563) Reviewed-on: http://git-master/r/200783 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14input-cfboost: monitor keypad & joystick eventsYogish Kulkarni
Add signatures of keypad & joystick devices to id table so as to provide cpu boost for events from those devices. Bug 1229219 Change-Id: If5e9f2669e437808e26a66bb9cd8b4cbfe97c286 Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com> Reviewed-on: http://git-master/r/197968 (cherry picked from commit 1fc8b47ac04c0978d0a218ed30de0727c90529f3) Reviewed-on: http://git-master/r/200775 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14input: touch: raydium: report MSC_ACTIVITY event while leaving idleLi Li
Report MSC_ACTIVITY event while leaving idle state so that CPU frequency governor can act. Bug 1229219 Change-Id: Id3823e631bb068615bc506862c06c5ad3ff96341 Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com> Reviewed-on: http://git-master/r/196391 (cherry picked from commit 46737a3fb2c31eee989618730fa26a402cb25c0b) Reviewed-on: http://git-master/r/200774 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Robert Collins <rcollins@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14driver: tps6591: Prog sleep bit during suspend/resumeBhavesh Parekh
Set and clear the sleep bit during suspend/resume, and not during init if dev_slp_delayed is true. bug 1214183 Change-Id: I3b57d6d5fa82844607b67625b7de8b9f0f2a2baa Signed-off-by: Sumeet Gupta <sumeetg@nvidia.com> Signed-off-by: Bhavesh Parekh <bparekh@nvidia.com> Reviewed-on: http://git-master/r/199356 GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-09-14drivers: misc: nct: add userspace eventAmit Kamath
Use thermal interface to notify of thermal changes for all thermal trip points using netlink sockets. bug 1042409 Change-Id: Ia8ec1891f74aacbd4eb2692dee89c5b4457a5cf8 Signed-off-by: Amit Kamath <akamath@nvidia.com> Reviewed-on: http://git-master/r/170984 (cherry picked from commit 80d74d93b289de458c338f990a6b8b1d0fb3f903) Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: http://git-master/r/168064 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14ARM: tegra: cpuquiet: make userspace governor actions synchronousPeter De Schrijver
Userspace expects changes to happen synchronously. Implement this by waiting with a (configureable) timeout for the action to happen. Bug 1220065 Change-Id: I81301719707e4baf2b3aea62c38fc771ffe1205d Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-on: http://git-master/r/200013 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2013-09-14video: tegra: dc: Bail out on incorrect window attributesRaghavendra VK
bug 1066942 Change-Id: I139b6a340ba570ff020cc41ec6ad219c578e14f9 Signed-off-by: Raghavendra VK <rvk@nvidia.com> Reviewed-on: http://git-master/r/192455 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2013-09-14hwmon: ina230: use correct configuration modesDeepak Nibade
Bug 1228591 Change-Id: I5a4b2b59d32118d57ee0ff6c21b8423268fc1926 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/197993 (cherry picked from commit 2b1e73a6f01c1bf14d4e9c7c493a83ae97b593f3) Reviewed-on: http://git-master/r/199985 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-09-14video: tegra: nvavp: use dev_pm_opsMayuresh Kulkarni
- this commit replaces the legacy suspend/resume calls with the dev_pm_ops call-backs - dev_pm_ops has many other call-backs related to runtime pm and pm domains along with system suspend/resume call-backs Change-Id: I24d691672b3d9804a42561d8f7b78b99646a2f42 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/199937 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gajanan Bhat <gbhat@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14media: video: tegra: add stub runtime PM for cameraPrashant Gaikwad
Add stub runtime PM implementation for Tegra camera. This will help to notify the events to MC clock power domain. Bug 1010971 Bug 887355 Change-Id: I72b1120ade18f0511bd2f9513fdf1565dd3c6277 Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-on: http://git-master/r/199407 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14driver: nor: tegra: Correct Module detection logicAshutosh Patel
- Removed return EIO statement to detect half flash if single NOR flash module is connected bug 1234582 Change-Id: I4d7d2a9b871566cd23509eaaa5140fb093a164c1 Signed-off-by: Ashutosh Patel <ashutoshp@nvidia.com> Reviewed-on: http://git-master/r/199384 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-09-14video: tegra: camera: squash changes for pll_d2_clkJihoon Bang
Squash following changes. These changes are about handling pll_d2_clk which is used to test pattern generator in VI/CSI. 08c492d1d7d13: fix test pattern generator 60817b5005851: enable/disable pll_d2 in balance Fix build error related for T148. 3beca1de87b49: fix build error Fix uneven clk_enable/clk_disable. Bug 1189789 Bug 1168336 Bug 1214620 Reviewed-on: http://git-master/r/192115 (cherry picked from commit b526c6cbed623f86b0c7ddba2796c40ffb489826) Change-Id: Ie6dd1dcfb5e68e522eb5817369ef49eff59f46af Signed-off-by: Jihoon Bang <jbang@nvidia.com> Reviewed-on: http://git-master/r/194806 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2013-09-14media: video: tegra: camera: move tegra_cameraJihoon Bang
Move tegra_camera from platform_driver to part of nvhost vi driver. Split tegra_camera.c file into multiple files incluidng camera.c, camera_power.c, camera_emc.c and camera_clk.c according to functionality. tegra_camera is registered/unregistered in nvhost vi driver. Bug 1189789 Reviewed-on: http://git-master/r/174508 (cherry picked from commit e503a08b809844b53b7737e504e9f376f4a8a1eb) Change-Id: Ia8e189e809e18e16b780d3ff064bc96db84ade85 Signed-off-by: Jihoon Bang <jbang@nvidia.com> Reviewed-on: http://git-master/r/194805 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2013-09-14cpuquiet: Remove synchronization from runnables_work_func()Peter Boonstoppel
runnables_stop() can deadlock when cancel_work_sync() waits for the work function to end and the work function blocks on the same lock held by runnables_stop(). Removing the locks from runnables_work_func() fixes this. This should be safe because runnables_lock protects runnables_state and runnables_work_func() only reads runnables_state. Also, the functions that change state to DISABLED do a cancel_work_sync() to guarantee the work function stopped running. Bug 1215668 Change-Id: I70617b3b0fc81db8555869e67e3b11652af8d94c Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com> Reviewed-on: http://git-master/r/193881 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2013-09-14drivers: mfd: palmas: make smps10_boost_disable optionalMatt Wagner
Allow the board to pick whether they want to disable smps10_boost on suspend Bug 1172908 Change-Id: I0121f7e24716eb8731af3b14100d81ef63168929 Signed-off-by: Matt Wagner <mwagner@nvidia.com> Reviewed-on: http://git-master/r/170340 (cherry picked from commit 4c6a241b1433362447782e047f7b78226362ea47) Signed-off-by: Richard Zhao <rizhao@nvidia.com> Change-Id: I56a0e8fec03fa47547052a965aa123f88517ca70 Reviewed-on: http://git-master/r/196901 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-09-14Thermal: pid_thermal_gov: Add compensationJinyoung Park
Added compensation to get steady state transition. And added sysfs node for compensation rate. Bug 1200111 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/193836 (cherry picked from commit 4d2d134e71efce2cd652ccb0eac4946c0e3743f2) Change-Id: I406a9fa60c705f01d5c7a2194eecdf9babe09634 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/198875 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14misc: nct1008: Add thermal_zone_params in struct nct1008_platform_dataJinyoung Park
Added thermal_zone_params in struct nct1008_platform_data in order to pass governor and binding params to nct1008 thermal zone device. Bug 1200111 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/196028 (cherry picked from commit 7de865bccc8da80cf950346edab75a3e7221a45e) Change-Id: I825d7380f6f29a1dd8d4a9333ed873255b2deb67 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/198873 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14Thermal: Fix binding problem when there is thermal zone paramsJinyoung Park
The thermal zone params can be used to set governor to specific thermal governor for thermal zone device. But if the thermal zone params has only governor name without thermal bind params, then the thermal zone device will not be binding to cooling device. Because tz->ops->bind operator is not invoked in bind_tz() and bind_cdev() when there is thermal zone params. Bug 1200111 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/196026 (cherry picked from commit 602c6b3827650f3aee04554ba1a31663fe9e89b0) Change-Id: I50643f6e6474a143981fc177291d5ac6cfa85c97 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/198871 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14gpio: tegra: enable bank irq for wakeup based on wake depthLaxman Dewangan
Eanble/disable the bank irq wakes based on wake-depth which directly related to the number of gpios on that bank are wake enabled/disabled. bug 1230573 Change-Id: I94fc8cb8dac890bdd3a07e82ad9d5a58004d6b82 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/198804 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
2013-09-14Arm: tegra: pmc: fix regression issuesKrishna Yarlagadda
Fixed regression created by pmc separation by adding recent pending changes Bug 1232698 Change-Id: I5f6e9b87d7252941ea8ddbb115f4197318369a18 Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-on: http://git-master/r/198423 Tested-by: Stephane Dion <sdion@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-09-14video: tegra: dc: Power on host1x for CSC, frame end interruptRaghavendra VK
bug 1233236 Change-Id: I47ffa44e292c65e89914b58d88c52ffdcb35fdbc Signed-off-by: Raghavendra VK <rvk@nvidia.com> Reviewed-on: http://git-master/r/198567 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Gajanan Bhat <gbhat@nvidia.com> Reviewed-by: Gajanan Bhat <gbhat@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2013-09-14drivers: misc: bcm4329: support expander GPIOsHaribabu Narayanan
The current driver makes call to gpio_get_value() which is only applicable if the GPIOs are accessible without sleeping. If used on expander GPIOs, stack trace is dumped at each access. To additionally support expander GPIOs accesses that can sleep, shift to gpio_get_value_cansleep(). Bug 1027964 Change-Id: I3609b9dc0020cf82cadc21797b69c023d21e080b Signed-off-by: Haribabu Narayanan <hnarayanan@nvidia.com> (cherry picked from commit 7d435abd95715faf1ff2c9164ff496092dd502cf) Reviewed-on: http://git-master/r/147319 Signed-off-by: Haribabu Narayanan <hnarayanan@nvidia.com> Reviewed-on: http://git-master/r/198253 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14EDP: fixing bug with priority definitionsSivaram Nair
The min and max priority constants are defined incorrectly (in the wrong order). This patch corrects it and updates the affected drivers and platform data. Change-Id: Ie58742a85e4db96faf5b379384c59053a9716b64 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/198022 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14video: tegra: nvmap: Fix race condition in dupes decKrishna Reddy
- Handle reference could be freed in the slow path. Hence, keep a copy of handle ptr. Bug 1221693 Change-Id: Ia63df654c3f6f8eb2fcabbff13d413cf32251c42 Signed-off-by: Raghavendra VK <rvk@nvidia.com> Reviewed-on: http://git-master/r/196545 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2013-09-14iommu/tegra: smmu: Call arm_iommu_detach_device() at BUS_NOTIFY_DEL_DEVICEHiroshi Doyu
Call arm_iommu_detach_device() at BUS_NOTIFY_DEL_DEVICE as the conter part of BUS_NOTIFY_ADD_DEVICE case. bug 1215481 Change-Id: I3f6acd5ab086dc5c2db51982c35a4f9bed77c703 Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/193788 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2013-09-14gpio: tegra: Move new pre-silicon configJeff Smith
Change-Id: Ib649e5aac02d9d2e855381c71cc946b52617880d Signed-off-by: Jeff Smith <jsmith@nvidia.com> Reviewed-on: http://git-master/r/161907 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Chao Xu <cxu@nvidia.com>
2013-09-14input: Fix input_dev_set_enabled() prototypeSami Liedes
The buf parameter to device_attribute->store is const. Change the parameter type of input_dev_set_enabled() to match that. This also fixes a GCC warning. Change-Id: Ie98ebe0f1f76e0a733507f710f8c2775abfb0dda Signed-off-by: Sami Liedes <sliedes@nvidia.com> Reviewed-on: http://git-master/r/197480 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14cpuquiet: Fix warning about unused variableSami Liedes
drivers/cpuquiet/governors/runnable_threads.c: In function 'runnables_work_func': drivers/cpuquiet/governors/runnable_threads.c:184:14: warning: unused variable 'state' [-Wunused-variable] Change-Id: I26c2288876043cf3dd21e1b57317a1f5b2de5a9b Signed-off-by: Sami Liedes <sliedes@nvidia.com> Reviewed-on: http://git-master/r/197469 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14media: video: nvavp: replace pm_runtime_put_sync with asyncPrashant Gaikwad
nvavp_serivce is called in interrupt context hence replace pm_runtime_put_sync with aynchronous version. Bug 1010971 Change-Id: I1314d4408bed56129929fc2e451f286b2d49a994 Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-on: http://git-master/r/196273 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Gajanan Bhat <gbhat@nvidia.com>
2013-09-14sdhci: tegra: Add option to use 3.2V input voltage.Sumeet Gupta
Bug 1187691 Change-Id: I01dbd648e3fa8264b5e8706ccef49ac88b8bb106 Signed-off-by: Sumeet Gupta <sumeetg@nvidia.com> Reviewed-on: http://git-master/r/187928 (cherry picked from commit a0dbcca0706d94c00ca472e029b94003d2db98ac) Reviewed-on: http://git-master/r/194583 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14Input: xpad - add ftrace loggingVikas Jain
This will help to profile the xpad responsiveness and overall latency in the system. Bug 1226968 Change-Id: I20205a4a89beb4ae0d1c888eaf1e1b874e1a9772 Signed-off-by: Vikas Jain <vjain@nvidia.com> Reviewed-on: http://git-master/r/195507 (cherry picked from commit 0adf09de7c8f58892cb05483a2f718fe0674fb93) Reviewed-on: http://git-master/r/196342 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14video: fbmon: correct HDMI refresh ratesJon Mayo
Some of the HDMI 4K modes were marked as 30Hz when they were 24/25Hz. Change-Id: Id84bc05262f14d37cc9f6246f839eb8a99542d5b Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/196696 Reviewed-by: Automatic_Commit_Validation_User
2013-09-14video: tegra: host: add 3dfs user space controlIlan Aelion
Additional sysfs nodes user and freq_request may be used to control gpu frequency. If user is set to non-zero, the value of freq_request is used for setting the gpu frequency. freq_request is initialized to the max gpu frequency. Bug 1161410 Change-Id: I4065397450fd8774fbe7715145ab481698d41929 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/165100 Reviewed-by: Samuel Russell <samuelr@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Samuel Russell <samuelr@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14drivers: misc: publish fps, cpu load, thread countIlan Aelion
adapted cpufreq_interactive load estimation and averaging of the number of runnable threads to a misc device that will write the current cpu id, load and nr_runnable_threads for each cpu to a sysfs node. Intended to provide an accurate cpu load reading to user space scaling controllers. In addition the momentary frame rate is written to /d/fps. Bug 1161410 Bug 1164121 Change-Id: I041e230463fa7d4a3c83e4a2ab2ce199f9a5d8ba Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/165089 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
2013-09-14drivers: video: nvmap: remove unnecessary messageAlex Waterman
Change an unnecessary and annoying message in nvmap when a pinned handle is freed to debug. Nvmap automatically unpins he handle before freeing it. bug 1228065 Change-Id: I6214537fd786cd4f5a54ef0d34450a68952ec3fa Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/196158 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>