7 years agovideo: tegra: host: Remove version from dev name
Terje Bergstrom [Wed, 13 Jun 2012 08:57:59 +0000]
video: tegra: host: Remove version from dev name

Remove version from nvhost_device name, and use a new field,
version, to distinguish between IP versions. This restores the
sysfs API for 3D clock scaling back to its original path.

Change-Id: I444ef728b7cab9e5ea3a08f3c7be0f1661209686
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/108501
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agomedia: video: nvavp: Add nvhost to include path
Terje Bergstrom [Tue, 12 Jun 2012 10:45:52 +0000]
media: video: nvavp: Add nvhost to include path

Add nvhost directory to #include path. This allows making dev.h a
stub in a later commit.

Bug 982965

Change-Id: I651b619422c26a5dc6766ddb381bd05c1fd9c462
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/108226
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agovideo: tegra: dc: Move #includes from dc_priv.h
Terje Bergstrom [Tue, 12 Jun 2012 10:44:15 +0000]
video: tegra: dc: Move #includes from dc_priv.h

Move #include directives for nvhost headers from dc_priv.h to the
source files that need the #includes. This allows #including
dc_priv.h without access to all nvhost headers.

Also adds nvhost to the #include path of dc to allow making dev.h a
stub in a later commit.

Bug 982965

Change-Id: Icfe7084d295f57926195b178174f81047eb01187
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/108225
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: host: Parametrize host1x
Terje Bergstrom [Wed, 30 May 2012 12:28:19 +0000]
video: tegra: host: Parametrize host1x

Add parameters in host1x nvhost_device on
* number of sync points
* number of wait bases
* number of channels
* number of mlocks
* client managed bitmask
* naming of sync points

Add automatically generated headers and use symbols from them to
access hardware.

Move host1x device definition from generic host1x to SoC specific
source files t20.c and t30.c.

Bug 982965

Change-Id: Ibec84be22d75b363900d10bcbd59d4d8321d54a1
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104974
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agovideo: tegra: host: Register devices in SoC files
Terje Bergstrom [Tue, 22 May 2012 12:23:13 +0000]
video: tegra: host: Register devices in SoC files

Move the device structures to the driver source code files. Register
all nvhost_device's in one loop which is called from board file.

host1x driver code is moved to live under host1x, too. This causes
a need to add host to include path of tegradc and nvavp.

Bug 982965

Change-Id: If99cf9d1ef6bc24663ee8294c19370429ed04ca7
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104076
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agomedia: video: tegra: fix compilation warning
Juha Tukkinen [Tue, 12 Jun 2012 10:32:17 +0000]
media: video: tegra: fix compilation warning

Get rid of maybe-uninitialized warning when using 4.6 toolchain.

Bug 949219
Bug 999222

Change-Id: Id7c2187cb75293515e4018cac814bd7f2ce343a9
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/108218
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stefan Becker <stefanb@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

7 years agoARM: Tegra: Enable 900MHz at 1V on restricted pll_m
Graziano Misuraca [Fri, 18 May 2012 23:32:34 +0000]
ARM: Tegra: Enable 900MHz at 1V on restricted pll_m

Allow pll_m to reach 900MHz at 1V on T30, T33, T37
rev A02+ SKUs.

Bug 891320

Change-Id: Idbfb10014ae2a1d06abc3bc1d0bed59c583fac98
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/103453
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: Tegra: cardhu: Let emc to 450MHz on T33+ at 1V
Graziano Misuraca [Fri, 11 May 2012 00:35:33 +0000]
ARM: Tegra: cardhu: Let emc to 450MHz on T33+ at 1V

Change dvfs table to allow emc to hit 450MHz at 1V VDD_CORE.
Line in emc table is also used for T30/T30s but because
those can't reach 1350mV they should never use a 450MHz
bct and therefore jump from 400@1V to 800@1.2V as before.

Bug 973238

Change-Id: I4f1f96c959658e6f9aeca8841c2bfa86fe20cfb8
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/101868
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agodrivers: cpuquiet: fix error message
Peter De Schrijver [Mon, 11 Jun 2012 15:41:27 +0000]
drivers: cpuquiet: fix error message

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>

Change-Id: If04c699e002542bd8ce4b37b2367d7ec496c284e
Reviewed-on: http://git-master/r/107959
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoARM: tegra: dvfs: Update Tegra3 I/O dvfs tables
Alex Frid [Sat, 9 Jun 2012 00:38:40 +0000]
ARM: tegra: dvfs: Update Tegra3 I/O dvfs tables

Updated 0.95V entries in Tegra3 dvfs tables for nand, nor, spi, and
pwm clocks with recent characterization results. Removed usb, pcie,
and spdif dvfs since characterization allows running these interfaces
in the entire supported voltage range.

Bug 817679
Bug 841336

Change-Id: Iaaa2a3ff8b3c07915f1cb05e7b14da545428888e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/107779
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoARM: tegra: dvfs: Update Tegra3 display subsystem dvfs tables
Alex Frid [Fri, 8 Jun 2012 20:30:09 +0000]
ARM: tegra: dvfs: Update Tegra3 display subsystem dvfs tables

Updated 0.95V entries in Tegra3 dvfs tables for display and dsi
with recent characterization results. Removed hdmi and crt dvfs
since characterization allows running these modules at max rate
in the entire supported voltage range.

Bug 817679
Bug 841336

Change-Id: I28651a692e30a20536613460ea0e45155a530af7
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/107778
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoARM: tegra: dvfs: Update Tegra3 sclk and cbus dvfs tables
Alex Frid [Fri, 8 Jun 2012 20:03:58 +0000]
ARM: tegra: dvfs: Update Tegra3 sclk and cbus dvfs tables

Updated 0.95V entries in Tegra3 dvfs tables for sclk and cbus clocks
with recent characterization results.

Bug 817679
Bug 841336

Change-Id: I892690aea4c584b34be5dbfcbcd8b35abd86a997
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/107777
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agomedia: video: tegra: ar0832: Make focuser range, slew rate tunable
Naren Bhat [Thu, 17 May 2012 01:49:21 +0000]
media: video: tegra: ar0832: Make focuser range, slew rate tunable

The range parameters & slew rate from the blocks-camera are being passed
down to ODM and then to kernel. Generic structure added for sharing
the data between ODM and kernel instead of specific structure.

Bug 954874

Change-Id: I84656e36a5a2721c007de78aa5c20f5dfeb00361
Signed-off-by: Naren Bhat <nbhat@nvidia.com>
Reviewed-on: http://git-master/r/102077
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agovideo: tegra: dc: fix bug causing drawing before flipping
I-Gene Leong [Fri, 18 Nov 2011 02:49:15 +0000]
video: tegra: dc: fix bug causing drawing before flipping

The tegra_dc_trigger_windows function was improperly using the
WIN_x_UPDATE bits to determine when a flip has occurred instead of the
WIN_x_ACT_REQ bits. Without this change, it's possible for the postflip
syncpoint for a buffer to get incremented before it actually flips.
Still need to figure out why that's even possible...

Fixes bug 902955

Change-Id: I67ba093a0114646977cc8cb95a040ec4178cebfc
Reviewed-on: http://git-master/r/65389
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Nate Huang <nhuang@nvidia.com>
Tested-by: Nate Huang <nhuang@nvidia.com>
Reviewed-on: http://git-master/r/98024
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: usb_phy: Fixing HSIC port power code
Vinod Atyam [Tue, 12 Jun 2012 16:00:02 +0000]
ARM: tegra: usb_phy: Fixing HSIC port power code

Fixing the port power code for HSIC. During USB driver re-designing,
port power code was incorrectly merged. Fixing the code now.

Bug 889618
Bug 951061

Change-Id: I1b65662ed864343911abaffb58439ca2996543e7
Signed-off-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-on: http://git-master/r/108302
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: usb_phy: PMC changes for HSIC remote wakeup
Vinod Atyam [Fri, 8 Jun 2012 12:18:39 +0000]
ARM: tegra: usb_phy: PMC changes for HSIC remote wakeup

These are the changes for supporting HSIC remote wakeup
and phy-off in auto-suspend.

Bug 889618
Bug 951061

Change-Id: Ifd8144739c5dea49d8019b42b1a608dd13cc29be
Signed-off-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-on: http://git-master/r/107606
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: resolve compilation time warnings
Sanjay Singh Rawat [Tue, 12 Jun 2012 16:53:56 +0000]
ARM: tegra: resolve compilation time warnings

- Adding flag to treat warning as error.
- Handling warnings of unused variable, structures and functions,
wrong return type, wrong type comparision.

Bug 949219

Change-Id: I9d02387ce1073c4e46f69d01669285aa3754f1d9
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/104968
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoARM: tegra: enterprise: enable auto hotplug
Rakesh Bodla [Tue, 12 Jun 2012 14:26:49 +0000]
ARM: tegra: enterprise: enable auto hotplug

Enabling hotplug detection support for baseband
when it is crashed.

Bug 995784

Change-Id: I75b7a3b79fb8f9e7c6d58b14090637f794e38bad
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/108284
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Alexandre Berdery <aberdery@nvidia.com>
Reviewed-by: Alexandre Berdery <aberdery@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agoarm: tegra: p1852: revert previous nor freq change
Bob Johnston [Tue, 12 Jun 2012 11:43:21 +0000]
arm: tegra: p1852: revert previous nor freq change

nor frequency was changed inadvertently in a conflict
resolution.  Need to revert it back to proper value.

Bug 948478

Change-Id: I8d8f778a58b2df64c8fcbf85c182fe3a888d7c03
Signed-off-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-on: http://git-master/r/108247
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agosmsc95xx: Add module params to read MAC address
Manoj Chourasia [Sun, 12 Feb 2012 14:18:06 +0000]
smsc95xx: Add module params to read MAC address

This patch adds support for mac_addr module param

mac_addr : MAC address which will be assigned to the
above device. example
mac_addr=0x0,0x2,0x2,0x3,0x3,0x4

If EEPROM read fails for MAC address for a smsc
interface and if the mac_addr module param is set
then driver will set that device MAC address provided
in mac_addr. This can be set for only one device

bug 719410, bug 921146

Change-Id: I6eb0363951d91fad857b76af8a4a097cd0fb7623
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/108237
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agomedia: video: tegra: ov5650: enable DPC feature
Charlie Huang [Fri, 25 May 2012 18:35:42 +0000]
media: video: tegra: ov5650: enable DPC feature

enable Defective Pixel Correction block on sensor SOC.

bug 976218

Change-Id: I754200b7f625509950b061173c7e5de2a831d607
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/104776
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bhushan Rayrikar <brayrikar@nvidia.com>
Reviewed-by: Krupal Divvela <kdivvela@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Amy Deng <amyd@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Wei Chen <wechen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agovideo: tegra: dc: Use ref-count to mask vblank interrupt.
Kevin Huang [Fri, 8 Jun 2012 23:15:55 +0000]
video: tegra: dc: Use ref-count to mask vblank interrupt.

Bug 990586

Change-Id: I63da2bd0aaae86070718e0d769b8c9555db18547
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/107714
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agovideo: tegra: dc: Fix backlight on/off sequence
Mark Zhang [Thu, 31 May 2012 08:01:31 +0000]
video: tegra: dc: Fix backlight on/off sequence

Register backlight device after tegradc.0 and tegradc.1. This makes
sure turning on/off backlight in correct sequence and eliminates the
flicker during suspending and resuming.

Bug 964626

Change-Id: I16a545b0148faa341b2443c76d9ca4c7eb7f636c
Signed-off-by: Mark Zhang <markz@nvidia.com>
Reviewed-on: http://git-master/r/105611
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Peer Chen <pchen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agoAvoid aliasing mappings in DMA coherent allocator
Manoj Chourasia [Mon, 4 Jun 2012 11:55:43 +0000]
Avoid aliasing mappings in DMA coherent allocator

Avoid multiple mappings with DMA coherent/writecombine allocator by pre-
allocating the mappings, and removing that memory from the system memory
mapping.  (See previous discussions on linux-arm-kernel as to why this
is bad.)

NB1: By default, we preallocate 2MB for DMA coherent, and 2MB for write
combine memory, rather than 1MB for each in case 1MB is not sufficient
for existing platform usage.  Platforms have the option of shrinking
this down to 1MB DMA / 1MB WC (or even 2MB DMA / 0MB WC) if they so wish.
The DMA memory must be a multiple of 1MB, the write combine memory must
also be a multiple of 1MB, and the two together must be a multiple of
2MB.

NB2: On ARMv6/7 where we use 'normal uncacheable' memory for both DMA
and WC, the two pools are combined into one, as was the case with the
previous implementation.

The down side to this change is that the memory is permanently set aside
for DMA purposes, but I believe that to be unavoidable if we are to
avoid the possibility of the cache getting in the way on VIPT CPUs.

This removes the last known offender (at this time) from the kernel.

Given that DMA memory is fully coherent by this patch, cache
invalidation/clean is not required and so, we skip cache related
activities for the memory managed by the DMA layer. The bus
address -> virtual address conversion normally used in the calling
path and the fact that we remove kernel static mapping corresponding
to the DMA buffers leads to exceptions otherwise.

bug 876019
bug 965047
bug 987589

Change-Id: I72beb386605aafe1a301494a95a67d094ea6b2e4
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/106212
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agopower: smb349: fix I2C error when unplug ext power
Syed Rafiuddin [Thu, 7 Jun 2012 06:12:28 +0000]
power: smb349: fix I2C error when unplug ext power

When unplug the external power, SMB349 will reload the OTP setting.
It sometimes caused I2c errors. See bug 996103 and 991401.

Add a 50ms delay when hotplugging the external power to fix the
issue.

SMB349 might mistakenly detect dedicated USB charger as standard
USB device if plug in the USB at low speed. See Bug 996108.

Add a 500ms delay to fix the issue.

Bug 996103
Bug 996108
Bug 991401

Change-Id: I008a45fa221e9a566af64afb1988bbbd7a9f5c79
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/106684
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agomtd: tegra-nor: Fix dma/cpu coherency issues
Manoj Chourasia [Wed, 9 May 2012 11:15:06 +0000]
mtd: tegra-nor: Fix dma/cpu coherency issues

Call dma sync single api's to maintain coherency between
CPU, dma and device in data transfers.

bug 984029
bug 980884

Change-Id: I50b5a24a7ce482f473670347af3c75d6975c6060
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/105917
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoARM: tegra: p1852: defconfig: Enable PL310_ERRATA_727915
Manoj Chourasia [Fri, 8 Jun 2012 11:17:35 +0000]
ARM: tegra: p1852: defconfig: Enable PL310_ERRATA_727915

bug 820324

Change-Id: Ia4dec298b3c0cda8cb4e8572b46067b7d06b3758
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/107592
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: p1852: drive touch panel with resolution 1366x768
Dongfang Shi [Tue, 8 May 2012 22:24:25 +0000]
arm: tegra: p1852: drive touch panel with resolution 1366x768

Enable WXGA display and touch input for p1852 touch panel.

board-p1852-panel.c:
added WXGA timing for atmel touch panel.

board-p1852.c:
initialize touch panel if touch input is defined.

board-p1852.h:
added p1852 touch panel GPIO and bus.

tegra_p1852_gnu_linux_defconfig:
added touch panel flags, not defined by default.

bug 936232

Change-Id: Ia50b991f6aa5ed0ece458ad3871a68684a9234a6
Signed-off-by: Dongfang Shi <dshi@nvidia.com>
Reviewed-on: http://git-master/r/101348
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: Tegra: Kai: Move Raydium init declaration
Graziano Misuraca [Wed, 11 Apr 2012 19:03:47 +0000]
ARM: Tegra: Kai: Move Raydium init declaration

Move Raydium touch init declaration from board-specific
board-kai.h to generic board-touch.h

Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Change-Id: If82572a296ad6e5a3b1733827289e9b71a624176
Reviewed-on: http://git-master/r/95919
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoemc: tegra3: Change debug eack_state permissions
Hao Tang [Tue, 5 Jun 2012 11:24:37 +0000]
emc: tegra3: Change debug eack_state permissions

Remove write permission of eack_state for cts verification. The init script
will make it acessible on engineering builds

Bug 906796

Change-Id: I1b5d77f4ee3d0e39106840eca0c53e6347c34ea1
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/106668
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agoinput: touchscreen: rmi: Change permissions
Hao Tang [Tue, 5 Jun 2012 10:39:42 +0000]
input: touchscreen: rmi: Change permissions

Remove write permission for cts verification. The init script
will make it acessible on engineering builds

Bug 906796

Change-Id: I43170f61871018d15a710c1a75b5298dffec6f87
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/106667
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agovideo: tegra: host: Add config option for timeout
Terje Bergstrom [Tue, 29 May 2012 10:54:54 +0000]
video: tegra: host: Add config option for timeout

Add configuration variable for default timeout for clients. Set it to
30s for silicon and infinity for simulation.

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

7 years agoarm: tegra: p1852: Remove unwanted audio clocks
Nitin Pai [Fri, 8 Jun 2012 07:40:52 +0000]
arm: tegra: p1852: Remove unwanted audio clocks

Audio Sync clocks should be set at driver level.
Removing this hack as the TDM driver sets the clocks now.

Bug 948478

Change-Id: Ie001b601e740f22852a4dbb6b89a225a263208ee
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/107534
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Manoj Chourasia <mchourasia@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agoasoc: max98095: probe with no device there fix
Rhyland Klein [Wed, 6 Jun 2012 19:28:40 +0000]
asoc: max98095: probe with no device there fix

There is path through which registering a card will fail to probe,
but that error code is not propogated back to the tegra machine
driver. To catch this case in the machine driver's probe routine,
we need to ensure that after registering the card, the card is
instantiated and fail probe if not.

Change-Id: I64ba952685ef193a3b248502943771c518396808
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-on: http://git-master/r/106837
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agovideo: tegra: dc: Clock-gate display modules dynamically.
Kevin Huang [Wed, 6 Jun 2012 17:48:18 +0000]
video: tegra: dc: Clock-gate display modules dynamically.

Bug 936337
Bug 899053

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

7 years agovideo: tegra: host: Abstract nvmap support
Terje Bergstrom [Thu, 31 May 2012 12:04:53 +0000]
video: tegra: host: Abstract nvmap support

Abstract nvmap support to one file, and use it via function pointers
from other parts of nvhost.

Bug 965206

Change-Id: I4e5e7de4271e0797d117ac8210af4732b6018973
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/105665
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoARM: tegra: p1852: remove tegra_gpio_enable/tegra_gpio_disable
Mohit Kataria [Tue, 5 Jun 2012 08:54:40 +0000]
ARM: tegra: p1852: remove tegra_gpio_enable/tegra_gpio_disable

tegra_gpio driver supports configuring gpio when direction is set.
So removed tegra_gpio_enable/tegra_gpio_disable from p1852 board
file.

Bug 984442

Change-Id: I176b99fb277e01d0ef426c793ce0d1b3bbbb847d
Signed-off-by: Mohit Kataria <mkataria@nvidia.com>
Reviewed-on: http://git-master/r/105902
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agovideo: tegra: host: Initialize host1x generic irq
Terje Bergstrom [Mon, 4 Jun 2012 10:16:34 +0000]
video: tegra: host: Initialize host1x generic irq

Initialize host1x generic irq at bootup.

Bug 971602

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

7 years agommc: proactively issue bkops_start and refresh
Mohit Kataria [Tue, 5 Jun 2012 09:35:31 +0000]
mmc: proactively issue bkops_start and refresh

Adding CMD56 implementation.
Doing the following for manfid 0x90 and FW revisions 0x73 and
0x7b (both are non-standard custom FW):
1. Adding change to issue BKOPS_START whenever 20 seconds have gone
by without any slow write operations.
2. Adding change to issue CMD56 to refresh (custom feature) 1 block
whenever 60 seconds have gone by without any slow write operations.

Corresponding changes are already there in embedded branches:
http://git-master/r/#change,93247
http://git-master/r/#change,97555

Bug 847037.
Bug 874256.
Bug 963737.

Change-Id: Ie36b52620a75320abfedc36d1408647b36eddb46
Signed-off-by: Vishal Singh <vissingh@nvidia.com>
Reviewed-on: http://git-master/r/102259
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Luis Dib <ldib@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

7 years agopower: smb349: added debugfs to dump registers.
Linqiang Pu [Mon, 4 Jun 2012 13:22:34 +0000]
power: smb349: added debugfs to dump registers.

also cleanup the driver code to remove warnings and indent issue.

Change-Id: I6fd81a369be9141a5819bf086078bc609360efd8
Signed-off-by: Linqiang Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/106682
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agousb: ehci: tegra: fix HSIC bus reset issues.
Vinod Atyam [Fri, 8 Jun 2012 09:24:06 +0000]
usb: ehci: tegra: fix HSIC bus reset issues.

Corrected wIndex in the hub control to call the bus reset sequence properly.

Change-Id: I7d410262d55ad4ad5acfe72e8725616238f863ac
(cherry picked from commit fee4a582584e24e93b9c43446a0d223664d70e6b)
(cherry picked from commit f8b775561696979ad08f53ea3b3c571bc07734bb)
Reviewed-on: http://git-master/r/107593
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agofat: Remove FAT Directory Bread message
naveenk [Fri, 27 Apr 2012 06:33:50 +0000]
fat: Remove FAT Directory Bread message

Remove FAT Directory Bread message which is
causing timing issues.

Bug 992496

Change-Id: Ieb58e38bf8ac81f6c0558361f9f296a8e9071b33
Signed-off-by: venkata jagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/105354
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agoARM: tegra: cardhu: enable DSI panel support
Rakesh Iyer [Sun, 27 May 2012 18:55:33 +0000]
ARM: tegra: cardhu: enable DSI panel support

Allow for DSI panel support to be present in release builds.
Removed CONFIG_TEGRA_CARDHU_DSI config variable.

Bug 978305.

Change-Id: I2b34fa5c5331de897d2b753da90e26278a6b7870
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/106919
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agomedia: video: tegra: Update ad5816 focuser driver
Sudhir Vyas [Fri, 1 Jun 2012 12:42:41 +0000]
media: video: tegra: Update ad5816 focuser driver

Modify code structure and incorporate
few review comments raised in base change
of ad5816 driver implementation.

Bug 947792

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

7 years agoMerge remote branch 'origin/android-tegra-nv-3.1' into HEAD
Tom Cherry [Fri, 8 Jun 2012 05:47:04 +0000]
Merge remote branch 'origin/android-tegra-nv-3.1' into HEAD

7 years agoARM: tegra3: usb: USB1_UTMIP_XCVR_CFG0_0 value changed
Rakesh Bodla [Thu, 7 Jun 2012 11:59:15 +0000]
ARM: tegra3: usb: USB1_UTMIP_XCVR_CFG0_0 value changed

Changed USB1_UTMIP_XCVR_CFG0_0 register value with values
provided by sys-eng
* Implemented algo as described on Bug 974236
* Added variable 'usb_calib_mask' in 'usb platform data' to
make distinction on how many bits to mask in usb_calib_0 fuse

Bug 978870
Bug 972436

Change-Id: I71f27b0cf5ffe33a9896238b01c52650ca632352
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/103308
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoRevert "usb: ehci: tegra: fix hsic enum failure"
Rakesh Bodla [Thu, 7 Jun 2012 10:41:20 +0000]
Revert "usb: ehci: tegra: fix hsic enum failure"

This is not merged properly reverting the change.
This reverts commit 3b080222a7b37c31fe73be90c3e681096f8b82dd.

Change-Id: Icb07c67bdff69a41685f7f8b038cf38306566789
Reviewed-on: http://git-master/r/107001
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: enterprise: Add builtin host support for enterprise
Venu Byravarasu [Thu, 7 Jun 2012 09:32:47 +0000]
arm: tegra: enterprise: Add builtin host support for enterprise

bug 947300

Change-Id: I22200b5f3657d08d59d202cb6c5c3cf551c18026
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/106984
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agousb: otg: tegra: Add builtin host support to tegra OTG
Venu Byravarasu [Thu, 7 Jun 2012 09:31:27 +0000]
usb: otg: tegra: Add builtin host support to tegra OTG

bug 947300

Change-Id: Ib9f1b796faa94d8424cfca41c7ec29d5360ef60c
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/106983
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agousb: Add builtin_host support to platform data structure
Venu Byravarasu [Thu, 7 Jun 2012 09:27:12 +0000]
usb: Add builtin_host support to platform data structure

Add builtin_host variable to tegra USB platform data structure

bug 947300

Change-Id: I0c5efd245a63c4331959f18faf316f1632e1801e
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/106982
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: tegra: usb: Fixing phy close sequence
Venu Byravarasu [Thu, 7 Jun 2012 09:25:04 +0000]
arm: tegra: usb: Fixing phy close sequence

bug 947300

Change-Id: I1f696030adbdc79d08b30783565d9b195f9e2891
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/106981
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoARM: tegra: Set NVC config for cardhu-focusers
Sudhir Vyas [Thu, 7 Jun 2012 07:12:27 +0000]
ARM: tegra: Set NVC config for cardhu-focusers

* NVC framework provides NVC_CFG_NODEV config for all
NVC compliant camera drivers to make sure to delete
the device nodes which are not found in I2C probing.
This config is not set for all focuser modules on PM269,
which introduces the issue.

* Earlier only sh532u focuser was suppose to be on
cardhu, hence this error condition did not get triggered
but newly added focuser has exposed this error.

* Set NVC_CFG_NODEV for both sh532u and ad5816 focusers.

* Add regulator supply for cam2 ad5816 focuser, it fixes
camera crash on first reboot on E1198 cardhu and I2C
warnings.

Bug 992611
Bug 995072

Change-Id: I3382a896e4e246a0a323bd13ae0889b6701351c7
Signed-off-by: Sudhir vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/106960
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>

7 years agoARM: tegra: enterprise: Remove tegra_gpio_enb/dis
Ashwini Ghuge [Tue, 5 Jun 2012 05:02:36 +0000]
ARM: tegra: enterprise: Remove tegra_gpio_enb/dis

Removing tegra_gpio_enable and disable calls
from board files as they are supported through
set direction calls in the driver

Bug 984439

Change-Id: I011fc1ec52b31b1b0602d577f02a6d20f37e402d
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/102773
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agoARM: tegra: cpu: enable VDD_CPU rail before LP to G transition
Joseph Lo [Thu, 29 Mar 2012 06:46:33 +0000]
ARM: tegra: cpu: enable VDD_CPU rail before LP to G transition

When doing LP to G transition, it had a power up latency on VDD_CPU
rail. To reduce the latency, CPU_LP can trun on the VDD_CPU rail
before the LP to G transition.

Bug 930985

Change-Id: I087e185ea5aa90f309b8cafba9bc4bb7d3fc950c
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/93141
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoARM: tegra: dvfs: Separate Tegra3 single core dvfs table
Alex Frid [Tue, 29 May 2012 20:16:05 +0000]
ARM: tegra: dvfs: Separate Tegra3 single core dvfs table

On Tegra3 added mechanism to alter dvfs table between single and
multiple CPU cores. This mechanism is dormant since no single-core
table is available yet.

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

7 years agoARM: tegra: dvfs: Alter CPU dvfs on EDP events
Alex Frid [Sun, 27 May 2012 04:54:36 +0000]
ARM: tegra: dvfs: Alter CPU dvfs on EDP events

Extended EDP processing of cpu up/down events with calls to alter CPU
dvfs table. This is in addition to already supported changing of CPU
dvfs on EDP thermal event. For now, added calls do not actually alter
the table.

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

7 years agoARM: tegra: dvfs: Re-factor CPU alternative dvfs
Alex Frid [Sun, 27 May 2012 03:12:01 +0000]
ARM: tegra: dvfs: Re-factor CPU alternative dvfs

Removed alternative frequencies table from dvfs structure, and
replaced it with table pointer to facilitate future support for
multiple alternative tables. Actually supported alternative dvfs
table (Tegra3 CPU cold zone table) is not changed.

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

7 years agomm: Ensure pte and pmd stores ordering.
Krishna Reddy [Tue, 29 May 2012 23:29:10 +0000]
mm: Ensure pte and pmd stores ordering.

Bug 974153
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>

Change-Id: I294a93eca0b395c8c2639a7d6a2d29c54447ae37
Reviewed-on: http://git-master/r/105215
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Vinod Rex <vrex@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

7 years agoRevert "usb: otg: tegra: change logic for 'from' in irq_work"
Ankit Pashiney [Wed, 6 Jun 2012 22:50:05 +0000]
Revert "usb: otg: tegra: change logic for 'from' in irq_work"

This reverts commit d92da78335899834f8f667eb7c865aaf47bdff48.

Change-Id: I433bacc1d2b0a57a49057895593eb30f8b410d45
Reviewed-on: http://git-master/r/106885
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
Tested-by: Ankit Pashiney <apashiney@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

7 years agocpuquiet: Added cpuquiet to driver Makefile.
Peter De Schrijver [Fri, 30 Mar 2012 09:58:13 +0000]
cpuquiet: Added cpuquiet to driver Makefile.

Change-Id: I41a722eabdca139f443964b8c6440a8bf768bd31
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105275
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agoARM: tegra: cpuquiet driver for Tegra3
Peter De Schrijver [Fri, 30 Mar 2012 09:56:08 +0000]
ARM: tegra: cpuquiet driver for Tegra3

Change-Id: Id7427bab50c6e285efe76afa234435bc984fc011
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/105274
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agocpuquiet: Makefile for cpuquiet framework
Peter De Schrijver [Fri, 30 Mar 2012 08:18:38 +0000]
cpuquiet: Makefile for cpuquiet framework

Change-Id: Ia071b03c6073c514b99457e35ebbd65ef32a6906
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105273
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agocpuquiet: Makefile for governors
Peter De Schrijver [Fri, 30 Mar 2012 08:46:09 +0000]
cpuquiet: Makefile for governors

Change-Id: I33018bb5db39f2881a3defc55758681cfb1d6284
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105272
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agocpuquiet: balanced governor
Peter De Schrijver [Fri, 30 Mar 2012 08:45:48 +0000]
cpuquiet: balanced governor

This is a port of the existing governor logic in cpu-tegra3.c.

Change-Id: Id79e6fc697dd0de85242fb2471bbed3d10101693
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105271
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agocpuquiet: userspace governor
Peter De Schrijver [Fri, 30 Mar 2012 08:44:32 +0000]
cpuquiet: userspace governor

Change-Id: If9830d423b1751cbe9493eda0a85f88e7003173f
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105270
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agocpuquiet: governor support
Peter De Schrijver [Fri, 30 Mar 2012 08:42:17 +0000]
cpuquiet: governor support

Change-Id: I05b9dedc04bb3b2ddba6202a002c1e5514ec4777
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105269
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agoARM: Config for cpuquiet framework
Sai Charan Gurrappadi [Wed, 23 May 2012 18:38:28 +0000]
ARM: Config for cpuquiet framework

Change-Id: I61b19497d88821f39cec8605f24028c7d7fda126
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/105268
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agocpuquiet: sysfs interfaces
Peter De Schrijver [Fri, 30 Mar 2012 08:43:21 +0000]
cpuquiet: sysfs interfaces

Change-Id: Idb454f7380c48e2f4bab20e6ae51fef577b0f6c5
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105267
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agocpuquiet: driver support
Peter De Schrijver [Fri, 30 Mar 2012 08:40:44 +0000]
cpuquiet: driver support

Change-Id: I4f3f67d4459eeda519efdfd80e1283bef2d597e3
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105266
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agocpuquiet: public interfaces for cpuquiet
Peter De Schrijver [Fri, 30 Mar 2012 08:38:47 +0000]
cpuquiet: public interfaces for cpuquiet

Change-Id: Ie391d6d11fad7b76b0bf5daff67ac46663651dc0
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105265
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agocpuquiet: Kconfig
Sai Charan Gurrappadi [Wed, 23 May 2012 18:30:47 +0000]
cpuquiet: Kconfig

Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>

Change-Id: I930dedaa3bf7b2c64bc61f28c3461f125cca2f44
Reviewed-on: http://git-master/r/105264
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agocpuquiet: base files
Peter De Schrijver [Fri, 30 Mar 2012 08:35:36 +0000]
cpuquiet: base files

Change-Id: I611b72a2e63fffc788bc6c7594c738d5ad65e06f
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105263
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agovideo: tegra: dc: blank windows on shutdown
Jon Mayo [Tue, 5 Jun 2012 19:57:54 +0000]
video: tegra: dc: blank windows on shutdown

Clear out all overlays and disable DC on .shutdown

Change-Id: I4bc78fddb0ed8bd621733df191f305ecb279e3f7
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/106549
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agotty: serial: tegra-hsuart: Add check for platform data
Manoj Chourasia [Tue, 5 Jun 2012 11:19:42 +0000]
tty: serial: tegra-hsuart: Add check for platform data

It is not necessary that all platform do register platform
data for tegra HS uart. platfrom_data pointer should
be checked before accessing it.

Added a check for same.

bug 995731

Change-Id: I2dbbaa4387157b92b29bc7b8eacefad23372427e
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/106451
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agoRevert "ARM: defconfig: Remove SYSRQ support."
Gaurav Sarode [Tue, 5 Jun 2012 10:41:53 +0000]
Revert "ARM: defconfig: Remove SYSRQ support."

We need SYSRQ during reboot to remount all the partitions as RO.
Otherwise all the partitions will be corrupted.

This reverts commit 2eea8dc6392dadce503ed9a9f709da3cab8d11ad

Bug 978676

Change-Id: I6d04ac284da174c161fb61f9f590715d4e6ac470
Signed-off-by: Gaurav Sarode <gsarode@nvidia.com>
Reviewed-on: http://git-master/r/106447
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agousb: ehci: tegra: fix hsic enum failure
Vinayak Pane [Thu, 31 May 2012 00:14:18 +0000]
usb: ehci: tegra: fix hsic enum failure

HSIC device enumeration is broken after usb common
phy changes. Setting correct hsic config in port_power
and repairing wIndex in hub_control.

Bug 991485

Change-Id: Ic2873879070cba8a06fb2cadc40d6c46158f71e9
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/105513
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoasoc: tegra: Fix setting rate for clk_audio_2x
Nitin Pai [Thu, 24 May 2012 11:46:03 +0000]
asoc: tegra: Fix setting rate for clk_audio_2x

- For slave mode, clk_audio_2x needs to be
programmed to bitclock value. Setting this frequency
is not possible if the parent clock has different
frequency. Hence change the parent of this clock
to i2s_sync clock first before setting the rate.
- Fixed setting uninitialized variables.

Bug 948478

Change-Id: Ieb4656e6e114d3a9b815f44003a476c4b9892059
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/104445
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agomedia: video: tegra: resolve compilation warnings
Sanjay Singh Rawat [Mon, 4 Jun 2012 11:51:36 +0000]
media: video: tegra: resolve compilation warnings

- Adding flag to treat warning as error.
- Warnings handled are unused functions, wrong C coding style, function argument
mismatch.

Bug 949219

Change-Id: I52cf5298ba552747dd4292af5b20db5ac8993cb0
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/106208
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

7 years agousb: otg: tegra: Enable ID_WAKEUP in otg suspend
Rakesh Bodla [Mon, 4 Jun 2012 11:45:35 +0000]
usb: otg: tegra: Enable ID_WAKEUP in otg suspend

Disabling the ID_WAKEUP in the suspend causing the
otg state to change to host, so disabling it in otg
suspend. Also, renaming the readl calls to otg_readl
call.

Bug 993390

Change-Id: I2789ea31fefe4425eb63b6be3e70d794bddcfd83
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/106177
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: dc: new file for bandwidth calc
Jon Mayo [Fri, 1 Jun 2012 18:56:04 +0000]
video: tegra: dc: new file for bandwidth calc

Move bandwidth calculation logic into its own file.

Change-Id: I57f58a6399805eede8783fea922c6f07dcbd54cb
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/106291
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

7 years agomisc: rfkill: rephrase gpio warning messages
Preetham Chandru [Mon, 4 Jun 2012 08:29:31 +0000]
misc: rfkill: rephrase gpio warning messages

The current BCM4329 rfkill driver assumes usage of 2 GPIOs
known as RST and SHUTDOWN and the driver makes a particular
GPIO mandatory. Some of the platforms does not define both
GPIOs, instead a single either RST/SHUTDOWN GPIO is used to
setup the chip.
Hence print a less alarming message if gpio is not found.

Bug 975333
Signed-off-by: Preetham Chandru r <pchandru@nvidia.com>

Change-Id: I229844d9d5dfc94ea00bb086d1091ac41bf97b99
Reviewed-on: http://git-master/r/106158
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agovideo: tegra: dc: remove unused function
Jon Mayo [Sat, 2 Jun 2012 03:05:58 +0000]
video: tegra: dc: remove unused function

removed tegra_dc_hdmi_mode_equal.
It was replaced by tegra_dc_hdmi_cvt_mode_equal

Change-Id: I7988d02a1c0b91eed88fdf573d8c993b6ee7be8d
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/106074
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agovideo: tegra: dc: fix unused variable warning
Jon Mayo [Fri, 1 Jun 2012 23:18:45 +0000]
video: tegra: dc: fix unused variable warning

remove and rename unused variable in tega_dc_get_stride
Signed-off-by: Jon Mayo <jmayo@nvidia.com>

Change-Id: I0d101de22c08609f9727469ad7e4708de8de59ef
Reviewed-on: http://git-master/r/106072
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoarm: tegra: cardhu: enable touchscreen for E1506 panel
Rakesh Iyer [Sun, 27 May 2012 18:58:56 +0000]
arm: tegra: cardhu: enable touchscreen for E1506 panel

Enable Atmel Mxt touchscreen for E1506 panel.

Bug 978305.

Change-Id: I57b02e4a9b3180e8114a96d5f9a8e075df166260
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/104895
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agoARM: tegra: cardhu: add support for E1506 panel
Rakesh Iyer [Thu, 10 May 2012 20:24:53 +0000]
ARM: tegra: cardhu: add support for E1506 panel

Add support for 720p DSI panel on the E1506.

Bug 978305.

Change-Id: If76d2754eebc9e612c2ce006fa73ead7ebb1a109
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/104894
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agoMerge commit 'main-ics-2012.06.04-A5' into HEAD
Tom Cherry [Tue, 5 Jun 2012 18:41:56 +0000]
Merge commit 'main-ics-2012.06.04-A5' into HEAD

Conflicts:
drivers/media/video/tegra/nvavp/nvavp_dev.c

Change-Id: I7779b0ce58004f80cccf6193148ac49551ce5da5

7 years agovideo: tegra: dc: remove tegra_dc_host_trigger
Jon Mayo [Fri, 1 Jun 2012 20:24:24 +0000]
video: tegra: dc: remove tegra_dc_host_trigger

The function tegra_dc_host_trigger() is no longer used, removing it.

Change-Id: I929450bdf0224779910e8569bc8d1b3edb93f12d
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/106075
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: dsi: remove build warnings
Jon Mayo [Sat, 2 Jun 2012 02:59:57 +0000]
video: tegra: dsi: remove build warnings

Added void to function prototypes and initialized some variables.

Change-Id: I69250f5e17560f900fffddec9697e496af6ad4d2
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/106073
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: xmm: changing mdelay and add wait_event
Vinayak Pane [Tue, 15 May 2012 22:38:37 +0000]
arm: tegra: xmm: changing mdelay and add wait_event

baseband_xmm_power has delays related to CP sync-up.
Changing these delays from mdelay() to msleep and
usleep_range.

Adding wait_event mechanism to wait for L2->L0

Bug 932574

Change-Id: Ie33a3f1cc0a798e592f00153435b0135713213ea
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/102689
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

7 years agolightsensor: adding LIGHTSENSOR_IOCTL_SET_DELAY
Sachin Nikam [Mon, 4 Jun 2012 12:20:15 +0000]
lightsensor: adding LIGHTSENSOR_IOCTL_SET_DELAY

Introducing LIGHTSENSOR_IOCTL_SET_DELAY to set the polling interval

Bug 993924

Change-Id: I3a4513799d3d96b9c3b701c1194b31562bf8f1e2
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/106185
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agolightsensor: cm3217: increasing polling_dealy for als
Sachin Nikam [Fri, 1 Jun 2012 10:15:04 +0000]
lightsensor: cm3217: increasing polling_dealy for als

- Increasing default polling_delay from 500mS to 1000mS
  to reduce unnecessary cpu hogging
- Supporting LIGHTSENSOR_IOCTL_SET_DELAY to have facility
  to set delay from sensor HAL
- Less prints spew on console by changing pr_info -> pr_debug

Bug 993924

Change-Id: Iac0770553a1d426e4953aa4c8ff976b6cdc8fd81
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/105898
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agovideo: tegra: dc: Export dispay feature table.
Kevin Huang [Thu, 31 May 2012 23:55:15 +0000]
video: tegra: dc: Export dispay feature table.

Bug 992947

Change-Id: I0d1ecc9f8f042956cbe631779260a38573936616
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/105776
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agovideo: tegra: nvsd: Fix Phase In Issue with Aggressiveness
Matt Wagner [Thu, 31 May 2012 01:03:39 +0000]
video: tegra: nvsd: Fix Phase In Issue with Aggressiveness

Change to correct behavior for changing settings while
phase_in_adjustments is set.  Manual K values should not be overridden
in the case where DIDIM was on and aggressiveness was changed.
They should maintain state to avoid flickering.

Bug 992995

Change-Id: Ic35c32a0fd5c6caaeee147dff114649ea25770c5
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/105523
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agovideo: tegra: nvmap: Use config option NVMAP_CACHE_MAINT_BY_SET_WAYS
Krishna Reddy [Wed, 23 May 2012 23:10:32 +0000]
video: tegra: nvmap: Use config option NVMAP_CACHE_MAINT_BY_SET_WAYS

Change-Id: I762929a0d72a0b26aa1451a946993f4a57806fd4
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/104292
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Hiro Sugawara <hsugawara@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoOF: Add of_match_ptr() macro
Ben Dooks [Wed, 3 Aug 2011 09:11:42 +0000]
OF: Add of_match_ptr() macro

Add a macro of_match_ptr() that allows the .of_match_table
entry in the driver structures to be assigned without having
an #ifdef xxx NULL for the case that OF is not enabled

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
(cherry picked from commit 3a1e362e3f3cd571b3974b8d44b8e358ec7a098c)

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

7 years agogpio: Convert tps65910 to a platform driver
Laxman Dewangan [Fri, 11 May 2012 16:18:27 +0000]
gpio: Convert tps65910 to a platform driver

Make the gpio-tps65910 as platform driver and register
this from tps65910 core driver as mfd sub device.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 10bbc48d7a045c022a54f637c0c6b72f0e38b519)

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

7 years agomfd: Fix tps65910 build failure
Samuel Ortiz [Fri, 11 May 2012 13:10:28 +0000]
mfd: Fix tps65910 build failure

The tps65910_parse_dt() prototype for !CONFIG_OF was not correct, leading to:

drivers/mfd/tps65910.c: In function ‘tps65910_i2c_probe’:
drivers/mfd/tps65910.c:218:3: error: too many arguments to function ‘tps65910_parse_dt’

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 7f65f74ccee15f6eb0009921a428e3c5d5d06ae0)

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

7 years agomfd: Register tps65910 gpios as an mfd device
Laxman Dewangan [Fri, 11 May 2012 13:07:44 +0000]
mfd: Register tps65910 gpios as an mfd device

As gpio support for tps65910 is on gpio driver, registering
gpio support as the mfd sub devices instead of calling gpio_init()
from the core probe.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 32df986e985921386b75b4bd1117102bf65fe095)

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

7 years agomfd: Convert all tps65910 allocation to devm_*
Laxman Dewangan [Fri, 11 May 2012 10:36:57 +0000]
mfd: Convert all tps65910 allocation to devm_*

Convert memory allocation and regmap initialization to
use devm_* functions.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 63fe7dee9183118716078a9f2503f5f805d37c12)

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

7 years agomfd: Cache tps65910 register when we need it
Laxman Dewangan [Wed, 9 May 2012 13:10:54 +0000]
mfd: Cache tps65910 register when we need it

During regmap initialization, we do not provide the default value and
hence in place of caching register during regmap_init(), cache it
when actually we need it i.e. after reading of that register.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 3bf6bf9be51a0195c6b1604454fdd28ed1cc1770)

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