7 years agoarm: tegra: power: Tegra Thermal refactoring
Joshua Primero [Fri, 14 Oct 2011 00:49:20 +0000]
arm: tegra: power: Tegra Thermal refactoring

Refactored Thermal module so that thermal device
drivers themselves are agnostic of the thermal
framework.  Also separated throttle limit constraints
from EDP table.

Reviewed-on: http://git-master/r/57990
Reviewed-on: http://git-master/r/63338

Cherry-picked from 8d0610bdd03c3490b718f11bc2108f45cd868533.

Change-Id: I4f87889c9cdc88daac1e6173043bab1f2e7cebfd
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/66551
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R48ab4360228620638d8e2af6b27f6d0edcaa4b93

7 years agoARM: tegra: cardhu: Update dvfs tables for elpida & samsung
Alex Frid [Wed, 2 Nov 2011 06:23:36 +0000]
ARM: tegra: cardhu: Update dvfs tables for elpida & samsung

Added dynamic self-refresh field and updated arbitration settings.

Bug 896654

(cherry picked from commit 9af03dda41ee154ce7d3818f70456e833a22c893)
(cherry picked from commit f05bd447cb8bc53ff2f98dca3db55c05f53ce29d)

Change-Id: I9f60a60bd0768a86735ccf4e8d0db772d9caeeb9
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/67023
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R5072d0c38f475228125f1217896a6f1307e442bf

7 years agoARM: tegra: cardhu: Update EMC DFS table for Hynix DDR3
Alex Frid [Tue, 25 Oct 2011 05:23:05 +0000]
ARM: tegra: cardhu: Update EMC DFS table for Hynix DDR3

- Added 800MHz, 400MHz (for T33 parts), and replaced 408MHz with 375MHz
entry (for T30 parts).

- Added dynamic self-refresh field, and updated arbitration settings.

Bug 867684
Bug 896654

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 5e31d110a4da1fa37790ace0297f6141f872c183)
(cherry picked from commit 94eafeb884a63fe7fcc57a4636904853d8b3ab72)

Change-Id: I04db7784803b203ecdc1e828bb70cdd7eae017bc
Reviewed-on: http://git-master/r/67022
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R24b56d584693c655b814a4f5fc01f5e88cd0570b

7 years agoarm: tegra: cardhu: sh532u board support
Erik Lilliebjerg [Tue, 22 Nov 2011 11:06:03 +0000]
arm: tegra: cardhu: sh532u board support

Bug 865305

Change-Id: I1e300db033a22935bcc0cd6c24f8d9d3460b3475
Reviewed-on: http://git-master/r/66120
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R54cebc69c16bbedb4ed2dbf3fc33dbc34456cb57

7 years agoarm: tegra: cardhu: Call tegra_gpio_enable() for tegra gpio only
Chaitanya Bandi [Wed, 16 Nov 2011 13:07:07 +0000]
arm: tegra: cardhu: Call tegra_gpio_enable() for tegra gpio only

Corrected the range check for enabling gpio for TSP62361B because
tegra_gpio_enable() is for tegra gpio only

Bug 897387

Reviewed-on: http://git-master/r/65123
(cherry picked from commit f7ef3d5a8a56a5050174383da1818c80a65729bd)

Change-Id: I66e08170596678a267f25602f0daf79a3e0d34bd
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/66609
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R14092c5f0f254e11358349e9ecfc84faa0228cb8

7 years agoarm: tegra: cardhu: Support PM313 SKU0001
Hyungwoo Yang [Sat, 29 Oct 2011 01:57:08 +0000]
arm: tegra: cardhu: Support PM313 SKU0001

PM313 SKU0001 supports selecting BPP ( 18bpp or 24bpp )

Bug 822980

Reviewed-on: http://git-master/r/61005
(cherry picked from commit c6f9f5ebfe5f85bc56298092dce142980bed5d71)

Change-Id: Ifa25704d91bdd9de164b2baac835c38f0cdc0813
Reviewed-on: http://git-master/r/66576
Reviewed-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Tested-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

Rebase-Id: Ra8e388176b4d7d35915809d5272524ad0fa02cae

7 years agoARM: tegra: clock: Support restricted PLLM usage
Alex Frid [Sat, 12 Nov 2011 02:19:16 +0000]
ARM: tegra: clock: Support restricted PLLM usage

Added configuration option TEGRA_PLLM_RESTRICTED - when enabled,
PLLM - memory PLL - usage may be restricted to modules with dividers
capable of dividing maximum PLLM frequency at minimum voltage. When
disabled, PLLM is available as a clock source with no restrictions
(current configuration), which may effectively increase lower limit
for core voltage if high grade SDRAM is used.

Implemented PLLM restrictions in Tegra3 clock framework and DVFS, but
keep them disabled by default.

Bug 884419

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 5313ebcae92839146870d5865bc0f4cd08b35c61)
(cherry picked from commit 634647a9d2a8c1e03c8d98d0b2199950c947acc3)

Change-Id: I012452d92830ad6b63ec407350568b8c316b3caa
Reviewed-on: http://git-master/r/66512
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: Rded91b0aab5167ab2c6aa4ff3a7b7c7829cb221c

7 years agoarm: tegra: cardhu: pm299: enable shutdown from pin SHUTDB
Laxman Dewangan [Wed, 16 Nov 2011 13:03:27 +0000]
arm: tegra: cardhu: pm299: enable shutdown from pin SHUTDB

Enabling the shutdown from the pin SHUTDB.

bug 900732

Reviewed-on: http://git-master/r/65442
(cherry picked from commit fa523f222c1db34a0e11f433bde3e0f5e8c408f3)

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

Rebase-Id: R96ac32c68865680dc2b0448f918f4f60490709ba

7 years agoarm: tegra: cardhu: Register tegra based keyboard driver
Laxman Dewangan [Mon, 21 Nov 2011 14:28:38 +0000]
arm: tegra: cardhu: Register tegra based keyboard driver

Registering the tegra based keyboard driver.

bug 887629

Change-Id: I6908052eaa0efcaedb6bf101374f3e6598c8722f
Reviewed-on: http://git-master/r/65859
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4bc41ee23fcbdd8c4320326884a88e3e245349e1

7 years agoarm: tegra: cardhu: Shutdown system if ONKEY press for long
Laxman Dewangan [Tue, 15 Nov 2011 15:37:12 +0000]
arm: tegra: cardhu: Shutdown system if ONKEY press for long

Powering off the cardhu if onkey is pressed for longer time
(more than 5 sec).
The short key (< 1 second) takes system into suspend,
the key press to 1 to 5 sec popup shutdown menu and more than
5 second power off the system.

bug 810512

Reviewed-on: http://git-master/r/65108
(cherry picked from commit 71ecd268ab0a3fb8417c1d9a13dcb5e06fc3ac7a)

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

Rebase-Id: R7f958a5d99de7dc354d807acd75bc319cfe87b30

7 years agoARM: tegra: Cardhu/Enterprise: Phase in pixel/backlight adjustments
Matt Wagner [Mon, 24 Oct 2011 22:42:03 +0000]
ARM: tegra: Cardhu/Enterprise: Phase in pixel/backlight adjustments

Turns on phase_in_adjustments on for Cardhu / Enterprise and
updates flicker control

Reviewed-on: http://git-master/r/64522
(cherry picked from commit 9b217486322c4da8ba0df0ec6710caf94efbd721)

Change-Id: I1fc4ef0b04881c9f2b34b0ab2c88d6b97c88815c
Reviewed-on: http://git-master/r/65626
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R5fe1e3693b242804bd20842eba9c5e8551101b52

7 years agoarm: tegra: cardhu: Put LDO4 in high power mode always
Laxman Dewangan [Mon, 14 Nov 2011 14:56:29 +0000]
arm: tegra: cardhu: Put LDO4 in high power mode always

Based on characterization, at high temperatures Tegra will
draw more than 1mA, which is what the datasheet reports for
the low-power mode of LDO4.
So removing the LOW_POWER mode flag which makes LDO4 in low
power mode in suspend.

bug 890770

Reviewed-on: http://git-master/r/64825
(cherry picked from commit f4263c693e235c52d7ad4ad32d2508b4a6393508)

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

Rebase-Id: R3cf4b2dfa2b5fea9fe281cad769fb5addc241abd

7 years agoARM: tegra: cardhu: Update dvfs tables for elpida & samsung
Ray Poudrier [Fri, 4 Nov 2011 01:29:39 +0000]
ARM: tegra: cardhu: Update dvfs tables for elpida & samsung

Added dynamic self-refresh field and updated arbitration settings.

Bug 896654

Reviewed-on: http://git-master/r/61728
(cherry picked from commit 6b8d5582fb205c6cb277ce0ecbe328fcf724d664)

Reviewed-on: http://git-master/r/62297
(cherry picked from commit 9c60a6c5f5bc07253454a057e9b3e0046c574b45)

Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>

Reviewed-on: http://git-master/r/62535
(cherry picked from commit af73bb50258071d264645f655cae17ea70b9bd10)

Change-Id: Idf7382b1df0d4c06dbe763d5ab20918b48d50515
Reviewed-on: http://git-master/r/64983
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R99ee0ac14f211cd87174642acb3506028bcb3a74

7 years agoARM: tegra: cardhu: Expand EMC DFS table for Hynix DDR3
Ray Poudrier [Fri, 4 Nov 2011 01:12:15 +0000]
ARM: tegra: cardhu: Expand EMC DFS table for Hynix DDR3

- Added dynamic self-refresh field, and updated arbitration settings

Bug 896654

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

Reviewed-on: http://git-master/r/62296
(cherry picked from commit 31f9198bcc05c35cc4aa797e4f224aed62fdfc64)

Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>

Reviewed-on: http://git-master/r/62534
(cherry picked from commit a0977e407c3937aae077304ca1ec1f937419c07b)

Change-Id: I16b46da22d1a7c40bafcc1e55fd22f2979f3798b
Reviewed-on: http://git-master/r/64982
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R15d84c206780f90108f44ebe7cc4812d75d3e57f

7 years agoarm: tegra: Configuring kbc pins as per gpio nr
Laxman Dewangan [Wed, 9 Nov 2011 13:29:02 +0000]
arm: tegra: Configuring kbc pins as per gpio nr

Configuring the kbc pins such that the row/column is configured
in their respective GPIO number.

bug 804531

Reviewed-on: http://git-master/r/64033
(cherry picked from commit ec1c562461090170ce9515147954185c9a5bda44)

Change-Id: I5242bee91e767151022071022f195f0f1ca7bea2

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

Rebase-Id: R53249b9755afca077b20d6efde96c38ef02db360

7 years agoarm: tegra: cardhu: pm298: Support for PM305, PM311 and E1257
Jin Park [Thu, 6 Oct 2011 05:21:46 +0000]
arm: tegra: cardhu: pm298: Support for PM305, PM311 and E1257

PM298 what MAX77663 PMIC supports for PM305, PM311 and E1257 based
systems.

Reviewed-on: http://git-master/r/56365
(cherry picked from commit 7ed6615501bf406e0fca79e559e60e896b07bea2)
Signed-off-by: Jin Park <jinyoungp@nvidia.com>

Change-Id: Ie4e376fdadf530d25bc3d446d925fde08f42e2b1
Reviewed-on: http://git-master/r/65067
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rf6feb97cfccb4993e40b95ae2ff07a2822fef80a

7 years agoarm: tegra: cardhu: pm298: Remove SDMMC1_VDD control for PM269
Jin Park [Thu, 6 Oct 2011 06:20:53 +0000]
arm: tegra: cardhu: pm298: Remove SDMMC1_VDD control for PM269

The SDMMC_VDD control is generated from the cpld programming for pm269
and so it is not require to have gpio control for this.
This change is came from commit e92b10299b329f9df29ae23099b8f2f5f2eee1d7.

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

Change-Id: I24d37dec2fa064c8a25526352247bcc9d3a002f9
Reviewed-on: http://git-master/r/65066
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R86cfccdc962147722f40b6dbcd4d6c81d9afb169

7 years agoarm: tegra: cardhu: pm298: Fix SDMMC regulator registration
Jin Park [Thu, 6 Oct 2011 07:20:47 +0000]
arm: tegra: cardhu: pm298: Fix SDMMC regulator registration

Use the device driver name instead of encoding the SDMMC controller
in the regulator supply name.
This change is came from commit 676dd57f8eb252ce61807c02e5153b4ee4e29418,
and it was reviewd on http://git-master/r/#change,53783.

Reviewed-on: http://git-master/r/56368
(cherry picked from commit 03aa6082f7db7006de6e9c357fcf04e0d395fb16)
Signed-off-by: Jin Park <jinyoungp@nvidia.com>

Change-Id: If80057e52feb29598e2b6bff2e729277f7828531
Reviewed-on: http://git-master/r/65065
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rdb7c61e477e59a56237e0ea89c37848552842323

7 years agoarm: tegra: cardhu: pm298: Correct min_uV for SD1 power rail
Jin Park [Mon, 10 Oct 2011 08:42:17 +0000]
arm: tegra: cardhu: pm298: Correct min_uV for SD1 power rail

Previously it is configured SD1 min_uV to 1.05V to avoid voltage
under-shooting issue on SD1 power rail.
But it doesn't need after safe voltage scaling step patch for
max77663 regulator driver.

Reviewed-on: http://git-master/r/56962
(cherry picked from commit 3ea4ea8a5594cb8b5781bfd06816993b0a3e90cf)

Change-Id: Ied2b8e54f2ac05182b1e0d256e48cda2b6aab0b4
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/65064
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rd4e1d0ea5f087fe223bb8bb5722c972031012678

7 years agoarm: tegra: cardhu: pm298: Add regulator supply for NCT1008
Jin Park [Thu, 17 Nov 2011 02:08:30 +0000]
arm: tegra: cardhu: pm298: Add regulator supply for NCT1008

Adding regulator supply "vdd" for NCT1008 into PM298 what MAX77663 PMIC.

Reviewed-on: http://git-master/r/56366
(cherry picked from commit 3db418ee3342f70cb8bfbb7edc0e897d69a826c9)

Change-Id: Iba41fac3e8a92bc0e9f6ed4037b48bfded32e271
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/65063
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rd14450aeff9bcd71c086266aa41114fcd6446970

7 years agoarm: tegra: cardhu: KEY_POWER event through ONKEY for PM298
Jin Park [Thu, 27 Oct 2011 08:59:26 +0000]
arm: tegra: cardhu: KEY_POWER event through ONKEY for PM298

ONKEY is connected with PMU and PMU generates power-on interrupt.
PM298's power-on interrupt was handled as KEY_POWER event using
interrupt keys driver.

Bug 849360

Reviewed-on: http://git-master/r/60654
(cherry picked from commit 733e3c5dd9b8748c2431eb28accb9b3638919c48)

Change-Id: I15b8fc6d672af5987e0f790ffc8b005e38340458
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/64868
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rb67a1dcf46e426ba3700e238bc58088f681e0a92

7 years agoarch: arm: Enable HDA on cardhu and enterprise
Sumit Bhattacharya [Fri, 21 Oct 2011 15:58:40 +0000]
arch: arm: Enable HDA on cardhu and enterprise

Bug 872652

Change-Id: I89e505f6dedbb9de1a457f797362265cf06e76bb
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/59631
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R7fe0c4c73775ef9f745d2d99cb8ee4eeef3858f1

7 years agoARM: Tegra: Don't switch to DAP2-HDA path
Sumit Bhattacharya [Tue, 15 Nov 2011 10:11:44 +0000]
ARM: Tegra: Don't switch to DAP2-HDA path

SND_HDA_CODEC_REALTEK config by default gets enabled when SND_HDA_INEL
config is enabled. Just enabling realek HDA codec compilation flag
does not mean board has same installed. Remove code which switches
DAP2-I2s21 path to DAP2-HDA based on CONFIG_SND_HDA_CODEC_REALTEK
check.

Bug 872652
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>

Change-Id: I5334d156ed50dfa37fa4b5b6b2e1f34049b762a0
Reviewed-on: http://git-master/r/64402
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R9c70411abf91029075facf6f22f9612cdfcdb4fd

7 years ago3.0: mfd: mfd_data has been removed
Dan Willemsen [Tue, 29 Nov 2011 22:11:28 +0000]
3.0: mfd: mfd_data has been removed

Use platform_data instead

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Rad998951cfaa5d2ad85a0e6de1ca81d5ac39f20c

7 years agoarm: tegra: cardhu: Integrate MAX77663 PMIC into Cardhu
Jin Park [Tue, 15 Nov 2011 09:12:41 +0000]
arm: tegra: cardhu: Integrate MAX77663 PMIC into Cardhu

Integrating MAX77663 PMIC based PM269 board into the Cardhu board.
The system will be find the correct PMIC using the Board ID of PMIC
in the Cardhu init phase.

Bug 849360

Reviewed-on: http://git-master/r/56354
(cherry picked from commit 4d7da62a829de4d051c458caa052a6d612f642fa)

Change-Id: I41a52b70d27378e6240522c16256f8c7e42144b5
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/64399
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R6baa5408a249a41d577f22da8476ad020600b12d

7 years agoarm: tegra: cardhu: Enable 8-bit support for emmc
Pavan Kunapuli [Tue, 15 Nov 2011 16:27:57 +0000]
arm: tegra: cardhu: Enable 8-bit support for emmc

Enable 8-bit support for eMMC cards.

Bug 896706

Change-Id: I075d2b86c9953edca687d36f35c1aab7cccbb71a
Reviewed-on: http://git-master/r/64494
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: Rb9b734950a41200456eaf7221b6f70a94598c964

7 years agoARM: Tegra: Power: use new api to get cpu regulator max_curr
Diwakar Tundlam [Thu, 20 Oct 2011 23:43:56 +0000]
ARM: Tegra: Power: use new api to get cpu regulator max_curr

used when the chip SKU is T33/T33S (cardhu case) or AP33 (enterprise case) to
initialize edp with a higher cpu regulator max_curr value.

bug 888679

Change-Id: Icb50b33b1fc9b1248886e040f4b9b927feee4242
(cherry picked from commit ea572ebf71bbced17f2df2313f03e032949fac68)
Reviewed-on: http://git-master/r/64210
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R98017f0f2bbf6e745961c427d1dc2d05e042b303

7 years agoarm: tegra: cardhu: Put LDO7/8 to OFF in sleep state
Laxman Dewangan [Fri, 28 Oct 2011 13:30:55 +0000]
arm: tegra: cardhu: Put LDO7/8 to OFF in sleep state

Putting the LDO7 and LDO8 to OFF in sleep state.

bug 892613

Reviewed-on: http://git-master/r/63500
(cherry picked from commit 52897937e5c30cd7e0e6c096f166936a0d396a4f)

Change-Id: Ie51594f739e5e581dec17733550ebd4e8d28e040
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/64046
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R58fc9d4c16f990658da18822505d0d9dbe7a31a5

7 years agoarm: tegra: cardhu: correct supplied_to battery driver name
Pritesh Raithatha [Mon, 14 Nov 2011 09:47:39 +0000]
arm: tegra: cardhu: correct supplied_to battery driver name

supplied_to battery driver name is used to link charger
 driver with battery driver. Using that upon
 power_supply_changed() of charger, external_power_changed()
 of battery driver get called.

Bug 872590

Change-Id: Ib80c1770a5a519d21430b3fad5759a848f5db1f3
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/64078
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rced3500a496746d8186f44e2948a37f6b1cb66b8

7 years agoarm: tegra: cardhu: pm299: Controls cpu power through PWRREQ2
Laxman Dewangan [Mon, 7 Nov 2011 06:26:09 +0000]
arm: tegra: cardhu: pm299: Controls cpu power through PWRREQ2

Controlling cpu power through external power request PWRREQ2.

Reviewed-on: http://git-master/r/62896
(cherry picked from commit a49db43178ed94f0f7081b18ba89bbeb7e6188b6)

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

Rebase-Id: R6521e88cf1c1854d8b8acd2d5a4990b1a7c03a60

7 years agoarm: tegra: cardhu: Register ricoh583 pmu driver
Laxman Dewangan [Tue, 8 Nov 2011 10:54:13 +0000]
arm: tegra: cardhu: Register ricoh583 pmu driver

Registering the ricoh583 pmu driver.

Change-Id: I3547522d661852826185e50b6958234a04ca0b4b
Reviewed-on: http://git-master/r/62948
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R458057614dd9db4aeb34d37de20c6753e78b3e51

7 years agoarm: tegra: cardhu: pm299: Onkey support
Laxman Dewangan [Mon, 31 Oct 2011 10:08:20 +0000]
arm: tegra: cardhu: pm299: Onkey support

Enabling the onkey for pm299 based system. This
will be used to wakeup/suspend the system.

Reviewed-on: http://git-master/r/61901
(cherry picked from commit e86410259e234d0c6ab9acdab7ab0e0fa36309ca)

Change-Id: I48c1e8ad44fa1a991b357e924baf9e0b3ba74563
Reviewed-on: http://git-master/r/62914
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R075c1d69a70af7d4b90a61315ed1b025528fce61

7 years agoarm: tegra: power: set throttling temperature = 85C
Diwakar Tundlam [Fri, 2 Sep 2011 17:38:24 +0000]
arm: tegra: power: set throttling temperature = 85C

Earlier value of 75 had unnecessary double guardbanding.
Changed 90C row in EDP table down to 85C to get throttling alert.

Bug 862301

Reviewed-on: http://git-master/r/50544
(cherry picked from commit 9f2693a80274bcd9eb8e7424bca87f34cc190741)

Change-Id: If7204150013e7894fc310a2f7e8fd46baf11d869
Reviewed-on: http://git-master/r/62773
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rca01083973997a932972c54734ad60fc0a838105

7 years agoarm: tegra: power: guardbanding only for accuracy of TDiode
Diwakar Tundlam [Thu, 8 Sep 2011 17:59:56 +0000]
arm: tegra: power: guardbanding only for accuracy of TDiode

Bug 844025

Reviewed-on: http://git-master/r/51443
(cherry picked from commit 1abdcb266a1fa22fd766549d5eddcca92e1fb17e)

Change-Id: Ie9b405482eebf40923f8de20c897f20bebdb84ba
Reviewed-on: http://git-master/r/61681
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb3c087972a3ead5b298dbd6756994f2b95995561

7 years agoarm: tegra: kbc: cardhu/enterprise: Set scan times
Laxman Dewangan [Sun, 30 Oct 2011 13:21:23 +0000]
arm: tegra: kbc: cardhu/enterprise: Set scan times

Setting the number of scans to 30 by keyboard controller after
pressed key released.
Also setting repeat delay time to 1 clock.

bug 876712

Reviewed-on: http://git-master/r/62592
(cherry picked from commit 9afabbf3d72135346b02c9a2cf48e4793fb90d43)

Change-Id: Idec353b68fba82676655125acd7f3d78ff4d0d08
Reviewed-on: http://git-master/r/63198
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rff2ef90d39a71cb0692cf620872c73b2ea73d164

7 years agoarm: tegra: enterprise: cardhu: pn544 nfc support
Rakesh Goyal [Mon, 7 Nov 2011 20:30:31 +0000]
arm: tegra: enterprise: cardhu: pn544 nfc support

1) configuring pinmux
2) create pn544_i2c_platform_data
3) register i2c device info using i2c_register_board_info

Bug 846684
Bug 873017

Change-Id: I6cc370d3ee6cc5df6b75db19bb719275e465f344
Reviewed-on: http://git-master/r/62746
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R0c8935bff65dd500d2e7afd4aef441e32ab3e50a

7 years agoArm: Tegra: Cardhu: pm269: Add ramp voltage for LDO3
Pavan Kunapuli [Thu, 8 Sep 2011 14:13:56 +0000]
Arm: Tegra: Cardhu: pm269: Add ramp voltage for LDO3

The ramp voltage for the ldo3 for PM269 is around 1mV/us.
Setting this value.

bug 872382

Reviewed-on: http://git-master/r/51364
(cherry picked from commit aa84b06982dbea58b815fc99bbbf84c7bdaddc78)

Change-Id: I2b7cd8883c06250490c3e27dd28384985706aa68
Reviewed-on: http://git-master/r/62341
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R74b6d629197cc9b1cc591a4ac318f7105c7f28c5

7 years agotegra: usb: otg: factorize host registration code
Alexandre Courbot [Wed, 2 Nov 2011 07:57:31 +0000]
tegra: usb: otg: factorize host registration code

OTG host register/unregister functions were duplicated identically
across all board files, making the code difficult to maintain (and
actually some boards did not get all some code fixes leading to the same
bug being met again and again). This patch moves this common code into
tegra-otg.c.

Bug 884315
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Change-Id: I99b118664f0481f6c5470411b43f36609e0feb52
Reviewed-on: http://git-master/r/61763
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: Rd9299cca0d0de521f6f81ac450db3df55b5c5ff4

7 years agoarm: tegra: cardhu: Configure LDO4/7/8 in lp mode in suspend
Laxman Dewangan [Wed, 19 Oct 2011 08:21:49 +0000]
arm: tegra: cardhu: Configure LDO4/7/8 in lp mode in suspend

Configuring the LDO4, LDO7 and LDO8 in low power mode in suspend.

bug 890770

Reviewed-on: http://git-master/r/60411
(cherry picked from commit 5c65acbba9526f66679ed6934e008c4205c7fd88)

Change-Id: I519e99ba02eac08fc93b69422fd129eea85eec3a
Reviewed-on: http://git-master/r/61439
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rd5f3000c7845e3967b542268feaeeff169ad7498

7 years agoarm: tegra: cardhu: Enable i2s3 and BT device
Sumit Bhattacharya [Thu, 3 Nov 2011 07:08:53 +0000]
arm: tegra: cardhu: Enable i2s3 and BT device

Enable i2s3 and bluetooth dit device for cardhu. Also add i2s2 clock in
clock table. It is needed to support BT SCO playback/record.

Bug 872652
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>

Change-Id: I3b702bbbd360db966447b099e982891383db27cd
Reviewed-on: http://git-master/r/62049
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R035bff07f147e9100956df6c238bf7df60d89e93

7 years agoarm: tegra: cardhu: Select debug console from kernel command line
Laxman Dewangan [Sun, 11 Sep 2011 04:52:05 +0000]
arm: tegra: cardhu: Select debug console from kernel command line

Selecting debug console from linux command line.

bug 795847

Reviewed-on: http://git-master/r/51723
(cherry picked from commit ce5675f5a7607f9e549f84c42bea3df6f14c9008)

Change-Id: Ia242b6b0fed0b9d2fad6c66a14895e5574f6f5b9
Reviewed-on: http://git-master/r/61422
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R3fd2b06fefa1b153d2c739c5d7c55b2265659225

7 years agoarm: tegra: initialise dam/ahub audio clocks
Nikesh Oswal [Tue, 18 Oct 2011 10:18:06 +0000]
arm: tegra: initialise dam/ahub audio clocks

Bug: 862023

Change-Id: I62a66cdf12fb78132d78b2e6853d32c3f8a8d68a
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/58675
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R764cea18343aaf8d6d497c63b8ce51c4aa5383cf

7 years agoarm: tegra: register dam device in various boards
Nikesh Oswal [Mon, 24 Oct 2011 05:13:41 +0000]
arm: tegra: register dam device in various boards

Bug: 862023

Change-Id: Ibdb12ce9ae50b30e4c25ea43adc4c8c7e6516858
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/59863
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R36a1b36b2e0ce268404ca7c9ef4ae252c4622c14

7 years agoarm: tegra: cardhu: Reset Modem during init
BH Hsieh [Fri, 14 Oct 2011 05:00:36 +0000]
arm: tegra: cardhu: Reset Modem during init

Set GPIO direction to high on main k39 branch.

bug 817238

Change-Id: I2960b4a325d8013295528790a28daea4a58e10cd
Reviewed-on: http://git-master/r/58020
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3a80bfd11cd3959fd2c760eda277f6db42ecb333

7 years agoarm: tegra: cardhu: enable LP0
Wen Yi [Tue, 25 Oct 2011 23:18:46 +0000]
arm: tegra: cardhu: enable LP0

Enable LP0 for cardhu family boards.

BUG 893759

Change-Id: Ic5cceeb1034104eefb3243036fbc2c3dc0125b43
Reviewed-on: http://git-master/r/60335
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd7c4a6633a428895ebdb1e98932c696e7587271e

7 years agoARM: tegra: clock: Remove Tegra3 initial pll_m refcount
Alex Frid [Tue, 25 Oct 2011 01:51:32 +0000]
ARM: tegra: clock: Remove Tegra3 initial pll_m refcount

Removed Tegra3 pll_m refcount from common and board initialization.
As a result pll_m is turned off when all client clocks are disabled.
Added pll_m disable/enable control via PMC registers - this one
actually works on Tegra3; kept clock register control in place, just
in case.

Originally implemented in dee91eaf47a7e6b392e9663170dcfdcdde73446c.

Bug 888476

Change-Id: Ifa70d25ce8d93abc12c741d3a51b32110db3f7dd
Reviewed-on: http://git-master/r/60129
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R8de74a2b14d06ef754ba043f07a95ad636924c65

7 years agovideo: tegra: support display board PM313
Hyungwoo Yang [Mon, 24 Oct 2011 22:06:17 +0000]
video: tegra: support display board PM313

This change supports PM313 with 19X12 panel.
The change uses PM313 in "Single input to Dual output" mode

Bug ID : 822980
Reviewed-on: http://git-master/r/50215
(cherry picked from commit b83e795747fa860b5b7fb66b2067ebe4f15bcfd0)

Change-Id: Iabf707ded2976e9877481c215d0b1f1940781f14
Reviewed-on: http://git-master/r/60085
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rda6368b3e3d31b508be0cee4b13b322125495226

7 years agoARM: tegra: Fix board-specific initcalls
Dan Willemsen [Mon, 24 Oct 2011 21:32:09 +0000]
ARM: tegra: Fix board-specific initcalls

These initcalls weren't ensuring that they're actually running on the
board they care about, which breaks on a multi-board kernel.

Change-Id: Ifd8a3e523c2523b68ec4d7e30c2b87969b939931
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/60010
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf189bc5a0510612b55504b3412f01cf8470038d0

7 years agoARM: tegra: fix invalid return
Colin Patrick McCabe [Wed, 19 Oct 2011 19:06:18 +0000]
ARM: tegra: fix invalid return

Change-Id: Iaa3debdcbf16ff3243c635d2fd23a3e17bc35103
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59169
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R191e18882409373cf238f6588c91cbfc48daebb5

7 years agoarm: tegra: cardhu: update ina monitor for VDD_CORE_IN
Nitin Kumbhar [Tue, 18 Oct 2011 10:38:39 +0000]
arm: tegra: cardhu: update ina monitor for VDD_CORE_IN

for fab A04 of cardhu, VDD_CORE_IN is monitored with ina monitor
present at i2c addr 0x4A. Update platform data to accommodate
this change.

Also, remove hard-coded indexes used in platform data and i2c
board info.

BUG 883788

Reviewed-on: http://git-master/r/58678
(cherry picked from commit 8e1628bc03bd4a1fde574187a017f67b6358c180)

Reviewed-on: http://git-master/r/59309
(cherry picked from commit ab3a20d05dd46483604f61fabfe865476bc448ac)

Change-Id: I48cc76fff912e702e4862014adf19806c58da915
Reviewed-on: http://git-master/r/59316
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R9642d23012d370a536ab72e050de059112d1e7bd

7 years agoarm: tegra: cardhu: Support Fab A05
Laxman Dewangan [Tue, 27 Sep 2011 09:50:07 +0000]
arm: tegra: cardhu: Support Fab A05

Support for E1291-A05 board.

bug 881745

Reviewed-on: http://git-master/r/58053
(cherry picked from commit be104b795f0c46b8bbe1e45ca618fed74d81a7c6)

Change-Id: I0137f9e13ee9c01bd60125589b16023c899389c9
Reviewed-on: http://git-master/r/59287
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R6450506e02427f4bae13857a52ed43dd530e720a

7 years agoarm: tegra: Make kernel buildable without nvhost
Terje Bergstrom [Thu, 6 Oct 2011 07:55:04 +0000]
arm: tegra: Make kernel buildable without nvhost

Cuts dependencies to nvhost by adding a Kconfig dependency from DC to
GRHOST and from HD Audio to DC. Configure out calls to nvhost in board
panel files if GRHOST is not present.

Bug 870898

Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>

Change-Id: If7830528e321e951bcadc2a10515e6cab58a6cdf
Reviewed-on: http://git-master/r/56370
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Chris Dragan <kdragan@nvidia.com>

Rebase-Id: R0a41df10957fd98959b546fc9439402c9e6d18c6

7 years agoarm: tegra: cardhu: OV14810 sensor support
kdivvela [Fri, 30 Sep 2011 13:04:14 +0000]
arm: tegra: cardhu: OV14810 sensor support

Support for OV14810 sensor on cardhu

Bug 839441

Reviewed-on: http://git-master/r/51985
(cherry picked from commit f1aea025b145a884ac4cc507c86c647ca65e348f)

Change-Id: I9db882aab6f8ae89c4d463b9d6825e7c7cfd2928
Reviewed-on: http://git-master/r/58660
Reviewed-by: Krupal Divvela <kdivvela@nvidia.com>
Tested-by: Krupal Divvela <kdivvela@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8f2a1692deba888e2d0476ea2159a1e36722cc63

7 years agoarm: tegra: cardhu: change i2c pll src to pll_p
Alok Chauhan [Wed, 12 Oct 2011 09:01:04 +0000]
arm: tegra: cardhu: change i2c pll src to pll_p

Change the pll source of i2c from CLK_M to PLL_P_OUT0.

Bug 856468

Change-Id: I0865d0679fcc7ae2b862b9f68900275ab05da5ec
Reviewed-on: http://git-master/r/57505
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R04fd8dd082ad497a7ca7673f593fb4e309b3a2da

7 years agoarm: tegra: cardhu: Initialize gpio pins mode
Laxman Dewangan [Tue, 4 Oct 2011 12:58:57 +0000]
arm: tegra: cardhu: Initialize gpio pins mode

Initializing the pins which is used in gpio to their inital state.

bug 876305

Reviewed-on: http://git-master/r/57516
(cherry picked from commit 3f33cb777295669e71e291bb05651d3c6c4b37d5)

Change-Id: Ie05862e5184bb95c85cf7aa96ce2eca497c01c93
Reviewed-on: http://git-master/r/57817
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R647b033cdcc7abbdcad77e58b170f20b08a53e6b

7 years agoarm: tegra: cardhu: Support for E1257
Laxman Dewangan [Fri, 9 Sep 2011 05:38:01 +0000]
arm: tegra: cardhu: Support for E1257

Adding support for E1257 platform.

bug 864294

Reviewed-on: http://git-master/r/50662
(cherry picked from commit 8217615021a6ffeb992327f6b010ea9deebc34e7)

Change-Id: I3429da1bca38e1ddc5b3c2156a0db6b23aeb5555
Reviewed-on: http://git-master/r/57806
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R7fadbdc30bdca30e41e0b7fdb88628dbc8c32e82

7 years agoarm: tegra: cardhu: Change for w_disable pin on E1198-A02
Laxman Dewangan [Wed, 24 Aug 2011 06:05:17 +0000]
arm: tegra: cardhu: Change for w_disable pin on E1198-A02

The w_disable pin is connected to different gpio in
E1198-A02 compare to E1198-A01. Making related changes
to support E1198-A02.

bug 864282

Reviewed-on: http://git-master/r/48877
(cherry picked from commit 009e0b9ccf776e658c27df59716cc1cce075ad31)
Change-Id: I85b7f0b10dd3549f07c48e71ffca1a304afc753d
Reviewed-on: http://git-master/r/57790
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rbf1f0f4775d536ba198f3c5a3ff3088c75d988fb

7 years agousb: host: tegra: Configurable USB hotplug
Artiste Hsu [Tue, 27 Sep 2011 01:47:32 +0000]
usb: host: tegra: Configurable USB hotplug

Hotplug on usb is supported when hotplug flag is set in platform data

Bug 869745

(cherry picked from commit I57ba0b18a2d4232b2df2074c91aff97c6e639e7d)
Reviewed-on: http://git-master/r/54588

Change-Id: I24e5ddf49cead14d3eebe30da0f92402015c95c7
Reviewed-on: http://git-master/r/57725
Tested-by: Artiste Hsu <chhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R597eb9f741e67826aca791fbaf0121ab4d885840

7 years agoarm: tegra: cardhu: Set LDO2 to 1200mV for E1208-A04
Laxman Dewangan [Wed, 28 Sep 2011 17:13:30 +0000]
arm: tegra: cardhu: Set LDO2 to 1200mV for E1208-A04

bug 875709

Reviewed-on: http://git-master/r/56632
(cherry picked from commit b7077b25dfaa7c92c5f05f50688d26710eb57348)

Change-Id: I46b0bd4d939e5ffbce9599ad2c437a7d424b1d87
Reviewed-on: http://git-master/r/57258
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb192b1590af659143cf62938ce5ab468526216ee

7 years agoarm: tegra: cardhu: pm269: Remove SDMMC1_VDD control
Laxman Dewangan [Mon, 26 Sep 2011 12:49:49 +0000]
arm: tegra: cardhu: pm269: Remove SDMMC1_VDD control

The SDMMC_VDD control is generated from the cpld programming
for pm269 and so it is not require to have gpio control for this.

bug  880984

Reviewed-on: http://git-master/r/56627
(cherry picked from commit 38ad9be02578b64d3f5eab8c6146abfc6c842d35)
Change-Id: Id7cae7a724c02754b3abbc937a7e80b9a51d7977
Reviewed-on: http://git-master/r/57254
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R34a8cb39a5c557461ebbb540692487d357798eca

7 years agoarm: tegra: cardhu: Support for PM311
Laxman Dewangan [Wed, 31 Aug 2011 06:16:43 +0000]
arm: tegra: cardhu: Support for PM311

Adding support for PM311 based system.

bug 870139

Reviewed-on: http://git-master/r/50012
(cherry picked from commit d319d9980b6b225735ac97160fdee18fbabba2f0)

Change-Id: Iaa28921761e035e8fa29956b776f9379ae326b42
Reviewed-on: http://git-master/r/57251
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R50fc9a079bd46a050084afed2b0f460e2916ebc9

7 years agoarm: tegra: Specify dev name for audio regulators
Sumit Bhattacharya [Sun, 2 Oct 2011 21:46:22 +0000]
arm: tegra: Specify dev name for audio regulators

Specify device names for ventana and cardhu speaker and digital mic
regulators. Also use same regulator name for ventana and cardhu
speaker supply.

Bug 872652

Change-Id: I5a254eee2037c86e208818f34cdff24aee0edad9
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/55668
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R8a8bc937154783ba8bcfc21a237ab6043cc9ba0e

7 years agoarm: tegra: Pass WM8903 gpio configuration
Sumit Bhattacharya [Sun, 2 Oct 2011 08:57:55 +0000]
arm: tegra: Pass WM8903 gpio configuration

On cardhu and ventana WM8903 GPIO1 is used for digital mic lrclk
output and GPIO2 is used for digital mic data input. Pass corresponding
WM8903 gpio configuration through platform data to enable cardhu and
ventana digital mic support.

Bug 872652

Change-Id: I410265f1b4f9a8c5e43e5437ed6bac4122709178
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/55654
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4410b3a40f7577b4358b85e40a6e37544dc6c2b4

7 years agoarch: arm: Enable SPDIF driver for Tegra30
Sumit Bhattacharya [Wed, 28 Sep 2011 12:29:22 +0000]
arch: arm: Enable SPDIF driver for Tegra30

Bug 872652

Change-Id: Ic170dc2fc86f74d9e67d3b73a6f83368597dafcb
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/54975
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rcffb88a225fe811ac21466f8d15ee536c2e8b6a4

7 years agoarm: tegra: cardhu: Set pwr_i2c speed to 400KHz
Laxman Dewangan [Thu, 8 Sep 2011 08:45:30 +0000]
arm: tegra: cardhu: Set pwr_i2c speed to 400KHz

bug 870689

Reviewed-on: http://git-master/r/51292
(cherry picked from commit f66aaace70f4327a8612913a8d5e2cb967dcdad6)
Change-Id: I1f8ac2b323b9bb135312dba2f333fb9d5ce3d44b
Reviewed-on: http://git-master/r/57026
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rac27549cbe8fcca75cb1734de24d066ae787c835

7 years agoarm: tegra: cardhu: use 55hz only for old boards
Jon Mayo [Thu, 22 Sep 2011 00:19:16 +0000]
arm: tegra: cardhu: use 55hz only for old boards

SKU_TOUCHSCREEN_MECH_FIX needed an extra '0', it is used to control
display refresh rates for some boards that are more sensitive to touch
screen interference.

Bug 878694
Bug 861062

Reviewed-on: http://git-master/r/53898
(cherry picked from commit 4a3a8de8afe64c7ee497d228e5d0f1d86e9ed667)

Change-Id: I3bf160b739ba806aeb2130bf2680c87815fcac98
Reviewed-on: http://git-master/r/56302
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf25f43bc07089cf17311b06bf06bb61300ae5afb

7 years agoarm: tegra: cardhu: add gpio charger support
Pritesh Raithatha [Tue, 27 Sep 2011 09:54:46 +0000]
arm: tegra: cardhu: add gpio charger support

Bug 872590

Change-Id: I7e5bfe68a4f299f771b4af7094754e4167a44f29
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/54663
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R9dce2ca60c88531d5b16ed669404b3f1a25a9e81

7 years agoarm: tegra: xmm : Changes for CP initiated system resume
Seshendra Gadagottu [Fri, 26 Aug 2011 13:58:35 +0000]
arm: tegra: xmm : Changes for CP initiated system resume

Added the changes required for CP initiated L3 -> L0 resume.

BUG 828389

Reviewed-on: http://git-master/r/49462
(cherry picked from commit 58de177d5eb9ad81c6bfb25195a88011ce8622b9)

Change-Id: I423a7ff7cd6d5b1679b6f643337b28d2af5ce602
Reviewed-on: http://git-master/r/54198
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: R7a831e137f784d10c0914ac9226b86f2c99ee2b1

7 years agoarm: tegra: cardhu: Adding support for tegra RTC
venu byravarasu [Mon, 26 Sep 2011 12:10:42 +0000]
arm: tegra: cardhu: Adding support for tegra RTC

With this change, ported board changes needed for
supporting tegra internal RTC on cardhu from 2.6.36.

Change-Id: Ic3f0dc152dfe7d3a51228f70ebafbc640b631172
Reviewed-on: http://git-master/r/54466
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R95e169ae8c7a4f2a73cc0f202c72469a614a657a

7 years agoARM: tegra: nvavp: registering new nvavp driver
Bharat Nihalani [Mon, 26 Sep 2011 13:51:08 +0000]
ARM: tegra: nvavp: registering new nvavp driver

Also re-arranged tegra_nvavp code so that it is common accross boards

Bug 880623

Change-Id: I7d634a718e07e07e945fb512466b3a0672aea7e2
Reviewed-on: http://git-master/r/54487
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Reb5aaf8cad9b40cc52e3df5f3535a8a0db0b47cc

7 years agoarm: tegra: Enable XCVR setup through fuses
Rakesh Bodla [Tue, 13 Sep 2011 11:10:50 +0000]
arm: tegra: Enable XCVR setup through fuses

Enabling the XCVR setup for USB using USB calibration
fuses.

Bug 867817

Reviewed-on: http://git-master/r/51575
(cherry picked from commit 5c9d3b4c06bd22e1d6aae31c0fbe67fc5f7e1902)
Change-Id: If74435b8d9db7eb7a60d5c27f6b6e23cae890fb6
Reviewed-on: http://git-master/r/54652
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb1263b550101be024387394e873232c5b01a5089

7 years agoarm: tegra: Add regulator entry for NCT1008
venu byravarasu [Thu, 8 Sep 2011 08:41:21 +0000]
arm: tegra: Add regulator entry for NCT1008

bug 869217

Reviewed-on: http://git-master/r/51291
(cherry picked from commit bdf107203561935aa8d1eb1be36cfbbd36adfbe4)

Change-Id: I3a342c87c65e586942396f12193726f0d60d17f1
Reviewed-on: http://git-master/r/54225
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Re3c83bf2dad8b8fb64b4372af15461c3b9a775bc

7 years agoarm: tegra: cardhu: change vi pll src to pll_p
Zhijun He [Thu, 22 Sep 2011 01:10:50 +0000]
arm: tegra: cardhu: change vi pll src to pll_p

Change the pll source of vi_sensor from PLL_M to PLL_P since PLL_M is
more variable. Also we can get exactly 24MHz mclk rather than 24.24MHz.

Bug 870687
Bug 879875

Reviewed-on: http://git-master/r/50382
(cherry picked from commit a994fae2c18aee4d1df1b1d3d11c1259fdf3264e)

Change-Id: I8c9196e47d9e995089d7b073c17a2f67fbac3995
Reviewed-on: http://git-master/r/53905
Reviewed-by: Zhijun He <zhhe@nvidia.com>
Tested-by: Zhijun He <zhhe@nvidia.com>
Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>

Rebase-Id: R479eafb8e00602383060e93cbb28bc00d686c0e8

7 years agoARM: tegra: cardhu: Fix SDMMC regulator registration
Dan Willemsen [Thu, 15 Sep 2011 00:47:10 +0000]
ARM: tegra: cardhu: Fix SDMMC regulator registration

Use the device driver name instead of encoding the SDMMC controller in
the regulator supply name.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Change-Id: I08fb807c5a13eedd70bb9a5d47633334d51133d6
Reviewed-on: http://git-master/r/52502
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R2966fc597604a2c8a0e5b2c9f507a4566e3400f9

7 years agoARM: tegra: power: set cardhu suspend mode to LP1
Jin Qian [Tue, 13 Sep 2011 21:16:10 +0000]
ARM: tegra: power: set cardhu suspend mode to LP1

http://nvbugs/876007

Change-Id: Id060bcc5ef20c0bc553bc171a3b96699140b2161
Reviewed-on: http://git-master/r/52136
Reviewed-by: Jin Qian <jqian@nvidia.com>
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R6496b91629af42d4b6ac9a623cd63d03c14abab2

7 years agoarm: tegra: cardhu: Set touch control signal to non-tristate
Laxman Dewangan [Tue, 13 Sep 2011 14:07:59 +0000]
arm: tegra: cardhu: Set touch control signal to non-tristate

Setting touch control signal to non-tristate.

bug 862648

Change-Id: I240a5cd3815c6df99f7491d796dc383a7825b9ed
Reviewed-on: http://git-master/r/52051
Reviewed-by: Ali Ekici <aekici@nvidia.com>
Tested-by: Ali Ekici <aekici@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R6ff7c63d28b27eefe73a170db6d7f64f9cb0fd8f

7 years agoARM: tegra: Update copyrights
Scott Williams [Wed, 7 Sep 2011 19:21:06 +0000]
ARM: tegra: Update copyrights

Change-Id: I156af0bdd8b37cb23aec214c3e158027252e27e1
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/51157

Rebase-Id: R5b760594bf1a332f2baa9d14922ab65aaa71069d

7 years agoarm: tegra: cardhu: Adding spi2 platform device
Laxman Dewangan [Fri, 2 Sep 2011 12:41:18 +0000]
arm: tegra: cardhu: Adding spi2 platform device

Adding spi2 master device to enable the SPI2 master
interface.

bug 871218
bug 869972

Original-Change-Id: I1d70f5c07242c98565eae84777917292f280e6cc
Reviewed-on: http://git-master/r/50513
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Ref0db7f6cba6fc5777c2caf079beee942302c94c

7 years agoarm: tegra: cardhu: Debug console should be UartB for E1256
Laxman Dewangan [Fri, 2 Sep 2011 10:57:45 +0000]
arm: tegra: cardhu: Debug console should be UartB for E1256

Setting debug console to be UARTB for E1256

bug 871620

Original-Change-Id: Ie1e97997d0b47a3b3eff2ba4ecfb0af5dc920d41
Reviewed-on: http://git-master/r/50498
Tested-by: Kuan Luo <kluo@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R1d89f6c474d91fc8b3c8a1529638813f25bd3450

7 years agoARM: Tegra: pinmux: Updating sdmmc drive strengths
Pavan Kunapuli [Tue, 30 Aug 2011 13:25:07 +0000]
ARM: Tegra: pinmux: Updating sdmmc drive strengths

Updating sdmmc3 and sdmmc4 drive strengths as per
characterization results.

Bug 799568

Original-Change-Id: I48256399db726e1ab6afe01c9d08e47f13a20103
Reviewed-on: http://git-master/r/49861
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R6226b1f1eecadfb45f774a26295e672356076c27

7 years agoarm: tegra: cardhu/enterprise: Providing clock src based on preference.
Laxman Dewangan [Thu, 1 Sep 2011 05:15:02 +0000]
arm: tegra: cardhu/enterprise: Providing clock src based on preference.

Providing the clock source based on preference.

bug 870388

Original-Change-Id: I1d5cda35a4d0d70082bf03d7ee02c8322920691a
Reviewed-on: http://git-master/r/50256
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Re51a301419cd9577dfbef52a637d6d21ff0a6c9d

7 years agoarm: tegra: cardhu: KEY_POWER event through ONKEY
Laxman Dewangan [Tue, 30 Aug 2011 13:22:18 +0000]
arm: tegra: cardhu: KEY_POWER event through ONKEY

Generating the KEY_POWER event from the on-key. On-key
is connected through the pmu's PWRON interrupt.

bug 869948

Original-Change-Id: Id57642dfc8529606300ba572106fb75c79e859fb
Reviewed-on: http://git-master/r/49856
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>

Rebase-Id: Rf9240bc354915cf97e69853da4b10ac096dfbc14

7 years agoarm: tegra: cardhu: Support for PM305
Laxman Dewangan [Tue, 30 Aug 2011 09:41:20 +0000]
arm: tegra: cardhu: Support for PM305

Adding support for PM305.

bug 846246

Original-Change-Id: Ib036c67c12984668e0b7153f76a1a1d44c5be14f
Reviewed-on: http://git-master/r/49820
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R9e9eb93ddcea487159854533eead3fe8eb74e42b

7 years agoarm: tegra: cardhu: use dithering on 18bpp panel
Jon Mayo [Fri, 26 Aug 2011 20:02:22 +0000]
arm: tegra: cardhu: use dithering on 18bpp panel

configure ordered dithering for 18bpp internal lcd.

Bug 869395

Original-Change-Id: I4e9391773f783992820e85a201d29403455bc100
Reviewed-on: http://git-master/r/49508
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R5ff8b01be9412151a51553004cd0040d70bddc4c

7 years agoarm: tegra: PM269: Fix focuser I2C timeout issue.
Frank Chen [Thu, 25 Aug 2011 01:04:52 +0000]
arm: tegra: PM269: Fix focuser I2C timeout issue.

Fix regulator_get error and reset the sensor/focuser properly
in the camera power on routine for PM269.

Bug 842713

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

Rebase-Id: R5623445c753a3e8ffaaef38a5b105c8330e21b49

7 years agoARM: tegra: cardhu: Disable EMC DFS for 2GB memory
Alex Frid [Tue, 9 Aug 2011 03:42:47 +0000]
ARM: tegra: cardhu: Disable EMC DFS for 2GB memory

Bug 861419

Original-Change-Id: Icff68a821f5088af62962ccadaabbd01e4b5af7b
Reviewed-on: http://git-master/r/45966
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4cb37cd9644ed36c7ee8e2b0462ef9bf8536674d

7 years agoarm: tegra: power: set more accurate temperature guardbands
Diwakar Tundlam [Fri, 26 Aug 2011 00:51:44 +0000]
arm: tegra: power: set more accurate temperature guardbands

use fractional guardband accurately per chip sku
bug 844025

Original-Change-Id: I1137e39b5aa9babae740d2c9e438275183683756
Reviewed-on: http://git-master/r/49317
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rbcb326cee7961f7d4065ce17b208063cb15f0eba

7 years agoarm: tegra: cardhu: Set dsi_csi rail to 1200mV
Laxman Dewangan [Thu, 25 Aug 2011 08:48:10 +0000]
arm: tegra: cardhu: Set dsi_csi rail to 1200mV

Setting the dsi_csi rails to 1200mV.

bug 869063

Original-Change-Id: If1bd3d804b5f3888e4bbd377ab2105c4ca7a2dda
Reviewed-on: http://git-master/r/49175
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Re9e8cebb8e9db0a6f499514895bf3228eddbd479

7 years agoARM: tegra: cardhu: Fix (or suppress) warnings
Scott Williams [Thu, 25 Aug 2011 21:04:14 +0000]
ARM: tegra: cardhu: Fix (or suppress) warnings

Change-Id: Ie1ec67106ffb4cf38415095a8db31d01fe1d5e10
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/49274
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R23e65a63d3f2869217af5cc7952ea64931ba4924

7 years agoarm : tegra: sysfs interface for xmm power module on/off
Seshendra Gadagottu [Thu, 25 Aug 2011 05:53:33 +0000]
arm : tegra: sysfs interface for xmm power module on/off

Now xmm power module made static part of the kernel.
xmm modem can be on/off using the sysfs interface.

BUG 828389

Original-Change-Id: Icfbe83beeac43f88418eee29f71ccd58d9b840c2
Reviewed-on: http://git-master/r/47773
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R3adb92f2a3f3523c1006969a42499263dd0fa6fb

7 years agoarm: tegra: cardhu: Correct supply name of hvdd_pex.
Laxman Dewangan [Thu, 25 Aug 2011 08:36:51 +0000]
arm: tegra: cardhu: Correct supply name of hvdd_pex.

Correcting the supply name for hvdd_pex voltage rail.

bug 868452

Original-Change-Id: I238051360baca044ea547ed0fed6cf7e4a663012
Reviewed-on: http://git-master/r/49174
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Krishna Thota <kthota@nvidia.com>
Tested-by: Krishna Thota <kthota@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R425970ed9eba558db187b9123241c433bf6addba

7 years agoarm: tegra: cardhu: add tegra_aes_device to cardhu_devices[]
Varun Wadekar [Thu, 18 Aug 2011 05:22:56 +0000]
arm: tegra: cardhu: add tegra_aes_device to cardhu_devices[]

Original-Change-Id: Ic3986547d1a022d54ce21b84a451cbfe6d827f46
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/47722
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb9d894df122d0b89284cab827f74088e0b1207d0

7 years agoarm: tegra: Fix gpio warnings
Kasoju Mallikarjun [Mon, 22 Aug 2011 09:37:00 +0000]
arm: tegra: Fix gpio warnings

Do not request backlight enable GPIO pin
in backlight notify. It is already
acquired in backlight init.

Bug 865058

Change-Id: Ic6a0fc804d87590b17851c0a79cb19509068c32d
Reviewed-on: http://git-master/r/48442
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Ra7e7c9f128f9101f8a6e4457ef668ab0d123604a

7 years agoarm: tegra: cardhu: Suport for E1198-A02
Laxman Dewangan [Mon, 22 Aug 2011 13:31:55 +0000]
arm: tegra: cardhu: Suport for E1198-A02

Adding support for the gpio changes for E1198-A02.

bug 864282

Change-Id: I96e985882a3f2d00a66b300e85cb24661f884746
Reviewed-on: http://git-master/r/48483
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R07d861bb8832972e46a713d9ff195fef2cf6d1d2

7 years agoarm: tegra: cardhu: Reset Modem during init
Laxman Dewangan [Thu, 14 Jul 2011 09:08:02 +0000]
arm: tegra: cardhu: Reset Modem during init

Resetting the modem during the kernel boot for E1291-A04.

bug 817238

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

Rebase-Id: Rf42e80598a66f46cd0ef0e2bfacca3917eb86c45

7 years agoinput: touch: atmel_mxt_ts: Increase touch perf for SKU-2000.
Robert Collins [Mon, 15 Aug 2011 22:59:17 +0000]
input: touch: atmel_mxt_ts:  Increase touch perf for SKU-2000.

Increase touchscreen performance for Cardhu SKU-2000 with touch
panel air gap gasket changes.

Bug 864735

Original-Change-Id: I01137e8d31230cd1d1f5a7d25d82259cc732b1e5
Reviewed-on: http://git-master/r/47197
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Ali Ekici <aekici@nvidia.com>
Tested-by: Ali Ekici <aekici@nvidia.com>
Reviewed-by: Jonathan Mccaffrey <jmccaffrey@nvidia.com>
Tested-by: Jonathan Mccaffrey <jmccaffrey@nvidia.com>

Rebase-Id: Rede07c6cc06387a4ccb31eaa2b7bd2e4603c3768

7 years agoarm: tegra: Fix backlight toggling on cardhu/fb0
Robert Morell [Wed, 17 Aug 2011 23:03:55 +0000]
arm: tegra: Fix backlight toggling on cardhu/fb0

Cardhu has both an internal panel (on fb0) and external HDMI (on
fb1).  One of the devices might be blanked while another is unblanked.
In order for the backlight blanking logic to know whether to turn off
the backlight for a particular framebuffer's blanking notification, it
needs to be able to check if a given framebuffer device corresponds to
the backlight.

This implements a check_fb pwm_backlight hook to make the internal
panel's backlight only toggle on fb0 blank changes.

Bug 864592

Original-Change-Id: Ieafb8269c8bf5e030181b332d965b40d374efc1e
Reviewed-on: http://git-master/r/47637
Tested-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Chetan Hooli <chooli@nvidia.com>
Tested-by: Chetan Hooli <chooli@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R989fd6e64a339d3efec360789805e4392e8468af

7 years agoarm: tegra: cardhu: Disable HSIC support for PM269
Seshendra Gadagottu [Wed, 17 Aug 2011 13:39:31 +0000]
arm: tegra: cardhu: Disable HSIC support for PM269

PM269 has no hsic device connection and because of this
enumeration of hsic device is failing and error logs
are seen. This is creating issue for WAT system testing.
To avoid this for USB2, UTMI is selected instead of HSIC.

BUG 863313

Original-Change-Id: I6f3aa04f8db776e11dfbe8997dace5896e24a84e
Reviewed-on: http://git-master/r/47554
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R94dcdf70eb0a88719a70da277d2d03236a8e6002

7 years agoarm: tegra: PM269: Enable NCT1008 temp sensor
Laxman Dewangan [Wed, 17 Aug 2011 10:29:34 +0000]
arm: tegra: PM269: Enable NCT1008 temp sensor

Enabling NCT1008 temp sensor for PM269 board also.

Original-Change-Id: I8cea3e87f18b6d4f73f3142445daed15ab65cf96
Reviewed-on: http://git-master/r/47519
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R8956472b2adb83310298adda4c3454093b36f5b8

7 years agoarm: tegra: cardhu: Set LDO2 to 1200mV for E1208-A03
Laxman Dewangan [Wed, 17 Aug 2011 06:50:06 +0000]
arm: tegra: cardhu: Set LDO2  to 1200mV for E1208-A03

The ldo2 power rail should be set to 1200mV on E1208-A03 based
pmu.

bug 863728

Original-Change-Id: I7730443bc052348a082d52a73e4f521ec34202f7
Reviewed-on: http://git-master/r/47491
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Vivek Aseeja <vaseeja@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rfc2975d5b80492523a4a767c001a8e22c9decaa7