6 years agoregulator: palmas: add support for ext power req
Gaurav Batra [Tue, 2 Apr 2013 18:56:42 +0000]
regulator: palmas: add support for ext power req

Bug 1242520

Change-Id: I0911977291a8fa0eccff3cba0d7fdedafbc91a36
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/215721
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: pluto: power: hdmi support for 4K
Gaurav Batra [Tue, 26 Feb 2013 18:47:21 +0000]
arm: tegra: pluto: power: hdmi support for 4K

Changed the supply from ldo1 to ldo4 for hdmi_pll.
Also added the enable / disable functions for hdmi.

Bug 1242520

Change-Id: I599f24a58a12bd7d1c39912622cf60f89f124403
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/206846
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: pluto: put HV IOs into DPD explicitly during LP1
Daniel Solomon [Fri, 12 Apr 2013 18:36:30 +0000]
ARM: tegra: pluto: put HV IOs into DPD explicitly during LP1

Rail VDDIO_HV is consuming higher power than predicted during LP1,
this could be fixed by explicitly putting the pins on that rail
into DPD mode. And by putting the pins into tristate mode, it
saves additional power during LP1.

bug 1248007

Change-Id: I636a307c6a24d4489b4889a068ccd2d00c6665d3
Signed-off-by: Eric Miao <emiao@nvidia.com>
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/213864
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoregmap: irq: enable wake support by default
Laxman Dewangan [Fri, 19 Apr 2013 13:43:16 +0000]
regmap: irq: enable wake support by default

regmap-irq framework is used vastly by mfd drivers and some of
devices like TPS65910, TPS80036 do not support the wake base
register to enable wake.

Currently wake in regmap-irq only supported if client driver
passes the wake base register.

As the regmap-irq is mostly used by mfd devices and it is require
to have wake support from these devices in most of use cases,
enabling wake support by default in regmap-irq.

(Cherrypicked from mainline
55ac85e942c6783e728964861df36fc80e8ced93)

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Change-Id: I7efb78dea797711e7c243b24039c91311d417237
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/221067
GVS: Gerrit_Virtual_Submit

6 years agoregulator: palmas: do not disable smps10 in suspend if is enabled by client
Mallikarjun Kasoju [Thu, 18 Apr 2013 13:00:38 +0000]
regulator: palmas: do not disable smps10 in suspend if is enabled by client

Do not disable the smps10 in suspend as part of boost suspend if client have
enabled it through regulator call and has not called regulator_disable.

bug 1266948

Change-Id: I27e5dfbd4a55b07ef5214ce2fd57eaa7e78dff5a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/220551

6 years agoCpufreq: create/remove percpu sysfs nodes once
Puneet Saxena [Tue, 23 Oct 2012 08:15:39 +0000]
Cpufreq: create/remove percpu sysfs nodes once

On cpu hotplug on/off, percpu "cpufreq" sysfs node and it's
sub nodes are freshly created and removed. This increases
cpu up/down latency.

Create percpu "cpufreq" sysfs node and it's sub nodes in driver
registration and remove it in unregistration. This decreases
cpu up/down latency significantly.

Bug 1040355

Change-Id: I5c2b02e74de0ae4fe08dedc959bd7402cd9b7aa5
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/146812
(cherry picked from commit 298382285677fa791098d117ccc0a0a3d9ab0f9a)
Reviewed-on: http://git-master/r/219379
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: dalmore: Fix logical vs bitwise AND bug
Ajay Gupta [Wed, 10 Apr 2013 22:15:49 +0000]
ARM: tegra: dalmore: Fix logical vs bitwise AND bug

Fixes bug be correctly using bitwise '&' AND operation

Change-Id: I3dbc6a5f91cbafbe93203bd84d8b989a419e307e
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/218396
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

6 years agoaudio: a2220: disable and release clk when probe failed
Eric Miao [Fri, 19 Apr 2013 05:26:28 +0000]
audio: a2220: disable and release clk when probe failed

bug 1271568

Change-Id: I49af42385ffced98b358861850bf88d739cb2dcd
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/220895
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agomedia: video: tegra: imx132: Optimize i2c write
Sudhir Vyas [Wed, 10 Apr 2013 07:10:22 +0000]
media: video: tegra: imx132: Optimize i2c write

Add bulk i2c writes.

Bug 1234944

Change-Id: I57fbe31972fc69de2b7b6c4338450b7ade26c597
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/218122
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agousb: xhci: tegra: fix unreliable hs disconnect
Ajay Gupta [Wed, 17 Apr 2013 21:46:44 +0000]
usb: xhci: tegra: fix unreliable hs disconnect

Changes:
- Don't service FW increase/decrease mbox message from fw.

Bug 1250832

Change-Id: Ieaf0784c772c869f11c5701aa92b629e6308d16c
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/220355
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharath Yadav <byadav@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

6 years agoasoc: tegra: Fix Kernel panic during recording
Vijay Mali [Tue, 16 Apr 2013 06:56:01 +0000]
asoc: tegra: Fix Kernel panic during recording

Add boundary check for DAM ifc and channel id
if all functions where these are used.
During camcoder recording DAM functions are called with
negative ifc, causing kernel panic.

Change-Id: Idd4df5eae579f9a89222361d594a79ddcdfc1fe5
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/219692
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agovideo: tegra: host: fix 3d.emc calculation
Ilan Aelion [Mon, 15 Apr 2013 23:02:39 +0000]
video: tegra: host: fix 3d.emc calculation

Bug 1268909

Change-Id: I04f5ae2b4b6138bbca0306b0f76c0b763c018b74
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/219565
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoarm: tegra: MT9M114 tegratab board specific code
kkim [Tue, 9 Apr 2013 06:23:21 +0000]
arm: tegra: MT9M114 tegratab board specific code

Bug 1255019

Change-Id: Ie4ee64557d4619d8e2d5b796d03b962a074d1f0d
Signed-off-by: kkim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/217663
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agovideo: tegra: dc: updated tegra_hdmi_audio_config table
Emma Yan [Thu, 21 Mar 2013 11:28:42 +0000]
video: tegra: dc: updated tegra_hdmi_audio_config table

Added 241500000 pclk entry for 1440p (2560x1440) HDMI support

Bug 1254995

Change-Id: If68cee3eed532ef06d23e6a967836fde161c3e58
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/211936
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoxhci: Don't warn on empty ring for suspended devices.
Sarah Sharp [Mon, 18 Mar 2013 17:19:51 +0000]
xhci: Don't warn on empty ring for suspended devices.

When a device attached to the roothub is suspended, the endpoint rings
are stopped.  The host may generate a completion event with the
completion code set to 'Stopped' or 'Stopped Invalid' when the ring is
halted.  The current xHCI code prints a warning in that case, which can
be really annoying if the USB device is coming into and out of suspend.

Remove the unnecessary warning.

Change-Id: I8b41df8f3aeb256338c701451bc140979a1edc31
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Tested-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-on: http://git-master/r/220360
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Tested-by: Ajay Gupta <ajayg@nvidia.com>

6 years agousb: xhci: Fix TRB transfer length macro used for Event TRB.
Vivek Gautam [Thu, 21 Mar 2013 06:36:48 +0000]
usb: xhci: Fix TRB transfer length macro used for Event TRB.

Use proper macro while extracting TRB transfer length from
Transfer event TRBs. Adding a macro EVENT_TRB_LEN (bits 0:23)
for the same, and use it instead of TRB_LEN (bits 0:16) in
case of event TRBs.

This patch should be backported to kernels as old as 2.6.31, that
contain the commit b10de142119a676552df3f0d2e3a9d647036c26a "USB: xhci:
Bulk transfer support".  This patch will have issues applying to older
kernels.

Change-Id: Ia142db5d9313c71e56b19761379c343703fbc97b
Signed-off-by: Vivek gautam <gautam.vivek@samsung.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org
Reviewed-on: http://git-master/r/220359
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Tested-by: Ajay Gupta <ajayg@nvidia.com>

6 years agobacklight: max8831: apply EDP state changes
Sivaram Nair [Wed, 17 Apr 2013 15:31:02 +0000]
backlight: max8831: apply EDP state changes

The brightness settings does not correctly reflect the E-state changes -
fixing this.

- On E-state request: brightness is set according to the approved
  E-state
- On throttle/promotion: brightness is changed according to the new
  E-state

Change-Id: I0c9ce9bbda5f00109841505a8d2b4cbfb8009721
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/220252
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: fix wifi E-state
Sivaram Nair [Fri, 5 Apr 2013 09:20:40 +0000]
ARM: tegra: fix wifi E-state

Fixing the E-state value as per new data from vendor.

Change-Id: Iebb48afcd98f5a3bc0852ff11f99033e49fcd3f4
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/220169
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoEDP: tegra: change gpu window threshold to 80
Sivaram Nair [Tue, 9 Apr 2013 08:38:08 +0000]
EDP: tegra: change gpu window threshold to 80

Making 80 ms as the default window length based on empirical data.

Change-Id: I3e59d7cdafd6bb13031d5e0df67cd31c76e120b6
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/220168
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: pluto: update AP+DRAM EDP states
Sivaram Nair [Tue, 9 Apr 2013 08:39:23 +0000]
ARM: tegra: pluto: update AP+DRAM EDP states

Removed bad entries from the AP+DRAM E-state tables.

Change-Id: I7c013f7d69fc63a288d78770759e0eb774dc9ce6
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/220167
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower: max77665: add sysfs to display OC count
Sivaram Nair [Wed, 17 Apr 2013 11:32:16 +0000]
power: max77665: add sysfs to display OC count

A new read-only sysfs entry is added to display the OC interrupt count.

Change-Id: I967d34c4c7c55d3fc6490fccecae7c60904c76ad
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/220166
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower: max77665: reducing open prints
Sivaram Nair [Wed, 17 Apr 2013 09:44:59 +0000]
power: max77665: reducing open prints

To reduce the amount of open prints, following changes are made.
- moving dev_info to dev_dbg.
- print charger status only if there was a charger interrupt

Change-Id: Ib31ddf1ce05abae738e794edbe248b2707010f60
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/220165
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: remove open printk
Sivaram Nair [Wed, 17 Apr 2013 09:12:18 +0000]
ARM: tegra: remove open printk

Changing to use pr_debug.

Change-Id: I417a5e51e2e5ad328ca2d4c8fd3d5d7388fab173
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/220164
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoasoc: tegra: aic326x: Don't disable clock if call is active
Rahul Mittal [Wed, 17 Apr 2013 07:00:37 +0000]
asoc: tegra: aic326x: Don't disable clock if call is active

Don't disable codec clock if voice call is going on
Bug 1272679

Change-Id: I80e9e6922cdfd728128486c492299c08ea745f3c
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/220089
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

6 years agommc: core: Make devfreq_init call conditional
Pavan Kunapuli [Wed, 17 Apr 2013 08:19:28 +0000]
mmc: core: Make devfreq_init call conditional

devfreq_init should be called only if the host indicates support for
dynamic frequency scaling by setting MMC_CAP2_FREQ_SCALING flag.

Change-Id: Ifa6c78fba310cafb7644a1cdc8ed9c7fd1784b22
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/219841
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoARM: tegra: xusb: fix ss port mapping
Ajay Gupta [Mon, 15 Apr 2013 17:14:43 +0000]
ARM: tegra: xusb: fix ss port mapping

Bug 1271698

Change-Id: I692281c8d1aa5c659490c7b5000015ff1974dbe2
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/219460
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

6 years agoconfig: tegra3: Turn off R8169 firmware loading
Mursalin Akon [Thu, 11 Apr 2013 18:00:35 +0000]
config: tegra3: Turn off R8169 firmware loading

The firmware is not being in use currently.
So, turn the loading code off.

Bug 1236060

Change-Id: Id41cf762b59502d0ece470e315ac75d93e3b6b39
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/218613
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoMake firmware loading of R8169 optional
Mursalin Akon [Thu, 11 Apr 2013 17:28:07 +0000]
Make firmware loading of R8169 optional

According to Realtek, the firmware provides
power optimizations. The driver works without
the firmware. Plus, there are scenarios where
the firmware is not available, which makes the
driver wait at request_firmware call (i.e.,
60 sec wait).

Bug 1236060

Change-Id: Ifad95b9eb9e161c77171df3e65351aff80e4a4ad
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/218609
Reviewed-by: Eric Brower <ebrower@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoARM: tegra11: clock: Rearrange initial XUSB clocks parents
Alex Frid [Thu, 4 Apr 2013 03:26:19 +0000]
ARM: tegra11: clock: Rearrange initial XUSB clocks parents

Bug 1250832

Change-Id: I72868656b285bb96a07c18d7ec32824bdee76cca
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/216362
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra11: dvfs: Update XUSB SS and HS dvfs table
Alex Frid [Thu, 4 Apr 2013 02:48:21 +0000]
ARM: tegra11: dvfs: Update XUSB SS and HS dvfs table

Update XUSB SS and HS clocks dvfs table and maximum rate limits.

Bug 1250832

Change-Id: Ie18fae844c87a529be7cd2dbd956ce30aa9ee07d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/216361
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra11: clock: Change XUSB HS clock source
Alex Frid [Wed, 3 Apr 2013 03:29:28 +0000]
ARM: tegra11: clock: Change XUSB HS clock source

Used XUSB SS clock (with fixed 1:2 divider) as HS clock source instead
of PLLU secondary divider.

Bug 1250832

Change-Id: Iafc24b9a9208ea4184f5a3c04deca48a24ca73c4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/216360
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: Tegra: Dalmore: Toggle DDC pull down with hpd
Graziano Misuraca [Mon, 1 Apr 2013 23:27:00 +0000]
ARM: Tegra: Dalmore: Toggle DDC pull down with hpd

Only set DDC_SDA and DDC_SCL pull downs to be active
when we detect a hotplug. Otherwise keep them disabled.

Bug 1237421

Change-Id: I1944584169a1a3c55794e84e8e103158188b3199
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/215268
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agodrivers: misc: therm_est: Add DT support
Jinyoung Park [Fri, 12 Apr 2013 14:25:42 +0000]
drivers: misc: therm_est: Add DT support

Add DT support and documentation for thermal estimator.

Bug 1173854
Bug 1240803

Change-Id: I4631fc499cb042d7649681fe097a9087aa5c5098
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211125
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegratab: Enable NCT feature config
Joshua Cha [Tue, 16 Apr 2013 04:28:08 +0000]
ARM: tegratab: Enable NCT feature config

Bug 1223662

Change-Id: Iae03dedb53821e007fd8fcef060d79ac36cca081
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/219633
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoinput: misc: compass: akm89xx: add support for device tree
David Yu [Thu, 11 Apr 2013 04:07:37 +0000]
input: misc: compass: akm89xx: add support for device tree

Bug 1260300
Bug 1173064

Change-Id: I1cd32f31126ed08e13c731e3d40ceb2ca6052048
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/218488
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: pluto: enable thermal and low system voltage interrupts
Laxman Dewangan [Tue, 16 Apr 2013 10:51:13 +0000]
ARM: tegra: pluto: enable thermal and low system voltage interrupts

The charger device max77665 supports the thermal and low system
voltage interrupts. Enabling this interrupt through platform
data of max77665.

bug 1216535

Change-Id: I9bf2acf39bc6544f95dc6334f3a609118e1150c3
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/219792
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agopower: max77665-charger: add support for overcurrent
Laxman Dewangan [Tue, 16 Apr 2013 10:48:23 +0000]
power: max77665-charger: add support for overcurrent

Add support for overcurrent interrupt and threshold  configuration:
- Enable OC interrupt.
- Set battery to system overcurrent to 3250mA.
- Add sysfs for the OC interrupt disable/enable.
- Add sysfs for the OC threshold configuration.

bug 1216535

Change-Id: I3b1b7811ba22930b2cc6d49bbcbff36cff3a064a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/219791
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agopower: max77665-charger: get irq number through platform_get_irq()
Laxman Dewangan [Tue, 16 Apr 2013 10:38:46 +0000]
power: max77665-charger: get irq number through platform_get_irq()

Get the max77665 charger submodule interrupt number through
platform_get_irq() rather than getting it through platform data.

bug 1216535

Change-Id: I32314086dbfe3a1a435fcd7012b7cae73d081eb5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/219790
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agomfd: max77665: add top sys interrupt support
Laxman Dewangan [Tue, 16 Apr 2013 10:32:34 +0000]
mfd: max77665: add top sys interrupt support

The top system interrupt of max77665 enables the interrupt for
thermal and low system voltage.

Add support for enabling this interrupt.

bug 1216535

Change-Id: Ifea7ecae3367497f7cff283b44bba013d1b8415d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/219789
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: dalmore: update torch level limit
Charlie Huang [Fri, 12 Apr 2013 22:50:20 +0000]
ARM: tegra: dalmore: update torch level limit

limit the torch level to 150mA to resolve the torch level too high
issue.

bug 1242531

Change-Id: Iae402b6dbc81e867a367a596c473c966315e6dcc
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/219101
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agomedia: video: tegra: as3648: add torch level limit
Charlie Huang [Fri, 12 Apr 2013 22:46:38 +0000]
media: video: tegra: as3648: add torch level limit

On this device the torch level can be set as high as the flash, but
on some platforms the torch level is required to be lower to get
better photo qualities.

Also replace dev_warn with dev_notice and updated debugfs methods.

bug 1242531

Change-Id: I48140cbdaa093b5ffcf41258d0f2fd51cca35eb2
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/219100
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agomedia: video: tegra: mt9m114 sensor kernel driver
kkim [Tue, 9 Apr 2013 06:10:17 +0000]
media: video: tegra: mt9m114 sensor kernel driver

Bug 1255019

Change-Id: Ie02ca813bcb362d20de2c07aeea62a46866cc723
Signed-off-by: kkim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/217662
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: dsi: Enable MIPI auto calibration
Vineel Kumar Reddy Kovvuri [Fri, 15 Mar 2013 06:13:56 +0000]
video: tegra: dsi: Enable MIPI auto calibration

Implementation of DSI MIPI auto calibration

Bug 1166307

Change-Id: Id4be420978b56d662d77c6d145f9e51dc881d159
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/219777
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomedia: tegra: fix ov5693 fuseid buffer index
Jake Park [Tue, 16 Apr 2013 10:32:05 +0000]
media: tegra: fix ov5693 fuseid buffer index

Bug 1271714

Change-Id: Ibab4ce7c08150edceb463d4dadd3579d88956654
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/219772
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agommc: core: set device min_freq to 0
Naveen Kumar Arepalli [Mon, 15 Apr 2013 16:03:31 +0000]
mmc: core: set device min_freq to 0

set device min_freq to 0, It should not be f_min

Bug 1238045
Bug 1044607

Change-Id: Ifc10a4375953e52f6d414beff0ebc09057914d14
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/219437
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoEDP: tegra: removing open printk
Sivaram Nair [Mon, 15 Apr 2013 07:24:52 +0000]
EDP: tegra: removing open printk

Moved to pr_debug

Change-Id: I4e0ea0f59b4231190f9972b8dc79e0d877b57216
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/219306
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoarch: arm: tegratab: update config
Harry Hong [Mon, 15 Apr 2013 06:28:26 +0000]
arch: arm: tegratab: update config

Moving cm3217 config from input to staging io.

bug 1270172
bug 1260291

Change-Id: Ie4e39ba9f61a65e07f7ebbd1d9d1742bdad8cd80
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/219295
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Joshua Cha <joshuac@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jake Park <jakep@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agoarm: tegra: cardhu: backlight init modification
Ramalingam C [Wed, 10 Apr 2013 10:54:48 +0000]
arm: tegra: cardhu: backlight init modification

This change modifies the backlight_init function to make it compatible
for the dsi and backlight driver modifications

Bug 1255151

Change-Id: I83c796672acbdd129514feb522fd5fb956cb2516
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/218225
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agopower: bq2419x: add charge enable flag.
Hyongbin Kim [Tue, 9 Apr 2013 08:28:27 +0000]
power: bq2419x: add charge enable flag.

Add chg_enable flag to enable charging.
When charger pdata is absent, default disable charger.

Bug 1260994

Change-Id: I5998db924ded27df244f34b0d91fb1a617df6da4
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/217703
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra: macallan, tegratab: edit bq2419x platform data
Hyongbin Kim [Tue, 9 Apr 2013 07:16:15 +0000]
arm: tegra: macallan, tegratab: edit bq2419x platform data

macallan: make charger pdata NULL.
Add charger gpio irq.

Bug 1260994

Change-Id: I1ae3089a9f90cf79a88b635770089b674aede8d2
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/217702
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agopower: bq2419x: Update input voltage
Pradeep Goudagunta [Mon, 25 Mar 2013 23:48:14 +0000]
power: bq2419x: Update input voltage

Update input voltage limit to 4.52V when Nv charger or
2000mA charger connected.

Bug 1253104

Change-Id: Ida19738a36685fbc5c768a6e9da5c483724f284b
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/212834
(cherry picked from commit d7f97e179a890e32c993c3dbc552d0dbb3e5785e)
Reviewed-on: http://git-master/r/216094
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower: bq2419x: shutdown system for 20 sec if high current charger connected
Laxman Dewangan [Wed, 20 Mar 2013 11:49:35 +0000]
power: bq2419x: shutdown system for 20 sec if high current charger connected

If NvCharger or any high current charger is connected and user
select power off through UI then shutdown system for the 20 second.
Else shutdown system for 1 hour which is configurable through
platform data.

bug 1251310

Change-Id: Ic699729158118c90fc82d5eb142dcd1931b95ba7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/211186
(cherry picked from commit 97cba38a3225f6642fa03f0f81767b2b1c3f84b8)
Reviewed-on: http://git-master/r/216093
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agopower: bq2419x: Restart CHG for periodically drained battery
Pradeep Goudagunta [Tue, 19 Mar 2013 12:37:43 +0000]
power: bq2419x: Restart CHG for periodically drained battery

Restart charging after certain timeout, for battery full,
charging fault and safety timer expire cases. To charge
periodically drained battery.

Bug 1252277

Change-Id: I7b3a7f8783fdc7d1c480a32ba1409678a240577f
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/210816
(cherry picked from commit 6366a6cd1ad2e5300d7f2438732ded7d1f53a988)
Reviewed-on: http://git-master/r/216092
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: Set OTG pin always high
Pradeep Goudagunta [Tue, 12 Mar 2013 10:59:03 +0000]
power: bq2419x: Set OTG pin always high

Set OTG ping always high, since we need SDP current
limit 500mA as defualt.

Bug 1246589
Bug 1251310

Change-Id: Ib93a3354fa5833e31112b7ad3d7bd4e96fc4f640
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/209456
(cherry picked from commit 06200647dcf8e22917d6e708eb092ba1b980b712)
Reviewed-on: http://git-master/r/216091
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: Cleanup in error path
Pradeep Goudagunta [Tue, 12 Mar 2013 09:14:32 +0000]
power: bq2419x: Cleanup in error path

-Cleanup in error path of wdt reset.
-Return error in suspend callback if i2c writes fails.

Bug 1240114

Change-Id: I568e35d12d42c73bd20fafe9187373589d6e313d
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/209455
(cherry picked from commit df17d17de7250628633cd51b22db2fbc0d745185)
Reviewed-on: http://git-master/r/216090
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: Solve race in LP0 and wdt thread
Sang-Hun Lee [Tue, 12 Mar 2013 21:11:01 +0000]
power: bq2419x: Solve race in LP0 and wdt thread

This change is for avoiding the race condition between wdt
service thread and LP0 suspend/resume

Bug 1240114

Change-Id: I7ca0eb20cfee0b31ca5a5cfca5e4bb6d43662183
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/208525
(cherry picked from commit 38cccbbeef719c2445c33a4486ad7b836bfa0611)
Reviewed-on: http://git-master/r/216089
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: fix mutex_unlocks
Anshul Jain [Mon, 11 Mar 2013 22:05:52 +0000]
power: bq2419x: fix mutex_unlocks

Fix returns before unlocking mutex

Bug 1240114

Change-Id: I01270950d317e16b28eeef9f965d9ce40402d7a5
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/208182
(cherry picked from commit 06f4dd2255135526bda6158f8f95f703e0ed2d15)
Reviewed-on: http://git-master/r/216088
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: Add suspend resume callbacks
Pradeep Goudagunta [Mon, 11 Mar 2013 12:43:59 +0000]
power: bq2419x: Add suspend resume callbacks

Bug 1240114

Change-Id: I8664a1ae76cde848a49af2e750cc6dea8fea7a2a
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/208523
(cherry picked from commit 5e8a24c1a36342e402cd79f4826d93db32f68792)
Reviewed-on: http://git-master/r/216087
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: Enable charger on hotplug
Pradeep Goudagunta [Sat, 9 Mar 2013 19:46:33 +0000]
power: bq2419x: Enable charger on hotplug

Enables charger on every hotplug. This has to be done
to make sure we can recover from charge termination state.

Bug 1240114

Change-Id: Ic7cb1fb21f39ecd9fff6f167ebfca21863323a70
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/207866
(cherry picked from commit 47c490614a56c46042210736b9d1d3b08dfb4d16)
Reviewed-on: http://git-master/r/216086
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: Add mutex lock support
Pradeep Goudagunta [Sat, 9 Mar 2013 18:28:03 +0000]
power: bq2419x: Add mutex lock support

-Add mutex lock support to reset wdt to avoid race conditions.
-Update debug info prints.

Bug 1240114

Change-Id: I1e333e5545eaad74ad7dfdfb5d0a9e27e45682d6
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/207864
(cherry picked from commit fa52143d2210a41f086dfe81602b1208b802dcc3)
Reviewed-on: http://git-master/r/216085
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: clear HIZ bit while wdt reset
Pradeep Goudagunta [Sat, 9 Mar 2013 18:24:16 +0000]
power: bq2419x: clear HIZ bit while wdt reset

Bug 1240114

Change-Id: Idbd703a85fb544b738e90005155088b4aeca0fae
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/207863
(cherry picked from commit 304f052ba1aa070bb08cd5521c189ea2a990af32)
Reviewed-on: http://git-master/r/216084
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: configure watchdog timer setting
Syed Rafiuddin [Fri, 8 Mar 2013 15:20:35 +0000]
power: bq2419x: configure watchdog timer setting

Enable option to configure Watchdog timer for 40, 80
and 160sec.

Bug 1240114

Change-Id: I27fb9bac700e2030638806e6b1a1442fe5a7cab6
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/207612
(cherry picked from commit 5e4f66c8247c9a67f9df555dadd66b4ea74d9a6d)
Reviewed-on: http://git-master/r/216083
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: reconfigure registers if WDT expires
Syed Rafiuddin [Fri, 8 Mar 2013 11:06:09 +0000]
power: bq2419x: reconfigure registers if WDT expires

All the registers are reset to OTP if watchdog timer expires.
Reconfiguring registers for proper charging.

Bug 1240114

Change-Id: I884479afbd9577028284b7790111049144c0b27a
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/207192
(cherry picked from commit e137a6bd45bfcedf57a23af2285ddb156ac3ee71)
Reviewed-on: http://git-master/r/216082
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: add rtc wake alarm in shutdown
Syed Rafiuddin [Fri, 8 Mar 2013 10:22:59 +0000]
power: bq2419x: add rtc wake alarm in shutdown

Addition of RTC wake alarm functionality to wakeup
the platform from the system power off state
and clear the HIZ bit.

Bug 1248143

Change-Id: I5d5ef425a5c6707c407a972041533fc096db697f
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/206700
(cherry picked from commit 583e9a2130ac6d7f557834c7145a55932077c32e)
Reviewed-on: http://git-master/r/216081
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: bq2419x: remove BQWDT disable code
Syed Rafiuddin [Tue, 5 Mar 2013 05:01:20 +0000]
power: bq2419x: remove BQWDT disable code

removing BQWDT disabling code as bqwdt is not suppose to be
disabled ever.

Bug 1240114

Change-Id: Idc2dab16d77b3716577913dc0a0b77e6bdf5490b
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/205761
(cherry picked from commit 23c796b25169446bcdbd3080490a693f73eb8d88)
Reviewed-on: http://git-master/r/216080
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra: macallan: add bq2419x platform data
Syed Rafiuddin [Wed, 3 Apr 2013 09:16:45 +0000]
arm: tegra: macallan: add bq2419x platform data

addition of bq2419x battery charger platform data

Change-Id: Ieaaa378513fc43790660e9ac2a9e5a421d21b148
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/216079
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agopower: bq2419x: Implement WDT timer
Syed Rafiuddin [Wed, 3 Apr 2013 08:36:34 +0000]
power: bq2419x: Implement WDT timer

BQ2419X support the WDT timer which reset the configuration
on expiration. Handling the WDT timer to proper functiong of device.

Following are details of changes:
- Implement WDT reset in kthread with high priority.
- Configure WDT time based on platform data,
- Merge the VBUS regulator in the charger driver itself as
charger or VBUS can happen mutually.
- Displaying the charging fault when happens.
- Other cleanups to reduce code size and make better readability.
- Related chnages in board file.

Bug 1240114
Bug 1260994

Change-Id: Iefa79b7c0c791e8a1d69b44d9399aab7730a2da9
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/205495
(cherry picked from commit b2183dca8729336665f97a19a0e6edfd588a248e)
Reviewed-on: http://git-master/r/216077
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agomfd/regulator: remove bq2419x driver
Syed Rafiuddin [Wed, 3 Apr 2013 08:39:40 +0000]
mfd/regulator: remove bq2419x driver

The bq2419x driver functionality is merged into single file as
power/bq2419x-charger, these files are not required hence deleting.

Bug 1240114

Change-Id: Ibc09b12904558d6b0905f6bdf309e452f9c8be78
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/205497
(cherry picked from commit df6821a3a1013d4775fe7ed0c52a56a8bef29a1f)
Reviewed-on: http://git-master/r/216078
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoRevert "power: bq2419x: disable charging function if charger fails to probe"
Syed Rafiuddin [Tue, 2 Apr 2013 11:17:05 +0000]
Revert "power: bq2419x: disable charging function if charger fails to probe"

This reverts commit b3fcade6dbc33f41f7284f2e8581d075bb0fe09b.

Change-Id: Iee513c36df2aba8a0348533c326a92bd51a0afac
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/216076
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: Add NCT access api and sysfs interface
Joshua Cha [Wed, 13 Mar 2013 01:54:55 +0000]
ARM: tegra: Add NCT access api and sysfs interface

NCT is the acronym for Nvidia Configuration Table.
This change provides API to read NCT items from NCT carveout region
and create sysfs interface for userspace to read items.

Bug 1223662

Change-Id: Id6f887fd9c458f4f9c3dfe27f6a95fbe930cfb00
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/208680
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agoarm: configs: tegra11: remove unused camera configs
Sachin Nikam [Mon, 15 Apr 2013 06:51:26 +0000]
arm: configs: tegra11: remove unused camera configs

Below camera sensors are not for t114 platforms:
-CONFIG_VIDEO_OV5650=y
-CONFIG_VIDEO_OV9726=y
-CONFIG_VIDEO_OV2710=y

Also removed below which are not for T114 platforms:
-CONFIG_VIDEO_AR0832=y : sensor for enterprise
-CONFIG_TORCH_TPS61050=y : flash for cardhu
-CONFIG_VIDEO_SH532U=y : focuser for enterprise

Change-Id: Iaca911058f51d5eff2e7a0b07b39b95908dcbfb8
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/219299
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarch: arm: linearize backlight after sd adjustment
Mitch Luban [Fri, 12 Apr 2013 01:31:07 +0000]
arch: arm: linearize backlight after sd adjustment

We should apply smartdimmer adjustment and then do
linear backlight lookup.

Bug 1253675

Reviewed-on: http://git-master/r/218738
(cherry picked from commit 2633bbdf3a1392df763831acc336c46e9982277a)

Change-Id: I25ca15c615ea99e49f60f567d874666c8f6a4bcd
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/218741
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: tegratab: add fix for device tree
David Yu [Wed, 10 Apr 2013 11:44:46 +0000]
arm: tegra: tegratab: add fix for device tree

- add fix for tegratab DT.
- fix compass sensor power.
- remove bmp180 sensor power and platform data.

Bug 1260291
Bug 1260300

Change-Id: I23c5c3b43aeab0ffd330a2ade601b0b3f2b07f67
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/218223
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agommc: tegra: Dynamic frequency calculation
Pavan Kunapuli [Mon, 15 Apr 2013 10:36:04 +0000]
mmc: tegra: Dynamic frequency calculation

Calculate the desired frequencies for eMMC and SDIO if dynamic
frequency scaling is enabled. The algorithm determines the
frequency based on the active and idle loads measured at periodic
intervals.

The dfs stats are exposed through sysfs and the polling interval
and active load threshold values are set as user configurable
options.

Bug 1238045
Bug 1044607

Change-Id: Ic1509b07320608a53c85a2dcee533a3b0b2a9e97
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/219368
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agopower: max77665: Unregister power supply if extcon device is absent
Sumit Sharma [Wed, 10 Apr 2013 06:44:04 +0000]
power: max77665: Unregister power supply if extcon device is absent

Unregister power supply if extcon device is not found

Change-Id: I060bfdc42eb5472da12a734eafbd78a2d8d392a5
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/218115
(cherry picked from commit 46e9e2f1123fc9f9866f5a2f5a87df73d8b14000)
Reviewed-on: http://git-master/r/219267
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agovideo: tegra: dsi: Remove extra reference clks
Animesh Kishore [Tue, 2 Apr 2013 15:48:42 +0000]
video: tegra: dsi: Remove extra reference clks

Bug 1264864

Change-Id: Ibbe9fa0305ae100f803fcacf85efb8d4131749e3
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/215594
(cherry picked from commit 6ef62ba1400f48aadfa01c46ff2ed56d4b260ea9)
Reviewed-on: http://git-master/r/218870
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agommc: Register for device frequency scaling
Naveen Kumar Arepalli [Mon, 1 Apr 2013 08:44:58 +0000]
mmc: Register for device frequency scaling

If CONFIG_MMC_FREQ_SCALING is enabled, register for device frequency
scaling.

Bug 1044607

Change-Id: I6633f61ad3fc2dcd4c468954906b23ce0a3545fe
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/214993
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoarm: tegra: macallan: Runtime panel detection for
Vick Yu [Tue, 26 Feb 2013 08:41:00 +0000]
arm: tegra: macallan: Runtime panel detection for
 sharp 25x16.

Bug 1241867

Change-Id: I80574539c817b40bf88957da514d5c3b0a4221cc
Signed-off-by: Vick Yu <vyu@nvidia.com>
Reviewed-on: http://git-master/r/204125
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: configs: tegra11: remove LTR_558ALS config
Sachin Nikam [Fri, 12 Apr 2013 14:43:28 +0000]
arm: configs: tegra11: remove LTR_558ALS config

None of T114 platofrms has LTR_558ALS sensor so
removing it.

Change-Id: Ia2672903e59b8d49995c75283aa60b4c8afd0f79
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/218955
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: t114: Update eMMC drive strength values
Naveen Kumar Arepalli [Wed, 10 Apr 2013 06:24:55 +0000]
ARM: tegra: t114: Update eMMC drive strength values

Set eMMC pull up value to 2 on dalmore, pluto, roth
and macallan

Bug 1172577

Change-Id: I7674208b6acfd00cd7ea117e86a034c30f10e697
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/218111
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agovideo: tegra: dc: Log display-on time via uS timer
Kamal Kannan Balagopalan [Wed, 10 Apr 2013 00:39:15 +0000]
video: tegra: dc: Log display-on time via uS timer

Bug 1252226

Change-Id: I0c7486813c6682a12d79fdfcddc4a47799794ab6
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/217940
Reviewed-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Li Li (SW-TEGRA) <lli5@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: Tegra: Sample uS timer to measure LP resume
Kamal Kannan Balagopalan [Tue, 9 Apr 2013 18:35:56 +0000]
ARM: Tegra: Sample uS timer to measure LP resume

Add framework to log microsecond timer for measuring suspend/deep-sleep
resume times from power-on to display-on

Bug 1252226

Change-Id: I1d8c71651648ac8d2dc04ce8315e6ff5d30d1995
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/217939
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: config: enable broadcom wifi drivers
Om Prakash Singh [Tue, 26 Mar 2013 11:04:20 +0000]
ARM: tegra: config: enable broadcom wifi drivers

enable bcmdhd driver build for bcm43241 and bcm43341 wifi chip

Bug 1247033

Change-Id: I77172874ed214c73026b8de40ba16c470d2dafd4
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/201358
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agonet: wireless: bcmdhd: add makefile for different chip
Om Prakash Singh [Wed, 6 Mar 2013 12:43:27 +0000]
net: wireless: bcmdhd: add makefile for different chip

Different broadcom chip need different configuration of bcmdhd
driver. Add seperate makefile for bcm43341 and bcm43241 with
chip specific configuration
Sym-link bcmdhd driver source for bcm43341 and bcm43241

Bug 1247033

Change-Id: If06076f8769d0dbd4ed74bef7fa108c34cd9c4f8
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/203280
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonet: wireless: bcmdhd update 1.28.28.1 from broadcom
Om Prakash Singh [Thu, 21 Mar 2013 07:57:36 +0000]
net: wireless: bcmdhd update 1.28.28.1 from broadcom

Bug 1247033

Change-Id: Ie2f90bdf5bc582c04d2062d60a368e00b8e68b00
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/211656
(cherry picked from commit fa8e327ced8ab144fa4e6a4ff969a5a6e518448e)
Reviewed-on: http://git-master/r/211594
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agobcmdhd: use kthread_run instead of kernel_thread
Nitin Bindal [Fri, 8 Mar 2013 09:45:47 +0000]
bcmdhd: use kthread_run instead of kernel_thread

kernel_thread is deprecated and sometimes it fails.

Bug 1242544

Change-Id: I3751c12aad2661998dcbc1ae1e305f5f2ecf355e
Signed-off-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-on: http://git-master/r/206996
(cherry picked from commit 490584489acde7046744c5863df30473aaa20336)
Reviewed-on: http://git-master/r/206706
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
Tested-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agousb: xhci: tegra: Add resume recovery delay of 10ms
Ajay Gupta [Thu, 11 Apr 2013 21:49:02 +0000]
usb: xhci: tegra: Add resume recovery delay of 10ms

This is needed as per usb2.0 spec section 9.2.6.2

Bug 1261769
Bug 1267127

Change-Id: Ib6c485ec93f478b88b48979a0182b3e702e7e49b
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/218672
Reviewed-by: Henry Lin <henryl@nvidia.com>
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

6 years agoARM: tegra: tegratab: Enable prepower_wifi
Harry Hong [Thu, 11 Apr 2013 04:37:52 +0000]
ARM: tegra: tegratab: Enable prepower_wifi

bug 1270112

Change-Id: Ia75ccf8c4345214170b3fc461dc069b4e4813548
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/218486
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoextcon: max77665: Update cable status in resume
Mallikarjun Kasoju [Wed, 10 Apr 2013 14:44:11 +0000]
extcon: max77665: Update cable status in resume

Update cable status in resume

bug 1266947

Change-Id: I33d2a371d7db5082cc4838309761ad6307b48408
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/218254
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agonet: wireless: bcmdhd: configure driver for low latency
Om Prakash Singh [Fri, 29 Mar 2013 08:00:04 +0000]
net: wireless: bcmdhd: configure driver for low latency

Bug 1258426
Bug 1262099

Change-Id: I0a2fd3a1a7306e8c762a96c47582a4511cd5249a
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/214422
(cherry picked from commit b14a0b33e2ccd6b90dd1d47c6597dae4b5cef929)
Reviewed-on: http://git-master/r/217248
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonet:wireless:bcmdhd: roam_off, disable block ack for UP5 and UP7
Kyeong Baek Kim [Fri, 22 Mar 2013 23:19:48 +0000]
net:wireless:bcmdhd: roam_off, disable block ack for UP5 and UP7

Bug 1258426

Change-Id: I288a0e1dd59c0fb1a8d4d96b90dee8003a1f34a9
Signed-off-by: Kyeong Baek Kim <kyeongk@nvidia.com>
Reviewed-on: http://git-master/r/213363
(cherry picked from commit c40024936ef8c85da1ae75bf5b0e53ac631cdfce)
Reviewed-on: http://git-master/r/217247
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
Tested-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agobcmdhd: fix race condition between p2p interface removal and disconnect
Narayan Reddy [Thu, 21 Feb 2013 09:13:17 +0000]
bcmdhd: fix race condition between p2p interface removal and disconnect

When supplicant disconnect P2P link, it calls
wl_cfg80211_disconnect and removes p2p interface(netdevice).
There can be race condition since supplicant remove interface
without waiting for disconnected event. In most cases, disconnection
event is processed before deleting interface. But if interface
is removed before disconnection event is handled, it make crash.

wait_for_completion_timeout() and complete() api takes care of above,
but there is a problem, since signal by complete() is accumulative.
Sometimes, previous disconnect event calls complete() and it
unblock next wait_for_completion_timeout() right away.

Bug 1237588

Change-Id: I2937a55b2aced668e0c3f5c2285aad0c7a7cc0bf
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/202882
(cherry picked from commit ac95237f65ed5bead2009f476c78f83146f4b9e2)
Reviewed-on: http://git-master/r/217246
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
Tested-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: dalmore: Enable power_off_rail
Ken Chang [Tue, 19 Mar 2013 09:40:40 +0000]
ARM: tegra: dalmore: Enable power_off_rail

Turn off sdhci rails for SD card before rebooting the device.

Bug 1222606
Bug 1242658

Change-Id: I30993af9c46fc6edc8190f91ea7b9b1b28aa8641
Signed-off-by: Ken Chang <kenc@nvidia.com>
(cherry picked from commit 3f04f2123ebc3f1cbbb88cf80585d3497c53d885)
Reviewed-on: http://git-master/r/210749
Reviewed-on: http://git-master/r/215416
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agodrivers: misc: therm_est: Add timer trip support
Jinyoung Park [Fri, 29 Mar 2013 16:48:57 +0000]
drivers: misc: therm_est: Add timer trip support

Timer trip provides a way to change trip temp dynamically based on timestamp
when the trip is enabled.
- Timer trip can be various numbers on a trip.
- If the trip is enabled, then timer will be started with time_after delay
  in the corresponding timer trip. After the timer expires, trip_temp and
  hysteresis in the corresponding timer trip will be used to trip_temp for
  the trip.
- When the timer has expired, index of timer trip will be increased a step
  and then start the timer with time_after delay in newly indexed timer trip.
- When temp is below trip temp, index of timer trip will be decreased a step
  and then stop the timer and start the timer with time_after delay in newly
  indexed timer trip.
- The timer will be stopped if there is no more next timer trip on the trip,
  or the trip is disabled.

This change is based on http://git-master/r/198853 which is the timer
trip on Rel-16. The difference between two changes is that this change
can be used timer trip on multiple trip points, but the previous change
on Rel-16 can be used timer trip on only a trip point.

Bug 1233363
Bug 1236444

Change-Id: I999f496862fe131e4209b25b308f2223ac7cc350
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/214612
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Edward Riegelsberger <eriegels@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agommc: tegra: Execute tuning for multiple frequencies
Naveen Kumar Arepalli [Wed, 13 Mar 2013 12:46:06 +0000]
mmc: tegra: Execute tuning for multiple frequencies

Execute tuning for multiple frequencies to save the
best tap values at each frequency

Bug 1238045
Bug 1044607

Change-Id: Ia8a74d9a63d73f10470c9675de868f5652cfbb8d
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/208822
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: build edp table with volt-temp constraints
Diwakar Tundlam [Fri, 12 Apr 2013 00:28:54 +0000]
ARM: tegra: build edp table with volt-temp constraints

Some chips must be constrained to run at a reduced maximum voltage
above certain temperature threshold. Added code for this constraint be
configured on a per SKU basis.

Bug 1270003
Bug 1270570

Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>

Change-Id: Ic2e6f9406712d276ab9af92f89e98bd92972a5f6
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/218723
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: macallan: fix camera power rails on E1569
Kerwin Wan [Wed, 10 Apr 2013 05:23:35 +0000]
arm: tegra: macallan: fix camera power rails on E1569

The focuser power rail has been moved from ldo7 to ldo5
on macallan E1569.

Change-Id: I83b48c6b68699c108cbfe626cdbd299575d6c426
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/218094
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegratab: enable MT9M114(AS1040) config
kkim [Tue, 9 Apr 2013 06:00:15 +0000]
ARM: tegratab: enable MT9M114(AS1040) config

Bug 1255019

Change-Id: Ic40443cfdb2037c8b09242d27cc90b00ca5849ec
Signed-off-by: kkim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/217661
Reviewed-by: Jake Park <jakep@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Kim <pekim@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: macallan: enable OTG ID pin detect through PMIC
Yunfan Zhang [Thu, 28 Mar 2013 07:58:26 +0000]
ARM: tegra: macallan: enable OTG ID pin detect through PMIC

Bug 1256755

Change-Id: I86fabdd6da4481cf7365aa0e47fd086817cb9d35
Signed-off-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-on: http://git-master/r/213874
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: usb: fix compile error with modular build
Ajay Gupta [Wed, 10 Apr 2013 17:06:52 +0000]
ARM: tegra: usb: fix compile error with modular build

Fixes below error while building xusb as module.
ERROR: "utmi_phy_iddq_override" [drivers/usb/host/xhci-hcd.ko] undefined!

Change-Id: I30ccb577b33f46cc529ec09fd7506b4e13475cf8
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/218605
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>