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: Rc460420457f789ca1187c51ef139e8390c06021a

7 years agoarm: tegra: enterprise: Enable 8 bit bus_width for emmc
Harry Hong [Mon, 14 Nov 2011 10:32:47 +0000]
arm: tegra: enterprise: Enable 8 bit bus_width for emmc

bug 896706

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

Rebase-Id: R9f7a494f9b2d2c020693fa1fc218cca98b5bfc7c

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: R81c75064aea8fca26454cccccccbe3e3c3791825

7 years agoarm: tegra: enterprise: Pass ext power req control properly
Laxman Dewangan [Mon, 7 Nov 2011 06:49:47 +0000]
arm: tegra: enterprise: Pass ext power req control properly

Passing the external power request control information for rails
through ext_pwr_req.

Reviewed-on: http://git-master/r/63502
(cherry picked from commit 04c6af6a1b0d600acf3e7effe54ca403d713d572)

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

Rebase-Id: R17cfc8523a708fe2a7d4477e7c07bd0f21832c23

7 years agoARM: Tegra: Avoid regulator info in pdata
Krishna Yarlagadda [Tue, 6 Sep 2011 09:03:26 +0000]
ARM: Tegra: Avoid regulator info in pdata

USB charger regulator info is sent through platform data
Regulator power rails do not change and hence need to be
constant and should be defined in driver file directly.

Bug 869211

Change-Id: Icf5a10968ac4207a1f9b846b714b765f78d807ac
Reviewed-on: http://git-master/r/50805
Reviewed-on: http://git-master/r/62018
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Tested-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: R690c8c614d1960faa908f20d6367acd743d383b8

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: R7ad63fd4999bfc0d94481a968896691231c4b56d

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: R2445f4556325d2dc10e65fdb3ad4a934a16aa684

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: R30e048f5b80f1bea57aa58181fbbe39aadc088bf

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: R6fb79bdcbc405a184223903a3a74ca885e328afb

7 years agoarm: tegra: enterprise: disable usb3
Rakesh Bodla [Tue, 11 Oct 2011 05:02:21 +0000]
arm: tegra: enterprise: disable usb3

Disabling usb3 as it is not used on enterprise.

Bug 885298

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

Rebase-Id: R8f0f9a693ec579e50658e97e4198c6b243455903

7 years agoarm: tegra: enterprise: Register gpadc driver for tps8003x.
syed rafiuddin [Tue, 27 Sep 2011 09:15:58 +0000]
arm: tegra: enterprise: Register gpadc driver for tps8003x.

Registering gpadc driver through tps80031.

bug 872697

Reviewed-on: http://git-master/r/56986
(cherry picked from commit 95f9948f31f1ce0862821830bb348cbe027cfcaf)

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

Rebase-Id: R5871b51c9f335e6b1843c40c6882e24642813a28

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: Rff5877088ace7d41ece53879f64809e73c75964e

7 years agoarm: tegra: enterprise: add camera I2C for A00 board
Jihoon Bang [Wed, 26 Oct 2011 23:50:42 +0000]
arm: tegra: enterprise: add camera I2C for A00 board

Camera I2C wasn't registered in A00 board. Add support for this.

Bug 894201

Reviewed-on: http://git-master/r/60567
(cherry picked from commit 1122e0e92bf1cc8df7f9d5e3091c96e012529b54)

Reviewed-on: http://git-master/r/62213
(cherry picked from commit 44bb5880800e1d29c346d063c4aba649370f4cfa)

Change-Id: I65196666e40d5a827ceb36e808a0535279d4ce46
Reviewed-on: http://git-master/r/62777
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R5bb1541b409bce616994e4636b0f2f8be8b7ee39

7 years agoarm: tegra: enterprise: set pin configuration
Shridhar Rasal [Fri, 21 Oct 2011 14:33:54 +0000]
arm: tegra: enterprise: set pin configuration

Set pin configuration information for required rows and columns.
Enable only required ROW and COL gpio.

bug 889620

Change-Id: Ia9794d6a1af13dd9148ddac81378e961f6ae35f4
Reviewed-on: http://git-master/r/59618
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Tested-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Re56f1d9384993f544d0bfbbf0e8a457cee0c4913

7 years agoarm: tegra: enterprise: Enable battery charging based on kernel option
Laxman Dewangan [Sun, 4 Sep 2011 11:42:53 +0000]
arm: tegra: enterprise: Enable battery charging based on kernel option

If kernel command line option have the power_supply as battery
then enable the battery charging functionality.

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

Change-Id: I5a12105503f29e4e58991bcf4c020c709a97a7cd
Reviewed-on: http://git-master/r/56994
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R9fa09e3c265fabefd14804def31100259bfd9730

7 years agoARM: tegra: enterprise: Increase refresh rate to catch up TE signal.
Kevin Huang [Wed, 10 Aug 2011 23:09:43 +0000]
ARM: tegra: enterprise: Increase refresh rate to catch up TE signal.

DSI clock rate is calculated according to the refresh rate 60Hz. However,
the real TE signal can be more or less than 60Hz. Increase refresh rate
to avoid missing TE signal.

Bug 878230

Reviewed-on: http://git-master/r/46455
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
(cherry picked from commit c2081d32e93793bc5b16950a752367d31ab2d3d7)

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

Rebase-Id: Rd9269b73fa432b176c609b872015dff81c3c51d0

7 years agoARM: tegra: enterprise: Fix backlight toggling on Enterprise.
Kevin Huang [Tue, 13 Sep 2011 23:49:40 +0000]
ARM: tegra: enterprise: Fix backlight toggling on Enterprise.

Bug 873860

Reviewed-on: http://git-master/r/52178
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Tested-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>
(cherry picked from commit 17efce7b49626cde29af8db695b18d4ab3db9099)

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

Rebase-Id: R184973927477f12329dbd1e8294e3d366dddf746

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: R9e55a3de7280e91261fddb929149d1808271efd2

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: R3b5e727555e0d139239720e28b1080c8826ee5fb

7 years agoARM: tegra: power: set enterprise default suspend mode to LP0
Jin Qian [Fri, 16 Sep 2011 18:08:52 +0000]
ARM: tegra: power: set enterprise default suspend mode to LP0

Bug 862504

Change-Id: I022206a4ca2aae50c2534268d3e974ecfaf87556
Reviewed-on: http://git-master/r/52945
Reviewed-by: Jin Qian <jqian@nvidia.com>
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R41f3959e4f3386a3b5ef877105a7c854cd46bcca

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: R2e636761b715d5f69e460422be19c5190a5629d0

7 years agoarm: tegra: enterprise: remove DIDIM serial prints
Tom Cherry [Wed, 5 Oct 2011 00:50:15 +0000]
arm: tegra: enterprise: remove DIDIM serial prints

Reviewed-on: http://git-master/r/57991
(cherry picked from commit 0a1d4120620fa75ba69ed76478baa08ef37356b1)

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

Rebase-Id: Rc1105fe074ef5542dac7169c8c89c4ea685a012c

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: R2cebf1ca8cf340fdc620557966a002b113616d56

7 years agoarm: tegra: enterprise: add I2C mux driver instance
Jihoon Bang [Tue, 27 Sep 2011 18:23:55 +0000]
arm: tegra: enterprise: add I2C mux driver instance

Add I2C mux driver instance to support two rear sensors.
Add new GPIO pin to control reset for I2C mux.
If board doesn't have I2C mux, it falls back to previous I2C tree.

Bug 871860

Reviewed-on: http://git-master/r/54763
(cherry picked from commit c53f8fc9d5d05427684aafb4ad6552eb6cff7ff7)

Reviewed-on: http://git-master/r/55799
(cherry picked from commit c5fe68c1b4b1ed1e283526c8ac057efb3a2af5af)

Change-Id: I40a35cbd301e53a8d70700043142d5cac0655b5c
Reviewed-on: http://git-master/r/57414
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Re59baf9b13c653c366f992913622d1a46c8aecde

7 years agoARM: tegra: Fix file permissions
Scott Williams [Wed, 12 Oct 2011 01:11:01 +0000]
ARM: tegra: Fix file permissions

Change-Id: I4668077a85d82e08db0fee537712a2e4b949007a
Reviewed-on: http://git-master/r/57426
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R04eea53de492e784958a1c386d78646406f4d957

7 years agoarm: tegra: enterpeise: add debounce time in codec platform data
Nikesh Oswal [Fri, 7 Oct 2011 07:19:54 +0000]
arm: tegra: enterpeise: add debounce time in codec platform data

Bug: 862023

Change-Id: I3163c5560b9ca37f627eca477b267056e04ba4ab
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/56576
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Ra7c5aab6e023d7a8d086883e359993cb87a66464

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: Rf9357bd556398e7f512c39efabf6061fb07e42ca

7 years agoARM:tegra:enterprise: Configure I_MDM_RST as input.
Frederic Bossy [Thu, 15 Sep 2011 09:55:07 +0000]
ARM:tegra:enterprise: Configure I_MDM_RST as input.

I_MDM_RST (gpio33) is connected to PMIC VMON_OUT.
It shouldn't be driven high, only low when reset is performed.
Modem reset relies on power cycle (PON low->high) today.

Bug 866051

Reviewed-on: http://git-master/r/52593
(cherry picked from commit d1800dacc1d106ef81b3b4ef98d6dbc7c8b723b4)

Reviewed-on: http://git-master/r/56575
(cherry picked from commit b76e5af29d838025946e57655603181fbd414c74)

Change-Id: Ieab0a8bc6b1818cc39cdd1a5563c5fee4bf5ed65
Reviewed-on: http://git-master/r/56957
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Frederic Bossy <fbossy@nvidia.com>

Rebase-Id: R0ee7d598d02448ee1376ad852126cd41598a9d2f

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: R8c7fd8e4470d0fc360858c16304df79f60245004

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: R535832f55b6701db657b072fedb515dee0d2fbf8

7 years agoarm: tegra: enterprise: enable PMU interrupt for USB
Rakesh Bodla [Wed, 7 Sep 2011 10:10:47 +0000]
arm: tegra: enterprise: enable PMU interrupt for USB

Enabling the PMU interrupt for detection of USB
when there is no clock to controller.

Bug 864005

Reviewed-on: http://git-master/r/51079
(cherry picked from commit 792cf8a95646bf3bbd61653cd46b6218254a6ac2)
Change-Id: I0055af3379c9e4eda62097192affe7f1843f785a
Reviewed-on: http://git-master/r/54691
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: Rd9b2e8cedae91bf9fb63fd6bd2bf69bf3c729526

7 years agoARM: tegra: enterprise: Frequency for dsi read
Animesh Kishore [Tue, 6 Sep 2011 12:49:22 +0000]
ARM: tegra: enterprise: Frequency for dsi read

Specify working freq for dsi read.

Bug 863030

Reviewed-on: http://git-master/r/49198
(cherry picked from commit 618abf2f8a5841277440e77e7f46406924d2a63b)

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

Rebase-Id: R5bdf2ba9c65d9e8765a0bbc72be43acb0a633e34

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: R0603697a80cdbce72925e9beb0741d8f9a89dd8f

7 years agoARM: tegra: enterprise: Reduce display wake up time
Animesh Kishore [Thu, 8 Sep 2011 12:49:27 +0000]
ARM: tegra: enterprise: Reduce display wake up time

Reduce delay required in between panel init commands.

Bug 862427

Reviewed-on: http://git-master/r/51363
(cherry picked from commit cc56aad3425da91a74452d4f36b57905645a9e3d)

Change-Id: I28c3cff8afa91bd19922798cc94d0fcc988f3f13
Reviewed-on: http://git-master/r/54184
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rb9825df9476ae51284ff8ebcbedd3fbcc6943b99

7 years agoarm: tegra: enterprise: correct gpio for atmel touch
Sachin Nikam [Fri, 16 Sep 2011 09:28:26 +0000]
arm: tegra: enterprise: correct gpio for atmel touch

Using the correct GPIO number for "atmel-irq" which conflits with mpu3050 irq.
Due to the double usage of gpio_request for same gpio number mpu3050 was failing
to register on i2c.

Change-Id: I08a323e56ec29383517621bd36a0995ce2d93eb2
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/52858
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Joseph Lehrer <jlehrer@nvidia.com>
Tested-by: Joseph Lehrer <jlehrer@nvidia.com>

Rebase-Id: Rcc277b7b8aaa0fe32f0a56403981c0ad59aedfef

7 years agoARM: tegra: power: set enterprise suspend mode to LP1
Jin Qian [Wed, 14 Sep 2011 02:32:56 +0000]
ARM: tegra: power: set enterprise suspend mode to LP1

Change-Id: I0cc9cd394d027167cbaba95a12859869c462604e
Reviewed-on: http://git-master/r/52205
Reviewed-by: Jin Qian <jqian@nvidia.com>
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rdc0647a70feba4ede13e5c9defdebd3303a2e363

7 years agoARM: tegra: Add enterprise audio support
Sumit Bhattacharya [Wed, 7 Sep 2011 09:42:51 +0000]
ARM: tegra: Add enterprise audio support

Bug 862023

Change-Id: I0ba560f471088302d6197c564f02606a25f2a5db
Reviewed-on: http://git-master/r/51072
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rfd49bccd9529de1fd20a836283a202d5df5ff1af

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: Rd0d3ebf815f776bb8ea56421312231b0cacdca37

7 years agoARM: tegra: enterprise: Enable KBC
Dan Willemsen [Fri, 2 Sep 2011 23:11:32 +0000]
ARM: tegra: enterprise: Enable KBC

Change-Id: I3d68c141cb515a024432ff5c2b40481494d178f7
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/50909

Rebase-Id: Rc7e5a79c13087c8f58dc50fa6304206f39dd287e

7 years agoarm: tegra: enterprise: Use proper SKU bit for battery
Tom Cherry [Fri, 2 Sep 2011 00:49:30 +0000]
arm: tegra: enterprise: Use proper SKU bit for battery

Original-Change-Id: I93ddf372cf41a4161dd03127212f95584f4ca24f
Reviewed-on: http://git-master/r/50413
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>

Rebase-Id: Rafd5392d80000b3e8043508143798dcf8766e539

7 years agoarm: tegra: baseband: Change modem BB_RST_OUT polarity
Steve Lin [Tue, 30 Aug 2011 22:05:14 +0000]
arm: tegra: baseband: Change modem BB_RST_OUT polarity

This change contains the following changes due to e450 modem FW change:
1) Change modem BB_RST_OUT polarity and move the wake_lock_timeout where
BB_RST_OUT is low.
2) Disable the AP pullup on BB_RST_OUT.
3) To increase the wake lock timeout to ensure the modem enumeration is
complete before system suspend.

Bug 867501

Original-Change-Id: I8e6638fa8dd8c7af0893ad31693959794e8a4afe
Reviewed-on: http://git-master/r/49743
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-by: Frederic Bossy <fbossy@nvidia.com>
Tested-by: Frederic Bossy <fbossy@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R27a4bb115eccd5ee78fa0c326f864d9aec44f15e

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: R7f2ab70af5dff117688acd6f8c5b9d10d96bfb4c

7 years agoarm:tegra:enterprise: Export MODEM_PWR_ON & MODEM_RESET GPIOs
Alexandre Berdery [Thu, 25 Aug 2011 10:41:47 +0000]
arm:tegra:enterprise: Export MODEM_PWR_ON & MODEM_RESET GPIOs

RIL and FIL require GPIOs access from user space.
This is possible with this change using sysfs.

Bug 866051

Original-Change-Id: Ie6ee4e305ae709a4eae467e27b269b9327031a17
Reviewed-on: http://git-master/r/49206
Tested-by: Alexandre Berdery <aberdery@nvidia.com>
Reviewed-by: Frederic Bossy <fbossy@nvidia.com>
Reviewed-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R4caebc5f37892608bb30a2521901d56053583f0e

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: Rcb2eedf7a489b2002da194148bd455c191f1a81a

7 years agoARM: tegra: enterprise: Register touch driver
Dan Willemsen [Fri, 2 Sep 2011 21:09:58 +0000]
ARM: tegra: enterprise: Register touch driver

Change-Id: Ica6e0b11d11b367cdf7c34d5045457c0d26fad40
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/50590

Rebase-Id: Rbf8ec3026b7f7dbff4f579a3d576a71cc3191544

7 years agoARM: tegra: enterprise: Fix warnings
Scott Williams [Thu, 25 Aug 2011 22:31:18 +0000]
ARM: tegra: enterprise: Fix warnings

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

Rebase-Id: R4ca8ae91b3f1b6f6be8d961cb893cb06bb8346cb

7 years agoarm: tegra: entrprise: Enable battery charging for special SKU
Laxman Dewangan [Fri, 26 Aug 2011 09:03:42 +0000]
arm: tegra: entrprise: Enable battery charging for special SKU

Enable battery charging with special SKU.
The board ID have the sku field and bit 0 of the sku
should be 1 for enabling battery charging.

bug 868483

Original-Change-Id: I028bcbfbc042184a7feecb66bfbf35d6c70cd355
Reviewed-on: http://git-master/r/49416
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

Rebase-Id: Rbe63dbafc5fb6c2a29fb4c12bb3496a6e9d68d87

7 years agoarm: tegra: kbc: Enabled more keys as wakeup source
Alok Chauhan [Fri, 26 Aug 2011 04:41:37 +0000]
arm: tegra: kbc: Enabled more keys as wakeup source

Enabled Home, Back, Menu are as wakeup source keys

Bug 866078

Original-Change-Id: If009a44f1db5b7d971a61f3cab5ece2ce4c3aefd
Reviewed-on: http://git-master/r/49368
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

Rebase-Id: R6fceeb4b43b424ba33d4f125511d1b5d46f7ab07

7 years agoARM: tegra: enterprise: enable CLK32KAUDIO
Greg Heinrich [Tue, 23 Aug 2011 15:34:35 +0000]
ARM: tegra: enterprise: enable CLK32KAUDIO

The Icera baseband requires CLK32KAUDIO to support low power

bug 867454

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

Rebase-Id: Rb43f35bfe82428827f5d9102348717f998c74504

7 years agoarm: tegra: enterprise: add tegra_aes_device to enterprise_devices[]
Varun Wadekar [Thu, 18 Aug 2011 05:24:56 +0000]
arm: tegra: enterprise: add tegra_aes_device to enterprise_devices[]

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

Rebase-Id: R026272b9ef44065c75e0a5fe8b2b8b515ecb268e

7 years agoarm: tegra: enterprise: Register battery gauge driver for tps8003x.
syed rafiuddin [Mon, 22 Aug 2011 10:31:34 +0000]
arm: tegra: enterprise: Register battery gauge driver for tps8003x.

Registering battery gauge driver through tps80031.

bug 841080

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

Rebase-Id: Ra711f7016f8f751c0f7ae65f261f88624b8d55f0

7 years agoarm: tegra: enterprise: Register battery charger
Laxman Dewangan [Sun, 21 Aug 2011 14:58:55 +0000]
arm: tegra: enterprise: Register battery charger

Registering battery charger driver through tps80031.

bug 841080

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

Rebase-Id: Rf9b26bd3e15f7648ea82439ac785c6d2e6bfb766

7 years agoFix incorrect license
Maria Bornski [Wed, 24 Aug 2011 17:18:32 +0000]
Fix incorrect license

Change-Id: Idea9835c001c489c260a1e53e52fbe6127afaeb8
Reviewed-on: http://git-master/r/49086
Reviewed-by: Maria Gutowski <mbornski@nvidia.com>
Tested-by: Maria Gutowski <mbornski@nvidia.com>

Rebase-Id: Rfd9cd94ed01869fe5eaee42238cfdd1d3be3c2af

7 years agoarm: tegra: enterprise: Enable VBUS_INT_PULLDN for discharge
Laxman Dewangan [Tue, 19 Jul 2011 14:08:00 +0000]
arm: tegra: enterprise: Enable VBUS_INT_PULLDN for discharge

Enabling the VUS discharging pulldown resister and setting discharging
time to 100ms.

bug 853393

Change-Id: Iec970ba183d2ef830ebc7bbc0c68e25530028886
Reviewed-on: http://git-master/r/41887
Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R17379258c386d41eb47bdefa92205e207ae79a9a

7 years agoARM: tegra: enterprise: Fix mode check in board config file.
Kevin Huang [Fri, 19 Aug 2011 10:50:04 +0000]
ARM: tegra: enterprise: Fix mode check in board config file.

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

Rebase-Id: R438422dae0d5de38ffc0dfc92179f76535fdab9c

7 years agoARM: tegra: enterprise: Enable DIDIM by default.
Kevin Huang [Wed, 17 Aug 2011 01:38:23 +0000]
ARM: tegra: enterprise: Enable DIDIM by default.

Bug 859226

Original-Change-Id: Iae2960800b60a44e1492539dfa0be4218ac12ba2
Reviewed-on: http://git-master/r/47435
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rb624714e32b6cd894c746f82317c8b0bee9a02d7

7 years agoARM: tegra: enterprise: Enable panel reset by default.
Kevin Huang [Sat, 20 Aug 2011 23:28:26 +0000]
ARM: tegra: enterprise: Enable panel reset by default.

Original-Change-Id: I88e83b7e67851ba64269109a9d83d4c6010481ef
Reviewed-on: http://git-master/r/48344
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Tested-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rb9399efc1002fb9f1c010428ee6ac0bdce766ffd

7 years agoARM: tegra: enterprise: Change source clock of HDMI.
Kevin Huang [Fri, 19 Aug 2011 05:59:59 +0000]
ARM: tegra: enterprise: Change source clock of HDMI.

Change HDMI clock from pll_d to pll_d2.

Bug 864701

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

Rebase-Id: Rd2ba3b3887240909c04aa2c506ff25f071106b45

7 years agoarm: tegra: enterprise: add usb charge regulator
Rakesh Bodla [Wed, 17 Aug 2011 11:57:14 +0000]
arm: tegra: enterprise: add usb charge regulator

Adding the regulator information needed for
usb charging.

Bug 854993

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

Rebase-Id: R92a452aa3f7ed564382ff2bf757d9c9e1faf1048

7 years agoarm: tegra: enterprise: Fixed flickering for one shot mode
Anshul Jain [Wed, 17 Aug 2011 22:28:10 +0000]
arm: tegra: enterprise: Fixed flickering for one shot mode

Enabling one shot mode for backlight by using the pixel clock for backlight

BUG: 863785

Original-Change-Id: I843ece29ff569546ab6eea51206a4875e45c3ac0
Reviewed-on: http://git-master/r/47400
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Rad384604ae4b20748b405870778a610518d016a7

7 years agoarm: tegra: enterprise: Register tps8003x with 0x4A address
Laxman Dewangan [Tue, 16 Aug 2011 10:10:11 +0000]
arm: tegra: enterprise: Register tps8003x with 0x4A address

Registering tps8003x device with the address 0x4A where version number
registers are available.

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

Rebase-Id: Re35a57a98221356a54d59662cd4cdfde9542d9df

7 years agoarm: tegra: enterprise: tsensor init
Bitan Biswas [Fri, 12 Aug 2011 13:00:32 +0000]
arm: tegra: enterprise: tsensor init

Enterprise specific tsensor init call is added. Change
to enable temperature reading only supported now.

bug 862285

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

Rebase-Id: R97adc21aafe8a064f7596c80cb87247fd9f2e616

7 years agoarm: tegra: baseband: Enable pull-up for ULPI STP
Steve Lin [Wed, 10 Aug 2011 18:31:27 +0000]
arm: tegra: baseband: Enable pull-up for ULPI STP

The ULPI spec mandates that there's a pullup on ULPI_STP when the link
is not driving it.

Bug 862561

Original-Change-Id: I9bfa720f19fb776fea8d2fe19bef9755bcaf51a3
Reviewed-on: http://git-master/r/46411
Tested-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Re173c250ab33199cc5e9f36476463b8380f4ad52

7 years agoarm: tegra: Updated i2c platform data
Alok Chauhan [Thu, 11 Aug 2011 09:28:18 +0000]
arm: tegra: Updated i2c platform data

Updated i2c platform data to add scl_gpio and sda_gpio as
a array so it will take care of multiplexing also.

Bug 854305

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

Rebase-Id: Rf0117e8417b8c8e31315d907b75396211feb2274

7 years agoarm: tegra: enterprise: avoid contention on lcd_de
Luke Huang [Thu, 11 Aug 2011 02:27:47 +0000]
arm: tegra: enterprise: avoid contention on lcd_de

Set the LCD_DE to be GPIO input pin if one shot mode is not enable to
avoid contention.

Bug 863546

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

Rebase-Id: R571c57cd21c8e73c4b80b987ea28952bf843eeec

7 years agonvhost: Move include files to kernel/include
Terje Bergstrom [Tue, 26 Jul 2011 11:09:02 +0000]
nvhost: Move include files to kernel/include

To prepare for kernel modularization, nvhost include files need to be
moved from mach-tegra/include to kernel/include. At the same time
user space specific part is split into nvhost_ioctl.h.

Bug 854182

Original-Change-Id: I3694a40d786028733310ecf5b59341282af571be
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/43211
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3423192fe721a21b28aab065fd2fa2e41059c4be

7 years agoARM: tegra: enterprise: Pass chip info
Animesh Kishore [Wed, 10 Aug 2011 12:13:51 +0000]
ARM: tegra: enterprise: Pass chip info

Pass chip id and revision to dsi driver via platform data.

Bug 837129

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

Rebase-Id: Re15dd7f840bcc21428a205cd2ae557794c6ca024

7 years agoARM: tegra: cardhu/enterprise: Change DIDIM initial Values
Matt Wagner [Wed, 3 Aug 2011 01:27:17 +0000]
ARM: tegra: cardhu/enterprise: Change DIDIM initial Values

Default to DIDIM on with aggressiveness 1
Set use_vid_luma = false on init

Bug 859226

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

Rebase-Id: R3667688b432caae899b7eb5400f9878ab057fd30

7 years agoARM: tegra: enterprise: Update Enterprise for DIDIM
Matt Wagner [Thu, 11 Aug 2011 00:00:45 +0000]
ARM: tegra: enterprise: Update Enterprise for DIDIM

This change integrates the current DIDIM code with
the enterprise platform

Bug 854820

Original-Change-Id: I0c76d933d9d328255a140fdfff31dd57ec03716c
Reviewed-on: http://git-master/r/42638
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R0a9fd5ec0597ed2196e0cbfe750a8f53613473c7

7 years agoarm: tegra: enterprise: Add the pull-up for ddc i2c
Alok Chauhan [Tue, 12 Jul 2011 04:51:48 +0000]
arm: tegra: enterprise: Add the pull-up for ddc i2c

Add the pull-up for ddc i2c pins because there is
no internall pull-up present for ddc i2c pins.
Disable the output drain also for ddc i2c pins.

bug 833992

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

Rebase-Id: R9b58d1485d786bc82773a2e5f2afdc92837b30e1

7 years agoarm: tegra: cardhu: Added I2C arbitration lost recovery mechanism
Alok Chauhan [Tue, 26 Jul 2011 10:30:32 +0000]
arm: tegra: cardhu: Added I2C arbitration lost recovery mechanism

Added the code for arbitration lost recovery mechanism for i2c
driver and Initialize gpio number for i2c clock and data as
part of platform data.

bug 854305

Original-Change-Id: Icdc243a5025c766d65816542a6d5aabd61e6eee1
Reviewed-on: http://git-master/r/43200
Reviewed-by: Bandi Krishna Chaitanya <bandik@nvidia.com>
Tested-by: Bandi Krishna Chaitanya <bandik@nvidia.com>
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R8e53ba6106e740f48f205049ccfea6eed68275b3

7 years agoarm: tegra: enterprise: change vpp_fuse to vdd_fuse
Varun Wadekar [Fri, 29 Jul 2011 06:58:36 +0000]
arm: tegra: enterprise: change vpp_fuse to vdd_fuse

the fuse driver looks for vdd_fuse during its init
process in order to burn fuses

Bug 836973

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

Rebase-Id: Re017e9bd5f391381fedb0bd9681a4d1f09c47e99

7 years agoarm: tegra: enterprise: set suspend_mode
Wen Yi [Mon, 8 Aug 2011 17:15:32 +0000]
arm: tegra: enterprise: set suspend_mode

Set LP0 as default suspend_mode for Enterprise and 1197.
Set LP1 as suspend_mode for Enterprise A01.

BUG 861362

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

Rebase-Id: Rc85f78a9d7df6531f779e33f42847b7c246b8052

7 years agoARM: tegra: enterprise: Enable power saving mode for DSI suspend.
Kevin Huang [Sat, 6 Aug 2011 00:18:24 +0000]
ARM: tegra: enterprise: Enable power saving mode for DSI suspend.

Bug 859593

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

Rebase-Id: Rf5e1cfe1550de65548c42aeee081ec33e8b7f29d

7 years agoARM: tegra: cardhu: switch off PMU at high temperature
venu byravarasu [Wed, 3 Aug 2011 11:21:57 +0000]
ARM: tegra: cardhu: switch off PMU at high temperature

Add board support needed for PMU switch off when tsensor
detects temperature > TH3 threshold set.

bug 850047

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

Rebase-Id: R3598ee532939c7dc2de990373958be4762442ffa

7 years agoarm: tegra: enterprise: remove SFIO setting for PWM signal
Min-wuk Lee [Thu, 4 Aug 2011 02:35:19 +0000]
arm: tegra: enterprise: remove SFIO setting for PWM signal

Remove SFIO setting for PWM signal in enterprise_panel_init
since this makes backlight off during display transition from
bootloader to kernel and android, so black screen is visible
in display transition.

Bug 858120

Original-Change-Id: I95462ce519505d8170b56adfde8c163d91c98478
Reviewed-on: http://git-master/r/44306
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Tested-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R1b5882cf8302fb822c59f747d2bceb49972c8dbe

7 years agoarm: tegra: baseband: add callback functions for null phy power off
Steve Lin [Wed, 3 Aug 2011 22:05:55 +0000]
arm: tegra: baseband: add callback functions for null phy power off

Adding pre_phy_off and post_phy_off callback functions in null_phy_power_off
function. So that the modem handshaking GPIO is set to reflect the real phy
status.

Bug 856096
Bug 854339

Original-Change-Id: Ia39a84d3958b9dd078f93ab5be20387fb1ed9103
Reviewed-on: http://git-master/r/44840
Tested-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R5a1065fc45b121ef169c2be04ada42e1083fec66

7 years agoarm: tegra: enterprise: Fix pinmux warning
Laxman Dewangan [Wed, 27 Jul 2011 10:38:25 +0000]
arm: tegra: enterprise: Fix pinmux warning

Fixing pinmux warning during kernel boot.

bug 856474

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

Rebase-Id: Rbfa3de0f991a6f0aa974dbfc11e418eb1e8b94b7

7 years agoARM: tegra: enterprise: DC one-shot mode
Animesh Kishore [Thu, 14 Jul 2011 11:52:11 +0000]
ARM: tegra: enterprise: DC one-shot mode

Send command to panel to enable TE signal.
Disable/enable TE signal from panel in suspend/resume.

Bug 851754

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

Rebase-Id: R204168cdbac84a732e4e30efc31f8e8094d57d94

7 years agoarm: tegra3: enterprise: clean up unused pins
Wen Yi [Mon, 11 Jul 2011 22:32:08 +0000]
arm: tegra3: enterprise: clean up unused pins

Set unused pins to tristate, pull_down, output and gpio mode
to minimize power consumption.
Special case for bootstrap pins, of which pull_up/ pull_down
is set to to normal as they are tugged to ground to the enterpise board.

BUG 836834

Original-Change-Id: If878d4d2c4999b24dfd4cfbec7bad479e4e942a5
Reviewed-on: http://git-master/r/40465
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Tested-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rc70aed0f74f9baea7cb88daaab2d8b539f7ec418

7 years agoarm: tegra: enterprise: EDP support
Diwakar Tundlam [Mon, 25 Jul 2011 22:50:18 +0000]
arm: tegra: enterprise: EDP support

Added EDP support for Enterprise board via ext temp sensor nct1008

Bug 824621

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

Rebase-Id: R287ec58c5a72a539d0342b6d8a2b92a0c731acc2

7 years agoARM: tegra: clock: Optimize power consumption of DSI module.
Kevin Huang [Wed, 27 Jul 2011 00:49:43 +0000]
ARM: tegra: clock: Optimize power consumption of DSI module.

- Disable phy clock at early suspend.
- Set DSI to LP mode at early suspend

Bug 847254
Bug 848069

Original-Change-Id: Ia53fa3be5280172bc5aede12cef3ca06e07ea7f5
Reviewed-on: http://git-master/r/39245
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Tested-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R6227908a6a60f88f9381c07389afd3dba4fa98b3

7 years agoARM: tegra: enterprise: Add IO power detection consumers
Alex Frid [Sat, 23 Jul 2011 03:47:59 +0000]
ARM: tegra: enterprise: Add IO power detection consumers

Bug 853132

Original-Change-Id: Ib3f05a14060381bb8c39ac4920073976867226d4
Reviewed-on: http://git-master/r/42787
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Tested-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Re36d5aa76c6001ba7f46822bcc20bd41bc781928

7 years agoarm: tegra: enterprise: provide height and width for disp1 panel
Tom Cherry [Tue, 26 Jul 2011 00:02:28 +0000]
arm: tegra: enterprise: provide height and width for disp1 panel

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

Rebase-Id: R3abb622925f9b0bdaf4bcd8da5aa7219b22fc211

7 years agoARM: tegra: enterprise: Revert Backlight Change
Matt Wagner [Fri, 22 Jul 2011 01:45:02 +0000]
ARM: tegra: enterprise: Revert Backlight Change

Removed all gpio references to the pwm pin for the backlight.

Setting these makes the backlight unchangeable.

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

Rebase-Id: R2f72bd77a2b3145cb23369912a5945c5c6dd01f7

7 years agoarm:tegra:pinmux: Set DAP2 to default drive
ScottPeterson [Mon, 25 Jul 2011 17:34:55 +0000]
arm:tegra:pinmux: Set DAP2 to default drive

Removed the setting of the DAP2 pingroup to maximum
driver strength. This was a WAR for audio noise issues
on Verbier and should not be set on Enterprise.

Bug 853161

Original-Change-Id: Ia9bc4021ee1713f0be14e77c984d2266efb06b12
Reviewed-on: http://git-master/r/43084
Tested-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R7e2f0d70770e53188a783d0ca90476e5b1287714

7 years agotegra: video: dc: disp1 and overlay at 204MHz
Vinayak Pane [Thu, 21 Jul 2011 02:10:39 +0000]
tegra: video: dc: disp1 and overlay at 204MHz

Overlay was requesting emc 400MHz always during video playback.
Playback happens in overlay which was calculated incorrectly.
Reducing it to match accurate requirement.
Calculate overlay EMC bandwidth requirement same as DC.

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

Rebase-Id: R72ff287ee6af46f904d31b5020125cfc24545c3b

7 years agoARM: tegra: enterprise: Updating EMC table
Tom Cherry [Wed, 20 Jul 2011 00:13:44 +0000]
ARM: tegra: enterprise: Updating EMC table

Bug 842373

Original-Change-Id: I769d084a6086d6ec7f263f6886a3e4a49075eb3d
Reviewed-on: http://git-master/r/41975
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R1a185294d8c369d176dacd1ccf5e76a7ef0528a7

7 years agoARM: tegra: baseband: modem flashless boot and remote wakeup
Steve Lin [Tue, 5 Jul 2011 22:22:25 +0000]
ARM: tegra: baseband: modem flashless boot and remote wakeup

Support modem reboot and re-enumeration.
Support modem remote wakeup.

Bug 814261
Bug 814271
Bug 846135

Original-Change-Id: I103722d0248bcb1565d5f5799a2e4317c2579a95
Reviewed-on: http://git-master/r/31441
Tested-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rd1a0b91d4708fc039648df0cd491c9a382b5fcb2

7 years agoARM: tegra: enterprise: Add front camera
Charlie Huang [Wed, 29 Jun 2011 17:40:07 +0000]
ARM: tegra: enterprise: Add front camera

modify enterprise board files to add support for ov9726

bug 829399

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

Rebase-Id: Rb444bad59ae0f7ce83b79c8326175fa15964d069

7 years agoarm: tegra: Console suspend for all boards
Laxman Dewangan [Mon, 18 Jul 2011 06:17:13 +0000]
arm: tegra: Console suspend for all boards

Added the board level suspend/resume and call the console
suspend from board level suspend/resume.

bug 820536

Original-Change-Id: I246265241246dc0682870571c927bd23023e5aca
Reviewed-on: http://git-master/r/41448
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>

Rebase-Id: R24c4e322c0890f71d4d9a7f1d2ca48f7f2226dfe

7 years agoarm: tegra: suspend: Add board specific suspend/resume calls
Laxman Dewangan [Tue, 12 Jul 2011 10:46:14 +0000]
arm: tegra: suspend: Add board specific suspend/resume calls

Adding board specific suspend and resume call apis through platform
data.
Added call of these function at appropriate stage of suspend/resume.

Added mechanism to select the uart debug channel base address through
variable so that board file can directly change this.

bug 820536
bug 832273

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

Rebase-Id: Rfa86b27690997f33a2fac8b75f5c9fab549ce6cc

7 years agoarm: tegra: enterprise: increasing UART3 drive strength
Pradeep Goudagunta [Fri, 15 Jul 2011 11:49:51 +0000]
arm: tegra: enterprise: increasing UART3 drive strength

setting UART3 signal drive strength to maximum.

Bug 847748
Bug 819411

Original-Change-Id: I29685142088579cf0eeeb41686a61c3d87a06a64
Reviewed-on: http://git-master/r/41218
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R54a99cf40c169a6e100593780216feeebf95aaf0

7 years agoARM: tegra: enterprise: add tps61050
Jihoon Bang [Tue, 12 Jul 2011 21:34:27 +0000]
ARM: tegra: enterprise: add tps61050

Add flash device to I2C bus 2.
Add power sequence for flash device.

Bug 844017

Original-Change-Id: Ieda304825ebbb87f61a11045f0b8be4272467588
Reviewed-on: http://git-master/r/40692
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R04353dd51b680715578f2c1594e0f474b37530a6

7 years agoarm: tegra: enterprise: support stereo sensor
Jihoon Bang [Fri, 24 Jun 2011 17:12:47 +0000]
arm: tegra: enterprise: support stereo sensor

Add separate power sequence and ID to rear sensors.
It will allow them to operate independently.

Bug 844021

Original-Change-Id: Iaf3399ea4c70999d1c8ea432f2df10c078e86004
Reviewed-on: http://git-master/r/40386
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>

Rebase-Id: R4bbc3008be78ea2fba63926fafedaea5b54cc4b3

7 years agoarm: enterprise: Clean some of tps80031 definition
Laxman Dewangan [Fri, 8 Jul 2011 12:10:37 +0000]
arm: enterprise: Clean some of tps80031 definition

Adding public definition in the 80031 header so that client
can used directly in place of defining at client level.

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

Rebase-Id: Rdb349f90f2175d7da361f03a966ddef77383ecda

7 years agoarm: tegra: cardhu/enterprise: Selecting proper pinmux option.
Laxman Dewangan [Mon, 4 Jul 2011 14:17:49 +0000]
arm: tegra: cardhu/enterprise: Selecting proper pinmux option.

Selecting proper pinmux option for sdmmc3_dat6, sdmmc_dat7, ulpi_data3
from the valid list of pinmux option to avoid any warning.

bug 849973

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

Rebase-Id: Rdb1fe53a93123828935917c340b0263511548049

7 years agoarm: tegra: temperature: board extended range support
Bitan Biswas [Tue, 12 Jul 2011 07:30:19 +0000]
arm: tegra: temperature: board extended range support

nct1008 temperature sensor extended range support enabled
for cardhu and enterprise boards.

Bug 850512

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

Rebase-Id: R904117f681873882965b1b9bb2af75d4a9425601

7 years agoarm: tegra: enterprise: init modem according to modem_id
Steve Lin [Mon, 11 Jul 2011 19:45:06 +0000]
arm: tegra: enterprise: init modem according to modem_id

Init baseband modems according to the modem_id passed from the bootloader.

Bug 842870

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

Rebase-Id: R95da84dcc2b59083a7323b2d852656bdf0839e84

7 years agoarm: tegra: enterprise: enabling active lowpower for bt
Rakesh Goyal [Thu, 23 Jun 2011 05:26:52 +0000]
arm: tegra: enterprise: enabling active lowpower for bt

Configuring correct pinmux. platform_device_add for bluesleep.
this feature will be enabled with CONFIG_BT_BLUESLEEP.

bug 841489

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

Rebase-Id: Rb8ccadc62fbba8e27c9c1a121a3f1d95220b9c7a