6 years agoregmap: Fix typo in IRQ register striding
Mark Brown [Thu, 17 May 2012 12:59:40 +0000]
regmap: Fix typo in IRQ register striding

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 38e7f5d1b73e71f87745a9c3e5806a6c28c34a53)

Change-Id: I481f19dab58deb0a6959c2668f054f90afdac668
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/131160
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: fix compilation error in max98095
Rhyland Klein [Thu, 2 Aug 2012 19:27:53 +0000]
asoc: tegra: fix compilation error in max98095

change 4b70cc537cadc787b748c7c246d703a240b08985 introduced
a compilation error.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: I59e54537d9bb4b30e807478e5b7634db0813a739
Reviewed-on: http://git-master/r/120443
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
(cherry picked from commit c5dea888253285e23107585805b7728ebe46e17e)

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: I1accd0ded99bfb9c12e2acffda79eebe2ff753c8
Reviewed-on: http://git-master/r/131483
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoarm: tegra: pluto: Change suspend mode to lp0
Mallikarjun Kasoju [Tue, 11 Sep 2012 17:06:22 +0000]
arm: tegra: pluto: Change suspend mode to lp0

Change suspend mode to lp0

Bug 1040429

Change-Id: I850a57ba63719c63447bf956967ebc3ea7f6f39a
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/131473
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pluto/dalmore: fix sd slot power rail
Pradeep Goudagunta [Tue, 11 Sep 2012 16:19:09 +0000]
ARM: tegra: pluto/dalmore: fix sd slot power rail

mmc core driver uses vddio_sd_slot to turn on slot power.

Bug 1046725

Change-Id: I2cdefd3219f0aac066eddd1ce842174905dff84d
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/131464
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoregulator: palmas: support ldo8 tracking mode
Laxman Dewangan [Tue, 11 Sep 2012 15:38:28 +0000]
regulator: palmas: support ldo8 tracking mode

LDO8 is having tracking mode where it can track
for SMPS45. Add support for configuring this mode.

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

6 years agoregulator: palmas: support for external control of regulator outputs
Laxman Dewangan [Tue, 11 Sep 2012 14:44:54 +0000]
regulator: palmas: support for external control of regulator outputs

Add support to control different regulator output through
external control signal.

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

6 years agomfd: palmas: support for external control of clock outputs
Laxman Dewangan [Tue, 11 Sep 2012 14:33:45 +0000]
mfd: palmas: support for external control of clock outputs

Add support to control different clock32K output through
external control signal.

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

6 years agomfd: palmas: support for the external control request
Laxman Dewangan [Tue, 11 Sep 2012 14:30:06 +0000]
mfd: palmas: support for the external control request

Palma support the control of different output signals
through external input signal like ENABLE1, ENABLE2 and
NSLEEP.
Add support to control the different outputs through
these signals.

Change-Id: Iea071b999879aa2580dd778f131e37c0372aa994
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/131450

6 years agoARM: tegra: dvfs: Update dfll mode rate/voltage control
Alex Frid [Tue, 11 Sep 2012 04:52:26 +0000]
ARM: tegra: dvfs: Update dfll mode rate/voltage control

Updated dvfs rate and voltage control in dfll mode:

- use dfll voltages in set dvfs rate operation when dfll mode
is enabled
- use dfll voltages in predict voltage level operation when dfll
mode is enabled
- do not trigger any transaction to regulator when dfll mode is
enabled

Change-Id: Id66fbc21ac19f9495e743b785a99c7a1e250fce1
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/131306
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Rename rail auto-control to dfll-mode
Alex Frid [Tue, 11 Sep 2012 04:46:57 +0000]
ARM: tegra11: dvfs: Rename rail auto-control to dfll-mode

Change-Id: Iea2372418a23286b21b58aa8eb665c90cf53043b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/131305
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra11: dvfs: Update dvfs settings
Alex Frid [Tue, 11 Sep 2012 01:23:19 +0000]
ARM: tegra11: dvfs: Update dvfs settings

Increased dvfs rail maximum limits, updated cvb scaling margins, and
dfll tuning parameters.

Change-Id: Icdaf5dfde00d68e6b8e2345f42e2a00d6c99bd11
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/131304
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agokernel: config: fix missing quote for LESS_GCC_OPT
Jong Kim [Mon, 10 Sep 2012 23:50:14 +0000]
kernel: config: fix missing quote for LESS_GCC_OPT

Add closing quote for LESS_GCC_OPT.

Change-Id: I6b48b19625ac3ab2cc9f4d651cc216fb890063fa
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/131257
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agovideo: tegra: nvmap: Validate page pool entries.
Krishna Reddy [Tue, 4 Sep 2012 18:33:11 +0000]
video: tegra: nvmap: Validate page pool entries.

Change-Id: I519c66e553f6b188446a2d771bffa9a45ef51201
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/131230
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vandana Salve <vsalve@nvidia.com>

6 years agovideo: tegra: nvmap: Validate handle in nvmap_pin.
Krishna Reddy [Tue, 4 Sep 2012 18:21:56 +0000]
video: tegra: nvmap: Validate handle in nvmap_pin.

Change-Id: Idb4290cb47cc64c525ca9087c8c9e4239baefa6a
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/131229
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Vandana Salve <vsalve@nvidia.com>

6 years agovideo: tegra: nvmap: Fix debugfs file permissions.
Krishna Reddy [Tue, 4 Sep 2012 17:45:29 +0000]
video: tegra: nvmap: Fix debugfs file permissions.

Change-Id: I3f2d0e2bff35ed868267fd85b5bf7d83d3317bf4
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/131226
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>

6 years agoarm: tegra: usb_phy: enable pllu_regulator
Suresh Mangipudi [Fri, 31 Aug 2012 11:50:14 +0000]
arm: tegra: usb_phy: enable pllu_regulator

Change to enable the pllu regulator.

Change-Id: I6f8beb00c71e55b017c10576bf0aa990e09b362d
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/130990
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: dalmore: Add sensor board support
Sudhir Vyas [Fri, 7 Sep 2012 16:33:07 +0000]
ARM: tegra: dalmore: Add sensor board support

Add sensor board support for dalmore.

Bug 1011363

Change-Id: I2c8dbfb0a7328e39653137d248db04e4e288793b
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/130735
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: la: Add config option for latency allowance scaling
Krishna Reddy [Fri, 7 Sep 2012 00:41:24 +0000]
arm: tegra: la: Add config option for latency allowance scaling

Change-Id: I90d7fd87e774e04f8d671dfcec5f1833871c7ef9
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/130403
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dc: Add support to SCAN_COLUMN.
Kevin Huang [Thu, 23 Aug 2012 18:06:42 +0000]
video: tegra: dc: Add support to SCAN_COLUMN.

SCAN_COLUMN is a new feature for display. Add support to it for
90 & 270 degree rotation.

Bug 964993
Bug 911213

Change-Id: Iff9818d901a4ae09dffb833bf2cf4a888f1ecec5
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/130313
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agopower: Add GCOV_PROFILE
Juha Tukkinen [Mon, 10 Sep 2012 14:02:28 +0000]
power: Add GCOV_PROFILE

Include cpufreq in GCOV profiling when enabled by defconfig.

Change-Id: I4c6c94198873c53683a2486f56caab360a3a6a93
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/131129
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra: pluto: enable clk32K from PMIC
Laxman Dewangan [Tue, 11 Sep 2012 09:34:43 +0000]
ARM: tegra: pluto: enable clk32K from PMIC

Enable clk32 from PMIC TPS65913 i.e. Palmas.

Change-Id: I581a77488e59db0b674e33fc9563fa744b584199
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/131349
Reviewed-by: Automatic_Commit_Validation_User

6 years agomfd: palma: support for clock
Laxman Dewangan [Tue, 11 Sep 2012 09:34:15 +0000]
mfd: palma: support for clock

Palma support for generating 32K Hz signal. Adding
support for this.

Change-Id: Ia0cf7c82e7b222f33c4ddb0aff748b1e12dfa273
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/131348
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: pluto: populate plama-regen regulators
Laxman Dewangan [Tue, 11 Sep 2012 08:25:57 +0000]
ARM: tegra: pluto: populate plama-regen regulators

Populate Palma's REGEN1 and REGEN2 regulators.

Change-Id: Id1e2cdda5af783585b81fb443b7c15d890523d63
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/131332
Reviewed-by: Automatic_Commit_Validation_User

6 years agoregulator: palma: support for external regulator
Laxman Dewangan [Tue, 11 Sep 2012 08:00:25 +0000]
regulator: palma: support for external regulator

Palma supports the multiple external regulator named
as REGEN1, REGEN2, REGEN3, SYSEN1 and SYSEN2.
Supports these regulator through regulator driver.

Change-Id: I4f5fae65dc6e5b8dcd1f80ac41ad406933a1fe7e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/131331
Reviewed-by: Automatic_Commit_Validation_User

6 years agodrivers: rtc: tegra: Remove rtc register reset
Prashant Malani [Tue, 11 Sep 2012 00:08:36 +0000]
drivers: rtc: tegra: Remove rtc register reset

RTC registers are accessed before
tegra_rtc_probe(). As such, resetting them here
would lead to inconsistent state, and possible
problems with time subtraction.

Bug 1010972

Change-Id: I342a88411b5fcde86078537c313d857e3cd9a4f2
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/131263
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agopinctrl: Add GCOV_PROFILE
Juha Tukkinen [Mon, 10 Sep 2012 14:01:18 +0000]
pinctrl: Add GCOV_PROFILE

Include pinctrl in GCOV profiling when enabled by defconfig.

Change-Id: I978515db3196e81e024450e08c9dcffd24277047
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/131128
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agocpuquiet: Add GCOV_PROFILE
Juha Tukkinen [Mon, 10 Sep 2012 14:00:35 +0000]
cpuquiet: Add GCOV_PROFILE

Include cpuquiet in GCOV profiling when enabled by defconfig.

Change-Id: I448602d2c79f4113b99e6546743585e629fa726e
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/131127
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agocpuidle: Add GCOV_PROFILE
Juha Tukkinen [Mon, 10 Sep 2012 13:59:55 +0000]
cpuidle: Add GCOV_PROFILE

Include cpuidle in GCOV profiling when enabled by defconfig.

Change-Id: Ic5a891a2b2683405606770f86393f7f73928d8ea
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/131126
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agocpufreq: Add GCOV_PROFILE
Juha Tukkinen [Mon, 10 Sep 2012 13:59:15 +0000]
cpufreq: Add GCOV_PROFILE

Include cpufreq in GCOV profiling when enabled by defconfig.

Change-Id: Iab3d2b7d2868acd51c66d975fc255552e2af1724
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/131125
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agortc: max77663: fix alarm reading bug
Daniel Fu [Wed, 5 Sep 2012 03:45:04 +0000]
rtc: max77663: fix alarm reading bug

When reading alarm of RTC-max77663, it didn't set alrm->enabled correctly,
if irq is masked, means disable alarm, alrm->enabled should be set to 0,
else it should be 1.

Change-Id: Id0b1ffd9a816643712f33624d7d52cbe7b66b3c3
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/129593
(cherry picked from commit e81b06d36a924dcdf8bb0456e7a50d1634d0365f)

Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Change-Id: I21eb95bd6c051963db22e9b4494c6b59c79ae17c
Reviewed-on: http://git-master/r/131124
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: board: usb fixes for unaligned buffer
Suresh Mangipudi [Fri, 7 Sep 2012 11:52:03 +0000]
arm: tegra: board: usb fixes for unaligned buffer

Add support for unaligned buffers for usb, as it is fixed for T114.

Bug 1017714

Change-Id: I5cb486f707c6427dcd657bc8edf822d5cfc4dad2
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/130677
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agopm: EDP: enabling EDP framework for tegra11
Sivaram Nair [Mon, 10 Sep 2012 14:29:34 +0000]
pm: EDP: enabling EDP framework for tegra11

This patch enables the EDP_FRAMEWORK config flag for tegra11 SoCs

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

6 years agoarm: tegra: pluto: add sensor support
Sri Krishna chowdary [Fri, 7 Sep 2012 08:21:57 +0000]
arm: tegra: pluto: add sensor support

Registration of isl29028 ALS+Proximity sensor on i2c

Bug 980722

Change-Id: I4718e2c7965065d1136bb6df2a941b6d15f0ab3b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/131121
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra: fuse: Fix coverity issue
Sri Krishna chowdary [Mon, 10 Sep 2012 11:53:16 +0000]
ARM: tegra: fuse: Fix coverity issue

Fix negative array index read

Bug 1046331

Change-Id: Ibef31d5e121b6e16f87cef973c10cd4d2647496b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/131099
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agocrypto: tegra-se: reseed rng after RESEED_INTERVAL
Mallikarjun Kasoju [Mon, 10 Sep 2012 20:36:24 +0000]
crypto: tegra-se: reseed rng after RESEED_INTERVAL

Force ressed rng number generation after reseed
interval expires

Bug 952135

Change-Id: I3259b7ce008769c736e9b548a78494501acab60f
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/130994
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra11: clock: Add XUSB shared EMC user
Alex Frid [Sun, 9 Sep 2012 23:17:59 +0000]
ARM: tegra11: clock: Add XUSB shared EMC user

Added EMC shared user for XUSB driver. Changed XUSB device id to
"tegra_xhci".

Change-Id: I1a884ef6ff67d9b2698284bb00c60c39a3b324fa
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/130936
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: dvfs: Add uart dvfs tables
Alex Frid [Fri, 31 Aug 2012 07:09:15 +0000]
ARM: tegra11: dvfs: Add uart dvfs tables

On Tegra11 there are two alternative configurations of UART clock:
(a) clock module source mux, and clock module 15.1 fractional divider
(b) clock module source mux, and legacy serial port 16-bit integer
divider inside UART module

In configuration (a) actual UART rate, and respective voltage level
is known by clock framework. In configuration (b) dvfs can be applied
correctly only when internal UART divider is set as 1:1. Hence, high
speed tegra UART driver must use either (a) or (b) with 1:1 settings.

Standard serial 8250 port driver, however, will use configuration (b)
with scaled internal divider. Since baud rates set by this driver are
way below Tegra11 UART capabilities at minimum voltage, dvfs limits
will not be checked in this case at all.

For now, the application of dvfs tables is deferred until tegra UART
driver is modified.

Change-Id: Idf9d1f088925c7a8389564dab91a0de9ab3086dc
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/130935
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra: clock: Make maximum rate writable via debugfs
Alex Frid [Sun, 9 Sep 2012 06:11:53 +0000]
ARM: tegra: clock: Make maximum rate writable via debugfs

Change-Id: I3a9cf1a393797484de3e836b664636e79a95ac74
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/130900
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: pluto: enable sdhci configuration
Nagarjuna Kristam [Fri, 7 Sep 2012 09:58:55 +0000]
arm: tegra: pluto: enable sdhci configuration

rename DALMORE_* macros to PLUTO_*
correct WOW GPIO pin
remove conditional else code for CONFIG_ARCH_TEGRA_11x_SOC

Bug 1029054

Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Change-Id: I245d03b90e5f48fef66d2a1d7e8aa0855d5290e4
Reviewed-on: http://git-master/r/130473
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agopower: max77665: add battery charger support
Syed Rafiuddin [Wed, 5 Sep 2012 05:39:37 +0000]
power: max77665: add battery charger support

MAX77665 supports battery charging.

Add driver for supporting this feature

Bug 1011298

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

6 years agodrivers: extcon: add max77665 muic driver
Syed Rafiuddin [Tue, 4 Sep 2012 07:00:21 +0000]
drivers: extcon: add max77665 muic driver

MAX77665 support muic feature.

Addition of driver to support this feature.

Change-Id: Ifd0c934d2ab457e511c0a2cd1d312dba6afe8a89
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130618
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoExtcon: Don't try to create duplicate link names
Syed Rafiuddin [Mon, 3 Sep 2012 11:37:44 +0000]
Extcon: Don't try to create duplicate link names

We can't create a link from the device to the compatibility switch class
since we already create a link from the device to to the extcon class
object and we try to use the same name for both links. This causes a loud
complaint from sysfs on boot.

(cherry picked from commit c3b15452e253ab0629cd9e400d3fb6d76c76cb73)

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: I54d35756be2757f63d616f3f9cafd24d416ab8cc
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130617
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoExtcon: Staticise extcon_class
Syed Rafiuddin [Mon, 3 Sep 2012 11:36:05 +0000]
Extcon: Staticise extcon_class

It's not referenced outside the core file.

(cherry picked from commit be3a07f71ca3ae300d652a653279321e85b9f3d0)

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: I0a4252336c5656ac06f20029678e3779ff644e29
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130616
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoextcon: Add EXTCON_MECHANICAL cable type for physical presence
Syed Rafiuddin [Mon, 3 Sep 2012 11:34:45 +0000]
extcon: Add EXTCON_MECHANICAL cable type for physical presence

Some accessory detection mechanisms are able to detect that something is
physically present in the socket separately to identifying what is present
in the socket. This information can be useful to applications, for example
allowing them to indicate that a potentially broken accessory is present,
so provide a standard way to report it to userspace.

(cherry picked from commit 0e1507c8453081c9a6a515b92f89dd00b68f5c09)

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: I7205bffca0c1bdc1e472d4a41d27d81a3a09ebd2
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130615
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoExtcon: Notify changed state for only one cable to notifee
Syed Rafiuddin [Mon, 3 Sep 2012 11:32:41 +0000]
Extcon: Notify changed state for only one cable to notifee

This patch inform the state of only one cable instead of previous data
including the state of 32 cables to notifee which use
extcon_register_interest()
function to monitor whether the specific cable is attachd or detached.

(cherry picked from commit f4cce69611ee941bac0729c6069795f106905ef9)

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: Ibd6d3def768d60aa5b1bdad3b16d6800ac8661ad
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130614
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoExtcon: check for allocation failure
Syed Rafiuddin [Mon, 3 Sep 2012 11:30:11 +0000]
Extcon: check for allocation failure

Return -ENOMEM if the kmalloc() fails.

(cherry picked from commit a1d26ac0ddc4ea561e17a75dd3b5f9d3c1812f16)

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: Id9b7b83dd08ea2cffb55b3922bac2d3c2a1725ce
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130613
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoRemove "switch" class in drivers/staging/android/switch
Syed Rafiuddin [Mon, 3 Sep 2012 11:26:28 +0000]
Remove "switch" class in drivers/staging/android/switch

Because extcon can also be a switch class for legacy userspace (Android)
and is a superset of switch class in drivers/staging/android/switch,
switch class may be removed.

- Remove switch class
- Remove switch class consideration in extcon class

(cherry picked from commit 449a2bf5e881b2a00d42a7c0baa67119c8cb5dce)

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: I7b61d285cbd97cb5f6c79ba70fadb1c3d19a4e15
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130612
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoExtcon: support mutually exclusive relation between cables.
Syed Rafiuddin [Mon, 3 Sep 2012 10:05:12 +0000]
Extcon: support mutually exclusive relation between cables.

There could be cables that t recannot be attaches simulatenously. Extcon
device drivers may express such information via mutually_exclusive in
struct extcon_dev.

For example, for an extcon device with 16 cables (bits 0 to 15 are
available), if mutually_exclusive = { 0x7, 0xC0, 0x81, 0 }, then, the
following attachments are prohibitted.
{0, 1}
{0, 2}
{1, 2}
{6, 7}
{0, 7}
and every attachment set that are superset of one of the above.
For the detail, please refer to linux/include/linux/extcon.h.

The concept is suggested by NeilBrown <neilb@suse.de>

(cherry picked from commit bde68e60b18208978c50c6fb9bdf29826d2887f3)

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>

--
Changes from V5:
- Updated sysfs format
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: I5849ba647e63e44525c9113a14a6d29fb51f6d64
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130611
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoExtcon: support multiple states at a device.
Syed Rafiuddin [Mon, 3 Sep 2012 10:00:58 +0000]
Extcon: support multiple states at a device.

One switch device (e.g., MUIC(MAX8997, MAX77686, ...), and some 30-pin
devices) may have multiple cables attached. For example, one
30-pin port may inhabit a USB cable, an HDMI cable, and a mic.
Thus, one switch device requires multiple state bits each representing
a type of cable.

For such purpose, we use the 32bit state variable; thus, up to 32
different type of cables may be defined for a switch device. The list of
possible cables is defined by the array of cable names in the switch_dev
struct given to the class.

(cherry picked from commit 806d9dd71ff52ef09764585baaeec23afbb98560)

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>

--
Changes from V7
- Bugfixed in _call_per_cable() (incorrect nb) (Chanwoo Choi)
- Compiler error in header for !CONFIG_EXTCON (Chanwoo Choi)

Changes from V5
- Sysfs style reformed: subdirectory per cable.
- Updated standard cable names
- Removed unnecessary printf
- Bugfixes after testing

Changes from V4
- Bugfixes after more testing at Exynos4412 boards with userspace
  processses.

Changes from V3
- Bugfixes after more testing at Exynos4412 boards.

Changes from V2
- State can be stored by user
- Documentation updated

Changes from RFC
- Switch is renamed to extcon
- Added kerneldoc comments
- Added APIs to support "standard" cable names
- Added helper APIs to support notifier block registration with cable
  name.
- Regrouped function list in the header file.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: Ic77273f660d528f0f53fa38a005e61f4a9ad422f
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130610
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoExtcon: support notification based on the state changes.
Syed Rafiuddin [Mon, 3 Sep 2012 09:56:46 +0000]
Extcon: support notification based on the state changes.

State changes of extcon devices have been notified via kobjet_uevent.
This patch adds notifier interfaces in order to allow device drivers to
get notified easily. Along with notifier interface,
extcon_get_extcon_dev() function is added so that device drivers may
discover a extcon_dev easily.

(cherry picked from commit 74c5d09bd562edc220d6e076b8f1e118819c178f)

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

--
Changes from RFC
- Renamed switch to extcon
- Bugfix: extcon_dev_unregister()
- Bugfix: "edev->dev" is "internal" data.
- Added kerneldoc comments.
- Reworded comments.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: I7053f56d7b00871b1e322724b9fd9b537d23afed
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130609
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoExtcon (external connector): import Android's switch class and modify.
Syed Rafiuddin [Mon, 3 Sep 2012 09:49:18 +0000]
Extcon (external connector): import Android's switch class and modify.

External connector class (extcon) is based on and an extension of
Android kernel's switch class located at linux/drivers/switch/.

This patch provides the before-extension switch class moved to the
location where the extcon will be located (linux/drivers/extcon/) and
updates to handle class properly.

The before-extension class, switch class of Android kernel, commits
imported are:

switch: switch class and GPIO drivers. (splitted)
Author: Mike Lockwood <lockwood@android.com>

switch: Use device_create instead of device_create_drvdata.
Author: Arve Hjøå<arve@android.com>

In this patch, upon the commits of Android kernel, we have added:
- Relocated and renamed for extcon.
- Comments, module name, and author information are updated
- Code clean for successing patches
- Bugfix: enabling write access without write functions
- Class/device/sysfs create/remove handling
- Added comments about uevents
- Format changes for extcon_dev_register() to have a parent dev.

(cherry picked from commit de55d8716ac50a356cea736c29bb7db5ac3d0190)

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

--
Changes from v7
- Compiler error fixed when it is compiled as a module.
- Removed out-of-date Kconfig entry

Changes from v6
- Updated comment/strings
- Revised "Android-compatible" mode.
   * Automatically activated if CONFIG_ANDROID && !CONFIG_ANDROID_SWITCH
   * Creates /sys/class/switch/*, which is a copy of /sys/class/extcon/*

Changes from v5
- Split the patch
- Style fixes
- "Android-compatible" mode is enabled by Kconfig option.

Changes from v2
- Updated name_show
- Sysfs entries are handled by class itself.
- Updated the method to add/remove devices for the class
- Comments on uevent send
- Able to become a module
- Compatible with Android platform

Changes from RFC
- Renamed to extcon (external connector) from multistate switch
- Added a seperated directory (drivers/extcon)
- Added kerneldoc comments
- Removed unused variables from extcon_gpio.c
- Added ABI Documentation.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: I9f5c121924ee6d1d42e7a38e03ac75eaed2e5687
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130608
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomax17042_battery: Support CHARGE_COUNTER power supply attribute
Syed Rafiuddin [Mon, 3 Sep 2012 07:01:52 +0000]
max17042_battery: Support CHARGE_COUNTER power supply attribute

This patch adds the support for CHARGE_COUNTER power supply attribute
to max17042/47 driver.

Note:QH(Charge Counter) register is not documented in max17042 the Spec.

(cherry picked from commit 5fc55bc8225d5a5c13b978e3e3dbf51e6cd6a333)

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>

Change-Id: I1f899b409143a0e4d699c80f6996ed73fda7d4d2
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130592
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomax17042_battery: Add support for max17047/50 chip
Syed Rafiuddin [Mon, 3 Sep 2012 07:01:18 +0000]
max17042_battery: Add support for max17047/50 chip

max17047 is improved version of max17042 chip. It has few HW bug
fixes with minor changes in register set.

max17050 is same as max17047 chip except its silicon packging. So from
driver's point of view there is no difference btw max1047 and max1050.

This patch adds the support to dynamically detect the chip type and
adds steps to initialize the max17047 chip.

(cherry picked from commit 9a8422d205ea142a27c2573e5ca3d2cc87d75260)

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

Change-Id: I752d09db9139ca503cfadec17422a7452704c5d3
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130591
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomax17042_battery: Handle irq request failure case
Syed Rafiuddin [Mon, 3 Sep 2012 07:00:40 +0000]
max17042_battery: Handle irq request failure case

suspend/resume functions take action based upon the fuel gauge
interrupt. If the rquest irq fails we should assign 0 to client->irq.

(cherry picked from commit e5ba50bc3b9311256ae6a6620e7708fb25d1f6e2)

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

Change-Id: Id3d6668b958637e4055c9c20d73944e77c4f1959
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130590
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomax17042_battery: Fix power supply and irq registration ordering
Syed Rafiuddin [Mon, 3 Sep 2012 07:00:01 +0000]
max17042_battery: Fix power supply and irq registration ordering

IRQ registration should happen only after power supply object usable.
This patch fixes the ordering of power supply and irq registration
calls.

(cherry picked from commit 243e3527ffbda96434429e618324f80ca0d98902)

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

Change-Id: I75cd549bd2a16f3f0d2134f6e733e9745f26c1a7
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130589
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower_supply: Add voltage_ocv property and use it for max17042 driver
Syed Rafiuddin [Mon, 3 Sep 2012 06:58:10 +0000]
power_supply: Add voltage_ocv property and use it for max17042 driver

This adds a new sysfs file called 'voltage_ocv' which gives the
Open Circuit Voltage of the battery.

This property can be used for platform shutdown policies and
can be useful for initial capacity estimations.

Note: This patch is generated against linux-next branch.

(cherry picked from commit a2ebfe2fc6e088a70d06cd15a5bc9bcb621cc195)

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

Change-Id: I94f03fb4041b96b8203cc04bac3b49ee869aa0ea
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130588
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomax17042_battery: Move dev_pm_ops struct under CONFIG_PM
Syed Rafiuddin [Mon, 3 Sep 2012 05:51:53 +0000]
max17042_battery: Move dev_pm_ops struct under CONFIG_PM

This is what we do for the rest of the drivers, saves some bytes.

Plus a small style change while at it.

(cherry picked from commit 48e41c70c10f10541d922fc67e7952f06ad59d9a)

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

Change-Id: Ia6818c41c5c9fbae3427755dd71ceb27016bfdb8
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130587
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomax17042_battery: Add suspend/resume hooks
Syed Rafiuddin [Mon, 3 Sep 2012 05:49:38 +0000]
max17042_battery: Add suspend/resume hooks

This patch adds suspend/resume methods to the driver.

In suspend method irq line is disabled to avoid i2c
read/write errors from the interrupt handler as the
i2c bus itself could be in suspend state.
In resume function irq line will be re-enabled.

(cherry picked from commit 48bc177441d68c0ba70631beb544c3d695328d56)

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

Change-Id: Id4129ae087e73ab72ecd415772e559573770fe86
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130586
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomax17042_battery: Fix driver exit function
Syed Rafiuddin [Mon, 3 Sep 2012 05:34:03 +0000]
max17042_battery: Fix driver exit function

This patch fixes driver's remove function: it should free the IRQ.

(cherry picked from commit bb28da90f4f973529f81be01547ebde7bf270042)

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

Change-Id: Id2092bc97dca8ad323879011aa7eb36a76bf643d
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130585
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomax17042_battery: Fix a couple buffer overflows
Syed Rafiuddin [Mon, 3 Sep 2012 05:01:29 +0000]
max17042_battery: Fix a couple buffer overflows

There are a couple issues here caused by confusion between sizeof()
and ARRAY_SIZE().  "table_size" should be the number of elements, but we
should allocate it with kcalloc() so that we allocate the correct number
of bytes.

In max17042_init_model() we don't allocate enough space so we go past
the end of the array in max17042_read_model_data() and
max17042_model_data_compare().

In max17042_verify_model_lock() we allocate the right amount of space
but we call max17042_read_model_data() with the wrong number of elements
and also in the for loop we go past the end of the array.

(cherry picked from commit 1ef3d8fb4deb77ee020b246d217dd4dfb28d88d5)

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

Change-Id: Ice945aea8c63d91d4ca8b4161d83ba817dca3f76
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/130584
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarch: arm: tegra: Add support for marvell 8797
Nitin Bindal [Thu, 26 Apr 2012 09:48:59 +0000]
arch: arm: tegra: Add support for marvell 8797

If bootloader specify that marvell wifi chip is
present on the board, then create marvell wifi device,
else create broadcom wifi device.

Bug 954218

Change-Id: I8e12722b2f39174d19159e626e8555bd632002e1
Reviewed-on: http://git-master/r/98490
(cherry picked from commit 3bcfb01a01faf8ecc3d1d1ca19eee98c33d39a25)
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/130124
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarm: tegra: pluto: enable bluetooth support
Nagarjuna Kristam [Fri, 31 Aug 2012 05:12:19 +0000]
arm: tegra: pluto: enable bluetooth support

Enable pinmux config for BT_EN, BT_RST, BT_EXT and BT_IRQ
Add bluesleep and rfkill platform resources

Bug 1029054

Change-Id: I652f0c771acf5087f34dab7d2498c2cd5808c7a2
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/130081
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agovideo: tegra: host: Use actmon only if defined
Terje Bergstrom [Thu, 6 Sep 2012 05:35:01 +0000]
video: tegra: host: Use actmon only if defined

Call actmon operations only if actmon is defined and initialized for
the SoC.

Change-Id: Ia44f31757f85b54ea7486a5f6af8d8697ca915e1
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/129963
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agopm: EDP: added overage governor
Sivaram Nair [Sat, 8 Sep 2012 14:02:16 +0000]
pm: EDP: added overage governor

This patch adds the overage governor to EDP framework.

Change-Id: I2f587e6df9556206fec2a3f3b64a2e35514a3d20
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/131067
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agopm: EDP: refactoring and bug fixes
Sivaram Nair [Fri, 7 Sep 2012 11:54:04 +0000]
pm: EDP: refactoring and bug fixes

(1) identified some generic governor functions and moved to edp.c.
(2) Changes to allow duplicate E-state entries (as long as they are in
    sorted sorted order and at least one of them is non-zero)

Change-Id: Iff5f07b3291fb0fd90449abf68d5bed77e8d7df1
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/131066
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agopm: EDP: added kernel documentation
Sivaram Nair [Fri, 7 Sep 2012 11:45:19 +0000]
pm: EDP: added kernel documentation

This patch adds documentation about:

(1) dynamic EDP capping in general
(2) EDP framework design
(3) user guide with example for device driver authors
(4) EDP sysfs
(5) EDP policy governors

Change-Id: I63e7ac25d28e025e5faead276a091ceaaa3c64f0
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/131065
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>

6 years agoasoc: codec: convert gpio to irq for max98088
Nikesh Oswal [Mon, 10 Sep 2012 09:32:59 +0000]
asoc: codec: convert gpio to irq for max98088

Bug 1044921

Change-Id: Idd59f0e34241052f0cde2948ec529e7696af2337
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/131052
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoboard enterprise: add HP detect GPIO to MAX98088
Nikesh Oswal [Mon, 10 Sep 2012 09:31:26 +0000]
board enterprise: add HP detect GPIO to MAX98088

Bug 1044921

Change-Id: Ie8c42af53304fc1cac1a8633eddc6eff1d2c9ce8
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/131051
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agommc: sdio: Check if card supports 1.8V signalling
Pavan Kunapuli [Fri, 31 Aug 2012 13:58:13 +0000]
mmc: sdio: Check if card supports 1.8V signalling

When inquiring about the voltage range needed by
the card, check for 1.8V signalling voltage support
if the host supports any of the UHS modes.

Bug 1042131

Change-Id: Ic843bd6710a5b2f1d4d30764978fef2f808271d9
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/131022
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra11: clock: Register clock suspend/resume
Alex Frid [Wed, 5 Sep 2012 03:16:02 +0000]
ARM: tegra11: clock: Register clock suspend/resume

Registered clock suspend/resume as syscore operations.

Change-Id: Icb2cf9365cf469f8a3ea29052a8a18d5545397b5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/130857
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: clock: Modify pllx and cpu burst policy restore
Alex Frid [Tue, 4 Sep 2012 22:42:28 +0000]
ARM: tegra11: clock: Modify pllx and cpu burst policy restore

Removed PLLX and cpu burst policy restoration on Tegra11 from
restore_cpu_complex() routine. These settings are preserved across
cpu complex rail-gating, and should be restored by common clock
suspend/resume code across core rail-gating (LP0 state).

Added PLLX restoration to common clock resume procedure (was missing,
since it was done in restore_cpu_complex()). Fixed cpu burst policy
restoration for LP CPU to make sure PLLX DIV2 bypass is not changing
while PLLX is used as cpu clock source.

Change-Id: I3425a4ad65c51d9485e1c3240905b3ce3066e74c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/130856
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: clock: Change the order of pll restoration
Alex Frid [Sat, 8 Sep 2012 04:31:30 +0000]
ARM: tegra11: clock: Change the order of pll restoration

Reversed the order of base and miscellaneous registers restoration
for PLLA, PLLD/D2 (base should be restored after miscellaneous
register).

Change-Id: Ide199b876c133e15b1340abea802179d46d03abd
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/130855
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: clock: Update clock suspend/resume
Alex Frid [Sat, 1 Sep 2012 05:50:35 +0000]
ARM: tegra11: clock: Update clock suspend/resume

Updated clock suspend/resume procedures:
- added missed module clock sources and clock control registers
  to save/restore pool
- added secondary PLLP dividers suspend/resume
- added PLLC2/C3 suspend/resume
- used Tegra11 PLLC suspend/resume operations (instead of direct base
  register save/restore)
- updated clock enable masks

Change-Id: I91949065f85067ddd2ad4bc3a26ed8c92ea7c51d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/130854
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: clock: Add PLLC2/3, PLLC, PLLX resume operations
Alex Frid [Sat, 1 Sep 2012 03:40:02 +0000]
ARM: tegra11: clock: Add PLLC2/3, PLLC, PLLX resume operations

Change-Id: Idc1fc070e77ea8161a10321fe074ea329671fb98
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/130853
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: mutex: use generic atomic_dec-based implementation for ARMv6+
Will Deacon [Mon, 13 Aug 2012 17:38:48 +0000]
ARM: mutex: use generic atomic_dec-based implementation for ARMv6+

Commit a76d7bd96d65 ("ARM: 7467/1: mutex: use generic xchg-based
implementation for ARMv6+") removed the barrier-less, ARM-specific
mutex implementation in favour of the generic xchg-based code.

Since then, a bug was uncovered in the xchg code when running on SMP
platforms, due to interactions between the locking paths and the
MUTEX_SPIN_ON_OWNER code. This was fixed in 0bce9c46bf3b ("mutex: place
lock in contended state after fastpath_lock failure"), however, the
atomic_dec-based mutex algorithm is now marginally more efficient for
ARM (~0.5% improvement in hackbench scores on dual A15).

This patch moves ARMv6+ platforms to the atomic_dec-based mutex code.

Change-Id: I80a3a692d3fea595dbcd14874759800d1b6c0827
Cc: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Reviewed-on: http://git-master/r/130778
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Daniel Parker <dparker@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+
Will Deacon [Fri, 24 Aug 2012 12:36:47 +0000]
ARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+

The open-coded mutex implementation for ARMv6+ cores suffers from a
severe lack of barriers, so in the uncontended case we don't actually
protect any accesses performed during the critical section.

Furthermore, the code is largely a duplication of the ARMv6+ atomic_dec
code but optimised to remove a branch instruction, as the mutex fastpath
was previously inlined. Now that this is executed out-of-line, we can
reuse the atomic access code for the locking (in fact, we use the xchg
code as this produces shorter critical sections).

This patch uses the generic xchg based implementation for mutexes on
ARMv6+, which introduces barriers to the lock/unlock operations and also
has the benefit of removing a fair amount of inline assembly code.

Change-Id: I25f3fe00937a3a9dff31b2e28c7e56391220275a
Cc: <stable@vger.kernel.org> : 0bce9c46: mutex: Place lock in contended...
Cc: <stable@vger.kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Nicolas Pitre <nico@linaro.org>
Reported-by: Shan Kang <kangshan0910@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-on: http://git-master/r/130776
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Daniel Parker <dparker@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoarm: tegra: Define DT bindings for Tegra30 EMC tables
Prashant Gaikwad [Thu, 16 Aug 2012 11:44:43 +0000]
arm: tegra: Define DT bindings for Tegra30 EMC tables

Bug 999688

Change-Id: I86041009ff686073dc81857aaf47e4fcee2618ea
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/130698
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomedia: video: tegra: Add IMX132 Camera sensor support.
Sunil Gangele [Wed, 5 Sep 2012 09:06:03 +0000]
media: video: tegra: Add IMX132 Camera sensor support.

Support for IMX132 Camera sensor driver.

Bug 1022599

Change-Id: I6598cb0a2451e94eb54fbcc03bf05f553fcf6834
Signed-off-by: Sunil Gangele <sgangele@nvidia.com>
Reviewed-on: http://git-master/r/130657
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Yuvraj Pasi <ypasi@nvidia.com>

6 years agoarm: tegra: phy: enable wakeup event for usb phy
Rakesh Bodla [Fri, 7 Sep 2012 10:24:55 +0000]
arm: tegra: phy: enable wakeup event for usb phy

If usb device already connected, should disable WKCN
in USB2D_PORTSC1, and enable WKDS in USB2D_PORTSC1,
during utmi phy power off. All the wakeup resource
should be cleared after the event happened.

Bug 1020021
Bug 1028429

Reviewed-on: http://git-master/r/128547
(cherry picked from commit 65ce999d1b22b01f6a2e6b3516be47e83d6d2584)

Change-Id: I0c4f704cd0517f0195053a5835ddf5c2956a2fa9
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/130601
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: Fix debugfs strings for powergate
Peter De Schrijver [Thu, 30 Aug 2012 13:57:21 +0000]
ARM: tegra: Fix debugfs strings for powergate

Replace powergate_name[] by a call to tegra_powergate_get_name().
This fixes the out of bounds accesses for SoCs other than Tegra20.

bug 1041476

Change-Id: I0e299960404fae33af3ef0423344001e133b8653
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/130597
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: usb_phy: Remove WAR for host connection detect
srinivas [Wed, 29 Aug 2012 17:30:03 +0000]
ARM: tegra: usb_phy: Remove WAR for host connection detect

T30 USB controller sets fake connect event when it is
in HSIC mode without regard to actual device connection.
This issue got fixed in T114 by adding the connect detect
interrupt. Now standard EHCI interrupt can be used for host
connection detect hence SW WAR kept during T30 is removed.

Removed phy_resume & phy_fence_read functions which are
not required for T114.

Bug 969326

Change-Id: I9bec5f3bfb0c0dca8ad9a584b9514e3680026041
Signed-off-by: srinivas thaduvai <sthaduvai@nvidia.com>
Reviewed-on: http://git-master/r/130477
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra: usb_phy: Remove WAR for HSIC bus reset
srinivas [Wed, 29 Aug 2012 17:24:45 +0000]
ARM: tegra: usb_phy: Remove WAR for HSIC bus reset

When UHSIC_DISABLE_BUSRESET, UHSIC_FORCE_XCVR_MODE
bits are set, controller forces bus reset using the
WAR sequences in T30. As HSIC bus reset timer issue
is fixed in T114, these settings can be removed.

Bug 1021578

Change-Id: I21e5acc533d1bec5691d7142eb6776e852db9392
Signed-off-by: srinivas thaduvai <sthaduvai@nvidia.com>
Reviewed-on: http://git-master/r/130474
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: Tegra: add support for persistent_ram
Varun Wadekar [Tue, 17 Apr 2012 12:40:49 +0000]
ARM: Tegra: add support for persistent_ram

ram_console driver now depends on persistent_ram to carve the chunk
of memory that it needs. So ask persistent_ram driver to reserve
memory for ram_console instead of doing it in the tegra common
code.

Change-Id: I43854f059f0610f3b5bf54acd1af51e33f9dd330
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/130066
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agostaging: android: persistent_ram: remove atomic operations
Varun Wadekar [Mon, 3 Sep 2012 06:57:28 +0000]
staging: android: persistent_ram: remove atomic operations

The atomic operations (LDREX/STREX) to handle a buffer's start
pointer and size do not seem to work well on ARMv7.

Bug 1035205

Suggested by: Colin Cross <ccross@android.com>

Change-Id: I71d61c8eb6a9669137dfc5fc6793e57e939f4a12
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/130065
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: dalmore/pluto: Remove unused code
naveenk [Mon, 3 Sep 2012 10:55:03 +0000]
ARM: tegra: dalmore/pluto: Remove unused code

Remove T30 specific code, because Same instances are used
for T30 and T114 on Dakmore/Pluto

Bug 1017708

Change-Id: I73f2e30d7ea0d355ee943c73013a1df9008940cf
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/130035
Reviewed-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: usb_phy: HSIC PMC changes
Abhishek Shukla [Wed, 22 Aug 2012 16:23:42 +0000]
ARM: tegra: usb_phy: HSIC PMC changes

This change updates PMC register macros to
support two HSIC controllers.

Bug 1036606

Change-Id: I9dbae1811857472c9ee6d139ab3fc94db2776f4c
Signed-off-by: Abhishek Shukla <abhisheks@nvidia.com>
Reviewed-on: http://git-master/r/129978
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoMerge remote-tracking branch 'origin/dev/dma-v10' into HEAD
varun colbert [Mon, 10 Sep 2012 19:51:25 +0000]
Merge remote-tracking branch 'origin/dev/dma-v10' into HEAD

6 years agoARM: tegra: dalmore: Remove ldo4 tracking flag
Laxman Dewangan [Fri, 7 Sep 2012 11:37:32 +0000]
ARM: tegra: dalmore: Remove ldo4 tracking flag

VDD_RTC should follow the vdd_core and in Dalmore,
VDD_RTC is supplied by LDO4 and vdd_core is supplied
by SD0.
The device MAX77663 support LDO4 tracking from SD1, not SD0 and
hence it can not be supported in Dalmore.
Removing the flag.

Change-Id: Ib39930f21f5195e1f4ecc1d9645d915b3b74fb37
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/130687
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: pluto: add entry for vdd_sys_bl
Laxman Dewangan [Fri, 7 Sep 2012 11:18:28 +0000]
ARM: tegra: pluto: add entry for vdd_sys_bl

vdd_sys_bl is from battery. So added in the always on
regulator.

Change-Id: I09031ace6fa484993d66cc1c5889994a5db0f7d4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/130669
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: pluto: add supply for ALS sensor.
Laxman Dewangan [Fri, 7 Sep 2012 10:38:15 +0000]
ARM: tegra: pluto: add supply for ALS sensor.

ALS sensor is mounted on GEN1_I2C address 0x44 (7 bit).
adding vdd supply for this sensor.

Bug 980722

Change-Id: I98f39763f2caf712cf853d13eec0b86b01bc904e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/130659
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarm: tegra: board: remove board specific vbus initializers
Suresh Mangipudi [Tue, 4 Sep 2012 11:33:24 +0000]
arm: tegra: board: remove board specific vbus initializers

Removed the board dependency for the vbus regulators and the vbus gpio in
tegra platforms. Vbus need not be specified from the board files any more.

Change-Id: I0dbab40f8737138bd469600810a7a17407329149
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/130648
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra: config: remove REGULATOR_DUMMY config
Laxman Dewangan [Fri, 7 Sep 2012 06:36:54 +0000]
ARM: tegra: config: remove REGULATOR_DUMMY config

Remove dummy regulator support for Tegra3 android and
Tegra114 defconfig files as the regulator support is
added in the platform.

Change-Id: I7a835414bd907af63ed5954522f5e339ec3cef4a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/130572
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agopm: EDP: adding sysfs entries
Sivaram Nair [Tue, 28 Aug 2012 16:08:29 +0000]
pm: EDP: adding sysfs entries

This patch adds sysfs entries to represent the EDP framework.  The sysfs
is at /sys/power/edp.

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

6 years agoARM: tegra: dvfs: Add debugfs voltage offset knob
Alex Frid [Thu, 6 Sep 2012 02:01:55 +0000]
ARM: tegra: dvfs: Add debugfs voltage offset knob

Added debugfs voltage offset knob for cpu and core rails.

Change-Id: Ied18aefa6b98ccf44b48be54bae479dc73833247
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/130355
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agovideo: tegra: dsi: Handle video+host syncpt return
Animesh Kishore [Tue, 4 Sep 2012 17:36:33 +0000]
video: tegra: dsi: Handle video+host syncpt return

Fix unused sync point returned after
video+host transfer.

Bug 1003050

Change-Id: I7c42b1d1b4788ce5c4eafe4625aa336bb4bd38d4
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/130145
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarm: tegra: pluto: Add ACX442AKM-7 JDI panel support
Animesh Kishore [Fri, 7 Sep 2012 06:49:41 +0000]
arm: tegra: pluto: Add ACX442AKM-7 JDI panel support

4.7" 720x1280 JDI panel

Bug 1034528

Change-Id: Ie669887132feea6bf1e0e3f22ea42d5a632838df
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/130123
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: dsi2edp: Add framework for toshiba TC358770 bridge
Animesh Kishore [Tue, 21 Aug 2012 11:46:37 +0000]
video: tegra: dsi2edp: Add framework for toshiba TC358770 bridge

Toshiba dsi to edp bridge.

Bug 1028789

Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Change-Id: I7d8e668c707d2924d5fccdddee09370a37706ad8
Reviewed-on: http://git-master/r/130115
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agosdhci: tegra: use t11x post reset for non 2x and 3x
naveenk [Fri, 31 Aug 2012 00:14:57 +0000]
sdhci: tegra: use t11x post reset for non 2x and 3x

Bug 1017708

Change-Id: Id18496c546cd204e654c1c49b6b7a060f0aef6c0
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/130114
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarm: tegra: dalmore: Add toshiba TC358770 bridge support
Animesh Kishore [Fri, 7 Sep 2012 10:04:42 +0000]
arm: tegra: dalmore: Add toshiba TC358770 bridge support

toshiba dsi to edp bridge chip.

Bug 1028789

Change-Id: I1427817e8fdbaedac3f9bb8fe5c91a1f62e47e9b
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/130099
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agosdhci: tegra: Disable HS200, Packed Command Support
naveenk [Wed, 5 Sep 2012 09:02:01 +0000]
sdhci: tegra: Disable HS200, Packed Command Support

Disable HS200, Packed Command Support for eMMC 4.5

Bug 1017708

Change-Id: Ia0d18d7cc257915c2fcf689964e5570106c31ceb
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/130022
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>