summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-07media: video: tegra: fix miscdevice registeration nametegra-l4t-r17.1tegra-l4t-r17-17r1Shreshtha Sahu
Allocate driver name string in info struct, rather than passing a pointer to a stack allocated array when registering a miscdevice. This prevents 'cat /proc/misc' from dereferencing a dangling pointer. Drivers of following devices were updated - ad5816, as364x, dw9718, imx091, max77387, max77665-flash, ov5693, ov9772, sh532u, ssl3250a and tps61050. Change-Id: I2344e6fefabdeda962ea33bc10803881e07ab3f0 Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com> Reviewed-on: http://git-master/r/256818 GVS: Gerrit_Virtual_Submit Reviewed-by: Kiran Adduri <kadduri@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-08-07asoc: tegra: fix hang while accessing DAM registersShreshtha Sahu
Accessing DAM registers in debugfs (tegra30_dam_show) without enabling AHUB clock hangs the system. This patch enables AHUB APBIF clock along with DAM clock before accessing DAM regsiters. Bug 1334025 Change-Id: Ibf2bc4c699027b8fc28f3e861e5b306f8ffd9564 Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com> Reviewed-on: http://git-master/r/256715 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-08-06Revert "video: tegra: Removing tegra_fb_set_par from tegra_fb_register"pdabade
This reverts commit 5065f2b7ca2f76f5cf48ceef3f4d09435d30be2e. Window format is not initialized. Window format is set by tegra_fb_set_par. Bug 1326825 Signed-off-by: Pankaj Dabade <pdabade@nvidia.com> Change-Id: I8c181cfc11f1db1df5b928f0c1216a40a6641160 Reviewed-on: http://git-master/r/254901 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-08-06arm: tegra3: change max current to 10000mA for T33Naveen Kumar S
6000mA is the max current for regular T30 SOCs. Conditionally changing it to 10000mA for T33 SOCs to avoid passing the command line parameter max_cpu_cur_ma=10000 explicitly. Bug 1166110 Change-Id: I453c8e128a6cf32f10e0f6e4a577b857d38d8e4d Signed-off-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-on: http://git-master/r/245335 (cherry picked from commit 041279fc8d156013558273c8ba33ab718b7f924c) Reviewed-on: http://git-master/r/251202 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bryan Wu <pengw@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-08-06arm: tegra: fuse: add api for chip minor revisionNaveen Kumar S
Added function tegra_get_minor_rev() to return minor revision number of the chip. Bug 1166110 Change-Id: I087331433cabb35c05fa2ce0bd53013b6fb6624f Signed-off-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-on: http://git-master/r/245330 (cherry picked from commit f29df745d2e97c0feb5f9c195202ca55041fa14c) Reviewed-on: http://git-master/r/251198 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bryan Wu <pengw@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-08-06i2c: tegra: enable I2C_INT_ALL_PACKETS_XFER_COMPLETE interrupt.Nitin Sehgal
- fix i2c timeout issue as I2C_INT_ALL_PACKETS_XFER_COMPLETE is disabled. bug 1313673 bug 1278481 Change-Id: I2a2c39c64298ed6e087abbe047ba01113db80f3e Signed-off-by: Nitin Sehgal <nsehgal@nvidia.com> Signed-off-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-on: http://git-master/r/243891 (cherry picked from commit ca3063b3717b6cb4777d4ea2882636e98f9ccd5a) Reviewed-on: http://git-master/r/250779 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-08-06backlight: pwm_bl: Bypassing registration of backlight as edp clientpdabade
Register device as EDP client only when EDP_FRAMEWORK is enabled. Bug 1306131 Change-Id: Id8b3ea91426ba04b402b36b1a61e48b00debbe36 Signed-off-by: Pankaj Dabade <pdabade@nvidia.com> Reviewed-on: http://git-master/r/245369 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Kiran Adduri <kadduri@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-15video: tegra: dc: hdmi: remove dangling pointerJong Kim
Remove dangling pointer by removing kfree in tegra_dc_add_modes. specs.modedb is allocated by tegra_dc_add_modes(), but is consumed by tegra_fb_update_monspecs(), so releasing specs.modedb creates a dangling pointer and make the system crashed, especially when the system suspends to lp0. bug 1264520 Change-Id: Ic944e75b631800ed552b7e56b5799a3e60b48afe Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/248089 (cherry picked from commit e00bcba1c2d54f91d9ff93c5f8fd61c40a9ab5bd) Reviewed-on: http://git-master/r/248727 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-15arm: tegra11: config: disable HDCP for L4TJong Kim
HDCP are not used/tested in L4T. It simply generates a lot of meaningless i2c timeout messages and wastes CPU cycles. If needed, individual users may recompile kernel with HDCP enabled. bug 1264520 Change-Id: I9f23c6850a68c7db0613a737becc95607c7559e7 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/248090 (cherry picked from commit f72439306a30ce3fbbb184cbf43129a0ad1d7297) Reviewed-on: http://git-master/r/248728 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11media: video: tegra: correct gpio accessBibek Basu
Read and write to gpios only when request for the gpio has suceeded Bug 1317541 Change-Id: Icfeed36b9e95f4ee03e49bee0cc8b3c2daf4a4a8 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/244190 (cherry picked from commit 1caddafdf260e3521804a02395d42f3f96928b99) Reviewed-on: http://git-master/r/245281 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2013-07-11video: tegra: fb: hdmi: enable new mode on HDMIJong Kim
Enable HDMI as primary framebuffer console by programming the HW when new/best mode is detected. bug 1264520 Change-Id: I8862d2860c97a1241d4acae8206c71de06ea0162 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/243981 (cherry picked from commit a49c55a39ee7b6e2b1075b7441f500c4572c2ddd) Reviewed-on: http://git-master/r/247279 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11video: tegra: dc: hdmi: remove dead lockJong Kim
Remove dead lock for HDMI used as the primary display. tegra_dc_hdmi_detect should not acquire dc->lock, which generates dead lock because its sub-procedure such as tegra_dc_set_mode(), tegra_dc_enable(), tegra_dc_disable(), etc... try to acquire same dc->lock withing same process context. bug 1264520 Change-Id: I4d5f301a8f46e2ad2f990637b1f1c3b1d02a5054 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/243980 (cherry picked from commit 7d88a78ad46d3b6ef106da5b6aeafc77191dfe35) Reviewed-on: http://git-master/r/247278 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11arm: tegra: dalmore: add default hdmi panel modeJong Kim
Add default 640x480 hdmi panel mode. This HDMI mode is just a dummy for device probe to pass and finish dc/fb/fbcon registration. The actual mode will be detected by detect worker and programmed to the hw a little later during boot process. bug 1264520 Change-Id: Iad2e3dca1316b347abdc72d8ee8c73444ce368e2 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/243979 (cherry picked from commit b44efdeeaa328cb19add0c8f6ef3fb10dc5829dc) Reviewed-on: http://git-master/r/248024 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11arm: tegra: dalmore: remove section mismatch gcc warning.Jong Kim
Remove section mismatch gcc warnings for dalmore. bug 1264520 Change-Id: Ic19bf04c89de5b9d8f08e702c84150f62c5381e5 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/243978 (cherry picked from commit c94da7a824eee8f6df5f893c8a81d56011a51d8a) Reviewed-on: http://git-master/r/248020 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11ARM: tegra: dalmore: clear fb if bl fb not defined.Jong Kim
Clear primary framebuffer if bootloader framebuffer is not defined. (Some bootloader such as u-boot may not support LCD display and not supporting LCD in bootloader is purely customer's choice and the kernel display driver should survive such configuration). bug 1301464 bug 1264520 Change-Id: I919c7961e694461d6083510cdc51e3cd6bcac156 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/243977 (cherry picked from commit 6e713daa1b729e341f682568a12bd0ef0249be72) Reviewed-on: http://git-master/r/248013 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11video: tegra: dc: hdmi: call tegra_dc_hpd in tegra_hdmi_hotplug_signalsharath sarangpur
Call tegra_hotplug_signal to queue deferred work after a delay of 30ms and call gpio_get_value in tegra_dc_hpd bug 1298680 Change-Id: I7e1c15c1445116b4f6400708335590ea6e2d5d0b Signed-off-by: sharath sarangpur <ssarangpur@nvidia.com> Reviewed-on: http://git-master/r/241136 (cherry picked from commit a05fe127fde8c6b77aa686248c6bd8387642aa43) Reviewed-on: http://git-master/r/247366 Tested-by: Jong Kim <jongk@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11video: tegra: dc: hdmi: defer resume regulator enableJon Mayo
On suspend/resume, defer the blocking regulator enable. Place this slow path in the dedicated hotplug thread. bug 1299936 bug 1294872 Change-Id: I61a835c2c37dcae47697482e0023b68684ff19dc Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/239058 (cherry picked from commit 6e789c76d47a6e144868d1e33f9d79b7fc58405d) Reviewed-on: http://git-master/r/247365 Tested-by: Jong Kim <jongk@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11video: tegra: dc: don't blank DC before disablingVictor Ryabukhin
Blanking the screen before DC disable is redundant and might cause momentary screen flash (screen off -> on -> off) in case if DC receives flip ioctl after screen was blanked. This also makes DC shutdown process similar to FB_BLANK_POWERDOWN. Bug 1299434 Change-Id: I9d3713bae4cc4511c7beb0cef22499cb9b3b5d64 Signed-off-by: Victor Ryabukhin <vryabukhin@nvidia.com> Reviewed-on: http://git-master/r/237914 (cherry picked from commit 161501da4ae10339e6f8c6ce208cca305d1f6569) Reviewed-on: http://git-master/r/247364 Tested-by: Jong Kim <jongk@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11Revert "ARM: tegra: dalmore: clear fb if bl fb not defined."Matt Pedro
This reverts commit 439d56a1b2b266d127e021e037be8e30c89f33fb. Change-Id: I28c7bcf8ad556b6a784d0a00f793cb05e0f94576 Signed-off-by: Matt Pedro <mapedro@nvidia.com> Reviewed-on: http://git-master/r/247981
2013-07-11Revert "arm: tegra: dalmore: remove section mismatch gcc warning."Matt Pedro
This reverts commit 9d1dfe8d12009d7a64e468ec04466f3e3b387149. Change-Id: I527b106733138e1f093b918d653fa936741cdee4 Signed-off-by: Matt Pedro <mapedro@nvidia.com> Reviewed-on: http://git-master/r/247980
2013-07-11Revert "arm: tegra: dalmore: add default hdmi panel mode"Matt Pedro
This reverts commit ed037358021f408a895cec4be9b6643efe7bee97. Change-Id: Idd6d4904ace18ceb2cb29d66a7cb2e648ea1610f Signed-off-by: Matt Pedro <mapedro@nvidia.com> Reviewed-on: http://git-master/r/247979
2013-07-11arm: tegra: dalmore: add default hdmi panel modeJong Kim
Add default 640x480 hdmi panel mode. This HDMI mode is just a dummy for device probe to pass and finish dc/fb/fbcon registration. The actual mode will be detected by detect worker and programmed to the hw a little later during boot process. bug 1264520 Change-Id: I79105b760499bb88aae3bc1a01172d31394d6300 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/243979 (cherry picked from commit b44efdeeaa328cb19add0c8f6ef3fb10dc5829dc) Reviewed-on: http://git-master/r/247277 GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11arm: tegra: dalmore: remove section mismatch gcc warning.Jong Kim
Remove section mismatch gcc warnings for dalmore. bug 1264520 Change-Id: I880ec7d3846ece5f57881ee4f69281c9b91327b8 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/243978 (cherry picked from commit c94da7a824eee8f6df5f893c8a81d56011a51d8a) Reviewed-on: http://git-master/r/247276 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-11ARM: tegra: dalmore: clear fb if bl fb not defined.Jong Kim
Clear primary framebuffer if bootloader framebuffer is not defined. (Some bootloader such as u-boot may not support LCD display and not supporting LCD in bootloader is purely customer's choice and the kernel display driver should survive such configuration). bug 1301464 bug 1264520 Change-Id: Ia37f1f9db08166509bf02673268180f277286dc2 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/243977 (cherry picked from commit 6e713daa1b729e341f682568a12bd0ef0249be72) Reviewed-on: http://git-master/r/247275 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-10video: tegra: Removing tegra_fb_set_par from tegra_fb_registerpdabade
Removing tegra_fb_set_par from tegra_fb_register which tries to set videomode to nearest mode before the framebuffer modelist is ready. Function register_framebuffer() is found to add a mode to modelist and calls tegra_fb_set_par later. bug 1194793 Change-Id: I3908a435dddba3b8884f33bcaa0f3955b94b4147 Signed-off-by: Pankaj Dabade <pdabade@nvidia.com> Reviewed-on: http://git-master/r/242499 (cherry picked from commit f6c60cef8e6707e06c5057a43ecf280902eb1cce) Reviewed-on: http://git-master/r/243328 GVS: Gerrit_Virtual_Submit Reviewed-by: Kiran Adduri <kadduri@nvidia.com> Reviewed-by: Jong Kim <jongk@nvidia.com> Tested-by: Jong Kim <jongk@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-07-02arm: tegra11: config: disable wakelocks for L4TNaveen Kumar S
Wakelocks are not used in L4T. Disabling wakelock config macros in tegra11 L4T defconfig. Bug 1314808 Change-Id: I8016d2661db3190a0dba682da62a7659a282c8d2 Signed-off-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-on: http://git-master/r/243501 (cherry picked from commit 119bd2ae76e4f0d6511f3be64e739b0b5013640d) Reviewed-on: http://git-master/r/244130 Reviewed-by: Kiran Adduri <kadduri@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2013-07-02PM: Add prompt and help for wakelock in KconfigNaveen Kumar S
Adding bool prompt and help description for CONFIG_WAKELOCK and CONFIG_HAS_WAKELOCK options in Kconfig file to ease menuconfig operations Bug 1314808 Change-Id: I5c450ef0994a08c1bf51e8c9849bb96c69c69081 Signed-off-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-on: http://git-master/r/243459 (cherry picked from commit 2dda2db4db3fca12301cab3b9c59fba758573652) Reviewed-on: http://git-master/r/244125 Reviewed-by: Kiran Adduri <kadduri@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2013-06-12ARM: tegra: pluto: set the MAX77665 OC alert currentXin Xie
bug 1298931 Change-Id: Iea46c10c53a1fe76d09d386f45f05f2da7de1d7d Signed-off-by: Xin Xie <xxie@nvidia.com> Reviewed-on: http://git-master/r/237770 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-06-12power: max77665-charger: config OC current from board fileXin Xie
Currently we hard wired the OC current to 3.25A on MAX77665. But different board could use different setting, or do not use MAX77665 to generate OC alert. This patch use the board file to config OC current. bug 1298931 Change-Id: I87872b6c7bc052efec680683dee6cde571359d84 Signed-off-by: Xin Xie <xxie@nvidia.com> Reviewed-on: http://git-master/r/237769 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-06-12ASoC: Tegra: Fix for negative dam ifc during voice callVijay Mali
Check return value of configure_dam function. Add error message and graceful exit path in make_voice_call function when DAM controller allocation fails. Bug 1274653 Change-Id: I9924c256113c73fb3208c1e0e7225cb485022ca4 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/237664 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-06-12ARM: tegra: tegratab: pwm freq to 48MHzMin-wuk Lee
Bootloader PWM freq KHz is set to 48MHz and its parent is PLLP. If PWM frequency is set to different and lower one in kernel begin, a little flicker can be observed until pwm is configured by backlight device driver. Bug 1299402 Change-Id: I1ab1e0e97c952d908fe746a5d5caccfe0ddaa7c6 Signed-off-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-on: http://git-master/r/236579 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-06-12net: wireless: sd8897/sd8797: Update WLAN/BT driverMarc Yang
Signed-off-by: Marc Yang <yangyang@marvell.com> Update SD8897 and SD8797 WLAN driver Add SD8897 and SD8797 BT drivers Bug 1256420 Bug 1279040 Change-Id: I3338479450b1b6716a1e3b899e33de92850c9e85 Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/235723 Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-06-12net: wireless: 8797/8897: Add SUSPEND/RESUME flagsMarc Yang
Add SUSPEND/RESUME flags to Makefiles of SD8897 and SD8797 WLAN drivers Signed-off-by: Marc Yang <yangyang@marvell.com> Bug 1279040 Bug 1256420 Change-Id: I2d0518c38b6003a96d3c7447a8a64210ffc319dc Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/235722 Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-06-12net: wireless: sd8797: Update SD8797 WLAN driverMarc Yang
Signed-off-by: Marc Yang <yangyang@marvell.com> Bug 1279040 Change-Id: Ifee06a06feb304b039f62f2a3730dc4f04f1e7b5 Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/235721 Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-06-12hwmon: ina230: fix negative current readingXin Xie
bug 1298931 Change-Id: If0037afb285b88dde11fe5f40def8f8fe9727c56 Signed-off-by: Xin Xie <xxie@nvidia.com> Reviewed-on: http://git-master/r/235215 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-06-12arm: tegra: pluto: enable INA230/INA231/HPA01112 current sensingXin Xie
Note: HPA01112, INA230 and INA231 are similar devices and using the same driver. This patch will set correct calibration for the INA230 on Pluto platform based on the battery in-serial resistor value and max battery current. After this patch will can read back battery current and power correctly using the INA230. This patch also leave comment on how to enable the over-current(OC) throttling using the INA230 device. It is not enabled on the Pluto platform currently because MAX77665 is used for the OC throttling. bug 1298931 Change-Id: I37f40e0d3a9ca14314af4f7ee5a5007c5665581f Signed-off-by: Xin Xie <xxie@nvidia.com> Reviewed-on: http://git-master/r/235214 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-06-12ARM: tegra: PMU POWER off when boot with charger modeHyongbin Kim
Some charger detected as SDP but it fails enumeration because it is not PC-USB. In this case, it makes continuous reboot. power off in charger mode -> PMU reset -> VBUS poweron -> charger mode -> not detected charger-> power off in charger mode. Also, this change prevent continuous reboot in detecting charger error case. Bug 1242042 Bug 1304013 Change-Id: I086fa17ea912b745d9fa0cd21526b78a7215bb44 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/236708 Reviewed-by: Harshada Kale <hkale@nvidia.com> Tested-by: Harshada Kale <hkale@nvidia.com>
2013-06-12arm: dt: tegra: tegratab: Change OV5693 device nameFrank Chen
Change OV5693 device name from "camera" to "camera.5693". Bug 1301059 Change-Id: I5d6b88c1ae3d529deb4f6411a558bdb77e385b7f Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: http://git-master/r/237443 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com> Reviewed-by: John Sasinowski <jsasinowski@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com>
2013-06-12arm: tegra: tegratab: Change OV5693 device nameFrank Chen
Change OV5693 device name from "camera" to "camera.5693". Bug 1301059 Change-Id: I66714c952a3b539f683ab8f10df7938e01b7189a Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: http://git-master/r/237442 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: John Sasinowski <jsasinowski@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com>
2013-06-12media: video: tegra: fuse id supportPhil Breczinski
Adds support to read fuse ID from OTP memory on ov2710, ov9726, ov9772, ar0832, and imx091 sensors. Also includes macro-enabled fuse ID programming for ov2710. Adjusts data structure used by fuse ID ioctl to include a field for fuse ID size. Required by nvcamera version 1.8.0 Required by NVCS version 4.10.0 Bug 1198663 Change-Id: Ib3bb0e100e49aea2c6ce13cd069862476d7f4bb6 Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com> Reviewed-on: http://git-master/r/169187 (cherry picked from commit 0ce57617ee1f735759333a589aa2890559053fe0) Reviewed-on: http://git-master/r/232254 Reviewed-by: Brian Bamsch <bbamsch@nvidia.com> Tested-by: Brian Bamsch <bbamsch@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2013-06-11arm: tegra: tegratab: enable wifi 32K clk per board revisionHarry Hong
wifi 32K clk source ERS(E1569) : clk_32k_out DVT1(P1640_A00) : clk3_out DVT2(P1640_A01) : PMIC 32K out bug 1297696 Change-Id: I54d31c66ad1f8c5bbe61798abc2039aa3bf85f9a Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/237553 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Shawn Joo <sjoo@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-06-11media: tegra: apply ov7695 qualiy tune (060713)Jake Park
Apply ov7695 qualiy tune register change from OV, 'OV7695 reference setting_MIPI_24MCLK_060713_nVidia.txt'. Bug 1278482 Change-Id: If14deae5e49cc766c226e57d91a325b3fb1a8134 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/237108 (cherry picked from commit bf6303da0d525e9656e3da04bde609589945a0c6) Reviewed-on: http://git-master/r/237161 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-06-11ARM: tegra: set macallan sys EDP cap to 24WSivaram Nair
Change-Id: I292d92ed2abeda5fb2c821b8dc7437771d0a9cf7 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/237147 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-06-11ARM: tegra: config: update l4t defconfigBibek Basu
Enable TEGRA_PLLM_SCALED & TEGRA_CPU_DVFS for l4t kernel Bug 1304476 Change-Id: I235d4a0d056d400c741c0f451a4c15284bbc59fb Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/237115 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-06-11asoc: aic326x codec: Fix compilation warnigsVijay Mali
Add typecast in switch statement Bug 1274537 Change-Id: I03fbce68d449500a3f1de60798e875d5905176eb Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/237042 GVS: Gerrit_Virtual_Submit Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2013-06-11power: power-supply-extcon: update cable state during initLaxman Dewangan
Update cable state during initialisation to have the sync with the cable state if cable state event is missed which is happened before initialisation of driver. bug 1304013 Change-Id: I87eb4c41ab589094639379eff8ed2837893ca892 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/234771 Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com> Tested-by: Hyong Bin Kim <hyongbink@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-06-11USB: xhci: Dynamic host load supportKrishna Yarlagadda
Load xhci dynamically when otg cable is connected Bug 1242148 Change-Id: If6b9b3ad198e3d1aef7636e9a7752be7a4ccc1c7 Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-on: http://git-master/r/234146 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-06-11ARM: tegra: USB: Dynamic host load supportKrishna Yarlagadda
Enable platform data to load xhci dynamically when otg cable is connected Bug 1242148 Change-Id: I586f035ceedf49fb321242e7ac2e272620315d7a Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-on: http://git-master/r/234145 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2013-06-11media: video: tegra: ad5816: Stay on after probePhil Breczinski
Keep power on after probe function. Also change focus position type from u16 to s32 so garbage bytes aren't passed to the raw header. Bug 1283378 Change-Id: I6a045ac93a3045e390cee9bd0a9772c6d7668290 Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com> Reviewed-on: http://git-master/r/237032 Reviewed-by: Zhaoyi Wei <zwei@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gilbert Yeung <gyeung@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-06-11video: tegra: fb: Make offset comparison android specificpdabade
Making current x and y offset comparison android specific. Bug 1216329 Change-Id: Ie28d81fc2bff06237528fba56a348a442233e6c7 Signed-off-by: Pankaj Dabade <pdabade@nvidia.com> Reviewed-on: http://git-master/r/236257 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>