6 years agoARM: tegra14: Set max cpu frequency to 2014.5MHz
Seshendra Gadagottu [Thu, 21 Mar 2013 22:41:51 +0000]
ARM: tegra14: Set max cpu frequency to 2014.5MHz

Maximum fast cluster CPU frequency is limited to 1989MHz
though it can go upto 2014.5MHz because max rate setting
in tegra14_clocks.c. To fix this, fast cluster CPU max
rate is updated to 2014.5MHz.

Change-Id: I604803c771abcd0d76cf708139ce57782e361191
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/211858
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agommc: sdhci: Use SDHCI Quirks to fix t30 h/w issue.
Naveen Kumar Arepalli [Tue, 2 Apr 2013 10:13:30 +0000]
mmc: sdhci: Use SDHCI Quirks to fix t30 h/w issue.

Use SDHCI_QUIRK_DISABLE_CARD_CLOCK quirk to disable
card clock before internal clock
Use SDHCI_QUIRK_DO_DUMMY_WRITE quirk to do a dummy write

Bug 1239457

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

6 years agoARM: tegra: thermal: Update due to struct_est_data modification
Jinyoung Park [Thu, 21 Mar 2013 08:48:08 +0000]
ARM: tegra: thermal: Update due to struct_est_data modification

Updated initialization of skin_data because struct therm_est_data in
include/linux/therm_est.h is modified; adding multiple trip points,
removing get_temp callback in struct therm_est_subdevice, and changing
type of devs from flexible array to pointer.

Bug 1233363
Bug 1236444

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211124
(cherry picked from commit 94c53ea26b58197b698014ec1581fe3fecb0c008)

Change-Id: Id170d06ddcffbe546b01003e49fe327f361df4b3
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/215545
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: misc: therm_est: Change flexible array to pointer
Jinyoung Park [Thu, 21 Mar 2013 10:58:42 +0000]
drivers: misc: therm_est: Change flexible array to pointer

Changed type of devs from flexible array to pointer in struct therm_est_data.

Bug 1233363
Bug 1236444

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211612
(cherry picked from commit 9fc6a54f282f858b1fb55e6b46c142d4482345e4)

Change-Id: Ic2c9591314aca8e3bea28b85bf53327c5c73039f
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/215544
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: misc: therm_est: Add therm_est_subdev_get_temp function
Jinyoung Park [Thu, 21 Mar 2013 07:59:54 +0000]
drivers: misc: therm_est: Add therm_est_subdev_get_temp function

Added therm_est_subdev_get_temp function instead of get_temp callback in
struct therm_est_subdevice in order to remove redeundancy code.

Bug 1233363
Bug 1236444

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211539
(cherry picked from commit 02ebe3a815127af786292d1a7d144277aa966b63)

Change-Id: If1126f9227b6821a79ed1d9718ed4cd7cea3c540
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/215543
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: misc: therm_est: Add multiple trip points support
Jinyoung Park [Thu, 21 Mar 2013 07:44:38 +0000]
drivers: misc: therm_est: Add multiple trip points support

Replaced cdev_typa and trip_temp to struct thermal_trip_info to support
multiple trip points on therm_est.
And the struct thermal_trip_info has hysteresis for trip temp. So applied
hysteresis to trip temp.

Bug 1233363
Bug 1236444

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211123
(cherry picked from commit d832906d904916a263c831d1bf55031070818991)

Change-Id: I6ce2806a323c25ec298291d1e4ee067c3adaebfa
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/215542
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: tegra14: clock: fix Coverity Null dereference issue
Deepak Nibade [Thu, 4 Apr 2013 11:55:17 +0000]
arm: tegra14: clock: fix Coverity Null dereference issue

remove unnecessary null check
Coverity id : 22172

Bug 1046331

Change-Id: I46beb57d180067f4d3de5180ae54544f648027ca
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/216486
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agopower: max77660: removing old max7760-charger driver file
Darbha Sriharsha [Thu, 4 Apr 2013 13:59:13 +0000]
power: max77660: removing old max7760-charger driver file

This change is intended to delete max7760-charger driver file that
is now obsolete and the associated header file.

Bug 1178638

Change-Id: I0b75123b5f10b1a75d6b162cb47235de181f9d3c
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/216517
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomfd: max77660: Add resource entry for charger wdt interrupt
Darbha Sriharsha [Thu, 4 Apr 2013 13:22:35 +0000]
mfd: max77660: Add resource entry for charger wdt interrupt

This change is intended to add a resource entry for
the max77660 charger watchdog timer interrupt

Bug 1178638

Change-Id: I9c0e951f92addfcf123ab00c47935a987e418ca1
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/216507
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra11x: Enable ARM_ERRATA_798181
Bo Yan [Fri, 15 Mar 2013 04:46:30 +0000]
ARM: tegra11x: Enable ARM_ERRATA_798181

Change-Id: I533f1965a93694484a910723c77454a0bd9e5fe0
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/209853
(cherry picked from commit 1927a8824de27eea314d7b1a4ac08741edb6daba)
Reviewed-on: http://git-master/r/216187
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomedia: video: edp states not available info
Bibek Basu [Mon, 25 Mar 2013 04:12:02 +0000]
media: video: edp states not available info

This patch changes the EDP states not available from
platform data, warning message into a info message
in kernel log.

Bug 1249598

Change-Id: I957f26d93967cc3f74ee206b2e29783b0e07fc97
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/212450
(cherry picked from commit ada211703028b83fe3c3f0deefb290169d532256)
Reviewed-on: http://git-master/r/214899
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoTI Bluetooth: Adding TI Host Wakeup Driver changes
Anita Kar [Wed, 3 Apr 2013 09:23:55 +0000]
TI Bluetooth: Adding TI Host Wakeup Driver changes

Signed-off-by: Raghavendra Shenoy Mathav <raghavendra.shenoy@ti.com>

Bug 1179655

Change-Id: I904ed2d392b6ff8fbfb00e949f470542387aace4
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/197395
(cherry picked from commit 4ee03e6f06df0581272a5899267dd295279d2a4c)
Signed-off-by: Anita Kar <akar@nvidia.com>
Reviewed-on: http://git-master/r/215507
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoTI Bluetooth: Adding TTY HCI driver
Anita Kar [Wed, 3 Apr 2013 08:38:12 +0000]
TI Bluetooth: Adding TTY HCI driver

Signed-off-by: Raghavendra Shenoy Mathav <raghavendra.shenoy@ti.com>

Bug 1179655

Change-Id: Id8a859b421d5829b38738f27a47ca7a989854113
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/196969
(cherry picked from commit 9f7f9fcf9efa0f4c945a9c68a93ce45021f68ebd)
Signed-off-by: Anita Kar <akar@nvidia.com>
Reviewed-on: http://git-master/r/215506
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: config: enable ST_HCI and ST_HOST_WAKE configs
Anita Kar [Wed, 3 Apr 2013 08:49:33 +0000]
ARM: tegra: config: enable ST_HCI and ST_HOST_WAKE configs

Bug 1179655

Change-Id: Idf4bfa33f19654e1acff5d0ef42398352daff281
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/197404
(cherry picked from commit f63e41b4f4e0ff5ad6cf23e8c2e677643e79216c)
Signed-off-by: Anita Kar <akar@nvidia.com>
Reviewed-on: http://git-master/r/215478
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: macallan: enable support for wl8
Anita Kar [Wed, 3 Apr 2013 07:53:42 +0000]
ARM: tegra: macallan: enable support for wl8

Bug 1179655

Change-Id: I98ced4d3f59127316a138c421b14609e3bdfe86b
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/197398
(cherry picked from commit 6f789639e36dd15fb7dc00faf5cb5e0dcb1ad2dd)
Signed-off-by: Anita Kar <akar@nvidia.com>
Reviewed-on: http://git-master/r/215475
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

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

Bug 1264864

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

6 years agoarm: tegra: pluto: Fix pinmux for tearing signal
Animesh Kishore [Tue, 2 Apr 2013 15:46:38 +0000]
arm: tegra: pluto: Fix pinmux for tearing signal

pin KBC_ROW6 must be muxed to DISPLAYA_ALT.

Bug 1264864

Change-Id: I2e13350d9834b0da3c9fb7264104e727b6aecb70
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/215593
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: clock: Verify initial cbus pll descendants
Alex Frid [Sun, 17 Mar 2013 06:45:19 +0000]
ARM: tegra: clock: Verify initial cbus pll descendants

During clock initialization verified that children of cbus plls are
either disabled or known cbus clients (the latter will be backed up
on different pll while cbus pll is re-locked).

Change-Id: Ic03caf204e6d96b2ece0dbb8d80c44836c42590b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/210236
(cherry picked from commit dc42b8641fb8a2c31a30eddfe8be15364d60b299)
Reviewed-on: http://git-master/r/214831
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra11: pinmux: add tegra11x_set_sleep_pinmux()
Eric Miao [Fri, 15 Mar 2013 08:07:16 +0000]
ARM: tegra11: pinmux: add tegra11x_set_sleep_pinmux()

To save power during sleep mode, we may need pinmux settings other
than run-time's. Introduce an function for tegra11x at this moment
to solve this problem.

Bug 1247754

Change-Id: I2348518df51e9b7e4c7d056a34637dda4688bccb
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/212013
(cherry picked from commit 667f5396ba1adda565efa6da0cf1591871a2ee44)
Reviewed-on: http://git-master/r/214956
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoextcon: palmas: make vbus/ID cable detection to platform choice
Laxman Dewangan [Mon, 25 Mar 2013 16:12:42 +0000]
extcon: palmas: make vbus/ID cable detection to platform choice

Enable vbus/id pin detection only if it is enabled through
platform data. Also provide the connection name through platform
data.

bug 1242273
Bug 1249130
Bug 1249783

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/212609
(Cherry picked from commit de31f6b38ea1a96fb99c8f72db7029f23d693fb2)

Change-Id: I06dbedb0462e77ef05a42b164b9d457254ed47e7
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214920
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoextcon: palmas: add support for ID pin detection
Laxman Dewangan [Wed, 27 Feb 2013 09:05:00 +0000]
extcon: palmas: add support for ID pin detection

Add support for the ID pin detection through interrupt and
notification through extcon framework.

bug 1242273
Bug 1249783
Bug 1249130

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/204502
(cherry picked from commit e833ce3a44d057638d157103b6bf76b13558033d)

Change-Id: Ied2f57119483c134beee102368476cd4350da077
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214919
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agopinctrl: palmas: Add support for Gpio8 to Gpio15
Sumit Sharma [Thu, 21 Mar 2013 06:29:38 +0000]
pinctrl: palmas: Add support for Gpio8 to Gpio15

Add support for Gpio8 to Gpio15 pinmux and pull-up

Bug 1249130
Bug 1249783

Change-Id: I3944370b07b5753e8604fb1d73d08671442ec48f
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/212470
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agomfd: palmas: remove unused platform data
Laxman Dewangan [Fri, 15 Mar 2013 11:36:37 +0000]
mfd: palmas: remove unused platform data

The pad configuration platform data pad1, pad2, pad3 is no more used
in driver and hence removing this.

bug 1242260
Bug 1249130
Bug 1249783

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/209995
(Cherry picked from commit 7fd012138934f679b276fdb6688daf7cf0286ec3)

Change-Id: I37a2dfbbb5970baa5deb29494a827b2bd7f822bf
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214918
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra114: remove palmas pad configuration from platform data
Laxman Dewangan [Fri, 15 Mar 2013 11:33:48 +0000]
ARM: tegra114: remove palmas pad configuration from platform data

Palmas pad configuration can be done from the palma pincontrol driver
and hence it is not require to explicitly set the pad setting.

Remove this duplicate configuration.

bug 1242260
Bug 1249130
Bug 1249783

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/209994
(cherry picked from commit 7d9d52472a3266eb6ee3366e83b0ac1aaf20b9aa)

Change-Id: I08828e3dbba367a5a956d9dd50fb579dff2ccba7
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214917
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agomfd: palmas: register pincontrol driver submfd device
Laxman Dewangan [Fri, 15 Mar 2013 11:25:01 +0000]
mfd: palmas: register pincontrol driver submfd device

Enable pincontrol driver as submfd devices.

bug 1242260
Bug 1249130
Bug 1249783

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/209986
(Cherry picked from commit 3d49f09f23f12b11cd92e0d45ddd3d6c0bb932c7)

Change-Id: Ie174c26b7dbe2c7b03ff889b9f1153e73380a811
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214916
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: config: tegra11: enable PINCNTRL_PALMAS
Laxman Dewangan [Fri, 15 Mar 2013 11:22:02 +0000]
ARM: config: tegra11: enable PINCNTRL_PALMAS

Enable pincontrol driver for palmas to enable configuration
of pads.

bug 1242260
Bug 1249130
Bug 1249783

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/209985
(Cherry picked from commit fa859b7a3dfc10250b8e2dab9985cde31778569a)

Change-Id: I18c94dfeb56ebbe7d496f107e36f27e51d8544b8
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214915
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra11: use palmas pincontrol for pad configuration
Laxman Dewangan [Fri, 15 Mar 2013 11:18:46 +0000]
ARM: tegra11: use palmas pincontrol for pad configuration

Use palmas pinccontrol for pad control on Tegra114 platform i.e.
Dalmore/Pluto/Macallan/thor.

bug 1242260
Bug 1249130
Bug 1249783

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/209984
(Cherry picked from commit c0fa5686c36b67a85c4fed3d6f754cb1933bb16b)

Change-Id: I0742d53ae4fa9a510d53d7b688ba5f2dabf375a2
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214914
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agopinctrl: palmas: add pincontrol driver support
Laxman Dewangan [Fri, 15 Mar 2013 13:41:06 +0000]
pinctrl: palmas: add pincontrol driver support

Palmas series PMIC has the pins which can work on multiple mode.
Also the pull up/down, open drain can be configured on this pins.

Add pin control driver to configure the different pads.

bug 1242260
Bug 1249130
Bug 1249783

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/209983
(Cherry picked from commit 7a6c5babe4bdd2399c503684fe00ce088fdc6c8c)

Change-Id: I9968f361e6e488638d5f1474562565ff3d8279e6
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214913
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: dalmore/Pluto/roth: set initial mode of all smps to NORMAL
Laxman Dewangan [Mon, 11 Feb 2013 13:17:05 +0000]
ARM: tegra: dalmore/Pluto/roth: set initial mode of all smps to NORMAL

The Palmas PMIC has OTP as 0xC8 on which it sets some of the rail
into PWM mode by default. This is not require to continue rail
configurations in PWM mode once system booted properly. Also keeping
rails in PWM mode consume more power. Hence to reduce the
power on these rails, configure initial mode of these rails to
be NORMAL.

bug 1231293
bug 1231109
Bug 1249130
Bug 1249783

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/199435
(cherry picked from commit 6be0320bd1e1eafe66af93f83329a48b693d1ac4)

Change-Id: I9dabd45647284dcef1677592844d2995441b0ca2
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214912
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agostaging: iio: light: add tcs3772 ALS/RGB/PROX sensor driver
Sri Krishna chowdary [Wed, 6 Mar 2013 10:09:23 +0000]
staging: iio: light: add tcs3772 ALS/RGB/PROX sensor driver

Bug 1221926

Change-Id: I4996682a152882e6c332005e4155cd2f4f2f37dd
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/206644
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: use 150 milli ohms for RBAT
Sivaram Nair [Fri, 29 Mar 2013 18:37:54 +0000]
ARM: tegra: use 150 milli ohms for RBAT

Lookup table based RBAT is underperforming, so use 150 milli ohms as the
RBAT always for calculating the battery depletion.

Bug 1261008

Change-Id: Ief7c1bb751faf91f18947f45e521e06fa34d68b2
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit 43bd890fa7b2c0687517799364f625bcb20d8864)
Reviewed-on: http://git-master/r/215497
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower: max17042: use RBAT lut for depletion calc
Sivaram Nair [Thu, 28 Mar 2013 12:49:50 +0000]
power: max17042: use RBAT lut for depletion calc

Patch to calculate RBAT from remaining battery capacity using the RBAT
lookup table.

Change-Id: I59aa9b9a4d34cc96094f51137afdbef53b1be4fd
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit ae6689e99a525a7d570f685bb734c9f1e7546228)
Reviewed-on: http://git-master/r/215496
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: add RBAT mapping data for pluto
Sivaram Nair [Thu, 28 Mar 2013 12:15:18 +0000]
ARM: tegra: add RBAT mapping data for pluto

RBAT mapping table added for the pluto fuel gauge platform data.

Bug 1261008

Change-Id: I8090bbdf7306ccce4119b9ccddcd5b029716e4e8
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit 3d80f7aa4b948a703e08b2ee5c444f4699fd0bb6)
Reviewed-on: http://git-master/r/215495
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower: max17042: add rbat mapping
Sivaram Nair [Thu, 28 Mar 2013 11:28:37 +0000]
power: max17042: add rbat mapping

Added a new struct to the platform data for mapping RBAT to battery
level capacity.

Bug 1261008

Change-Id: I37b75b4f7a5db4a2c08a4ff17839af71640e62ea
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit 99141d46af8c946e40cdc14dc0440b0fd72679b7)
Reviewed-on: http://git-master/r/215494
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower: max17042: remove temperature from calc
Sivaram Nair [Thu, 28 Mar 2013 11:09:45 +0000]
power: max17042: remove temperature from calc

Fuel gauge temperature readings are not working correctly - so remove
this variable from battery depletion calculations and assume room
temperature values.

Change-Id: I37d5ab043caa4e5f737c87e1fa917bd4e989d62f
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit faa9a2a2e8091800bb471095b85f0f6e20beb6e7)
Reviewed-on: http://git-master/r/215493
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: new EDP power cap levels
Sivaram Nair [Fri, 22 Mar 2013 09:25:58 +0000]
ARM: tegra: new EDP power cap levels

Adjusting the power cap levels to have closer match with the AP+DRAM CPU
power budget

Bug 1252116

Change-Id: I5431b323c6d193154f515405a947a6e85fc6d4b4
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit 7ccb28ec4d5080f62c88c0ef1828a6ad5b4fefc7)
Reviewed-on: http://git-master/r/215492
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agotty: serial: 8250: tegra fix spurious interrupts
Pradeep Goudagunta [Tue, 19 Feb 2013 11:22:14 +0000]
tty: serial: 8250: tegra fix spurious interrupts

This is the WAR for spurious interrupts for PORT_TEGRA.

Bug 1229695

Change-Id: Ia4c92577399334a50faacabd38ae3fac4f71a9d3
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/205164
(cherry picked from commit 969c7612e7569e6e2504ec2d8f532e4fb8e3d875)
Reviewed-on: http://git-master/r/215684
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agotegra: dc: enable HDMI CMU for new boards.
Markus Hiienkari [Tue, 2 Apr 2013 12:39:45 +0000]
tegra: dc: enable HDMI CMU for new boards.

Enable HDMI CMU for Ceres, Macallan, Pismo and
Roth.

Bug 1162082

Change-Id: Ie9955c265be047ffc4505e21a6be59e1cdc22229
Signed-off-by: Markus Hiienkari <mhiienkari@nvidia.com>
Reviewed-on: http://git-master/r/215546
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: Enable TEGRA_LP1_LOW_COREVOLTAGE config
Karthik Ramakrishnan [Thu, 14 Feb 2013 20:18:59 +0000]
arm: tegra: Enable TEGRA_LP1_LOW_COREVOLTAGE config

Enable LP1 Core voltage settings for T114

The feature is added in the below change.
Refer to http://git-master/r/#change,124135 for more details.
Bug 1035684

Change-Id: Ia967ba4f95e47f678335550402a2f75b80ba9f0d
Signed-off-by: Karthik Ramakrishnan <karthikr@nvidia.com>
(cherry picked from commit 62e23719346fa01aab737b982f4acd3ddcd9b7be)
Reviewed-on: http://git-master/r/215320
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: LP1 Low Core Voltage Support for T114
Karthik Ramakrishnan [Fri, 25 Jan 2013 23:05:33 +0000]
arm: tegra: LP1 Low Core Voltage Support for T114

The feature was added for T30 and the config name referred to
the lowest Core voltage for Enterprise(CONFIG_TEGRA_LP1_950).
Changed the Kconfig to include T114 support and renamed the
feature name to refer to the lowest Core voltage possible for
the particular platform and not just 950mV.

The initial change for this feature is in http://git-master/r/124135

Bug 1035684

Change-Id: I4318c66fd70ab227ef0786d6a13286e020e4541d
Signed-off-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Signed-off-by: Hunk Lin <hulin@nvidia.com>
(cherry picked from commit c94f740ede4809a897e18253a9c7fdfb8666970e)
Reviewed-on: http://git-master/r/194260
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: roth: Add thermal heavy throttling
Jinyoung Park [Tue, 25 Dec 2012 19:54:32 +0000]
ARM: tegra: roth: Add thermal heavy throttling

Added thermal heavy throttling.
The thermal heavy throttling will be enabled, if nct extneral temp
exceeds shutdown_temp-2C. And the thermal heavy throttling will be
disabled when nct external temp falls to shutdown_temp-8C.

Bug 1200202

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/174180
(cherry picked from commit 3c475cee23d836ee7046f02792972febf7e97fe3)

Change-Id: I1e8414f438462eccc926ec0aacc10d1d4783419a
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/198862
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: Tegra: Add CONFIG_TEGRA_USE_SECURE_KERNEL
James Zhao [Thu, 21 Mar 2013 19:29:51 +0000]
ARM: Tegra: Add CONFIG_TEGRA_USE_SECURE_KERNEL

This new config would only be enabled when we enable a secure os
implementation. This config would be generic and we can reuse it
if/when we change the secure os vendor.

Change-Id: I94a0a365d4dc834fafa1137a0c0d9adf1b394c51
Signed-off-by: James Zhao <jamesz@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/211756
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chris Johnson <cwj@nvidia.com>

6 years agousb: udc: tegra: skip vbus status checkup.
Harry Hong [Mon, 18 Mar 2013 01:43:58 +0000]
usb: udc: tegra: skip vbus status checkup.

Skipping vbus status if pmu vbus detection
is used.

bug 1254946

Change-Id: I01f54bd127cd4d7d021816899c1ecd29b139701d
Signed-off-by: Harry Hong <hhong@nvidia.com>
(cherry picked from commit 813a4d5a3d8b1bb6ea9498aef029de95792bc067)
Reviewed-on: http://git-master/r/214409
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: pluto: set sleep-time pinmux settings for VDDIO_GMI_AP
Eric Miao [Fri, 15 Mar 2013 08:11:17 +0000]
ARM: tegra: pluto: set sleep-time pinmux settings for VDDIO_GMI_AP

Reconfigure GMI pins to save additional power on rail VDDIO_GMI_AP
during sleep time.

Bug 1247754

Change-Id: I79559c75b800d3b208a4677b83974fb71d615ce2
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/212014
(cherry picked from commit 24a95e11a4a7abab5402c50d88d8558ee37cff9d)
Reviewed-on: http://git-master/r/214957
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agocrypto: tegra-se: put device into runtime suspend state when suspending
Eric Miao [Wed, 6 Mar 2013 11:30:26 +0000]
crypto: tegra-se: put device into runtime suspend state when suspending

To prevent the device being accidentally put into runtime suspend state
during the whole system suspend process, pm_runtime_get_noresume() is
called upon _every_ device to increase the usage count (please refer to
drivers/base/power/main.c).

Since we don't explicitly disable the clock, pm_runtime_put_sync() in
each operation in tegra_se_suspend() will not actually call the runtime
suspend function, thus leaving the clock still enabled.

To fix this issue in a simple way, we call pm_runtime_put_sync() in the
end of tegra_se_suspend() to decrease the usage count to "0" and thus
call tegra_se_runtime_suspend() in turn to disable the clock. To pair
the usage count, we do a pm_runtime_get_noresume() in tegra_se_resume()
as we don't actually need to runtime resume the device there.

Bug 1246029

Change-Id: I64520b022b896f2867934255a55b852fafac4b63
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/206658
(cherry picked from commit 762c897f0ccd4bf3282cd8f97c869b07f3feba45)
Reviewed-on: http://git-master/r/214949
Reviewed-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: soctherm: Rearrange code to prepare for OC alarms
Diwakar Tundlam [Thu, 28 Mar 2013 01:19:04 +0000]
arm: tegra: soctherm: Rearrange code to prepare for OC alarms

Change-Id: I0e0abd992930104060a99d38c171f11ee6f74ff5
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/213795
(cherry picked from commit f56d80cb48342b51992f767bacf6fb16334a2b57)
Reviewed-on: http://git-master/r/215286
GVS: Gerrit_Virtual_Submit

6 years agoARM errata: A memory read can stall indefinitely in the L2 cache
Bo Yan [Mon, 25 Mar 2013 21:21:30 +0000]
ARM errata: A memory read can stall indefinitely in the L2 cache

Define a configuration option for platform to implement

Change-Id: I352c644a33ebbf809e450004a01394f07f2903b7
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/212781
(cherry picked from commit 91250495671135d9d815da3e65777844957216e1)
Reviewed-on: http://git-master/r/216183
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agovidoe: tegra: dc: fix typo in tmds_config names
Jon Mayo [Tue, 2 Apr 2013 20:51:40 +0000]
vidoe: tegra: dc: fix typo in tmds_config names

Updates interfaces for providing alternate TMDS to remove typos.
Combine loop through board tmds_config and fallback tmds_config.

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

6 years agoARM: Tegra: Pluto: Update emc dvfs table
Gaurav Batra [Sat, 23 Feb 2013 01:41:43 +0000]
ARM: Tegra: Pluto: Update emc dvfs table

Change-Id: I96c91fa81abf44cb1a4a71714922a2822be3cfdb
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/203514
(cherry picked from commit 20993e0246ab5f7796b0b35bf718d5f6f2fb60a9)
Reviewed-on: http://git-master/r/212800
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agopower: max77660: remove max77660 fuel-gauge driver
Darbha Sriharsha [Thu, 21 Mar 2013 15:32:06 +0000]
power: max77660: remove max77660 fuel-gauge driver

Removing max77660 fuel gauge driver as this driver
is not implemented properly

Bug 1178638

Change-Id: I9c802ce3af7ee30cf71dae83c9377f12d2cb68de
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/213906
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: max17048: resolve charging status update issue
Syed Rafiuddin [Fri, 8 Mar 2013 09:27:17 +0000]
power: max17048: resolve charging status update issue

resolving the issue when battery state of charge is 99%
and android gui shows as full.

Bug 1234697
Bug 1178638

Change-Id: I89ff1a1161f2cc79e55542c0b2dbc299ea31825f
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/207506
(cherry picked from commit 73cf40a61cd01395bbf1eaa9ac9e26aa00046f2c)
Reviewed-on: http://git-master/r/213903
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: max17048: show status as full when 100% charged
Syed Rafiuddin [Tue, 19 Feb 2013 08:40:59 +0000]
power: max17048: show status as full when 100% charged

Update status as full when state of charge is 100%
charged.

Bug 1234697
Bug 1178638

Change-Id: I7c113ef254b848e8374d5251a4cf7d6dcedcf022
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/200702
(cherry picked from commit aad71a6f55bc7fb929c232a48245d7f0d2ffb75b)
Reviewed-on: http://git-master/r/213902
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: max17048: work schedule function
Darbha Sriharsha [Tue, 12 Feb 2013 05:21:19 +0000]
power: max17048: work schedule function

This change is intended to change the call to schedule_work function
to schedule_delayed_work instead as the argument passed is of type
"struct delayed_work" as opposed to "struct work_struct" and this
difference causes a compiler warning to be thrown up

Bug 1234460
Bug 1178638

Change-Id: I4142c6c7db5595475b380c0bf41fd9df9f48dd78
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/199874
(cherry picked from commit c8c7acbd0355399ec23deb219dd6849feed0c939)
Reviewed-on: http://git-master/r/213901
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: max17048: fix charging status
Syed Rafiuddin [Mon, 11 Feb 2013 07:19:50 +0000]
power: max17048: fix charging status

state of charge suddenly jumps to 0% resolving
the same issue.

Bug 1214186
Bug 1178638

Change-Id: I234a369b86678c8ea177c368ff828930f5ccf73b
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/199267
(cherry picked from commit bc49c487cd62c7bc1546fdfe2f56d2feb4735729)
Reviewed-on: http://git-master/r/213900
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: max17048: Adding shutdown functionality
Syed Rafiuddin [Wed, 6 Feb 2013 09:57:59 +0000]
power: max17048: Adding shutdown functionality

This change is intended to add shutdown functionality
to the max17048 fuel gauge driver

Bug 1202296
Bug 1178638

Change-Id: Id3fe159d99dbdf9c5623e5c6609860aa1274df73
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/195546
(cherry picked from commit 7c7b82431870757d63e63fd6ecd099bd5f1defa4)
Reviewed-on: http://git-master/r/213899
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: max17048: display correct status at boot-up
Syed Rafiuddin [Fri, 1 Feb 2013 09:59:05 +0000]
power: max17048: display correct status at boot-up

display proper charging status when booted up without
any charger cable connected

Bug 1178638

Change-Id: I18bd7702a62923a4f7675ea392be180f2ed03d7c
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/196368
(cherry picked from commit eb8c59d7e4f2d3a238f4a7f101988c6fb412df7b)
Reviewed-on: http://git-master/r/213898
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: max17048: use subsys_initcall
Syed Rafiuddin [Tue, 15 Jan 2013 07:27:58 +0000]
power: max17048: use subsys_initcall

use subsys_initcall in max17048 fuel-gauge driver

Change-Id: Ied62719e758e34ae11f130f90fe956d81a31227b
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/191149
(cherry picked from commit e0a9793e93ea7f25f4b7e5e7ea48a4ba91907548)
Reviewed-on: http://git-master/r/201659
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoceres: power: check battery presence
Syed Rafiuddin [Sun, 30 Dec 2012 14:59:05 +0000]
ceres: power: check battery presence

check presence of battery based on fg driver

Bug 1178638

Change-Id: I0b6beb7bc6d3c441d4c93f4037d0a5af108233b7
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/#change,187632
(cherry picked from commit 221766dfd5f5cebf56a84c0c6557bd5e07d34e1d)
Reviewed-on: http://git-master/r/213897
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: max17048: remove charger driver dependencies
Syed Rafiuddin [Thu, 13 Dec 2012 07:25:32 +0000]
power: max17048: remove charger driver dependencies

max17048 driver uses api's available in the smb349 charger driver.

Removing the dependencies from max17048 driver

Bug 1179923
Bug 1178638

Change-Id: Iacf36278a8bf3f7c83ac89007d6a6d2f63f954ee
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/170518
(cherry picked from commit 63b0b4aef7442b88d10da8e942170d1606928ebf)
Reviewed-on: http://git-master/r/201990
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoASoC: Codecs: Remove aic325x_mute function
Ravindra Lokhande [Tue, 2 Apr 2013 14:27:00 +0000]
ASoC: Codecs: Remove aic325x_mute function

With new firmware from TI, aic325x_mute function is not needed.

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

6 years agoASoC: Tegra: Tristate DAP pins
Ravindra Lokhande [Mon, 1 Apr 2013 16:47:40 +0000]
ASoC: Tegra: Tristate DAP pins

We need to set DAP pins to normal before starting playback/record and
set it to tristate after playback/record. If we don't tristate then
power leakage can happen.

Bug 1241669
Bug 1258742

Change-Id: Id29382b50d499a966adc4715fe1e36bbcc460853
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/215103
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: Fix size of the region for host1x in Tegra114 dtsi
Min-wuk Lee [Thu, 28 Mar 2013 05:30:04 +0000]
ARM: tegra: Fix size of the region for host1x in Tegra114 dtsi

Bug 1041377

Change-Id: Ia9fb5bf1a39e704cb0a5236f1c3c4bc86ae940ec

Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Change-Id: I5c1ec3e2177a5d8c37745ad54a6f609faf458850
Reviewed-on: http://git-master/r/213839
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomfd: palmas: read internal design rev and sw otp revsion of device
Laxman Dewangan [Sat, 9 Feb 2013 19:14:58 +0000]
mfd: palmas: read internal design rev and sw otp revsion of device

Read internal design revision and sw otp version of the device and
print this message.

This will help on implementing the errata of different ES version of
device.

bug 1228386
bug 1195226

(Cherrypicked from commit
4aae1b8da409ec83b0edff1e7d9d34bdb4b5ede9)

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

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

6 years agoARM: config: tegra11: enable PALMAS-WATCDOG timer
Laxman Dewangan [Tue, 2 Apr 2013 12:34:07 +0000]
ARM: config: tegra11: enable PALMAS-WATCDOG timer

(Cherrypicked commit
20cec1ab975a82c658d976d1fe11312e03db18a2)

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>

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

6 years agoARM: tegra: dalmore: add support for rotation lock key
Laxman Dewangan [Tue, 2 Apr 2013 12:32:50 +0000]
ARM: tegra: dalmore: add support for rotation lock key

Post event as EV_SW and SW_ROTATE_LOCK when it is slide.

bug  1157355

(Cherrypicked commit
4e82c03df155d5bc022bfe28f9daa82b6bb77064)

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

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

6 years agoarm: tegra: iovmm: fix iovmm vm size
Krishna Reddy [Tue, 26 Mar 2013 20:59:41 +0000]
arm: tegra: iovmm: fix iovmm vm size

Bug 1258122

Change-Id: Ib1bd37e7a63df6ea341a9ed735af96efb53d39fd
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/213186
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

6 years agoThermal: pid_thermal_gov: Separate compensation into up and down compensations
Jinyoung Park [Fri, 22 Mar 2013 11:49:33 +0000]
Thermal: pid_thermal_gov: Separate compensation into up and down compensations

Separated compensation into up and down compensations in order to apply
different compensation rate to each cases.

Bug 1200111

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/212090
(cherry picked from commit c8034e53cbb69ce1ed979be5fe4072b2646369c2)

Change-Id: I236750009d5d64ea09508cd1864efb7bfb99ee58
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/215536
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoThermal: pid_thermal_gov: Apply compenstaion even if sum_err is 0 or max
Jinyoung Park [Fri, 22 Mar 2013 04:41:05 +0000]
Thermal: pid_thermal_gov: Apply compenstaion even if sum_err is 0 or max

Applied compensation even if sum_err is 0 or max to prevent determining
target state to 0 in short time.

Bug 1200111

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211960
(cherry picked from commit 221bc8d9307876a099c917100ef1066cf8cef308)

Change-Id: I52a8bbeb4ae8553f14401cd0eaa4508337111955
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/215535
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: tegra: macallan: Update macallan DVFS table.
Hayden Du [Mon, 4 Mar 2013 04:35:40 +0000]
arm: tegra: macallan: Update macallan DVFS table.

Macallan copy Dalmore's DVFS table, and Macallan don't have
h5tc4g63afr_rda, remove h5tc4g63afr_rda from Macallan.

Change-Id: I744d65ec8fafb99bbd417f7424cb9953fa72aef2
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/205813
(cherry picked from commit 91fbc3e16a250ada624d89c3279fa0eb0ec25635)
Reviewed-on: http://git-master/r/215356
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoarm: Tegra11: Macallan: update emc DVFS table
Hayden Du [Sat, 23 Feb 2013 13:19:31 +0000]
arm: Tegra11: Macallan: update emc DVFS table

bug 1222285
bug 1239328

Change-Id: I9bf0ba059b307ddb08b8339ac9ee5731c5869008
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/203599
(cherry picked from commit f04197815a198110ddf9fc1bed0c30c421f0b895)
Reviewed-on: http://git-master/r/215355
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: roth/pluto: Validate GPIO before using
Harshavardhan Nalajala [Mon, 4 Feb 2013 05:53:05 +0000]
ARM: tegra: roth/pluto: Validate GPIO before using

Check the return values of gpio apis and return if
encountered with errors.

bug  1222992

Change-Id: I42fc671ccb8d8c0fe6ad2ff28c223130926e0228
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/196845
(cherry picked from commit f110d859b607e83d2b0413e14e96ce3268a3d59b)
Reviewed-on: http://git-master/r/208007
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agousb: otg: tegra: Remove duplicated irq_work call.
Harry Hong [Tue, 12 Mar 2013 05:10:10 +0000]
usb: otg: tegra: Remove duplicated irq_work call.

Even vbus is floating state, sometimes vbus is recognized
as high.
To prevent it, do not set USB_VBUS_INT_STATUS
if support_pmu_vbus is set to true.
It'll not call irq_work by vbus status of USB_PHY_WAKEUP.

bug 1242710

Change-Id: I7725aac8f100e8edb02b9bd00dc7b5325a70fa9e
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/208287
(cherry picked from commit 5be02212edaf87424836b6e8d60c372ab744b08c)
Reviewed-on: http://git-master/r/214404
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoasoc: tegra: max98090: fix voice call recording
Dara Ramesh [Mon, 1 Apr 2013 05:50:01 +0000]
asoc: tegra: max98090: fix voice call recording

a) Fix DAM CIF connection for vocie call record
b) removed unnecessary code

bug 1260680

Change-Id: I1dc065e33c65e15f67f4796730c5ccbb67668a17
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/214933
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra14: clock: Disable secondary dividers
Alex Frid [Sat, 30 Mar 2013 23:28:13 +0000]
ARM: tegra14: clock: Disable secondary dividers

Ported from Tegar11 commit df9c6859ecc98fe4ad3720b82cb3628ec016508d

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

6 years agoARM: tegra: macallan: enable vbus power off on suspend
Yunfan Zhang [Thu, 14 Mar 2013 04:01:16 +0000]
ARM: tegra: macallan: enable vbus power off on suspend

Change-Id: Ie331c4946a493478179f243348ffc0b12787ebe2
Signed-off-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-on: http://git-master/r/209394
(cherry picked from commit eb094d5d1d5ff63cd945b922c67baf4c9ea7bacc)
Reviewed-on: http://git-master/r/214296
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoregulator: bq2419x: add power off on suspend support
Yunfan Zhang [Thu, 14 Mar 2013 03:55:37 +0000]
regulator: bq2419x: add power off on suspend support

Add flag power_off_on_suspend to support shutdown output
unconditionally when suspend.

Change-Id: Iff958a82271c05d4d519246d85e8ab616ff79c5a
Signed-off-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-on: http://git-master/r/209393
(cherry picked from commit 98f518b471f75168b54c417be13bc512a4f3d178)
Reviewed-on: http://git-master/r/214295
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoregulator: bq2419x: Fix hot-plug functionality
Sumit Sharma [Fri, 1 Mar 2013 12:33:32 +0000]
regulator: bq2419x: Fix hot-plug functionality

Fix hot-plug functionality in bq2419x regulator driver

Bug 1245272

Change-Id: I5877310bb346666d97ead811d00683aa8e243db6
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/205552
(cherry picked from commit 489424dc579e01e7958792f7629868fd6e9e0587)
Reviewed-on: http://git-master/r/214294
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Yunfan Zhang <yunfanz@nvidia.com>

6 years agoregulator: bq24192: add shutdown functionality
Kunal Agrawal [Tue, 29 Jan 2013 09:23:11 +0000]
regulator: bq24192: add shutdown functionality

Bug 1225027

Change-Id: I33eca8e87bc01ac4a3392e8ede362d47900de98d
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/195047
(cherry picked from commit 41ebb9abc8b4b38c6a83112683f80403355c55b5)
Reviewed-on: http://git-master/r/214293
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Yunfan Zhang <yunfanz@nvidia.com>

6 years agoARM: tegra11: clock: Disable secondary dividers
Alex Frid [Sat, 23 Mar 2013 06:45:02 +0000]
ARM: tegra11: clock: Disable secondary dividers

During clock initialization disabled secondary dividers of disabled
PLLs (just in case if such divider is left enabled by boot-loader).

Change-Id: I69d510213b82c8860f040a786386489ac4dcf720
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212384
(cherry picked from commit df9c6859ecc98fe4ad3720b82cb3628ec016508d)
Reviewed-on: http://git-master/r/212381
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: Add voltage capping trip points
Amit Kamath [Mon, 11 Mar 2013 09:58:56 +0000]
ARM: tegra11: Add voltage capping trip points

Trip points to detect thermal state changes over a range of
temperatures added by calling board independent function.

bug 1042409

Change-Id: Ifb139ae676f07c74a6dae5599fe7232ed601ebe2
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/208015
(cherry picked from commit 4f0e402927a441b114561847b8d800cacc0238ef)
Reviewed-on: http://git-master/r/214974
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: add voltage capping thermals
Amit Kamath [Mon, 11 Mar 2013 09:52:56 +0000]
arm: tegra: add voltage capping thermals

Voltage capping needs to use soc therm sensors to accurately measure
temperatures. This change adds voltage capping related trip points
before registering to the soc_therm driver.

bug 1042409

Change-Id: I9bebaa39f88f0142c3b8ba7e07a70d86fdbc675e
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/208014
(cherry picked from commit dbd872140e5be5d4a358dd77de790f17c78b1594)
Reviewed-on: http://git-master/r/214972
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra11: clock: Add EMC DPD control to EMC DFS
Alex Frid [Sun, 24 Mar 2013 05:44:14 +0000]
ARM: tegra11: clock: Add EMC DPD control to EMC DFS

Added EMC_SEL_DPD_CTRL register to the list of burst registers updated
during EMC clock rate change. Increased EMC DFS table revision to 4.2.

Bug 1259481

Change-Id: I5b46fefdadfd8f4cbe0f56de0a9e0eaeecf6a1c5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212385
(cherry picked from commit 6f31808c07cb398ee6a247ebfcc4789d8eb3579d)
Reviewed-on: http://git-master/r/214839
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agomedia: video: tegra: lm3565: timer cannot be zero
Charlie Huang [Fri, 29 Mar 2013 23:00:07 +0000]
media: video: tegra: lm3565: timer cannot be zero

a zero timer can cause the camera app crash.

bug 1263377

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

6 years agousb: xhci: tegra: enable fw messaging
Ajay Gupta [Thu, 28 Mar 2013 16:14:36 +0000]
usb: xhci: tegra: enable fw messaging

This is needed to enabled fw messageing

Bug 1237223

Change-Id: I55c2b129b4e60a6263ff0e179bcf46803afef452
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/214197
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
(cherry picked from commit de3650ecb0f7b78af4392635c9536ccd3d0098a5)
Reviewed-on: http://git-master/r/214579
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

6 years agoxhci: tegra: fix race between remote wake and host wake
joyw [Tue, 19 Mar 2013 10:20:03 +0000]
xhci: tegra: fix race between remote wake and host wake

A race condition has been discovered during stress testing remote wake
from LP0. Occasionally, remote wake doesn't get served soon enough and
later hub driver tries to do host initiate resume for the port. That
causes the port staying PLS=RESUME with PLC cleared.

This patch fix the race by letting remote wake being completed before
hub driver can resume port.

Bug 1235232

Change-Id: I0595cfca6bb97df96e8b8554ece18041787cb6b9
Signed-off-by: joyw <joyw@nvidia.com>
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/210752
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Henry Lin <henryl@nvidia.com>
(cherry picked from commit 096b5feb74c11a2e81dce6768e94adb9c8b748aa)
Reviewed-on: http://git-master/r/214578
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Tested-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agomfd: bq2419x: Fix hot-plug functionality
Sumit Sharma [Fri, 1 Mar 2013 11:51:35 +0000]
mfd: bq2419x: Fix hot-plug functionality

Fix hot-plug funtionality in bq2419x mfd driver

Bug 1245272

Change-Id: I8ba74f77215f8d69e494856d9599d714653d1d67
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/205551
(cherry picked from commit 5a86449a1aa4d41c387641b1c3c411dbb6b1750c)
Reviewed-on: http://git-master/r/214371
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Yunfan Zhang <yunfanz@nvidia.com>

6 years agoarm:misc: Change tfa9887 driver debug spew
Scott Peterson [Sat, 9 Feb 2013 00:17:25 +0000]
arm:misc: Change tfa9887 driver debug spew

Changed the driver for the tfa8997 device so that
it only prints a message for the SetParam function
if there is an error and audio is playing. If audio
is not playing access to the device is not possible
so an error is expected.

Bug 1233775

Change-Id: I5e3b4f7958104d28c74dac730ea936efed567325
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/198963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com>
Reviewed-by: Shaoming Feng <shaomingf@nvidia.com>
(cherry picked from commit 9bd34a41737e49321db885b48ee299976e1cb09f)
Reviewed-on: http://git-master/r/213741
GVS: Gerrit_Virtual_Submit

6 years agoasoc: alc5640: Mic noise gate
Scott Peterson [Wed, 6 Mar 2013 23:53:03 +0000]
asoc: alc5640: Mic noise gate

Enabled noise gate and high pass wind filter
to improve recording performance.

Bug 1234255

Change-Id: I57f4580b979356ec800500d1879e825655058a20
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/206858
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Tested-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com>
Reviewed-by: Vijay Mali <vmali@nvidia.com>
(cherry picked from commit 3ed4f08019293bd0f7e1ab67b623f87ee0bdc9c3)
Reviewed-on: http://git-master/r/213739
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: alc5640 Heaphone gain boost
Scott Peterson [Mon, 25 Feb 2013 22:24:16 +0000]
asoc: alc5640 Heaphone gain boost

Modified rt5640.c to enable greater output swing
by enabling dynamic control of charge pump as well
as adding headphone DC calibration and power
management changes.

bug 1211589

Change-Id: Icc3a6253c1456d8d66da9c8a04e05a54ae211391
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/206851
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Tested-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Vijay Mali <vmali@nvidia.com>
(cherry picked from commit 680522f3462c638cfb03d568a302d872062ebdd7)
Reviewed-on: http://git-master/r/213738
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: clock: Change clock table initialization order
Alex Frid [Sun, 24 Mar 2013 04:18:46 +0000]
ARM: tegra: clock: Change clock table initialization order

When initializing clocks from table, enable the clock (if requested)
before changing clock parent and/or setting the rate. The latter two
operations would do balanced enable/disable of the target clock anyway.
So, if the clock is to be enabled eventually, better to do it first,
and avoid further unnecessary switching.

Change-Id: I70912f2d318ea5926e94c494726cff3bc16787d4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212383
(cherry picked from commit 27355d88911187e0e7b9c7717dc6c962135f6e30)
Reviewed-on: http://git-master/r/212382
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

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

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

Bug 1222606
Bug 1242658

Change-Id: Ic8e4931c3c921ba82a6be2ff371948c9c7501348
Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: http://git-master/r/210749
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: dsi: set dsib PLLD_CSI_OUT_ENB only in T3x platforms
Hunk Lin [Mon, 4 Mar 2013 09:50:47 +0000]
video: tegra: dsi: set dsib PLLD_CSI_OUT_ENB only in T3x platforms

Only set dsib PLLD_CSI_OUT_ENB in T3x platform because from T11x dsib and
csi pads are no more shared.
Set PLLD_DSI_OUT_ENB for both dsia and dsib from T11x.

Bug 1237618

Change-Id: Id2402a4a280ecaea71f30068d729caf857cd64d6
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/205407
(cherry picked from commit eac6ebb76ee8edc1dbb9cea10992e9c3e6523621)
Reviewed-on: http://git-master/r/206958
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pluto: set dsia's default parent
Hunk Lin [Fri, 1 Mar 2013 05:04:51 +0000]
ARM: tegra: pluto: set dsia's default parent

Set dsia's parent to pll_d2 by default to avoid the power consumption in dsia
when it is unused but connected to pll_d. It's parent will be change to pll_d
in dsi driver if needed.

Bug 1237618

Change-Id: I6eb4f39e9342e1ff3bd4dd01416d5cbf47ee9642
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/205389
(cherry picked from commit f7971fb0a718607fb7b076acf6ffc05cd598943d)
Reviewed-on: http://git-master/r/206956
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: Correct fuse bits check for RAM repair
Seshendra Gadagottu [Fri, 22 Mar 2013 18:41:08 +0000]
ARM: tegra: Correct fuse bits check for RAM repair

If any one of spare_10 or spare_11 bits are set then
trigger RAM repair

Bug 1211371

Change-Id: I55f7b2a5d03f2d61cd7c840392241b1b92dafb37
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/212183
(cherry picked from commit 239de7427989eb987e77bd25a4303fd2c0a66914)
Reviewed-on: http://git-master/r/214619
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: config: tegra3/tegra11: disable NFC
Preetham Chandru R [Thu, 21 Mar 2013 14:21:21 +0000]
ARM: config: tegra3/tegra11: disable NFC

Disable NFC as there is no user space libraries in L4T

Bug 1238477

Change-Id: I3e3251da2ed57080b2c2ea4e518df10f11092219
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/211659
(cherry picked from commit dda5b3d6dbd0302d56dfb1c1076410056223792f)
Reviewed-on: http://git-master/r/214418
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoinput: touch: raydium: Add missing compile time NV_ENABLE_CPU_BOOST define
Vikas Jain [Fri, 15 Mar 2013 13:36:31 +0000]
input: touch: raydium: Add missing compile time NV_ENABLE_CPU_BOOST define

Reporting input capability for MSC_ACTIVITY should be covered under
NV_ENABLE_CPU_BOOST.

Bug 1229219

Change-Id: Id8ac0ea04cb33016680386d40f38745f685f08d3
Signed-off-by: Vikas Jain <vjain@nvidia.com>
Reviewed-on: http://git-master/r/210021
(cherry picked from commit 050c7e991e2839c0ca03b1cde38a54b9a4b1596a)
Reviewed-on: http://git-master/r/213896
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agousb: gadget: composite: Fix USB CV compliance testing
Petlozu Pravareshwar [Fri, 8 Feb 2013 11:10:04 +0000]
usb: gadget: composite: Fix USB CV compliance testing

Enable USB_CONFIG_ATT_SELFPOWER in bmAttributes when the
device is self-powered. Also fixing the GET_CONFIGURATION
when the config field is set to NULL.

Bug 965634

Change-Id: I069da940b1473d5c0b49b2ce2abc7f8862956534
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/197438
(cherry picked from commit 4f1db792a7ee8b53cc263832eb18685303ddf56f)
Reviewed-on: http://git-master/r/212150
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: pluto: Use battery rail for vdd_vbrtr regulator
Chaitanya Bandi [Thu, 7 Mar 2013 14:10:54 +0000]
ARM: tegra: pluto: Use battery rail for vdd_vbrtr regulator

vdd_vbrtr is from the always_on smps10_out2 rail.
Moving vdd_vbrtr to battery rail.

Bug 1239331

Change-Id: I093ba098574350aa98e3f685e8c686dbc7bb980c
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/207163
(cherry picked from commit a0a5abaf9699bc29b211965ce54d47f0248290c5)
Reviewed-on: http://git-master/r/211036
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower: max77665: Add suspend/resume support for max77665
Chaitanya Bandi [Tue, 26 Feb 2013 08:08:05 +0000]
power: max77665: Add suspend/resume support for max77665

Added suspend/resume support for max77665 charger

Bug 1238671

Change-Id: Iab0d5cb8b9159c26bcc9fc76648faefc03ffbaed
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/204108
(cherry picked from commit c97273f0439c99a0b5df7c524d9377b7c03dcd05)
Reviewed-on: http://git-master/r/211035
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoi2c: tegra: Return -EAGAIN in case of ARB Lost
Chaitanya Bandi [Wed, 30 Jan 2013 04:39:14 +0000]
i2c: tegra: Return -EAGAIN in case of ARB Lost

In case of ARB lost, return -EAGAIN so that the
communication is retried.

Bug 1222180

Change-Id: I003e02732568e08fabf6fe15f687e6ae73169f66
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/195401
(cherry picked from commit f2c6207ff4f4b93227a103a71d1519b7744e609d)
Reviewed-on: http://git-master/r/204986
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>