5 years agoasoc: rt5640 codec: Fix compilation warnigs
Vijay Mali [Fri, 21 Jun 2013 05:07:02 +0000]
asoc: rt5640 codec: Fix compilation warnigs

Remove unused variables

Bug 1274537

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

5 years agovideo: tegra: nvavp: add support for vde.emc
Kevin Huang [Sun, 26 May 2013 07:07:43 +0000]
video: tegra: nvavp: add support for vde.emc

vde.emc is required to know whether video playback is
going on or not. Display efficiency rate is set to 45%
if both dc.emc and vde.emc is enabled.

vde.emc clock is enabled when non-zero avp.emc clock
rate is requested and is disabled when zero avp.emc clock
is requested.

Bug 1266369

Change-Id: Ic1de7145763a41a8adf11a9e1cd7a1cd723f46e2
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/232614
Reviewed-by: Soumenkumar Dey <sdey@nvidia.com>
Tested-by: Soumenkumar Dey <sdey@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agokeyboard: tegra: handle multiple isr calls on single key press
Laxman Dewangan [Thu, 20 Jun 2013 07:01:52 +0000]
keyboard: tegra: handle multiple isr calls on single key press

There is multple ISR get called when pressing keys. It should get
only call single interrupt per key press independnet for the system
state, Active or in Sleep.

Fixing this issue.

bug 1277289

Change-Id: Iba3ef0ba1babe91cf60f7e9dcc8bc27c43ec4986
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Reviewed-on: http://git-master/r/240484

5 years agoARM: tegra: clock: change iso efficiency when vde is on.
Kevin Huang [Sun, 26 May 2013 06:30:24 +0000]
ARM: tegra: clock: change iso efficiency when vde is on.

Add vde.emc node. Change the display efficiency rate to 45% once
dc.emc and vde.emc are both enabled.

Bug 1266369

Change-Id: If66f10d31c198bddcc18090d28639cd3beea86de
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/232804
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoARM: Tegra: Dalmore: disable SPDIF_IN and USB_VBUS_EN0 pullups
JC Kuo [Thu, 9 May 2013 13:26:55 +0000]
ARM: Tegra: Dalmore: disable SPDIF_IN and USB_VBUS_EN0 pullups

There are already external 100K ohms pullups for VBUS Over-current
detection pins, so it's not necessary to enable internal pullups.

Bug 1255160

Change-Id: I38cd64836baf6a342156f87104b0c125ccddf121
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/227058
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Tested-by: Joy Wang <joyw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra: update edp parameters init for t11x
Diwakar Tundlam [Mon, 10 Jun 2013 23:09:43 +0000]
arm: tegra: update edp parameters init for t11x

Updated leakage and dynamic parameters to compute EDP table fro T114
based on latest characterization data.

Bug 1304350

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

5 years agoarm: tegra: refactor edp parameters init
Diwakar Tundlam [Mon, 10 Jun 2013 21:27:35 +0000]
arm: tegra: refactor edp parameters init

Move common numeric values to be macro-based to avoid duplicates

Bug 1304350

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

5 years agoarm: tegra: refactor Tegra11x leakage and dynamic model
Diwakar Tundlam [Wed, 15 May 2013 21:37:48 +0000]
arm: tegra: refactor Tegra11x leakage and dynamic model

Move t11x leakage parameters to tegra11_edp.c file.
Allow scaling factors to be defined per chip type.

Bug 1304350

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

5 years agousb: otg: tegra: disable/enable vbus based on cable status
Rohith Seelaboyina [Wed, 19 Jun 2013 08:58:33 +0000]
usb: otg: tegra: disable/enable vbus based on cable status

vbus should be enabled based on cable status after
resuming from LP0.

Bug 1298859

Change-Id: If93010b5cbdf3bf6c6e464bdf80b70362f81df7d
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/240459
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>

5 years agoARM: tegra: XUSB wake enable
Bitan Biswas [Wed, 19 Jun 2013 00:42:16 +0000]
ARM: tegra: XUSB wake enable

Problem:
SS root port wake from LP0 on disconnect is not working since
recent change to T11x wake table

Reason:
WAKE58 entry was removed causing the regression

Fix:
Added WAKE58 entry INT_XUSB_PADCTL to wake irq table for T11x

bug 1286802
bug 1310428

Change-Id: I1ba401c6245a94ee3fd2fce816e4ad40ba716f88
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/239944
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Joy Wang <joyw@nvidia.com>
Tested-by: Joy Wang <joyw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoregulator: palmas: make sure disable boost during suspend for SMPS10
Laxman Dewangan [Tue, 18 Jun 2013 11:11:57 +0000]
regulator: palmas: make sure disable boost during suspend for SMPS10

If flag for SMPS10 has the disable_boost_on_suspend is true then
make sure that boost of SMPS10 is disabled.

If any regulator is using this then defer the boost disable and
disable when client actually disable the smps10.

bug 1291841

Change-Id: Ia03d29f68132f87b970d4df8402b3cdd4dba95df
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/239722
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoARM: Tegra11: Add LPDDR3 iso emc calculator
Daniel Solomon [Tue, 11 Jun 2013 04:07:05 +0000]
ARM: Tegra11: Add LPDDR3 iso emc calculator

Add variable iso emc calculator for LPDDR3, which
returns iso emc share percentage based on requested
iso bandwidth.

Bug 1266369
Bug 1259082

Change-Id: Ie97625ca5da11baeb60988ba2c65a6db76ad0209
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/237466
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoARM: tegra: clock: Support variable iso share calculator
Alex Frid [Sat, 8 Jun 2013 05:26:23 +0000]
ARM: tegra: clock: Support variable iso share calculator

Added and option to calculate iso share for each use case based on
iso bw (instead of fixed share across entire bw range).

Bug 1259082

Change-Id: Ic995e445bd2daa6e02b0b247ca01ddb3d72196b1
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/237038
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agousb: otg: tegra: add vbus control in otg driver
Rohith Seelaboyina [Thu, 13 Jun 2013 10:35:13 +0000]
usb: otg: tegra: add vbus control in otg driver

If USB port has OTG support, allow the OTG driver
to control the vbus.

Bug 934024
Bug 1298859

Change-Id: Ib129ee2d1f60c18ae17afa146421cab0acca7141
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/238465
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agousb: host: tegra: disable pmc before going to LP0
Rohith Seelaboyina [Thu, 13 Jun 2013 10:18:08 +0000]
usb: host: tegra: disable pmc before going to LP0

Disable pmc before going to LP0 irrespective of
whether it is otg port or not.

Bug 934024
Bug 1298859

Change-Id: I84c38cddc53a9af7b80fdb1347b839698d4ea007
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/238464
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoARM: tegra: add usb_vbus entry for OTG driver
Rohith Seelaboyina [Tue, 18 Jun 2013 04:49:41 +0000]
ARM: tegra: add usb_vbus entry for OTG driver

If USB port has OTG support, allow the OTG driver
to control the vbus. Adding the usb_vbus entry
for OTG driver.

Bug 934024
Bug 1298859

Change-Id: I91452336cd84b8fd4cb50dbff2df56e12ed1041a
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/238463
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agousb: gadget: tegra:fix non-standard charger detection
Rakesh Bodla [Mon, 17 Jun 2013 11:24:43 +0000]
usb: gadget: tegra:fix non-standard charger detection

Fixing the non standard charger type detection. Also,
fix commit messages and free pm_qos request during
driver unregistration.

Bug 1281401

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

5 years agovideo: tegra: dc: hdmi: defer resume regulator enable
Jon Mayo [Tue, 4 Jun 2013 20:50:12 +0000]
video: tegra: dc: hdmi: defer resume regulator enable

On suspend/resume, defer the blocking regulator enable. Place this slow path
in the dedicated hotplug thread.

bug 1299936
bug 1294872

Change-Id: I61a835c2c37dcae47697482e0023b68684ff19dc
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/239058
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoARM: tegra: emc: Disable ACPD during MRRs
Alex Waterman [Tue, 28 May 2013 23:20:21 +0000]
ARM: tegra: emc: Disable ACPD during MRRs

Disable ACPD during mode register reads - based on the T148 code that
does the same.

Bug 1297488

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

5 years agovideo: tegra: dc: apply clock WAR to t11x.
Kevin Huang [Sat, 15 Jun 2013 21:07:24 +0000]
video: tegra: dc: apply clock WAR to t11x.

Bug 1271058
Bug 1275386

Change-Id: I1d6918c580e5787978451566f8a365737e1f6adc
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/239408
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Youngjin Kim <nkim@nvidia.com>
Tested-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agovideo: tegra: dc: WAR of SHIFT_CLK_DIV update.
Kevin Huang [Tue, 29 Jan 2013 23:12:52 +0000]
video: tegra: dc: WAR of SHIFT_CLK_DIV update.

Bug 1225291
Bug 1161019

Change-Id: I699e64a1f6464eeddae5275a55cd2b285badc698
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/195272
(cherry picked from commit 880d4dc1ce348e66509f6cb50fcd1683856e0f26)
Reviewed-on: http://git-master/r/239407
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Youngjin Kim <nkim@nvidia.com>
Tested-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoARM: tegra: macallan: correct ldo controls
Terry Wang [Mon, 17 Jun 2013 07:53:44 +0000]
ARM: tegra: macallan: correct ldo controls

1. Disable always on for ldo6 so that it can be turn off when lp0.

Bug 1294590

Change-Id: Iac27fda163309cc78951f085be9eb034a2ac5df3
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/239246
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hayden Du <haydend@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agovideo: tegra: Check force update in fb pan display
Mark Zhang [Thu, 13 Jun 2013 05:39:12 +0000]
video: tegra: Check force update in fb pan display

Now we'll not update the dc if the x & y offset are not changed
in fb pan display.

But this doesn't work for console switch(e.g: switch from a X server
to a fbcon). The x/y offset will not change but we still need to
update the dc to show the framebuffer console.

So add one more check here: if the update is forced, we'll keep
going to update the dc.

bug 1259633

Change-Id: Ibbb1216151ba34729e438ada62f90eba38758088
Signed-off-by: Mark Zhang <markz@nvidia.com>
Reviewed-on: http://git-master/r/234082
Reviewed-by: Pankaj Dabade <pdabade@nvidia.com>
Tested-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoARM: tegra: tegratab: change kbc debounce time by 30
Simon Je [Mon, 10 Jun 2013 12:46:46 +0000]
ARM: tegra: tegratab: change kbc debounce time by 30

Bug 1298483

Change-Id: I2d13cc7bbfdc749182bc9614863c1cd013c47171
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/237213
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agortc: palmas: read correct register for getting alarm timer
Laxman Dewangan [Mon, 17 Jun 2013 15:22:41 +0000]
rtc: palmas: read correct register for getting alarm timer

Fix register address for reading back alarm timer.

bug 1308789

Change-Id: Ifdeef951d02c6c7906acd70d54d614f36d644458
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/239336
(Cherrypicked commit 9c145e9c1bd1c404536f003dc1b70176340d1798)
Reviewed-on: http://git-master/r/239724
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: tegra: Programming Palmas SWOFF_COLDRST register
Harry Hong [Mon, 17 Jun 2013 02:47:29 +0000]
ARM: tegra: Programming Palmas SWOFF_COLDRST register

Programming poweron_lpk bit of SWOFF_COLDREST register
based on poweron_lpk value in pdata.
if it's 0, the system off type by long press key  is power down.
if it's 1, the system off type by long press key is restart.

bug 1308187

Change-Id: I904195350e0165fecec68941455240e7a5f26186
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/239170
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoARM: tegra: tegratab: set long key time
Harry Hong [Fri, 14 Jun 2013 07:48:04 +0000]
ARM: tegra: tegratab: set long key time

Normal boot: 8sec.
Charger boot: 12sec.

bug 1308187

Change-Id: Ia08874a67923d65a676b73223f7a7d238a01e0df
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/238807
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agovideo: tegra: dc: don't blank DC before disabling
Victor Ryabukhin [Wed, 12 Jun 2013 09:12:21 +0000]
video: tegra: dc: don't blank DC before disabling

Blanking the screen before DC disable is redundant and might cause
momentary screen flash (screen off -> on -> off) in case if DC receives
flip ioctl after screen was blanked.

This also makes DC shutdown process similar to FB_BLANK_POWERDOWN.

Bug 1299434

Change-Id: I9d3713bae4cc4511c7beb0cef22499cb9b3b5d64
Signed-off-by: Victor Ryabukhin <vryabukhin@nvidia.com>
Reviewed-on: http://git-master/r/237914
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agonet: wireless: bcmdhd: Enable flag QUEUE_BW for RBE
Kenneth Tateno [Fri, 7 Jun 2013 20:57:01 +0000]
net: wireless: bcmdhd: Enable flag QUEUE_BW for RBE

Enable QUEUE_BW to support Realtime Bandwidth
estimation for user applications.

Note that this flag is enabled only for bcm43241

Bug 1190552

Change-Id: Ib6c527bb09fb96d18fd0b8ef68f0d0527dbfe7c3
Signed-off-by: Kenneth Tateno <ktateno@nvidia.com>
Reviewed-on: http://git-master/r/236895
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas J. Meier <tmeier@nvidia.com>
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Amit Chaudhary <amitc@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoARM: tegra11: dvfs: Update T40DC Vmin in PLL mode
Alex Frid [Sun, 16 Jun 2013 06:32:42 +0000]
ARM: tegra11: dvfs: Update T40DC Vmin in PLL mode

Minimum voltage in PLL mode for T40DC sku is different (0.9V4) from
other skus (0.9V) that share the same cpu dvfs tables. Updated T40DC
Vmin respectively.

Bug 1161126

Change-Id: Ibea2c32bbfa2dd44256d2a344aca4a3b852e17e7
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/239141
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM: tegra11: dvfs: Increase max AMX/ADX clock rate
Alex Frid [Sun, 16 Jun 2013 06:03:06 +0000]
ARM: tegra11: dvfs: Increase max AMX/ADX clock rate

Increased maximum AMX/ADX clock rate from 19.91MHz to 24.73MHz.

Bug 1161126

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

5 years agoARM: tegra: power: Disable CL-DVFS clock on LP1 entry
Alex Frid [Sun, 16 Jun 2013 02:11:15 +0000]
ARM: tegra: power: Disable CL-DVFS clock on LP1 entry

Disabled CL-DVFS logic clock on LP1 entry, and re-enabled it during
resume. If running DFLL is in open loop in LP1, and there is no need
to clock closed loop logic.

Change-Id: I097aa431d99cd24d1dd6a409ad37faecf8f579dd
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/239134
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: tegra: macallan: update edp estates
Charlie Huang [Wed, 5 Jun 2013 21:27:44 +0000]
ARM: tegra: macallan: update edp estates

to enable edp support on the as3648 flash device.

bug 1299134

Change-Id: Id406de86b1cb5a5bafd1cf146e5c6852666f4eac
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/236031
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agomedia: video: tegra: as364x: add edp client
Charlie Huang [Wed, 5 Jun 2013 21:25:12 +0000]
media: video: tegra: as364x: add edp client

enble edp support on as364x.

bug 1299134

Change-Id: Id8154b26103015101eeab8772efc77a1717e89a0
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/236030
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoInput: touch: raydium: Update to Raydium v56.1 driver
Xiaohui Tao [Thu, 6 Jun 2013 17:17:12 +0000]
Input: touch: raydium: Update to Raydium v56.1 driver

Raydium code drop

Jump directly from v51 to v56.1

V52 Changes (Beta) (Roth only):
[1]  Add Kernel control architecturee (SlowScan/SetIdle/Start/End..)
[2]  New parameter loading architecture
[3]  Refine ESD solution for MP
[4]  Re-fine self-test procedure for MP
[5]  Load calibration file from environment variable path
[6]  Fix the LP0 2 sec delay issue
[7]  Fix finger on the screen during boot up issue
[8]  This version only support Roth platform
[9]  Refine coding style (4/16)
[10] Newer parameter modifier apk (4/16)
[11] Newer architecture for idle mode power saving has some problem,
     please ignore the idle mode verification on this trial version  (4/16)

V53 Changes (Beta) (Roth only):
[1]  Save calibration file from environment variable path
[2]  Refine selftest threshold

V54 Changes (Beta) (Roth only):
[1]  Fix the hard code file path to environment variable path
[2]  Remove the redundancy message in kernel layer

V54.1 Changes (Beta) (Roth only):
[1]  Refine environment variable path mechanism
[2]  Add test version field for debugging
[3]  Enable environment variable path debug msgs

V54.2 Changes (Beta) (Roth only):
[1] Refine coding style
[2] Add kernel command entries
[3] Using kernel command instead of hard-coded in suspend/resume routine
[4] Using lower report rate during idle mode to fix CPU ain't got into idle mode (5 Hz)

V55.0 Changes (Beta) (Roth only):
[1]  Fix idle mode issue & increase report rate
[2]  Add error handling block for kernel table loading
[3]  Refine coding style

V55.1 Changes (Beta) (Roth only):
[1]  Refine parameter for factory test
[2]  Add copy file from TOUCH_CONF_DIR in parameter loading
[3]  Turn on loading file logcat msgs

V55.2 Changes (Beta) (Roth only):
[1]  Remove unnecessary code
[2]  Add GPIO interface for future sensor select
[3]  Refine selftest procedure
[4]  Refine calibration procedure

V55.3 Changes (Beta) (Roth only):
[1]  Add support to disable power and clock when display is off
[2]  Parameter fine-tune

V55.4 Changes (Beta) (Roth only):
[1]  Fix CTS test failure in service transaction return
[2]  Fix stub command error return

V55.5 Changes (Beta):
[1]  Suppor roth/pluto/dalmore

V55.6 Changes (Beta):
[1]  Refine coding style
[2]  Parameter fine tune for pluto/dalmore

V55.7 Changes (Beta):
[1]  Parameter fine tune for pluto/dalmore

V55.8 Changes (Beta):
[1]  Parameter fine tune for pluto(Orientation setting for RM31081)

V55.9 Changes (Beta):
[1]  Refine resume control flow
[2]  Modify touch WDT function
[3]  Touch start/stop control flow modification

V55.10 Changes (Beta):
[1]  Set REST as the following
    Suspend
      1. Pull RESET low
      2. Disable clk and power
      3. Pull RESET high
    Resume
      1. Pull RESET low
      2. Enable power ,clk
      3. Pull RESET high

V56 Changes:
[1]  Fix CTS fail error

V56.1 Changes:
[1]  Fix CTS fail error
[2]  Shorten suspend/resume duration

Bug 1278869
Bug 1283619
Bug 1297187
Bug 1280093
Bug 1257642
Bug 1245549
Bug 1245404

Change-Id: I04acd5001e6ec675c3a4ddf2db892e0886d36303
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/234223
(cherry picked from commit 5fa1e1fc06f4607d2f87c1739938fa41a5182e35)
Reviewed-on: http://git-master/r/236354
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: dalmore: Add camera power rails
Sudhir Vyas [Tue, 11 Jun 2013 09:19:52 +0000]
ARM: tegra: dalmore: Add camera power rails

Add missing camera power rails definitions for palmas
regulator driver, which is being used for dalmore A05.

Bug 1287827

Change-Id: I8d2de4564e3f4860072bd8d0894f29a11a86f26a
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/237560
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agomedia: video: tegra: ad5816: revert power change
Phil Breczinski [Fri, 14 Jun 2013 02:29:08 +0000]
media: video: tegra: ad5816: revert power change

Partially revert previous commit which left focuser power on after
sensor probe.

Bug 1283378

Change-Id: I303e4947d5ad51acfa3d4c1a852f50da182ec3dc
Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com>
Reviewed-on: http://git-master/r/238737
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agomedia: tegra: relocate ov5693 streaming on/off
Jake Park [Fri, 7 Jun 2013 13:16:37 +0000]
media: tegra: relocate ov5693 streaming on/off

- Relocate streaming_off to the start of set_mode() and
  streaming_on to the end of set_mode().
- Fix some variable name and register address errors.

Bug 1271714
Bug 1270541
Bug 1264961

Change-Id: I6e692c43ad2b6aaa7c58f73a513899bd6440dfa7
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/236773
(cherry picked from commit 15d0555e7c0bbd0677e29232e806633016af2651)
Reviewed-on: http://git-master/r/237163
Reviewed-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoarm: tegra: tegratab: set pull_up for GMI_AD17 pin
Harry Hong [Tue, 11 Jun 2013 07:19:06 +0000]
arm: tegra: tegratab: set pull_up for GMI_AD17 pin

To avoid spurious uart input in case of no uart debug module connected,
set uartd_rx pin to pull_up.

bug 1305248

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

5 years agoARM: tegra11: power: Update core edp error reporting
Alex Frid [Fri, 7 Jun 2013 02:52:40 +0000]
ARM: tegra11: power: Update core edp error reporting

Bug 1200217

Change-Id: Ib4057f921651b4aa7cc17c073088bd9f98d53384
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/236557
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM: tegra11: power: Add AP40 core edp tables
Alex Frid [Fri, 7 Jun 2013 02:26:17 +0000]
ARM: tegra11: power: Add AP40 core edp tables

Bug 1200217

Change-Id: Ib68414030e932d75ba4275aec19ceff34e90329d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/236556
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM: tegra11: power: Add T40S core edp tables
Alex Frid [Fri, 7 Jun 2013 02:10:58 +0000]
ARM: tegra11: power: Add T40S core edp tables

Bug 1200217

Change-Id: Ia4b38122fb1e52ef01e41c117be1db431b178dad
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/236555
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM: tegra11: power: Update T40X core edp tables
Alex Frid [Wed, 5 Jun 2013 06:35:51 +0000]
ARM: tegra11: power: Update T40X core edp tables

Bug 1200217

Change-Id: I8e19fd426538f853293fd392e69f3ac2d3189ba6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/236554
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM: tegra11: power: Use process id to select core edp table
Alex Frid [Wed, 5 Jun 2013 06:09:53 +0000]
ARM: tegra11: power: Use process id to select core edp table

Bug 1200217

Change-Id: Icb6ab1ac7d2fa5bd8fb63bafa337d1493488e6c0
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/236553
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agommc: core: Make update_devfreq call conditional
R Raj Kumar [Wed, 12 Jun 2013 13:50:26 +0000]
mmc: core: Make update_devfreq call conditional

update_devfreq should be called after the device registered
with devfreq.
Use devm_kzalloc instead of kzalloc for dynamic memory allocation.
devfreq_init for mmc device should be called if it is enumerated
in HS200 mode only and no need to call devfreq_init in resume cycle.

Bug 1294659

Change-Id: Id45d1ff8a66ee5ca65168775fc286ae4ddf7fd3e
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/238040
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agommc: tegra: No vcore overrides after low freq tuning
Pavan Kunapuli [Mon, 10 Jun 2013 11:35:07 +0000]
mmc: tegra: No vcore overrides after low freq tuning

SDMMC at low frequency doesn't have any constraints on core voltage.
Do not set core voltage overrides at the end of low freq tuning.

Bug 1303348

Change-Id: I70acc0624feb7a466069720e4023bb64ac83f37e
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/237193
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoconfig: cardhu: reconfig wifi
Mursalin Akon [Wed, 12 Jun 2013 20:56:25 +0000]
config: cardhu: reconfig wifi

reconfig wifi for l4t

Bug 1298575
Bug 1302539

Change-Id: If72ee2430dc8ca8185a1e651db5f39032f9d4541
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/238124
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoarm: tegra: tegratab: set smps6 to 3.3V
Min-wuk Lee [Thu, 13 Jun 2013 12:05:26 +0000]
arm: tegra: tegratab: set smps6 to 3.3V

3.3V setting for AVDD_LCD

Bug 1301312

Change-Id: I7a6fdc2ca3d153c0c8d5adf41a5d8c6afdf031e4
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/238503
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoARM: tegra: remove duplicated fb2 clear on macallan, tegratab
Min-wuk Lee [Wed, 15 May 2013 08:03:32 +0000]
ARM: tegra: remove duplicated fb2 clear on macallan, tegratab

fb2 clear is duplicated since it is handled
in tegra_init_hdmi

Bug 1270114
Bug 1301312

Change-Id: Icf6033c4dc64edb2013fa95ecf711e35519b2e5a
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/228744
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agovideo: tegra: Consider all windows while calculating emc bandwidth
Mark Zhang [Fri, 7 Jun 2013 03:16:22 +0000]
video: tegra: Consider all windows while calculating emc bandwidth

Userspace may send request to disable 1 window(e.g: win 2). In that
case, we can't just do the emc bandwidth requirement on 1 window,
because other windows(win 0, win 1) maybe is alive.

So change the code to calculate the emc bandwidth requirement based
on all windows in dc.

Bug 1285981

Change-Id: I3b834b072f0c08b8bbdafc0cabfdb52c8ac216c0
Signed-off-by: Mark Zhang <markz@nvidia.com>
Reviewed-on: http://git-master/r/236175
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoARM: tegra: tegratab: change pen hall sensor gpio
Youngjin Kim [Mon, 10 Jun 2013 11:07:48 +0000]
ARM: tegra: tegratab: change pen hall sensor gpio

Change stylus pen detect hall sensor GPIO for P1640-A01 revision.

Bug 1297696

Change-Id: I50549fd168a03946e3370e6d23d61203e299d0d6
Signed-off-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-on: http://git-master/r/237187
Reviewed-by: Simon Je <sje@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: tegratab: memory: correct MC_GRANT_DECREMENT value
Min-wuk Lee [Fri, 7 Jun 2013 08:32:14 +0000]
ARM: tegra: tegratab: memory: correct MC_GRANT_DECREMENT value

This is due to an incorrect value for GRANT DECREMENT in the DVFS table for
frequencies less than 400 MHz (EMC clock). On T114, we are always using
MC:EMC freq of 1:2. However, the code for calculating GRANT DECREMENT in the
DVFS table logic assumes MC:EMC freq of 1:1 at EMC freq < 400. Therefore,
the value in the DVFS table at EMC < 400 is double what it should be.

Bug 1299452
Bug 1277921

Change-Id: I5de80bc1b46e425e372cc5b461e425060553a3c3
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Reviewed-on: http://git-master/r/236614
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: tegratab: Add generic-adc-thermal supports
Jinyoung Park [Thu, 13 Jun 2013 13:30:13 +0000]
ARM: tegra: tegratab: Add generic-adc-thermal supports

Added generic-adc-thermal devices for Thermistor and Tdiode thermal
management using ADC.

Bug 1287901

Change-Id: Id15fe9e2cd3943089d67fa8d4944fa10e5e0c394
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/238548
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoARM: tegra: tegratab: Add Palmas GPADC platform data
Jinyoung Park [Tue, 11 Jun 2013 10:09:12 +0000]
ARM: tegra: tegratab: Add Palmas GPADC platform data

Added Palmas GPADC platform data to enable Palams GPADC driver.
And added iio_maps in the platform data to allow consumer to use
Palmas GPADC via IIO framework.

Bug 1287901

Change-Id: I5affeec02360d95bddac64311451946a8e31dd19
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/238547
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoARM: tegra: config: tegratab: Enable GENERIC_ADC_THERMAL config
Jinyoung Park [Thu, 13 Jun 2013 13:35:28 +0000]
ARM: tegra: config: tegratab: Enable GENERIC_ADC_THERMAL config

Bug 1287901

Change-Id: I32d5fe7676004a69dd3137c241ba23e47688b430
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/238546
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoThermal: Add generic ADC thermal sensor using IIO framework
Jinyoung Park [Thu, 13 Jun 2013 12:00:04 +0000]
Thermal: Add generic ADC thermal sensor using IIO framework

Added generic ADC thermal sensor driver using ADC drivers supported by
IIO framework for thermal management.

Bug 1287901

Change-Id: Ic6fdb0fef4476c1d2a91ffcd9d18cba07dfb2d8d
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/238545
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Edward Riegelsberger <eriegels@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra: config: tegratab: Enable PALAMS_GPADC config
Jinyoung Park [Tue, 11 Jun 2013 05:02:54 +0000]
ARM: tegra: config: tegratab: Enable PALAMS_GPADC config

Bug 1287901

Change-Id: If93d1aec722c1c69ab7fef7986b371f00ca6595f
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/238544
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agostaging: iio: adc: palmas: Add iio_maps for consumer mapping
Jinyoung Park [Thu, 13 Jun 2013 09:37:21 +0000]
staging: iio: adc: palmas: Add iio_maps for consumer mapping

Added iio_maps to associate iio channels with consumers.

Bug 1287901

Change-Id: I11fdb73213dbd07d9e92a11d4c883028a37905d2
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/238543
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agomfd: palmas: Add GPADC platform data
Jinyoung Park [Tue, 11 Jun 2013 09:14:37 +0000]
mfd: palmas: Add GPADC platform data

Added GPADC platform data in mfd_cells structure to call
platform_device_add via mfd_add_devices.

Bug 1287901

Change-Id: I08479d92c94dc0b7b492d259d6ae3a75b9b51205
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/238542
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoiio: Move iio headers to inclulde/linux/iio
Jinyoung Park [Thu, 13 Jun 2013 07:08:08 +0000]
iio: Move iio headers to inclulde/linux/iio

Moved iio headers to include/linux/iio to refer out of iio.

Bug 1287901

Change-Id: Ie73ebe5886e1951cdf8b6a2452769608bd77e59a
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/238541
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoregulator: palams: Correct number of SMPS voltages
Jinyoung Park [Thu, 23 May 2013 08:35:45 +0000]
regulator: palams: Correct number of SMPS voltages

The number of SMPS voltages(PALMAS_SMPS_NUM_VOLTAGES) should be 117,
but currently it's 116.

PALMAS_SMPS_NUM_VOLTAGES = (max_mV - min_mV) / step_mV + 0mV
                         = (3300mV - 1000mV) / 20mV + 1
                         = 116 + 1 = 117

Bug 1291181

Change-Id: I4aca6f58992be11f038a756726b599fd2f507897
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/232049
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Tested-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: Tegra: cpuquiet: use nr_cpu_ids isntead of NR_CPUS
Graziano Misuraca [Thu, 13 Jun 2013 20:33:20 +0000]
ARM: Tegra: cpuquiet: use nr_cpu_ids isntead of NR_CPUS

Bug 1307544

Change-Id: Icf58253bd145e58d48692178bf2ca244202931d3
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/238616
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agomedia: video: tegra: fix IMX135 line noise issue
Frank Chen [Thu, 13 Jun 2013 02:08:09 +0000]
media: video: tegra: fix IMX135 line noise issue

Change AD5816 focuser drive mode from switching
to linear in order to reduce the line noises in
sensor frames.

Bug 1299338

Change-Id: I030aab939730a577f5138e44cd24379c66588437
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/238242
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sean Pieper <spieper@nvidia.com>
Reviewed-by: Katharine Ip <kip@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: EDP: Allow enforcing max-freq caps based on tables
Diwakar Tundlam [Mon, 3 Jun 2013 21:40:06 +0000]
arm: tegra: EDP: Allow enforcing max-freq caps based on tables

In addition solving for max-freq using leakage/dynamic formula, some
platforms require capping based on EDP tables published in the spec.
Adding support for this.

Bug 1281159

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

5 years agoARM: tegra11: clock: Update emc dvfs in clock resume
Alex Frid [Thu, 13 Jun 2013 05:28:16 +0000]
ARM: tegra11: clock: Update emc dvfs in clock resume

Added emc dvfs update in clock resume in case when emc parent has been
changed across suspend (this update would also happen automatically
during resume of any driver with emc shared user, so this change is
"just in case" there is no driver that resumes emc shared users).

Change-Id: I4d4cf8092df52752c2f574e100b7128387dfad13
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/238333
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>

5 years agoARM: tegra11: clock: Turn Off memory PLLs in resume
Alex Frid [Thu, 13 Jun 2013 04:10:13 +0000]
ARM: tegra11: clock: Turn Off memory PLLs in resume

Turned Off memory PLLs (PLLM or PLLC) in clock resume if they are left enabled
by LP0 or LP1 exit code, but not used as EMC clock sources.

Change-Id: I017e79007873d8d4b918853e08e0cc27a424e310
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/238332
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>

5 years agoarm: tegra: Fix incorrect register usage in lp1 suspend
Karthik Ramakrishnan [Thu, 6 Jun 2013 23:32:55 +0000]
arm: tegra: Fix incorrect register usage in lp1 suspend

The register r0 is being used as TEGRA_CLK_RESET_BASE
address, and r5 is used as tegra3_sdram_pad_save register.
These registers were used incorrectly here.

Bug 1270351

Change-Id: Ie16f65ca1ba37fdbe560336adba586c053e8bde6
Signed-off-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Reviewed-on: http://git-master/r/237708
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoarm: tegra: EDP: Config to enable fixed EDP freq caps
Diwakar Tundlam [Wed, 5 Jun 2013 22:12:51 +0000]
arm: tegra: EDP: Config to enable fixed EDP freq caps

Added the config option for T11x. Default is disabled.

Bug 1281159

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

5 years agommc: tegra: Dynamic freq calculation for SD
R Raj Kumar [Wed, 12 Jun 2013 14:03:48 +0000]
mmc: tegra: Dynamic freq calculation for SD

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

Bug 1294659

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

5 years agommc: core: add device freq scaling for SD
R Raj Kumar [Wed, 12 Jun 2013 13:41:27 +0000]
mmc: core: add device freq scaling for SD

Added devfreq_init call for SD.

Bug 1294659

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

5 years agoasoc: tegra: add use_codec_jd_irq to allow AP to be able to use codec irq
Simon Je [Tue, 11 Jun 2013 06:24:53 +0000]
asoc: tegra: add use_codec_jd_irq to allow AP to be able to use codec irq

Bug 1287224

Change-Id: I1e9d76cd1a6a0d3a0f90c7453afa98387e5129f3
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/237530
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoarm: tegra: tegratab: use CDC_IRQ to detect jack hotplug
Simon Je [Mon, 10 Jun 2013 09:04:36 +0000]
arm: tegra: tegratab: use CDC_IRQ to detect jack hotplug

From DVT A01, we need to use CDC_IRQ for jack detection instead of
HEAD_DET, to avoid negative swing into T114.

Bug 1287224

Change-Id: I0f47b24b02172d11ae67160b0c0a8d306fae04b1
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/237174
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoasoc: codecs: add codec irq init to detect jack
Simon Je [Mon, 10 Jun 2013 08:50:05 +0000]
asoc: codecs: add codec irq init to detect jack

add codec irq init func in order to trigger interrupt to AP
when hotpluging jack

Bug 1287224

Change-Id: Iff617a74ef50f7833e270be84d308208129f83eb
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/237173
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoasoc: tegra: Add reset for SPDIF controller
Rahul Mittal [Tue, 11 Jun 2013 07:27:33 +0000]
asoc: tegra: Add reset for SPDIF controller

Add soft reset for SPDIF

Since SPDIF soft reset does not work for T11x,
added WAR proposed by HW to reset spdif controller

Bug 966770

Change-Id: Ifd871c585aae3c25f8dc9416e596c7a176e1ea3e
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/236300
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

5 years agoARM: tegra: dalmore: Enable SDIO freq scaling
Pavan Kunapuli [Tue, 11 Jun 2013 11:15:00 +0000]
ARM: tegra: dalmore: Enable SDIO freq scaling

Bug 1238045

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

5 years agovideo: tegra: dsi2edp: add ASSR support
Ken Chang [Thu, 30 May 2013 06:09:19 +0000]
video: tegra: dsi2edp: add ASSR support

Enable TC358770A ASSR if eDP panel is connected
and the panel supports ASSR.

Bug 1295551
Bug 1211053

Change-Id: I99e831f060b64524f92643325472f346f42ff285
Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: http://git-master/r/234379
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Bruce Yang <kuoyuany@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: edp: table show support for T40DC
Diwakar Tundlam [Wed, 12 Jun 2013 23:52:31 +0000]
arm: tegra: edp: table show support for T40DC

Bug 1300607

Change-Id: I19a5381e3e68632f2f06deb7400a33419f320590
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/238189
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra: pluto: set the MAX77665 OC alert current
Xin Xie [Sat, 8 Jun 2013 01:14:10 +0000]
ARM: tegra: pluto: set the MAX77665 OC alert current

bug 1298931

Change-Id: Iea46c10c53a1fe76d09d386f45f05f2da7de1d7d
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/237770
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agopower: max77665-charger: config OC current from board file
Xin Xie [Sat, 8 Jun 2013 00:23:44 +0000]
power: max77665-charger: config OC current from board file

Currently we hard wired the OC current to 3.25A on MAX77665. But
different board could use different setting, or do not use MAX77665 to
generate OC alert.

This patch use the board file to config OC current.

bug 1298931

Change-Id: I87872b6c7bc052efec680683dee6cde571359d84
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/237769
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoASoC: Tegra: Fix for negative dam ifc during voice call
Vijay Mali [Tue, 11 Jun 2013 15:33:24 +0000]
ASoC: Tegra: Fix for negative dam ifc during voice call

Check return value of configure_dam function.
Add error message and graceful exit path in
make_voice_call function when DAM controller
allocation fails.

Bug 1274653

Change-Id: I9924c256113c73fb3208c1e0e7225cb485022ca4
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/237664
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: tegra: tegratab: pwm freq to 48MHz
Min-wuk Lee [Fri, 7 Jun 2013 06:25:46 +0000]
ARM: tegra: tegratab: pwm freq to 48MHz

Bootloader PWM freq KHz is set to 48MHz and its parent is PLLP.
If PWM frequency is set to different and lower one in kernel begin,
a little flicker can be observed until pwm is configured by
backlight device driver.

Bug 1299402

Change-Id: I1ab1e0e97c952d908fe746a5d5caccfe0ddaa7c6
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/236579
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agonet: wireless: sd8897/sd8797: Update WLAN/BT driver
Marc Yang [Sat, 1 Jun 2013 02:09:40 +0000]
net: wireless: sd8897/sd8797: Update WLAN/BT driver

Signed-off-by: Marc Yang <yangyang@marvell.com>

Update SD8897 and SD8797 WLAN driver
Add SD8897 and SD8797 BT drivers

Bug 1256420
Bug 1279040
Change-Id: I3338479450b1b6716a1e3b899e33de92850c9e85
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235723
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agonet: wireless: 8797/8897: Add SUSPEND/RESUME flags
Marc Yang [Fri, 31 May 2013 02:14:31 +0000]
net: wireless: 8797/8897: Add SUSPEND/RESUME flags

Add SUSPEND/RESUME flags to Makefiles of SD8897 and SD8797 WLAN drivers

Signed-off-by: Marc Yang <yangyang@marvell.com>

Bug 1279040
Bug 1256420
Change-Id: I2d0518c38b6003a96d3c7447a8a64210ffc319dc
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235722
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agonet: wireless: sd8797: Update SD8797 WLAN driver
Marc Yang [Sat, 11 May 2013 00:48:52 +0000]
net: wireless: sd8797: Update SD8797 WLAN driver

Signed-off-by: Marc Yang <yangyang@marvell.com>

Bug 1279040
Change-Id: Ifee06a06feb304b039f62f2a3730dc4f04f1e7b5
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235721
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agohwmon: ina230: fix negative current reading
Xin Xie [Tue, 4 Jun 2013 01:27:55 +0000]
hwmon: ina230: fix negative current reading

bug 1298931

Change-Id: If0037afb285b88dde11fe5f40def8f8fe9727c56
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/235215
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra: pluto: enable INA230/INA231/HPA01112 current sensing
Xin Xie [Tue, 4 Jun 2013 01:23:46 +0000]
arm: tegra: pluto: enable INA230/INA231/HPA01112 current sensing

Note: HPA01112, INA230 and INA231 are similar devices and using the same
driver.

This patch will set correct calibration for the INA230 on Pluto platform
based on the battery in-serial resistor value and max battery current.

After this patch will can read back battery current and power correctly
using the INA230.

This patch also leave comment on how to enable the over-current(OC)
throttling using the INA230 device. It is not enabled on the Pluto
platform currently because MAX77665 is used for the OC throttling.

bug 1298931

Change-Id: I37f40e0d3a9ca14314af4f7ee5a5007c5665581f
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/235214
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: PMU POWER off when boot with charger mode
Hyongbin Kim [Fri, 7 Jun 2013 10:09:05 +0000]
ARM: tegra: PMU POWER off when boot with charger mode

Some charger detected as SDP but it fails enumeration because it is not PC-USB.
In this case, it makes continuous reboot.
power off in charger mode -> PMU reset -> VBUS poweron -> charger mode ->
not detected charger-> power off in charger mode.
Also, this change prevent continuous reboot in detecting charger error case.

Bug 1242042
Bug 1304013

Change-Id: I086fa17ea912b745d9fa0cd21526b78a7215bb44
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/236708
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoarm: dt: tegra: tegratab: Change OV5693 device name
Frank Chen [Tue, 11 Jun 2013 01:30:27 +0000]
arm: dt: tegra: tegratab: Change OV5693 device name

Change OV5693 device name from "camera" to
"camera.5693".

Bug 1301059

Change-Id: I5d6b88c1ae3d529deb4f6411a558bdb77e385b7f
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/237443
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com>
Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoarm: tegra: tegratab: Change OV5693 device name
Frank Chen [Tue, 11 Jun 2013 01:33:45 +0000]
arm: tegra: tegratab: Change OV5693 device name

Change OV5693 device name from "camera" to
"camera.5693".

Bug 1301059

Change-Id: I66714c952a3b539f683ab8f10df7938e01b7189a
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/237442
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agomedia: video: tegra: fuse id support
Phil Breczinski [Thu, 6 Dec 2012 23:17:50 +0000]
media: video: tegra: fuse id support

Adds support to read fuse ID from OTP memory on
ov2710, ov9726, ov9772,  ar0832, and imx091 sensors.
Also includes macro-enabled fuse ID programming for
ov2710.  Adjusts data structure used by fuse ID ioctl
to include a field for fuse ID size.

Required by nvcamera version 1.8.0
Required by NVCS version 4.10.0

Bug 1198663

Change-Id: Ib3bb0e100e49aea2c6ce13cd069862476d7f4bb6
Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com>
Reviewed-on: http://git-master/r/169187
(cherry picked from commit 0ce57617ee1f735759333a589aa2890559053fe0)
Reviewed-on: http://git-master/r/232254
Reviewed-by: Brian Bamsch <bbamsch@nvidia.com>
Tested-by: Brian Bamsch <bbamsch@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoarm: tegra: tegratab: enable wifi 32K clk per board revision
Harry Hong [Tue, 11 Jun 2013 08:29:23 +0000]
arm: tegra: tegratab: enable wifi 32K clk per board revision

wifi 32K clk source
ERS(E1569) : clk_32k_out
DVT1(P1640_A00) : clk3_out
DVT2(P1640_A01) : PMIC 32K out

bug 1297696

Change-Id: I54d31c66ad1f8c5bbe61798abc2039aa3bf85f9a
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/237553
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Shawn Joo <sjoo@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agomedia: tegra: apply ov7695 qualiy tune (060713)
Jake Park [Mon, 10 Jun 2013 05:21:18 +0000]
media: tegra: apply ov7695 qualiy tune (060713)

Apply ov7695 qualiy tune register change from OV,
'OV7695 reference setting_MIPI_24MCLK_060713_nVidia.txt'.

Bug 1278482

Change-Id: If14deae5e49cc766c226e57d91a325b3fb1a8134
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/237108
(cherry picked from commit bf6303da0d525e9656e3da04bde609589945a0c6)
Reviewed-on: http://git-master/r/237161
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra: set macallan sys EDP cap to 24W
Sivaram Nair [Mon, 10 Jun 2013 08:48:05 +0000]
ARM: tegra: set macallan sys EDP cap to 24W

Change-Id: I292d92ed2abeda5fb2c821b8dc7437771d0a9cf7
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/237147
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoARM: tegra: config: update l4t defconfig
Bibek Basu [Mon, 10 Jun 2013 05:56:11 +0000]
ARM: tegra: config: update l4t defconfig

Enable TEGRA_PLLM_SCALED & TEGRA_CPU_DVFS
for l4t kernel

Bug 1304476

Change-Id: I235d4a0d056d400c741c0f451a4c15284bbc59fb
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/237115
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoasoc: aic326x codec: Fix compilation warnigs
Vijay Mali [Sat, 8 Jun 2013 07:43:13 +0000]
asoc: aic326x codec: Fix compilation warnigs

Add typecast in switch statement

Bug 1274537

Change-Id: I03fbce68d449500a3f1de60798e875d5905176eb
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/237042
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

5 years agopower: power-supply-extcon: update cable state during init
Laxman Dewangan [Sat, 1 Jun 2013 13:47:58 +0000]
power: power-supply-extcon: update cable state during init

Update cable state during initialisation to have the sync
with the cable state if cable state event is  missed which is
happened before initialisation of driver.

bug 1304013

Change-Id: I87eb4c41ab589094639379eff8ed2837893ca892
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/234771
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoUSB: xhci: Dynamic host load support
Krishna Yarlagadda [Thu, 2 May 2013 12:00:46 +0000]
USB: xhci: Dynamic host load support

Load xhci dynamically when otg cable is connected

Bug 1242148

Change-Id: If6b9b3ad198e3d1aef7636e9a7752be7a4ccc1c7
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/234146
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoARM: tegra: USB: Dynamic host load support
Krishna Yarlagadda [Thu, 2 May 2013 12:00:46 +0000]
ARM: tegra: USB: Dynamic host load support

Enable platform data to load xhci
dynamically when otg cable is connected

Bug 1242148

Change-Id: I586f035ceedf49fb321242e7ac2e272620315d7a
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/234145
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agomedia: video: tegra: ad5816: Stay on after probe
Phil Breczinski [Sat, 8 Jun 2013 02:18:36 +0000]
media: video: tegra: ad5816: Stay on after probe

Keep power on after probe function.

Also change focus position type from u16 to s32 so garbage bytes
aren't passed to the raw header.

Bug 1283378

Change-Id: I6a045ac93a3045e390cee9bd0a9772c6d7668290
Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com>
Reviewed-on: http://git-master/r/237032
Reviewed-by: Zhaoyi Wei <zwei@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gilbert Yeung <gyeung@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: fb: Make offset comparison android specific
pdabade [Thu, 6 Jun 2013 09:58:31 +0000]
video: tegra: fb: Make offset comparison android specific

Making current x and y offset comparison android specific.

Bug 1216329

Change-Id: Ie28d81fc2bff06237528fba56a348a442233e6c7
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/236257
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>