6 years agoarm: tegra: cardhu: add support for PM315
Bibek Basu [Thu, 11 Oct 2012 06:33:18 +0000]
arm: tegra: cardhu: add support for PM315

Add support for PM315

Bug 1157036

Change-Id: I2e5461c656c41d4172aca60525655cb780eaa17e
Original-author: Mike Thompson <mikthompson@nvidia.com>
Signed-off-by: Mike Thompson <mikthompson@nvidia.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/143506
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: enterprise: Set PMC_WAKE_DELAY value
Vinod Atyam [Thu, 4 Oct 2012 10:04:28 +0000]
arm: tegra: enterprise: Set PMC_WAKE_DELAY value

Setting the proper core_off_timer value
for enterprise platform.
This value is based on TI TPS80032.

Bug 1017531

Change-Id: Ie57e3b05ab1613c648d8275da47c164187cddae5
Signed-off-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-on: http://git-master/r/141613
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agospi: tegra: Addressing ISR and Timer proc race
Vishal Singh [Fri, 21 Sep 2012 12:47:42 +0000]
spi: tegra: Addressing ISR and Timer proc race

This patch addresses the issue where isr_thread comes after timer proc
and can access the spi_transfer already freed because of message
completion in timer proc.

Atomic variables are added to make sure only one of them gets executed.

Bug 991587.

Reviewed-on: http://git-master/r/116380

Irq thread is requested using IRQF_ONESHOT flag to make sure
that SPI interrupts are disabled during irq handler thread execution.

Bug 997089.

Reviewed-on: http://git-master/r/109722

Reviewed-on: http://git-master/r/133260
(cherry picked from commit b30926b6904becbd1becc49e3037ca2e7c261507)

Change-Id: I57b5936070a5b467c9ca740815e2954a7e04d8c1
Signed-off-by: Vishal Singh <vissingh@nvidia.com>
Reviewed-on: http://git-master/r/138945
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoSPI: tegra: SPI slave driver fixes
Vishal Singh [Thu, 20 Sep 2012 10:06:28 +0000]
SPI: tegra: SPI slave driver fixes

Merging the following 3 changes into 1.

tegra spi slave timeout issue

spi slave driver waits 1sec for dma timeout to happen.
Changed this timed wait to a constant wait of 500us
and then checking for status. Also added a check
for list empty, before transfer complete de-queues a message.

Reviewed-on: http://git-master/r/38255

tegra spi slave ioctl timeout

This change adds a max time the ioctl
needs to wait for a tranfer. The delay
is specified in delay_usecs of spi
message structure. A delay of 0 would
do an infinite wait.

Reviewed-on: http://git-master/r/39984

tegra spi slave driver with cpu based transfer

For packet size less than FIFO size the driver
selects cpu based transfer and for sizes greater
than this it goes for a DMA transfer.

Reviewed-on: http://git-master/r/39987

Also adding delay in isr thread function to avoid tx dma timeout
due to race between dma_isr() and spi_tegra_isr_thread().

Bug 1045637.

Reviewed-on: http://git-master/r/133202
(cherry picked from commit 436f3796bd67fc267b3e127d30d7ea392aeab172)

Change-Id: Ia24f4f306ce214e68a64e3a41d825d8a44c368e4
Signed-off-by: Vishal Singh <vissingh@nvidia.com>
Reviewed-on: http://git-master/r/138944
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agotegra: spi: Add LSBFE support in spi master and slave
Vishal Singh [Fri, 12 Oct 2012 11:02:21 +0000]
tegra: spi: Add LSBFE support in spi master and slave

Adding LSBFE.
Resetting controller during probe of SPI slave.

Bug 765716.

Reviewed-on: http://git-master/r/132625

Change-Id: I8333da768608a4f627e8172de709daad72285948
Signed-off-by: Vishal Singh <vissingh@nvidia.com>
Reviewed-on: http://git-master/r/138943
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: Add client error counters
Alex Waterman [Wed, 17 Oct 2012 20:50:54 +0000]
arm: tegra: Add client error counters

Add counters for each client that track the number of each type
of MC error the client generates. See the debugfs node:

    /d/mc/mcerr

BUG 1066896

Change-Id: Ibb1c28215346e0b4ee691a4c2e06778f13da0fb5
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/145775
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agopluto: set smps6 to 1.1V by default
Neil Patel [Tue, 16 Oct 2012 00:16:32 +0000]
pluto: set smps6 to 1.1V by default

To be used until Modem DVFS support is ready.

Bug 1040101

Signed-off-by: Neil Patel <neilp@nvidia.com>
Change-Id: Ia93c3c596eedb83a3fc7990ae028bb104f118bce
Reviewed-on: http://git-master/r/143326
(cherry picked from commit ab390b196ca095831f1c2e6bdac0beb2d2ed081e)
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/159144
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: enable wakeup0/32 for T11x
Neil Patel [Tue, 25 Sep 2012 23:42:37 +0000]
arm: tegra: pluto: enable wakeup0/32 for T11x

Wakeup sources are used for Pluto onboard modem

Bug 1040101

Change-Id: I7b3b81ae4e01af8c3098c515d1189a444e9cbeca
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/138763
(cherry picked from commit de2889693758f20e3dbf6155b12b75d19380ec0a)
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/159139
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoarm: tegra: t11x: cpu rail power good timer
Seshendra Gadagottu [Fri, 12 Oct 2012 19:07:06 +0000]
arm: tegra: t11x: cpu rail power good timer

TPS65913 PMU spec says power good value for rail
powerup is  175us(typical) 225us(max). Considering
other board factors, changing cpu rail power good
value as 300us from 200us.

Bug 1056598
Bug 1053092

Change-Id: I1df27eff75dee6bebd0cb294cc8ffa1582a5e884
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/144138
(cherry picked from commit b101fa6865be10db406adb57a398762634feed11)
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/159137
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: t11x: cpu rail power good timer
Seshendra Gadagottu [Thu, 11 Oct 2012 23:08:56 +0000]
arm: tegra: t11x: cpu rail power good timer

From the HW team experiments, maximum CPU rail ram-up time is
175us. So updated core rail power good timer as 200us for
pluto/dalmore platforms.

Bug 1056598
Bug 1053092

Change-Id: Ia6815227bccf64eb3d10df2df6c506a27a03e8bb
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/143874
(cherry picked from commit 810698740caeb1a802198ae908e290496cb15828)
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/159134
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra11x: Do not enable CPUPWRGOOD_EN
Seshendra Gadagottu [Sat, 29 Sep 2012 00:13:44 +0000]
ARM: tegra11x: Do not enable CPUPWRGOOD_EN

In T114 A01 HW, CPUPWRGOOD_EN feature is not enabled.
Enabling this feature in SW causing problems with
cluster switch after LP0.

Bug 1051517

Change-Id: Ie3195dce2068f1ccc5b7f951e45e38fda7cae20d
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/139861
(cherry picked from commit 1f03be4d77f3b715d97073c9269c6ad28c914da8)
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/159133
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoRevert "ARM: tegra: t114: Pinmux LP0 entry/exit sequence"
Seshendra Gadagottu [Sun, 23 Sep 2012 19:35:46 +0000]
Revert "ARM: tegra: t114: Pinmux LP0 entry/exit sequence"

This reverts commit 1ed7829f840fd2b94b37724ec98dd0a9a7456990.

Change-Id: Ib905af92e290dcaadc290df7b640c79f8e6b33dc
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/134658
(cherry picked from commit adcaf4480b0963de154d27d63bfe5a77add7ab43)
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/159132
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: Pluto: add backlight regulator
Xin Xie [Sun, 30 Sep 2012 21:22:02 +0000]
ARM: tegra: Pluto: add backlight regulator

Change-Id: I6f0427dce70a44033427ade2b713bff6b1f4aea3
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/140021
(cherry picked from commit 6abc48eb4d5db6e6727e3a41b3a5967b3c005401)
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/159131
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agobacklight: max8831: add regulator control in PM
Xin Xie [Sun, 30 Sep 2012 21:18:14 +0000]
backlight: max8831: add regulator control in PM

MAX8831 might share regulator with other device. We need make sure it is
powered during the brightness update.

Change-Id: Iec1dc902a3659ab979bb2c438c2b85b56a809cd6
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/140020
(cherry picked from commit 6829d1075851448ab24666d24e1c697453a03471)
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/159129
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: tegra: configs: validate l4t on t114
Jong Kim [Thu, 27 Sep 2012 21:04:13 +0000]
ARM: tegra: configs: validate l4t on t114

Validate l4t on t114 by adapting options from tegra11_android_defconfig.

Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/139458
(cherry picked from commit 256da49026d97bfa0bc29bf8cdd1a2665874bac9)

Change-Id: I8c8f92e60200522d9c54e442cb9b07c9e0ed785c
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/147900
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jong Kim <jongk@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoarm: linux: WAR for spurious ARBITRATION_EMEM intr
Alex Waterman [Thu, 25 Oct 2012 19:21:53 +0000]
arm: linux: WAR for spurious ARBITRATION_EMEM intr

Fix a race condition in the MC interrupt handler that was
causing a lot more spurious interrutps to fire than otherwise
necessary.

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

6 years agoinput: misc: cm3218: regulator name changed
Sri Krishna chowdary [Thu, 25 Oct 2012 13:15:15 +0000]
input: misc: cm3218: regulator name changed

regulator vdd_sensor renamed to vdd_sensor_2v85 in
board file

Bug 1030770

Change-Id: I5387651c598ccf8208f5079d2649b16951ebd9d9
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/147586
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoinput: misc: cm3218: add enable and disable
Shridhar Rasal [Thu, 18 Oct 2012 10:16:26 +0000]
input: misc: cm3218: add enable and disable

For 'enabled' sysfs provide enable and disable and
invoke respective suspend and resume PM. This functionality will
replace early suspend functionality.

bug 1063497

Change-Id: I96541eba392d13bfdf9abe05dbb4d0c795603658
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/147569
Tested-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agovideo: tegra: nvmap: implement fast api functions
Kirill Artamonov [Thu, 25 Oct 2012 09:36:11 +0000]
video: tegra: nvmap: implement fast api functions

Implement optimized nvmap_pin_array() for fast pinning
of array of nvmap_handles.

Implement fast nvmap functions which skip slow validation
step if it is possible:

_nvmap_duplicate_handle_id()
_nvmap_free()
_nvmap_pin()

bug 1158533

Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Change-Id: I4639973bf9cf507ed68a03087ec6a91449f8453e
Reviewed-on: http://git-master/r/147505
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoasoc:tegra: disable ext1 and enable codec bias off
Dara Ramesh [Tue, 16 Oct 2012 09:47:05 +0000]
asoc:tegra: disable ext1 and enable codec bias off

a) disable extern1 clock during OSIdle and suspend
b) enable codec idle bias off

Bug 1158489
Bug 1052069
Bug 1054060

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/144820
(cherry picked from commit 777bbde281ede62a847c3eeb3252957c0a5ee99c)

Change-Id: I8102ece58ca2d208e38fcf2dc72320dfb5d030a1
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/146966
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: cs42l73: Support voice call
ScottPeterson [Fri, 28 Sep 2012 21:36:50 +0000]
asoc: tegra: cs42l73: Support voice call

Add support for voice calls on pluto platform.

Bug 1056501

Signed-off-by: ScottPeterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/139823
(cherry picked from commit 9a18bc54326a603b46bd15f500a08b6149f6b70c)

Change-Id: I100497338b9cdb7ec66627151e4c7e7840f059fa
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/146965
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: cs42l73: slave mode support
Rahul Mittal [Thu, 11 Oct 2012 06:52:23 +0000]
asoc: tegra: cs42l73: slave mode support

I2S changed to slave mode
Add Schmidt trigger enable for DAP2
Add devid and conid for sync clock lookup
Configured DAP direction to INPUT
Audience configured for PORTA -> PORTC passthrough

Bug 1062554

Change-Id: I9e7cc40e4ce4e165685d9081242f181d5bd5d6d8
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/141123
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
(cherry picked from commit f329532f3b76a276c2f1219ff6422510b5a8ed9d)
Reviewed-on: http://git-master/r/147928
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: dalmore: add nfc support
Rakesh Goyal [Thu, 20 Sep 2012 13:36:37 +0000]
ARM: tegra: dalmore: add nfc support

add nfc_board_info and register with i2c

Bug 982624

Reviewed-on: http://git-master/r/134087
(cherry picked from commit 2cd5f9247ed47f492d1de42a39429427f088be5e)

Change-Id: I48d18bafc38a38559a996c008f53a7d7af8efdf9
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/147858
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: dalmore: add userspace regulator consumer for gps
Nagarjuna Kristam [Wed, 26 Sep 2012 07:47:14 +0000]
arm: tegra: dalmore: add userspace regulator consumer for gps

Bug 982624

Change-Id: I0927d4cb91c2cc5c347d8e9b0c405a8268397a6e
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
(cherry picked from commit 798601b66944ee712302acff3c1db0b5bb82b597)
Reviewed-on: http://git-master/r/147826
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dc: support for vblank sync
Rakesh Iyer [Wed, 22 Aug 2012 01:25:17 +0000]
video: tegra: dc: support for vblank sync

Add wait for vsync support for one-shot panels. The code supports extension
of this feature to other panels.

Bug 1033411.

Change-Id: Ie4d6cb45e5de81083458169ccdfa33230235ed72
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/140769
Reviewed-on: http://git-master/r/140766
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147614
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: pluto: increase dsi max frequency
Rakesh Iyer [Thu, 27 Sep 2012 22:20:03 +0000]
ARM: tegra: pluto: increase dsi max frequency

Increase dsi maximum frequency to 500Mhz.

Change-Id: I0739f434122541335bfd141c8949154daea7bfaf
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/139474
(cherry picked from commit 5fa0c69175a1a4ebb81d5686d5b0c4e4b883726f)
Reviewed-on: http://git-master/r/147613
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: dsi: set dsib clock source to pll_d
Rakesh Iyer [Wed, 26 Sep 2012 18:35:45 +0000]
video: tegra: dsi: set dsib clock source to pll_d

Program dsib clock source to pll_d. Add mechanism for panels to be reset
during command sequences.

Change-Id: Ia426d7ae0f5f849911f1da705f9634988d874cae
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/139116
(cherry picked from commit 7e95c6c88e89865de973b5a6bd2b25e5a69d27b6)
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147610
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: Enable cpu power gate, rail gate during LP1
Krishna Reddy [Wed, 26 Sep 2012 00:28:20 +0000]
arm: tegra: Enable cpu power gate, rail gate during LP1

Change-Id: I1d72d354e5a83d0355ada65dcda01d842bc8b592
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/138760
(cherry picked from commit bb0dea85a32905e5c3f29c94bdb2ed3d2a164db8)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147609
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: dalmore: update ddc pinmux
Ray Poudrier [Fri, 21 Sep 2012 09:02:31 +0000]
arm: tegra: dalmore: update ddc pinmux

Bug 1052024

Reviewed-on: http://git-master/r/134326
(cherry picked from commit ce3e29f56c28fdcb1e831820263257a5d7e5c64e)

Change-Id: Ibc7b65e7945cbcd4bb57b73a5e53404dcc0c8b05
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/147592
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pinmux: add rcv_sel functionality
Ray Poudrier [Fri, 21 Sep 2012 08:48:23 +0000]
ARM: tegra: pinmux: add rcv_sel functionality

Select between High and Normal VIL/VIH receivers.
RCVR_SEL=1: High VIL/VIH RCVR_SEL=0: Normal VIL/VIH

Bug 1052024

Reviewed-on: http://git-master/r/134325
(cherry picked from commit 572bb757c9c7d867b92531d2fb8428f819e2a586)

Change-Id: I164311ddcf16dea31df9c04a0c33ca08537b5d22
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/147530
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: Tegra: Add RCV_SEL pinconf param define
Graziano Misuraca [Sat, 22 Sep 2012 22:06:38 +0000]
ARM: Tegra: Add RCV_SEL pinconf param define

Reviewed-on: http://git-master/r/134619
(cherry picked from commit c6e65a71e4b42e5f46d1eb972d6174d9da546ce7)

Change-Id: I4c11f17a87f43e52758a4b64cea4498b87c8afb8
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/147525
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agodc: mach-tegra: pass sd settings bl_device_name
Mitch Luban [Sat, 13 Oct 2012 00:09:49 +0000]
dc: mach-tegra: pass sd settings bl_device_name

We can't always pass the backlight device directly to
nvsd. This change gives the backlight device name
to nvsd (which is known at build time) and then at
runtime can lookup the backlight device.

Bug 1047558

Reviewed-on: http://git-master/r/144241
(cherry picked from commit f9b84c91ebc1d172a3ee9de0e578b0943d2cb13c)

Change-Id: I5c65317336e8f0497d90880e649e2e8cca0a222d
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147278
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pluto: set pmic irq type to LEVEL_HIGH
Mallikarjun Kasoju [Mon, 22 Oct 2012 15:45:27 +0000]
ARM: tegra: pluto: set pmic irq type to LEVEL_HIGH

Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/139684
(cherry picked from commit 0f14977653717a7070ac64d9884c4a42ab07f715)

Conflicts:

arch/arm/mach-tegra/board-pluto-power.c

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

6 years agoARM: tegra: dalmore: support disabling GRHOST
Jon Mayo [Wed, 19 Sep 2012 22:05:13 +0000]
ARM: tegra: dalmore: support disabling GRHOST

Fixes build to work if CONFIG_TEGRA_GRHOST is disabled.

Change-Id: I388a520895587d78d4cda5b5e04ec05aee708c0f
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/133895
(cherry picked from commit 70fe20172dc36eb766bb8657bf7b64a5aa865b8e)
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/145992
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: dalmore: enable bluetooth support
Nagarjuna Kristam [Fri, 7 Sep 2012 03:39:03 +0000]
arm: tegra: dalmore: enable bluetooth support

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

Bug 982624

Change-Id: I66f4b980d0060e3b203db588a07b179aa99a2993
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/132104
(cherry picked from commit f8049e3c050da317de04194bfe62ff2f355fa43a)
Reviewed-on: http://git-master/r/130095
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: backlight: Add backlight_device lookup by name
Chaitanya Bandi [Fri, 12 Oct 2012 11:10:42 +0000]
video: backlight: Add backlight_device lookup by name

Added funtionality for backlight_device lookup by name

Bug 1157528

Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/144069
(cherry picked from commit c6243a5f3dab27077240a1a67f15d2cf5080fa02)

Change-Id: I1a778946b4040690ec267b5e36738236a27702da
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147093
Reviewed-by: Automatic_Commit_Validation_User

6 years agotegra: usb: disable interrupts when locking
Sang-Hun Lee [Tue, 15 May 2012 23:04:41 +0000]
tegra: usb: disable interrupts when locking

Problem description:
 - tegra_udc_irq uses udc->lock
 - Some functions running in the process context was not disabling
   interrupts when locking udc->lock
 - If a function gets interrupted by tegra_udc_irq after locking
   udc->lock, a deadlock occurs, as tegra_udc_irq would also try to
   lock

Fix description:
 - Use an interruption disabling variant of spin_lock

Bug 983958

Change-Id: Ib774847212da64f1f727a207a4821860ffa7b4a8
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/102693
(cherry picked from commit 168971ab0977d04e958671651c0be4be116fee01)
Reviewed-on: http://git-master/r/147718
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: support onboard i500 modem
Jay Cheng [Thu, 13 Sep 2012 21:48:33 +0000]
arm: tegra: pluto: support onboard i500 modem

Inital patch for Pluto + onboard i500 modem bringup.

Bug 1040101

Change-Id: I5a1ac04061481ad19770e71f8ee9a21e8060c3a0
Reviewed-on: http://git-master/r/132681
(cherry picked from commit 5fa38cf848c0e462e17d02f8e12ab512a8387d26)
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147488
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: support i500 swd
Neil Patel [Fri, 14 Sep 2012 01:15:15 +0000]
arm: tegra: pluto: support i500 swd

Inital patch for Pluto + i500 SWD bringup.

Bug 1040101

Change-Id: I75787ff390ded87a8acdbdf1a86cbdc1be0d3f6a
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/132482
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147487
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: Change CPU idle power state names
Bo Yan [Wed, 24 Oct 2012 21:09:15 +0000]
ARM: tegra: Change CPU idle power state names

LP3 means clock gating, so make it explicit.

Also changed the idle state name "LP2" to "powered-down".

bug 1034196

Change-Id: Icb2e8ba1aafa7b100cef96c7907940a251fd7e59
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/147280
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: Tegra: Dalmore: Enable PRISM
Matt Wagner [Sat, 29 Sep 2012 23:04:25 +0000]
ARM: Tegra: Dalmore: Enable PRISM

PRISM is enabled and tuned for 10.1" panasonic
panel.

Bug 1047558

Reviewed-on: http://git-master/r/139953
(cherry picked from commit c79dc602d82d6522de887474c940cd217dba3f53)

Change-Id: Ia9eb0ce4472fc9ae36e08e98f547705767486a84
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147240
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: dalmore: define precision multiplier
Deepak Nibade [Thu, 25 Oct 2012 13:33:58 +0000]
ARM: tegra: dalmore: define precision multiplier

-Define precision multiplier as 1000 to consider
3 digit fraction precision of 'power_lsb'

Bug 1049224

Change-Id: Ibf677036ae81a6dcf87de24e762f6b03e991436d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/147593
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agohwmon: ina219: add precision multiplier
Deepak Nibade [Thu, 25 Oct 2012 13:25:29 +0000]
hwmon: ina219: add precision multiplier

-Precision multiplier declared
-This multiplier will be defined in respective board files
-Finally multiplier is divided to get normalized value

Bug 1049224

Change-Id: Ia84c622c1f1f5ee845806d26b64600be4564b5b9
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/147578
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoCHROMIUM: config: set default hostname
Rhyland Klein [Tue, 23 Oct 2012 21:47:16 +0000]
CHROMIUM: config: set default hostname

Rather than wasting time in userspace running `hostname localhost`,
just boot the kernel with the default.

Signed-off-by: Mike Frysinger <vapier@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/34371
Reviewed-by: Olof Johansson <olofj@chromium.org>
(cherry picked from commit 8a1968a291abc47a0f05afd8967a4df6ae4da080)

This change fixes the issue where hostname was no longer working
on recent chrome nightlies.

bug 1164006

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: I50318a1a6a1b9f7ed9bad4db968edda486e33904
Reviewed-on: http://git-master/r/147070
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoArm: tegra: config: Enable tegra crypto dev
Venkatajagadish [Thu, 4 Oct 2012 07:07:29 +0000]
Arm: tegra: config: Enable tegra crypto dev

this changes includes the Misc config option which is
required to enable the tegra crypto devices.

Bug 1050933

Reviewed-on: http://git-master/r/141470
(cherry picked from commit e4067ba6dec5febc6a238de9a2d4ba1db69588f7)

Change-Id: Ied976888f03cc2165742d48adce758de1f951d9e
Signed-off-by: naveenk <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/146821
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years ago ARM: tegra: configs: Add cryptodev support
Venkatajagadish [Thu, 20 Sep 2012 05:39:55 +0000]
 ARM: tegra: configs: Add cryptodev support

This config option enables the user space applications to
access the S.E.

Reviewed-on: http://git-master/r/133982
(cherry picked from commit d48570b439dfd6e5fe46e1ecf59d5bb53841930a)

Change-Id: I73a60321f99bda14f47059b23ea9dbed0ea47cb6
Signed-off-by: naveenk <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/146820
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomedia: video: tegra: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 07:32:10 +0000]
media: video: tegra: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I23d21972033cbcaa7e459cb7832f73fa9388d2d4
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/146797
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gajanan Bhat <gbhat@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: dc: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 07:25:58 +0000]
video: tegra: dc: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I1543181ccb7b1bfc458a6db899d7e6ae83147723
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/146794
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: usb: HSIC re-enumerate fix
Suresh Mangipudi [Tue, 25 Sep 2012 23:30:55 +0000]
arm: tegra: usb: HSIC re-enumerate fix

If HSIC driver is load and unloaded repeatedly for 2 times the
device was freezing since the PHY clock was not up,
toggling the USB_SUSP_CLR would enable the PHY clock

Bug 1054019

Reviewed-on: http://git-master/r/138740
(cherry picked from commit c6019427d1fd248c3830f98f37261c8f33c506d4)

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

6 years agoarm: tegra: USB: PMC register offset
Suresh Mangipudi [Thu, 13 Sep 2012 08:12:58 +0000]
arm: tegra: USB: PMC register offset

Few of the register offsets for T114 have changed for PMC. Update the
T11x usb phy driver accordingly.

Reviewed-on: http://git-master/r/132183
(cherry picked from commit 79954c5bbe7414474ccfceb89e690255c50a9607)

Change-Id: I4b8541ea081b02c8568bdad56ad2e92eb5c5f4b8
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/146739
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoarm: tegra: USB: Error checking
Suresh Mangipudi [Thu, 13 Sep 2012 12:43:20 +0000]
arm: tegra: USB: Error checking

Proper error checking for the usb_phy during regulator init.

Bug 1048288

Reviewed-on: http://git-master/r/132235
(cherry picked from commit 1658e70fb187be04408dbc268954d3e7ba5fbb75)

Change-Id: Iab8883e552e3e15eaaceb2be37695fa2828d9fab
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/146725
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agocrypto: tegra-se: issue NOP after context save
Mallikarjun Kasoju [Fri, 14 Sep 2012 12:56:23 +0000]
crypto: tegra-se: issue NOP after context save

Issue NOP command after lp0 context save so that
RSA can be performed if any.

Bug 946811

Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/132652
(cherry picked from commit d28ee9a7c6e2ad426f373a86b12b845422dd28c1)

Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Change-Id: I77f2c5f71dac44ed89e638dc23dc6abcb844400d
Reviewed-on: http://git-master/r/146654
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agocrypto: tegra-se: LP context save support for t11x
Mallikarjun Kasoju [Fri, 14 Sep 2012 12:41:53 +0000]
crypto: tegra-se: LP context save support for t11x

Add Security Engine low power context save support
for t11x

Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/132651
(cherry picked from commit 935b99c49bc593af6cfd709d0a2b5c8784cb0e6e)

Change-Id: I6464a4dd42c0dc22ecab2ac9e358abb7e19acb70
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/146514
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agommc: host: Handle post voltage switch operations
rrajk [Thu, 25 Oct 2012 09:27:17 +0000]
mmc: host: Handle post voltage switch operations

Added a callback to handle any necessary post
signal voltage switch operations.
For tegra sdmmc controllers, auto calibration needs
to be done after signal voltage switch. Added running
calibration to post voltage switch call back.

Reviewed-on: http://git-master/r/141950
(cherry picked from commit 927beb69fd11dc3190eabe50bcb74db9864ff343)

Change-Id: Ia5d17a2d75e394b00772e63ce1f2f6137444b21b
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146405
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agosdhci: tegra: Add eMMC regulator management
rrajk [Thu, 25 Oct 2012 04:26:39 +0000]
sdhci: tegra: Add eMMC regulator management

Enable regulator management for both removable
and non-removable devices.

Reviewed-on: http://git-master/r/135180
(cherry picked from commit 207599457d4c49e54492c96e7e8c2602e52e69dc)

Change-Id: I9f95371a601544a0d56226c63204cb26f435c493
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146401
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: dalmore: add ina219 power monitor devices
Deepak Nibade [Wed, 26 Sep 2012 12:24:23 +0000]
ARM: tegra: dalmore: add ina219 power monitor devices

-add new board-dalmore-powermon.c file
-make according changes in Makefile,
 board-dalmore.c, board-dalmore.h
-this will provide support for dalmore in
 nvpm : command line tool for getting power rail data

bug 1049224

Change-Id: I9f0baca8a91931a1790275561a6bcc7e273e80cf
Reviewed-on: http://git-master/r/138952
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/145590
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agohwmon: ina219: increase rail_name size to store larger names
Deepak Nibade [Wed, 26 Sep 2012 12:14:06 +0000]
hwmon: ina219: increase rail_name size to store larger names

-define INA219_RAIL_NAME_SIZE for this

bug 1049224

Reviewed-on: http://git-master/r/138950
(cherry picked from commit 78bb4f3866bf9f04a965297f236a6fbf54e6af16)

Change-Id: Id81ab44b268daf69a8604f8442a45c94c3e9183d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/145589
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agousb: gadget: accessory: Fix section mismatch
Benoit Goby [Sat, 23 Jun 2012 01:17:10 +0000]
usb: gadget: accessory: Fix section mismatch

create_bulk_endpoints should not be __init since it is called when
accessory is enabled

Bug 1038578

Change-Id: Ia87d7fd31b31763a1f1ab6ccae179c282f1322c0
Signed-off-by: Benoit Goby <benoit@android.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/145506
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>

6 years agonet: stats: Fix the ENOMEM issue in reading stats proc interface.
Meher Chaitanya P [Thu, 4 Oct 2012 17:46:52 +0000]
net: stats: Fix the ENOMEM issue in reading stats proc interface.

Fixing the bug that cat /proc/net/stat/activity always returns ENOMEM.

Bug 1056071.

Reviewed-on: http://git-master/r/141596
Signed-off-by: Meher Chaitanya P <mchaitanyap@nvidia.com>
Change-Id: I7cf0824b7ad77e9af3b916b075d2a35918b177dc
Reviewed-on: http://git-master/r/145497
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra3: remove <board>-throttle_list_init functions
Bharat Nihalani [Thu, 25 Oct 2012 10:37:13 +0000]
ARM: tegra3: remove <board>-throttle_list_init functions

Change-Id: I14b3224f769738e9b578f6d9dc53d1935bb31fff
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147522
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra3: speedo: fix build break
Bharat Nihalani [Thu, 25 Oct 2012 09:19:48 +0000]
ARM: tegra3: speedo: fix build break

Change-Id: I7efceacc45401edde2b27c298e58e639333b59c4
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147521
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: mipi_cal: Fix stub function definition
Animesh Kishore [Thu, 25 Oct 2012 06:03:26 +0000]
video: tegra: mipi_cal: Fix stub function definition

Change-Id: I8bdcc77541f3aa2f89813bf34f5c96b3455e3da8
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/147520
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dc: Fix bootloader to kernel display transition
Animesh Kishore [Fri, 28 Sep 2012 04:38:10 +0000]
video: tegra: dc: Fix bootloader to kernel display transition

Bug 1053029

Change-Id: Ic4d0d2f6032fc6aa3a085272ba8f8dfbf860e659
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/139571
(cherry picked from commit fc5fb511a3fb08b65c026e7b31efb8b8ecbeeb73)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146675
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agovideo: tegra: dsi: Config mipi cal block
Animesh Kishore [Tue, 23 Oct 2012 12:53:30 +0000]
video: tegra: dsi: Config mipi cal block

Bug 1054040

Change-Id: Ib981d1eb6073d531d9a4b8d4bb0016e5bb3911f5
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
(cherry picked from commit 76c07f43c7b4d7dd3f7da4e656146c08e65fbf6b)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146946
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoarm: tegra: pluto/dalmore: Add mipi cal resource
Animesh Kishore [Tue, 23 Oct 2012 12:51:40 +0000]
arm: tegra: pluto/dalmore: Add mipi cal resource

Adding mipi calibration block as resource to display.

Bug 1054040

Change-Id: I6df0bbd3d05cd8c1e6641bed97d85495e97f88f0
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
(cherry picked from commit 203fc92eaf7932ac9662daaa27c75fb4e2d1ecb7)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146945
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: dalmore: Fix temperature sensor vdd rail and i2c bus
Diwakar Tundlam [Wed, 19 Sep 2012 23:52:53 +0000]
ARM: tegra: dalmore: Fix temperature sensor vdd rail and i2c bus

Bug 1046108

Change-Id: I70057a4a06696f2e442c5893bcee204af4b414b7
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/133926
(cherry picked from commit ff20059d2f3d1136a85ea211f2eacd99df22e0df)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146666
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: power: max77665: modify otp settings
Syed Rafiuddin [Thu, 18 Oct 2012 08:48:31 +0000]
drivers: power: max77665: modify otp settings

Modify default input current limit opt settings to
resolve frequent usb cable plug/un-plug issue.

Bug 1154672

Change-Id: I6f17102f08dbeb62e58edc24c55730a96d7b597d
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/145233
(cherry picked from commit 7f64bb3f4d662c6c6da2b1ad0c9d6653fe70e764)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147061
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: misc: therm_est: add debug sysfs nodes
Joshua Primero [Wed, 17 Oct 2012 00:29:14 +0000]
drivers: misc: therm_est: add debug sysfs nodes

Added the ability change coefficients and offset during runtime.
This is found in /sys/devices/therm_est/coeffs and
/sys/devices/therm_est/offset.

Also, added the ability to view the history of temperatures
per device used by the therm_est driver. This is found in
/sys/devices/therm_est/temps.

bug 1158994
bug 1059470

Change-Id: Ie3441a2c9a613381d4e19c61479001975488fd76
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/145060
(cherry picked from commit ee1078d1262fd0f01d156796837c3c67f92d3873)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147060
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Enable clocks
Joshua Primero [Tue, 25 Sep 2012 23:31:47 +0000]
ARM: tegra: soctherm: Enable clocks

Initialized clocks to enable soctherm. Note soctherm is still
not enabled until CONFIG_TEGRA_SOCTHERM is enabled.

Change-Id: I99eaa7f1da3369b61354b8121586f3c374d6ea5e
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/138788
(cherry picked from commit 01fe3665c64a7cc0f11322c3a72d43fa67b0fbe5)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147058
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Enable pulse skipper
Joshua Primero [Tue, 2 Oct 2012 22:09:55 +0000]
ARM: tegra: soctherm: Enable pulse skipper

Enable pulse skipper hardware throttling.

Change-Id: I00855d491e603270b8e81b7f7feb8e94e294b1fd
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/141035
(cherry picked from commit a42307516078f48c2b784158e84adcf3eaf4cd30)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147057
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: Fix reset sequence
Animesh Kishore [Sat, 13 Oct 2012 03:02:57 +0000]
arm: tegra: pluto: Fix reset sequence

Fixing reset for 1080p Sharp panel.

Change-Id: I9778aa414adf34911db335e6c9c0eae00e9af8a9
Reviewed-on: http://git-master/r/144295
(cherry picked from commit 05ae8295189bf571a8d9335d512408d0ae543c13)
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
(cherry picked from commit 625576b0a2f89ffe176016adec07a34c765f5f18)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147056
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: Add support for Sharp 1080p LS050T1SX01(G) panel
Animesh Kishore [Tue, 23 Oct 2012 09:14:49 +0000]
arm: tegra: pluto: Add support for Sharp 1080p LS050T1SX01(G) panel

Bug 1156912

Change-Id: I0ccccd0c86822a948ea6a18ead25d36e64d56858
Reviewed-on: http://git-master/r/143956
(cherry picked from commit 9f728c192fb37007867fc9c80f5d4768332c7217)
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
(cherry picked from commit 1de4be6b8870c8fc8d4f24cc0f8bcbf4bd6f02a9)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147055
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra11: fuse: determine correct iddq value from fuse version
Diwakar Tundlam [Tue, 9 Oct 2012 18:15:02 +0000]
ARM: tegra11: fuse: determine correct iddq value from fuse version

Change-Id: I99c03de4a1f788cbf91a3b7c835e8a74e5b67707
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/142720
(cherry picked from commit 9bc1055b8c56a8a256806c87117d8e0a0b198cbf)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146701
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: dsi: Fix EOT packet length
Animesh Kishore [Fri, 12 Oct 2012 01:43:17 +0000]
video: tegra: dsi: Fix EOT packet length

Bug 1156912

Change-Id: I1e368aa49cba911c8a7ada0c7e861bd9301891b0
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/143955
(cherry picked from commit dd5d7c774850b634f5e6f6e851d7e277e04e8368)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146700
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: power: check chip-id and select table or calculated edp
Diwakar Tundlam [Tue, 9 Oct 2012 23:08:44 +0000]
arm: tegra: power: check chip-id and select table or calculated edp

Change-Id: Ib1b6641095d3568e339c1e56a199157d8f25ad84
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/142786
(cherry picked from commit 8de620ebdaf0426bf64db2a0d3feb04f003b11f8)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146699
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: config: enable max77665 battery charging
Syed Rafiuddin [Wed, 10 Oct 2012 09:28:39 +0000]
arm: config: enable max77665 battery charging

enabling maxim max77665 battery charging driver

Change-Id: Idbb705fc070ebfc09d3a98d990a726aaebcd04c3
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135175
(cherry picked from commit bbcaf9349af5fd148ebaf3ae22310aa3366a5fd2)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146698
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: board changes for max77665 charger
Syed Rafiuddin [Wed, 10 Oct 2012 09:33:46 +0000]
arm: tegra: pluto: board changes for max77665 charger

board changes for maxim max77665 battery charger driver

Change-Id: I2ffd9dc9ec1cc4f7ed28cf246c58e2a8138c21ce
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135173
(cherry picked from commit d896ad00664cbf714c9fa3a494062c8a65336a5d)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146697
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: mipi_cal: Implement driver for mipi calibration
Animesh Kishore [Tue, 9 Oct 2012 04:44:37 +0000]
video: tegra: mipi_cal: Implement driver for mipi calibration

All mipi calibration has been moved to this block
from t11x onwards.

Bug 1054040

Change-Id: I6918fb229215208d63d4200073aeb42a2f2f37d3
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/142564
(cherry picked from commit 5cd4821c5bd138811a848518e129ce239c4fc1cd)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146696
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodriver: max77665: fix multiple issues in charger driver
Syed Rafiuddin [Fri, 28 Sep 2012 11:37:27 +0000]
driver: max77665: fix multiple issues in charger driver

- fix probe issue.
- differentiate between E1236 and E1587
- use late_initcall
- init charger values correctly

Change-Id: Iab11261dab084bd707dcd9d24d236d3c1b438b0e
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135174
(cherry picked from commit 7360d8753133ef15cd59264fd02613c42cacbd93)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146695
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: mfd: add bulk read in max77665 core driver
Syed Rafiuddin [Fri, 28 Sep 2012 11:42:28 +0000]
drivers: mfd: add bulk read in max77665 core driver

addition of bulk read api in maxim max77665 core driver

Change-Id: Iafb6ce4ae6918c027bbeacd9d243e0e38dd9f7e9
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135172
(cherry picked from commit 1e0dc1b22b5c7bff4f41e2c8c9745c53f0721dbf)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146694
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: config: tegra: enable max77665 fuel-gauge driver
Syed Rafiuddin [Fri, 28 Sep 2012 11:21:47 +0000]
arm: config: tegra: enable max77665 fuel-gauge driver

Enabling max77665 fuel-gauge driver for pluto platform

Change-Id: Ia24db1c5bfd9199dcc0a1935dd85a98d3abe9dd7
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135120
(cherry picked from commit 6642b37f9d27d83a5f923ca17d6f893669d3c727)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146693
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: board changes for max77665 fg driver
Syed Rafiuddin [Fri, 28 Sep 2012 11:20:07 +0000]
arm: tegra: pluto: board changes for max77665 fg driver

board specific changes for max77665 fuel-gauge driver

Change-Id: I513b4e4402df5f3ba45efd1684d4d64ccf97daf7
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135119
(cherry picked from commit 340ca387681fea1907748a9fcf562d7903a4f5bf)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146692
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agopower: max17042: update status contineously
Syed Rafiuddin [Fri, 28 Sep 2012 12:00:25 +0000]
power: max17042: update status contineously

update battery characterstics contineously so that
the status gets updated in gui

Change-Id: I50ccc6484825a730edf7e7b01f6ea187bf7215db
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135118
(cherry picked from commit 7200ea672e9c4569bb26773ba5c68ca802fd2182)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146691
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: Fix temperature trend control logic
Diwakar Tundlam [Sat, 6 Oct 2012 00:51:14 +0000]
ARM: tegra: Fix temperature trend control logic

Set tc2 correctly for thermal layer to assess trend

Bug 1057977

Change-Id: If92788d2b9438e5ff932407720d42d4a777b4279
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/142133
(cherry picked from commit 42f2e06818613e19a526c94646007d9919cecf6f)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146690
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dsi: Fix fifo overflow/underflow
Animesh Kishore [Fri, 5 Oct 2012 23:38:15 +0000]
video: tegra: dsi: Fix fifo overflow/underflow

Fixing video fifo overflow/underflow while entering
and exiting lp0.

Bug 1059255

Change-Id: Id51694c74b6897b99ebf6c2c108205ca101669b8
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/142118
(cherry picked from commit 86a01bf03ca6bcc77d7ada518f027fd569084013)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146689
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: Fix LG panel init delay
Animesh Kishore [Thu, 4 Oct 2012 22:06:23 +0000]
arm: tegra: pluto: Fix LG panel init delay

Reduce panel init delay.

Bug 1054104

Change-Id: I516ec3d48a216a0e52b020314b59494ffb1ff1eb
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/141712
(cherry picked from commit c72fb7d781f6442d8b852d60adf20e04e3e82ee3)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146688
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: thermal: Utilize hysteresis on nct
Joshua Primero [Fri, 5 Oct 2012 00:25:51 +0000]
ARM: tegra: thermal: Utilize hysteresis on nct

Added 1 degree hysteresis to edp thermal management trip points.

bug 1057977

Change-Id: I8a278cc3e4288ccc5f7cb7896382cb98e3c9b2a3
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/141776
(cherry picked from commit b0d89dd8c9488edf6c0e513606dc8cc3b24ac35d)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146687
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: nct: Added hysteresis
Joshua Primero [Fri, 5 Oct 2012 00:24:54 +0000]
drivers: nct: Added hysteresis

Added hysteresis functionality to thermal trip points.

bug 1057977

Change-Id: I377fee3932fd5a9f264672a889eb438dcdcc99ab
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/141775
(cherry picked from commit 06d721750fcd31cceb277bb30685f86180fee326)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146686
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: dalmore/pluto: Copy bootloader fb to kernel
Animesh Kishore [Thu, 4 Oct 2012 22:29:42 +0000]
arm: tegra: dalmore/pluto: Copy bootloader fb to kernel

Change-Id: Iaa52db11e2f5281e2aaff737d3a648fdf74a3b7e
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/141740
(cherry picked from commit 8f9b7d2ecc8f1bbb5d0ca08fccc22a0ccacb5b70)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146685
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: max8831: Fix android to kernel brightness map
Animesh Kishore [Thu, 4 Oct 2012 21:56:15 +0000]
video: tegra: max8831: Fix android to kernel brightness map

Map 0-255 android brightness to 0-127 max8831 range.

Bug 1053872

Change-Id: I5e491182d7bfe181099118eb463f8c04a22f9ca8
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/141726
(cherry picked from commit c90452a5ec3798369669658d202d8ac892d712c9)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146684
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Hook soctherm to sw throttle
Joshua Primero [Fri, 28 Sep 2012 23:00:26 +0000]
ARM: tegra: soctherm: Hook soctherm to sw throttle

Start integrating soctherm with the balanced throttling
software module.

Change-Id: I8d6f310ba7676672fb657c349b5b70462bddbb9a
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139847
(cherry picked from commit ca094f06dcfcf7ce46ed7c41c2b3a5bd9f399544)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146683
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Enable THERMTRIP
Joshua Primero [Fri, 28 Sep 2012 20:51:52 +0000]
ARM: tegra: soctherm: Enable THERMTRIP

Exposed platform data to cause CPU/GPU/MEM/TSENSE shutdown based on
thresholds

Change-Id: I3f53ea6ef062d61c86915af03360f703f3ee6257
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139828
(cherry picked from commit d5f29d91e4ed963c43bd61b0c8bbb31ccfbe2e75)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146682
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Enable interrupts
Joshua Primero [Fri, 28 Sep 2012 00:01:58 +0000]
ARM: tegra: soctherm: Enable interrupts

Enable interrupts on soctherm driver. Verified that it works.

Change-Id: Idd7fb87ebeda67ea50f8cf54b9a62e9843b7a095
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139507
(cherry picked from commit 95460f26f4a3ba623cceb65507471e8a6ac456ae)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146681
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: thermal: Multiple sensor programming
Joshua Primero [Wed, 5 Sep 2012 02:21:59 +0000]
ARM: tegra: thermal: Multiple sensor programming

Enabled programming of the multiple sensors in soctherm.

Change-Id: I814a90742430d9ffd502f2bf9b34e1ce3e20513b
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/138787
(cherry picked from commit 6362b1868a610b6ee553b8e8b8291407d8c4da0a)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130400
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: thermal: added soctherm to thermals
Joshua Primero [Tue, 7 Aug 2012 22:15:59 +0000]
ARM: tegra: thermal: added soctherm to thermals

Added soctherm to existing thermal infrastructure.

Change-Id: Id349aec9ae98f4f545d3f7f38d0b5e7d6aa7c979
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/138784
(cherry picked from commit 6637d00411babcab71a90ff15b7e1ef3087db523)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146679
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: power: fix dynamic VDD_CPU EDP capping granularity
Diwakar Tundlam [Tue, 2 Oct 2012 23:54:39 +0000]
arm: tegra: power: fix dynamic VDD_CPU EDP capping granularity

Changed freq-step to ensure EDP freq caps line up with actual cpufreqs
Also since min-cpufreq changes after bootup, don't use min, use 0.

Change-Id: I57498b719b06f7dd3bade5b2038277c2564c69cc
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/141055
(cherry picked from commit 37d92240720f40c0528188ec4409ac5055397e4b)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146678
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: power: enable dynamic VDD_CPU EDP capping
Diwakar Tundlam [Fri, 21 Sep 2012 08:02:42 +0000]
arm: tegra: power: enable dynamic VDD_CPU EDP capping

Using the model used to enforce max frequency for a given VDD_CPU EDP.
Enabled for dalmore and pluto.

Initialised edp_reg_override to 6A and increased default per-platform
edp-limit higher by 6A to allow users to override the limit up by upto
6A when needed for specific use-cases.

Change-Id: I2741ba7316cebe0ae2836b84c4b3bbbe0afefe5e
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/134306
(cherry picked from commit 9648d86f4a9a7b3b2557e98530e8265ea9f53467)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146677
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: power: Update dynamic CPU EDP model
Daniel Solomon [Tue, 4 Sep 2012 02:09:43 +0000]
arm: tegra: power: Update dynamic CPU EDP model

Update the model used to calculate max frequency
for a given VDD_CPU EDP.

Change-Id: Id220f25b58880c936f621f07faae414be42e8971
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/133051
(cherry picked from commit eca6edfc4220c5d0a004e9655926ea805c485152)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/132941
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: nct: tsensor: writeable trip points
Joshua Primero [Tue, 11 Sep 2012 23:23:41 +0000]
drivers: nct: tsensor: writeable trip points

Added nct functionality to change trip points. This
will be useful for EDP and thermal throttling.

Change-Id: I4fef643263261701164027f9bb13794b37e4907e
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139083
(cherry picked from commit 0dd4d083d4379752f7db241800d9501460b63d07)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146674
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: thermal: Make trip points writable
Joshua Primero [Tue, 11 Sep 2012 21:10:48 +0000]
drivers: thermal: Make trip points writable

Some of the thermal drivers using the Generic Thermal Framework
require (all/some) trip points to be writeable. This patch makes
the trip point temperatures writeable on a per-trip point basis,
and modifies the required function call in thermal.c. This patch
also updates the Documentation to reflect the new change.

Change-Id: I69128011eec3e3e4848c78b239cc2c1c722cb083
Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139082
(cherry picked from commit bcec9491925b51d41c95175d1fe4a00d374dcb13)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146673
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>