5 years agoasoc: codec: audience: fix headset mic bais
Dara Ramesh [Fri, 29 Aug 2014 21:14:12 +0000]
asoc: codec: audience: fix headset mic bais

-fix headset mic bais for ADC0

bug 1548131

Change-Id: Ib6a84c412daaa3092a3394d3a5eb1ef05ed3ed56
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/494070

5 years agoasoc: codec: es755: enable DAC controls
Dara Ramesh [Mon, 1 Sep 2014 21:28:25 +0000]
asoc: codec: es755: enable DAC controls

enable DAC (Left and Right controls)  controls
based on DAPM controls.

bug 200033782

Change-Id: I7b33489105fa1ccad11a020220f7114f7759e85c
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/494526
Reviewed-by: Viraj Karandikar <vkarandikar@nvidia.com>
Tested-by: Viraj Karandikar <vkarandikar@nvidia.com>

5 years agoRevert "arm: tegra21: t210ref: let XHCI owns UTMIP0"
Ajay Gupta [Mon, 1 Sep 2014 04:14:04 +0000]
Revert "arm: tegra21: t210ref: let XHCI owns UTMIP0"

This reverts commit 302655f2c5d213f274d0cc16df6a0dbcde90992a.
Fixes regression breaking host mode of OTG feature.

Bug 200033802

Change-Id: Id58acf8592b5dc4fea885a7aa745dc43643d8d20
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/494347
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Amit Bhardwaj <abhardwaj@nvidia.com>
Tested-by: Amit Bhardwaj <abhardwaj@nvidia.com>

5 years agoarm64: tegra: Add the XUSB DT bindings for Foster
Aly Hirani [Thu, 28 Aug 2014 23:41:12 +0000]
arm64: tegra: Add the XUSB DT bindings for Foster

This adds the required regulators and xusb DT bindings for Foster.
Brings up the Ethernet and the 2 XUSB ports on Foster.

Change-Id: I33a77c6b676e4a529707130b5fc6024c92242ee0
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/493839
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoUSB: phy: program SW ID bit as per PMU interrupt
Petlozu Pravareshwar [Thu, 28 Aug 2014 16:22:18 +0000]
USB: phy: program SW ID bit as per PMU interrupt

Program the SW ID as per the PMU interrupt and use
it to know the presence of usb host cable for T210.

Bug 200032956

Change-Id: I406fff41e10eb65b659ed16aee5b0d1d5caaa393
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/491495
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm64: t210: dts: add SMMU changes for SATA
VENKATAJAGADISH P [Wed, 27 Aug 2014 09:21:36 +0000]
arm64: t210: dts: add SMMU changes for SATA

Change-Id: I52ab702bb53eeba7deaac97385312c54b75a7881
Signed-off-by: VENKATAJAGADISH P <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/488709
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoata: ahci: T210 Specific changes to ahci-tegra
VENKATAJAGADISH P [Mon, 25 Aug 2014 06:53:10 +0000]
ata: ahci: T210 Specific changes to ahci-tegra

Fixed dirver changes based on IAS

Change-Id: If2d363dc4218dc6aead1669086c359115da7137f
Signed-off-by: VENKATAJAGADISH P <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/487579
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agogpu: nvgpu: gm20b: Enable rail-gating with max delay
Seshendra Gadagottu [Thu, 28 Aug 2014 21:41:28 +0000]
gpu: nvgpu: gm20b: Enable rail-gating with max delay

Enable gpu rail gating with INT_MAX delay. This will allow
teams to experiment with different rail-gate entry delay.

Change-Id: I8c696140aba2374c797365282999b6589432047c
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/491615
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm:tegra:loki: HDMI pinmux configuration fix
David Dastous [Sat, 30 Aug 2014 23:54:22 +0000]
arm:tegra:loki: HDMI pinmux configuration fix

CC7 need to set IO-high voltage to disable

Bug 1549522

Change-Id: I453a649e61c0eed0967f4adbab1a136c1cc01eec
Signed-off-by: David Dastous <ddastoussthi@nvidia.com>
Reviewed-on: http://git-master/r/494252
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoirqchip: gic: add BUG_ON for tegra_agic in APIs
Nitin Kumbhar [Wed, 27 Aug 2014 18:19:16 +0000]
irqchip: gic: add BUG_ON for tegra_agic in APIs

AGIC is enabled by default in defconfigs. However, it can be
disabled from device tree files. Add an BUG_ON for tegra_agic
in the APIs exported to others.

Change-Id: Ica3acb237e3bc84c2933a3bea2fce4274195684e
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/488921
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoarm64: t210: loki: enable XHCI for Loki P2530
JC Kuo [Thu, 28 Aug 2014 17:46:53 +0000]
arm64: t210: loki: enable XHCI for Loki P2530

This commit enables XHCI support on micro-AB port for Loki P2530.

Change-Id: Id897c94cd639a8f3244eec99129e2d8efa6e097f
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/491557
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoxhci: tegra21: disable SS clk decreasing and ELPG
JC Kuo [Thu, 28 Aug 2014 12:59:11 +0000]
xhci: tegra21: disable SS clk decreasing and ELPG

For SS clock decreasing/increasing, we are still working
with hardware group for a proper sequence.
T210 ELPG is yet to verified.

Change-Id: I2ed4431ffffe6bf8e9cc2b021608f69896ab9b7a
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/491556
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm64: config: tegra21: built-in tegra-xudc driver
JC Kuo [Thu, 28 Aug 2014 12:37:13 +0000]
arm64: config: tegra21: built-in tegra-xudc driver

tegra-xudc has to built-in kernel since gadget driver framework
is built-in kernel.

Change-Id: I6b5d53ed1b1713f459cb4d52ec0b92905251db58
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/491555
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra21: t210ref: let XHCI owns UTMIP0
JC Kuo [Thu, 28 Aug 2014 12:31:44 +0000]
arm: tegra21: t210ref: let XHCI owns UTMIP0

T210 bootloader is not going to translate ODMDATA into kernel
command line strings. tegra_get_usb_port_owner_info() always
returns 0. Let XHCI owns UTMIP0.

Change-Id: I3adb68c6d2940b6fadfaff3fe14b45446d56d8a8
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/491554
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoARM: tegra: t210: remove XHCI platform data setup
JC Kuo [Thu, 28 Aug 2014 11:40:56 +0000]
ARM: tegra: t210: remove XHCI platform data setup

T210 bootloader is not going to translate odmdata to kernel command
line strings. tegra_get_usb_port_owner_info() and
tegra_lane_owner_info() are going to be deprecated for T210.
Hence, XHCI doesn't need board-t210ref.c to setup platform data.

Change-Id: I95f711cb5318c2842e67cd61d525d9b7455b2806
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/491553
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoxhci: tegra: rename firmware in T210 soc_config
TW Chiu [Tue, 26 Aug 2014 13:39:24 +0000]
xhci: tegra: rename firmware in T210 soc_config

Change filename to tegra21x_xusb_firmware.

Bug 1547520

Change-Id: Ie9de74a0633e094b1b551da5ddc9e7a506cf886f
Signed-off-by: TW Chiu <twchiu@nvidia.com>
Reviewed-on: http://git-master/r/491552
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Tested-by: Jui Chang Kuo <jckuo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoxusb_padctl: disable SW control of UTMIPLL IDDQ
JC Kuo [Tue, 26 Aug 2014 17:21:27 +0000]
xusb_padctl: disable SW control of UTMIPLL IDDQ

This commit disable SW control of UTMIPLL IDDQ temporarily.

Bug 1546103
Bug 200031856

Change-Id: I6afb998e2278bf480e20ad3e7da1680e6b0ad7c9
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/491551
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm64: tegra: xusb_padctl: program HS_DISCON_LEVEL
JC Kuo [Wed, 27 Aug 2014 17:09:44 +0000]
arm64: tegra: xusb_padctl: program HS_DISCON_LEVEL

This commit programs HS_DISCON_LEVEL with 0x7 for T210 per hardware
group's suggestion.

Change-Id: I795854f29bf357a268a591b6ede050ee96927e02
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/491550
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm64: dt: tegra: E2174: vdd_usb_5v0 add xusb host
JC Kuo [Wed, 27 Aug 2014 15:55:43 +0000]
arm64: dt: tegra: E2174: vdd_usb_5v0 add xusb host

Add tegra-xhci to comsumer list of vdd_usb_5v0.
In addition, link usb_vbus3-supply with vdd_usb_5v0.

Change-Id: I7dde7eee950157498c3df1af392edd4f6b8dd4e2
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/491549
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm64: tegra: Fix WIFI_RST pin settings on loki
Ankita Garg [Sat, 30 Aug 2014 00:34:09 +0000]
arm64: tegra: Fix WIFI_RST pin settings on loki

WIFI_RST pin on loki is used as gamectrlr_rst pin
to the uC on the button board. Fix the dts file
to set this GPIO as output-high by default on
boot.

Bug 1548436

Change-Id: Ibc223fb0a77831fca4949fe1a18481040dd8bc97
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/494150
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm64: tegra: dts: update loki sensors dt
siddardha naraharisetti [Thu, 28 Aug 2014 19:00:58 +0000]
arm64: tegra: dts: update loki sensors dt

update icm gpio from ACTIVE_LOW to ACTIVE_HIGH
fix the name for compass to match with driver

Bug 200025669

Change-Id: I3703253fd3e82175259ce73d203bd15a516aae66
Signed-off-by: siddardha naraharisetti <siddardhan@nvidia.com>
Reviewed-on: http://git-master/r/491574
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>

5 years agoplatform: tegra: iommu: limit dc and gpu iova to 4GB
Sri Krishna chowdary [Wed, 20 Aug 2014 10:26:17 +0000]
platform: tegra: iommu: limit dc and gpu iova to 4GB

Bug 1463797

Change-Id: I1b29e7b4fe079f61ec38ecdc56fd68f85188ff66
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/482455
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoplatform: tegra: iommu: clean up fixup table
Sri Krishna chowdary [Wed, 27 Aug 2014 09:21:02 +0000]
platform: tegra: iommu: clean up fixup table

Clean up fixup tables as much as possible to remove
fixup table usage for as many devices as possible.

Bug 1362461

Change-Id: I3f304a4be2987e0d21cd68415495de9cb96e3f3c
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/482483
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoARM: tegra:remove interrupt property from charger node
Venkat Reddy Talla [Fri, 22 Aug 2014 09:20:01 +0000]
ARM: tegra:remove interrupt property from charger node

battery support is not available on T124-e1780 ers platforms,
removing charger node interrupt property in e1736 pmic dtsi file
to disable interrupt feature.

Bug 200031323

Change-Id: Ic68f36a80f293931b4639e4b4d6a4ef2ad550c78
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/486866
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm/smmu: implement linsim hack
Hiroshi Doyu [Mon, 1 Sep 2014 05:36:47 +0000]
arm/smmu: implement linsim hack

linsim arm,smmu needs a workaround to access registers, which is
indirect access.

To enable ARM,SMMU in linsim:

  ./sim.t186/scripts/lsim.py --linsim_args=isARMSMMUEnabled=1
--chiplib_args=-enableARMSMMU

Output:
  root@t186:/ # dmesg |grep -i smmu
  <6>arm-smmu: smmu->phys_base=0x0000000032000000 smmu->base=ffffff8000080000
  <5>arm-smmu 32000000.smmu: registered 0 master devices
  <5>arm-smmu 32000000.smmu: probing hardware configuration...
  <6>arm-smmu: Indirect read(ADDRESS) phys_addr=32000fe8 ctl_addr=ffffff8000080024
  <6>arm-smmu: Indirect read(DATA) val=00000000 ctl_addr=ffffff8000080028
  <5>arm-smmu 32000000.smmu: SMMUv1 with:
  <6>arm-smmu: Indirect read(ADDRESS) phys_addr=32000020 ctl_addr=ffffff8000080024
  <6>arm-smmu: Indirect read(DATA) val=00000000 ctl_addr=ffffff8000080028
  <3>arm-smmu 32000000.smmu:      no translation support!

Bug 1493283

Change-Id: I98b69e3f02dfd5cc0a149d0339ae4ad8d5caf6e9
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/494381

5 years agotegra-nor: Fix dma_free_coherent call in tegra-nor
bhs [Fri, 22 Aug 2014 12:43:45 +0000]
tegra-nor: Fix dma_free_coherent call in tegra-nor

dma_alloc_coherent and dma_free_coherent are being done
for different sizes. This creates a BUG() if nor probe fails.
Using correct size in dma_free_coherent.

bug 1530764

Change-Id: Ia27aa5020f8634c9b5134828a48e7cd8745bd1b2
Signed-off-by: bhs <bhs@nvidia.com>
Reviewed-on: http://git-master/r/486959
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoiommu/tegra: smmu: move tegra_smmu{map/unmap}_misc_dev() handlers
Sri Krishna chowdary [Sun, 31 Aug 2014 10:37:40 +0000]
iommu/tegra: smmu: move tegra_smmu{map/unmap}_misc_dev() handlers

Move misc device registration to tegra-smmu driver so that the
misc device registration can also happen in same way as that of
platform devices

Bug 200031968

Change-Id: I61c3e58b6a4409c8eed7d45bcfe4454815143b8d
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/494308
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoplatform: tegra: iommu: remove unused tegra_smmu_get_map()
Sri Krishna chowdary [Sun, 31 Aug 2014 07:36:20 +0000]
platform: tegra: iommu: remove unused tegra_smmu_get_map()

Bug 200020468

Change-Id: I8211487aad04369ad0b805fc8a0963dd81fb9ca7
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/494301
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra12: vcm30t124: Add vi and isp clocks
Ashwin Joshi [Wed, 27 Aug 2014 07:13:46 +0000]
ARM: tegra12: vcm30t124: Add vi and isp clocks

Earlier virtual clocks for vi and isp have been added to the board file
and it works fine for native Linux. Add actual clocks as well to fix
in case of hypervisor boot.

Bug 1548042

Change-Id: Icdbf70ba3a034fd8613e51fbbf62176e0705965f
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/488663
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoarm: config: vcm30t124: Enable defcongs for vm2
Seshagir.H [Fri, 22 Aug 2014 03:35:40 +0000]
arm: config: vcm30t124: Enable defcongs for vm2

enable configs for VM2
CONFIG_GPIO_PCA953X
CONFIG_BT_RFCOMM
CONFIG_BT_HCIUART
CONFIG_BT_HCIUART_H4
CONFIG_BLUEDROID_PM
CONFIG_BCMDHD

bug 200027162

Change-Id: I3323e9bed47b97d70376b21ff32bd417935999ed
Signed-off-by: Seshagir.H <sholi@nvidia.com>
Reviewed-on: http://git-master/r/486848
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Sehgal <nsehgal@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoarch: arm: tegra: add function for automotive speedo
Seshagir.H [Mon, 18 Aug 2014 17:22:03 +0000]
arch: arm: tegra: add function for automotive speedo

Add tegra_is_soc_automotive_speedo function
which return true for automotive speedo

bug 200007291

Change-Id: Ie32fb235ca6c5a22ed03daa2a1102bc451f48feb
Signed-off-by: Seshagir.H <sholi@nvidia.com>
Reviewed-on: http://git-master/r/461326
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Tested-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoarm: configs: enable chip specific config flags
Manikanta [Fri, 25 Jul 2014 05:47:15 +0000]
arm: configs: enable chip specific config flags

- Enable CONFIG_BCM43241 for T132 & T124
- Enable CONFIG_BCM4354 for T210

bug 200021002

Change-Id: I0681a74dab49e06036f140d71b924f8cf4a92243
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/450641
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoDT: bindings: net: update bcmdhd-wlan DT binding doc
Manikanta [Wed, 30 Jul 2014 09:33:54 +0000]
DT: bindings: net: update bcmdhd-wlan DT binding doc

bug 200002163
bug 200022910

Change-Id: If4e9046839d80121e23431e4aa76665eb6b121ed
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>

5 years agoarch: arm64: update bcmdhd DT node as per new driver
Manikanta [Fri, 25 Jul 2014 11:29:44 +0000]
arch: arm64: update bcmdhd DT node as per new driver

- update DT node name
- update compatible property name

bug 200002163
bug 200022910

Change-Id: Idc51cf4549b76fbcd6a813a5f46cb248ff5df2d5
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>

5 years agonet: wireless: bcmdhd: add DT support to bcmdhd driver
Manikanta [Fri, 25 Jul 2014 11:25:42 +0000]
net: wireless: bcmdhd: add DT support to bcmdhd driver

bug 200002163
bug 200022910

Change-Id: I76d6e21308b623a46cebbba0c98b1b8a3d577b44
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>

5 years agonet: wireless: bcmdhd: add nvidia specific changes
Nagarjuna Kristam [Thu, 24 Jul 2014 12:12:55 +0000]
net: wireless: bcmdhd: add nvidia specific changes

- Wifi mitigation strategy changes
- Modify "disable_proptx" flag when proptx is set
- NULL check for wl_cfgp2p_generate_bss_mac
- Disable block ack for UP7
- Key installation timing fix
- Fix division by zero
- Add flag to enable MCC
- Set dpc rt thread priority to max
- Add edp changes for wifi in driver
- Power off card when not in use
- Fix set ampdu_hostreorder command fail
- Don't advertise FW_ROAM feature to supplicant
- Set KSO enable sleep to 5ms
- Use CONFIG_BCMDHD_HW_OOB to enable outband interrupt
- Skip roaming indication to cfg80211 layer if it is connected
  to the same BSSID
- Optimize scan time
- DELBA support for game streaming
- Correct sdio ids
- Fix p2p interface and wlan0 assoc race
- Fix LP0 in case of wifi tethering
- Add Miracast modes 5 and 6 to handle interference mitigation
  on blake
- Remove roam setting from SETMIRACAST
- Update CONNECTED on WLC_E_SET_SSID event
- Check NULL pointer in cfg80211 callbacks
- Override fw's check for flowcontrol
- Check Null pointer for variables mgmt_ie_len and curr_ie_buf
- Do not allow p2p calls after netdev unreg
- Fix NULL pointer in setting IEs
- Enable GET_CUSTOM_MAC_ENABLE flag
- Ensure wdev_cleanup_work completion before freeing

bug 200022910

Change-Id: Iadf3a8640b4e446eab8b08b9a92f2f8dd50c8089
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/450640
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Tested-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agonet: wireless: bcmdhd: update the license information
dkunjar [Thu, 7 Aug 2014 12:41:05 +0000]
net: wireless: bcmdhd: update the license information

- Update the license information of following files
include/Makefile
include/proto/bcmdhcp.h
include/proto/bcmudp.h
include/proto/eapol.h

Signed-off-by: dkunjar <dkunjar@broadcom.com>

bug 200026200

Change-Id: I7a0fd7d9b4c8370da8c965f78617c6108517b1c7
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>
Reviewed-on: http://git-master/r/454893
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agonet: wireless: bcmdhd: add bcmdhd 1.201.31 driver
Nagarjuna Kristam [Thu, 17 Jul 2014 07:13:47 +0000]
net: wireless: bcmdhd: add bcmdhd 1.201.31 driver

Bug 1454889
Bug 200022910

Change-Id: Id697f3118515ef70a1cb0747b8d1691a88df8083
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/450639
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Tested-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomedia: platform: tegra: remove redundant sanity checks
Amit Sharma [Tue, 26 Aug 2014 14:00:01 +0000]
media: platform: tegra: remove redundant sanity checks

Remove the redundant sanity checks 'info->data', since dw9714_probe
takes all responsibilities of assigning the meaningful value in pointer
'info->pdata'.

Bug 1416640

Change-Id: I0df4ae8d7cc1b1d292223121a9ec9ac4ea57e73b
Signed-off-by: Amit Sharma <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/488208
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agogpmu:nvgpu: Falcon debug prints.
Vaikundanathan S [Wed, 27 Aug 2014 11:13:35 +0000]
gpmu:nvgpu: Falcon debug prints.

Display the Falcon Trace prints in the right format.
Embedd the parameters in the string instead of printing it separately.

Bug NA

Change-Id: Ia61fc43384cf6e44a867c7aa9cbb828127146099
Signed-off-by: Vaikundanathan S <vaikuns@nvidia.com>
Reviewed-on: http://git-master/r/488757
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoMerge remote-tracking branch 'origin/dev/tcherry-t210' into HEAD
Tom Cherry [Sat, 30 Aug 2014 23:33:59 +0000]
Merge remote-tracking branch 'origin/dev/tcherry-t210' into HEAD

Change-Id: I9ac1447f5cc962751b5f09688cd590d4247fb3f2
Signed-off-by: Tom Cherry <tcherry@nvidia.com>

5 years agotegra: thermal: throttle: prune table for bringup
Diwakar Tundlam [Tue, 26 Aug 2014 23:37:12 +0000]
tegra: thermal: throttle: prune table for bringup

temporarily disable higher clock-speeds during bringup

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

5 years agotegra: thermal: enable TDiode thermal cpu throttle
Diwakar Tundlam [Tue, 26 Aug 2014 02:51:07 +0000]
tegra: thermal: enable TDiode thermal cpu throttle

Enabled the "cpu-balanced" cooling device binding to the TDiode thermal
zone at a trip_point threshold of 82'C (10C below the shutdown limit).

Added a CRITICAL trip point at 92'C and raised the HW-SHTUDOWN limit to
93'C to allow SW to do graceful shutdown whenever possible. This also
results in a clear console log message indicating the reason for the
shutdown, making it easier to distinguish thermal issues from other forms
of hang, reset or shutdown.

Change-Id: I71a901afd2230b8561a36cdf593511e1bca96f6e
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/487948
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Darren Sun <darrens@nvidia.com>

5 years agoarm64: tegra: dts: clean up ext-gpio for loki
Daniel Fu [Wed, 27 Aug 2014 05:15:19 +0000]
arm64: tegra: dts: clean up ext-gpio for loki

- Loki-e doesn't have have exteranl gpio, removed it.
- Enable the regulators per platform.

Bug 1531073

Change-Id: Iabaac12f0abe0f4265caec3dfcbb0a386c29cce6
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/488605
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM64: dts: tegra:set dcp current limit 2000mA
Venkat Reddy Talla [Fri, 29 Aug 2014 16:53:13 +0000]
ARM64: dts: tegra:set dcp current limit 2000mA

add dcp current limit property to set input charging
current to 2000mA when dcp charger cable connected
to device.

Change-Id: I2f27a33a659b342989f589f4c7abd7c36de390eb
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/493990
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoplatform: adsp: update amc interrupt handler
Nitin Kumbhar [Fri, 29 Aug 2014 04:38:25 +0000]
platform: adsp: update amc interrupt handler

1. Add a WAR for a hw issue for ignoring ARAM addresses < 4K.
2. Report invalid AMC register accesses

Bug 200016784
Bug 200033431

Change-Id: I9a9890ba7b128d1bf949ba2f48ec3856270622d8
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/493905
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agothermal: tegra: bthrot: fix bthrot parse and show
Diwakar Tundlam [Tue, 26 Aug 2014 02:50:31 +0000]
thermal: tegra: bthrot: fix bthrot parse and show

Tegra balanced throttle table is read from DT with a fixed format.
However, the number of controlled frequencies is defined dynamically
depending on what clock features are enabled per tegra arch.

This results in the DT table improperly initializing the various cap
freq when a mismatch between DT columns and actual num-freqs happens.

Fixed this by defining fixed DT-num-cols and silently consuming any
excess entries.

Also fixed the show to display sane freq limits or report "NO_CAP"
otherwise.

Change-Id: I23df46a6393abad2eb1f4b5734efed0673c6300e
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/487947
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>

5 years agoclock: tegra21: Add lock to protect register read
Hoang Pham [Thu, 28 Aug 2014 18:04:36 +0000]
clock: tegra21: Add lock to protect register read

Some peripherial clocks share register read, so
protect register read updates with lock

Change-Id: I61a498abfe8b4449d65f22cd73a5266f7136b3a6
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/491541
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM64: configs: Enable CPUQUIET_FRAMEWORK for T210
Sai Gurrappadi [Thu, 28 Aug 2014 21:21:54 +0000]
ARM64: configs: Enable CPUQUIET_FRAMEWORK for T210

Enable the cpuquiet framework for T210 on android.

Change-Id: Ib1a10dd7890aac1c774e2ab5afdd0eaa1a4fe4e0
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/491598
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>

5 years agodrivers: tegra: Compile cpuquiet driver for T210
Sai Gurrappadi [Thu, 28 Aug 2014 21:20:52 +0000]
drivers: tegra: Compile cpuquiet driver for T210

Compile the cpuquiet platform driver for T210 if the cpuquiet framework
is enabled. This will enable 'auto-hotplugging' of cpus.

Change-Id: Iec8857598d8efaceee1e97303b38758268fd2378
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/491597
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>

5 years agoARM64: configs: Enable CPU_FREQ
Sai Gurrappadi [Tue, 26 Aug 2014 18:15:35 +0000]
ARM64: configs: Enable CPU_FREQ

Enabled the CPU_FREQ framework and its related governors. CPU frequency
scaling will now be supported for T210 on android.

Change-Id: If4e3afde4ee2789837ae3e2198f5734090cab394
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/488276
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agodrivers: tegra: Enable thermal throttling for T210
Sai Gurrappadi [Tue, 26 Aug 2014 18:14:38 +0000]
drivers: tegra: Enable thermal throttling for T210

Now compile the tegra_throttle driver for thermals for T210.

Change-Id: I709a311ac008bf263108303a6ce336e7ed9f9d10
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/488275
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>

5 years agoARM: tegra: Fix ifdef for GOVERNOR_KERNEL_START
Sai Gurrappadi [Tue, 26 Aug 2014 18:12:03 +0000]
ARM: tegra: Fix ifdef for GOVERNOR_KERNEL_START

Check for the presence of the definition rather than the value like all
the other kconfig options.

Change-Id: I25921d4601b74e7f59ed3d98b48c00820b1123ca
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/488274
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>

5 years agoarm64: lookup cpu table when reporting cpuinfo
Bo Yan [Thu, 28 Aug 2014 23:24:05 +0000]
arm64: lookup cpu table when reporting cpuinfo

cpu name can change due to cluster switch, statically stored
cpu name during boot time is no longer correct when switching
to different cluster.

always lookup cpu table when reporting /proc/cpuinfo. this doesn't
guarantee the correctness when auto cluster switch is enabled, but
it at least presents correct information when running manual cluster
switch and when OS stays on a particular cluster.

Change-Id: I8999674f842aa496415c4ce2e75fe535a4297b14
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/491650
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra: Kill TEGRA_AUTO_HOTPLUG
Sai Gurrappadi [Sat, 23 Aug 2014 22:01:20 +0000]
ARM: tegra: Kill TEGRA_AUTO_HOTPLUG

TEGRA_CPUQUIET now consumes TEGRA_AUTO_HOTPLUG. Removing the duplicate
kconfig from the relevant files. Deprecating AUTO_HOTPLUG.

Change-Id: I123d6a3216eb54496f6245fc7b5d6861632cafca
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/488272
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>

5 years agoarm64: configs: t210: resync defconfig for android
Bo Yan [Fri, 29 Aug 2014 17:39:23 +0000]
arm64: configs: t210: resync defconfig for android

this basically runs ksavedefconfig to make sure defconfig is
generated properly.

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

5 years agovideo: tegra: hdmi: Replace numbers with macros
Animesh Kishore [Fri, 29 Aug 2014 06:14:54 +0000]
video: tegra: hdmi: Replace numbers with macros

Change-Id: Ib3a855eb0e8c3854141573a63574196cba081121
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/493916
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>

5 years agoARM64: tegra: t210: Update Loki DT and board file
David Wang [Thu, 28 Aug 2014 06:28:51 +0000]
ARM64: tegra: t210: Update Loki DT and board file

Makes nessary changes to the Loki DT and t210 board file
to get OV7695 sensor to pass auto detection on t210
Loki platform.

bugs 1546964

Change-Id: I59498908ef149203b978ebd8d2548bb00508a641
Signed-off-by: David Wang <davidw@nvidia.com>
Reviewed-on: http://git-master/r/490974
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>

5 years agomedia: platform: tegra: Regulator name for OV7695
David Wang [Thu, 28 Aug 2014 06:54:58 +0000]
media: platform: tegra: Regulator name for OV7695

 Modifies the regulator name for OV7695 on the t210 Loki
 platform.

 bug 1546964

Change-Id: Ib24397a6cf3be6db8d4566a8b02d97af17aa261d
Signed-off-by: David Wang <davidw@nvidia.com>
Reviewed-on: http://git-master/r/490976
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoarm64: add Cortex-A53 in cpu table
Bo Yan [Fri, 29 Aug 2014 00:03:03 +0000]
arm64: add Cortex-A53 in cpu table

Change-Id: I5da753eb0280659a3aaa8e3ddc8e62b6b2745e9a
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/493092
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agodvfs: tegra21: Set default CPU speedo to 2275
Alex Frid [Thu, 28 Aug 2014 23:37:17 +0000]
dvfs: tegra21: Set default CPU speedo to 2275

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

5 years agoARM: tegra21: Enable CPU voltage scaling
Alex Frid [Sun, 17 Aug 2014 10:13:22 +0000]
ARM: tegra21: Enable CPU voltage scaling

Enabled CPU voltage scaling for T210 android defconfig.

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

5 years agoARM64: tegra21: Connect CPU rail to DFLL bypass regulator
Alex Frid [Sun, 17 Aug 2014 09:43:44 +0000]
ARM64: tegra21: Connect CPU rail to DFLL bypass regulator

Connected VDD_CPU rail to DFLL bypass regulator. CPU voltage scaling
is still disabled (can be re-enabled now at run-time via debugfs).

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

5 years agoARM: tegra21: Enable DFLL bypass regulator
Alex Frid [Sun, 17 Aug 2014 08:08:00 +0000]
ARM: tegra21: Enable DFLL bypass regulator

Enabled DFLL bypass regulator for T210 android defconfig.

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

5 years agogpu: nvgpu: gm20b: update regops whitelist
Kevin Huang [Fri, 9 May 2014 18:41:26 +0000]
gpu: nvgpu: gm20b: update regops whitelist

Bug 1500195

Change-Id: Ie2253f2650844cbc707a3083cc2f6b5150c4a17b
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/488508
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agogpu: nvgpu: add HAL for regops
Kevin Huang [Fri, 9 May 2014 18:41:26 +0000]
gpu: nvgpu: add HAL for regops

Bug 1500195

Change-Id: I5545d1a95a58e7daa5a74cc20f3fc6828774fc42
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/488507
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: hdmi: Add audio uevent support
Rahul Mittal [Thu, 28 Aug 2014 00:32:26 +0000]
video: tegra: hdmi: Add audio uevent support

Register hdmi_audio switch and set/reset its state
upon hdmi enable/disable so that a uevent can be sent
to audio frameworks to route audio to hdmi

Bug 200032932

Change-Id: Ib62f0eaa839fb30b2f13c04116cbe0f70df909c3
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/489065
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>

5 years agoasoc: tegra-alt: es755: set bit clock ratio
Dara Ramesh [Fri, 29 Aug 2014 03:58:46 +0000]
asoc: tegra-alt: es755: set bit clock ratio

-set bit clock ratio for cpu dai

bug 1548128

Change-Id: Iab531e26252d1ef3f067b67c235866d766560faa
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/493901
Reviewed-by: Viraj Karandikar <vkarandikar@nvidia.com>
Tested-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agommc: tegra: Set pwr_det_val to 0 after voltage switch
Naveen Kumar Arepalli [Thu, 28 Aug 2014 22:49:44 +0000]
mmc: tegra: Set pwr_det_val to 0 after voltage switch

-Set pwr_det_val to 0 after switching the voltage
to 1.8V.

Bug 1548669

Change-Id: Id1e1c567b1db4b68d299699470dd2c6cebe7736d
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/491643
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM64: dts: tegra:add gpio extcon status dt node
Venkat Reddy Talla [Thu, 28 Aug 2014 14:54:08 +0000]
ARM64: dts: tegra:add gpio extcon status dt node

add gpio extcon status dt node to support
vbus and id through extcon gpio interface.

Change-Id: I4e18982a02fef7f8b121e680af24543b01931641
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/491479
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoextcon: gpio-states: add gpio states based extcon driver
Laxman Dewangan [Thu, 28 Aug 2014 11:23:12 +0000]
extcon: gpio-states: add gpio states based extcon driver

Add extcon driver to transform the gpio state to the cable
state based on lookup table and notify to client accordingly.

Change-Id: I23f8058df59d3f63691686208a090831f9bb2b3d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/491410
GVS: Gerrit_Virtual_Submit

5 years agoASoC: tegra-alt: add input paths to SPKPROT-SW
Viraj Karandikar [Thu, 28 Aug 2014 22:07:57 +0000]
ASoC: tegra-alt: add input paths to SPKPROT-SW

Add decoder and APM input paths to SPKPROT-SW so that it can be
used in CPU playback path.

Change-Id: I072f0532bfdbb2d4f40af5b9ee4ebd03ad5e9689
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/491628
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>

5 years agoarm64: tegra: loki: fix cldvfs pinmux
Ray Poudrier [Thu, 28 Aug 2014 22:25:46 +0000]
arm64: tegra: loki: fix cldvfs pinmux

CLDVFS PWM should be tristated on boot

Change-Id: I7927e20777c4d1962a522faa73ee050795f883c8
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/491629

5 years agodrivers: cpuidle: tegra210: Fix forced idle patch
Sai Gurrappadi [Tue, 12 Aug 2014 22:34:09 +0000]
drivers: cpuidle: tegra210: Fix forced idle patch

Don't disable the timer interrupt (both SOC and arch) so that we
actually wake up from the programmed tick event. Otherwise we end up
entering WFI with interrupts disabled with no way to wake up.

Bug 1500986

Change-Id: I856ee6b84f43740e3a9b8034d38680ae947cbbae
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/456219
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Tested-by: Sivaram Nair <sivaramn@nvidia.com>

5 years agoarm64: tegra: enable spi interface on audinence
Dara Ramesh [Wed, 27 Aug 2014 23:23:15 +0000]
arm64: tegra: enable spi interface on audinence

Bug 1547407

Change-Id: Ib93a1f6eeb2651d45b16133c49403582844376fe
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/489038

5 years agoarm64: t210: enable audience spi interface
Dara Ramesh [Wed, 27 Aug 2014 04:03:23 +0000]
arm64: t210: enable audience spi interface

Change-Id: I6fce796ebc918a54b2c129f0092aecd8c65cba44

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Change-Id: I09fd85ef9dafbbf11855fb087105fc3f837d0670
Reviewed-on: http://git-master/r/489183

5 years agoRevert "TEMP:usb: gadget: tegra: add delay after setting RUN bit"
Rohith Seelaboyina [Sat, 23 Aug 2014 16:54:05 +0000]
Revert "TEMP:usb: gadget: tegra: add delay after setting RUN bit"

This reverts commit 95b83fba0d5a069ab6b820f0a3ef5ba52397bb2a.

Change-Id: I99c90375ff3b561261c04b4a31fde570208db66b
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/487355
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com>

5 years agogpu: nvgpu: Update GM20b GPCPLL operations
Alex Frid [Fri, 15 Aug 2014 05:44:33 +0000]
gpu: nvgpu: Update GM20b GPCPLL operations

Moved detection of idempotent GPCPLL operations from set_pll_freq()
function to its callers, e.g., explicitly check when enable operation
is called on already enabled PLL, instead of passing same frequency
to set_pll_freq() in such case. Similarly explicitly check when disable
operation is called on already disabled PLL.

Also moved check for GPU powered on from set_pll_freq() to callers,
and skip call to set interface if not.

Added last GPCPLL configuration structure updated after successful
completion of set_pll_freq() function.

Bug 1450787

Change-Id: I8c14b8cab2a8548e98c9b2d223c465c68fb87b61
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/488027
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoARM64: tegra: t210: change ov5693 CSI port
Frank Chen [Wed, 27 Aug 2014 23:05:47 +0000]
ARM64: tegra: t210: change ov5693 CSI port

Change CSI port from SerialB to SerialC for t210.

Bug 1546954

Change-Id: I872990a0a809cdbad973577bb64ed72ebd91df04
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/489034
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoi2c: tegra: vi-i2c: fix 8 bit address r/w
Charlie Huang [Wed, 27 Aug 2014 22:14:15 +0000]
i2c: tegra: vi-i2c: fix 8 bit address r/w

also support sequential read/write.
clean up unused code.

bug 1506409

Change-Id: If73e1c629945a407a0b2c9587efa9bd8641e96ae
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/489019
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Frank Chen <frankc@nvidia.com>
Tested-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agovideo: tegra: hdmi: Add hotplug support
Animesh Kishore [Thu, 28 Aug 2014 00:41:44 +0000]
video: tegra: hdmi: Add hotplug support

Change-Id: I0bc3cc4ba34c3fa9032beabb567f74885f04809e
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/489071
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoarm64: dts: Remove always asserted hpd
Animesh Kishore [Mon, 25 Aug 2014 22:09:34 +0000]
arm64: dts: Remove always asserted hpd

Change-Id: Ie2e480ae3f1490661fbdac674d8352ec2a3f1d71
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/487848
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoarm64: dts: Remove panel timing node
Animesh Kishore [Sun, 24 Aug 2014 02:54:08 +0000]
arm64: dts: Remove panel timing node

hdmi is expected to read panel timing from edid

Change-Id: I31299571513cecdc57374b05186638edfdbb07d6
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/487854
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agovideo: tegra: hdmi: Add ddc support
Animesh Kishore [Sun, 24 Aug 2014 02:56:06 +0000]
video: tegra: hdmi: Add ddc support

Change-Id: Ibe517b7ba24c7f58ea142ac589aaaeb3839332f8
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/487853
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoTEMP: ASoC: tegra-alt: remove ape de-assert
Nitin Kumbhar [Thu, 28 Aug 2014 04:07:08 +0000]
TEMP: ASoC: tegra-alt: remove ape de-assert

Do not de-assert ape clock as it's already been enabled
and de-asserted by boot-loader.

Change-Id: I4eb1e7ad6063313f0bdb95910a9bbb80e44c46cb
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/489185

5 years agoTEMP: ASoC: tegra-alt: enable ADSP init at boot
Nitin Kumbhar [Thu, 28 Aug 2014 04:09:59 +0000]
TEMP: ASoC: tegra-alt: enable ADSP init at boot

Change-Id: I1f6b8d94cb9d9552308dacd0b440c5f668269255
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/489186
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoTEMP: platform: nvadsp: change initialization of actmon
Nitin Kumbhar [Mon, 25 Aug 2014 04:15:30 +0000]
TEMP: platform: nvadsp: change initialization of actmon

Initialize ADSP CPU actmon only if ADSP_DFS ACTMON
is enabled. Without this adsp clock gets enabled and
writing EVP register(s) triggers false ADSP OS start which
results in invalid SMMU accesses and eventually faults.

Change-Id: If92b8c866fc4159400a4c95e1fb899210a6b0d1c
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/487510
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoTEMP: clock: tegra21: reset ADSP INTF first
Nitin Kumbhar [Wed, 27 Aug 2014 03:24:10 +0000]
TEMP: clock: tegra21: reset ADSP INTF first

Update APE/ADSP clock reset sequence to reset
ADSP INTF first and then after some delay all other
module clocks.

Bug 200016784

Change-Id: Iddb067bcd7f4022cfa6612c024e681167247a960
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/488588

5 years agoARM64: config: Enable HDA to enumerate device
Rahul Mittal [Tue, 26 Aug 2014 03:05:27 +0000]
ARM64: config: Enable HDA to enumerate device

Enable HDA config to allow device enumeration.
Audio playback will be enabled once functional.

Bug 200032932

Change-Id: I8a0ff4b9a21c29feb20471c9c95cf223991ad8fe
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/487956
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>

5 years agoarm64: dts: t210: disable hda in grenada
Dara Ramesh [Wed, 27 Aug 2014 19:12:32 +0000]
arm64: dts: t210: disable hda in grenada

Disable hda in grenada to resolve GVS test
failures in linsim.

Bug 200032932

Change-Id: Ia8be9536333f191e4c1f49ab9c8c6b2586aaf9a5
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/488952

5 years agoARM64: dts: loki: enable sdmmc3 enable-input
Naveen Kumar Arepalli [Wed, 27 Aug 2014 18:37:44 +0000]
ARM64: dts: loki: enable sdmmc3 enable-input

- enable sdmmc3 enable-input
- Set sdmmc default driver type to A.

Change-Id: Ib4ce5f9ff3881176a1054a05ba45814e470c4afb
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>

5 years agoARM64: dts: t210: Update uhs mask for sdmmc2
Naveen Kumar Arepalli [Mon, 25 Aug 2014 01:54:22 +0000]
ARM64: dts: t210: Update uhs mask for sdmmc2

-sdmmc2 is being used for wifi and not for emmc
-mask sdr104, sdr50 modes.

Change-Id: Iecc319baf9f83e28a75bd78097114cb7f624e7c2
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>

5 years agoarm64: tegra: t210: Update camera DT files
Charlie Huang [Sun, 24 Aug 2014 06:04:13 +0000]
arm64: tegra: t210: Update camera DT files

1. Use macro to set gpio values
2. Update camera clock names

Change-Id: I266d0dc5320e9d3690d6885e565f42189fcfb9fa
Signed-off-by: Charlie Huang <chahuang@nvidia.com>

5 years agoarm64: t210: Enable watchdog from ers-common dtsi file
Shardar Shariff Md [Wed, 27 Aug 2014 12:33:24 +0000]
arm64: t210: Enable watchdog from ers-common dtsi file

By default make watchdog disabled in tegra210.dtsi,
Enable the watchdog from ers-common dtsi file and
also add override entry to enable based on odmdata

Change-Id: I6619f041c3bdd1dce59d0efdd23ead8668ef3423
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>

5 years agowatchdog: tegra: enable watchdog during probe through DT
Shardar Shariff Md [Wed, 27 Aug 2014 11:17:06 +0000]
watchdog: tegra: enable watchdog during probe through DT

Enable watchdog during probe depending on DT property
"nvidia,enable-on-init" instead of config option
CONFIG_TEGRA_WATCHDOG_ENABLE_ON_PROBE

Change-Id: I25696c8c310664bb6a1597a54045e9bd63267ba1
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>

5 years agowatchdog: tegra: Use devm_kzalloc/devm_request_and_ioremap
Shardar Shariff Md [Wed, 27 Aug 2014 11:06:11 +0000]
watchdog: tegra: Use devm_kzalloc/devm_request_and_ioremap

- Use devm_kzalloc() instead of kzalloc and
  remove kfree.
- Use devm_request_and_ioremap() instead of
  request_mem_region,ioremap and remove
  iounmap, release_mem_region

Change-Id: I04c7723cb686d60372a962599458f6f6d8b3ddc4
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>

5 years agoarm64: tegra: dts: add SATA dt node foster
VENKATAJAGADISH P [Wed, 27 Aug 2014 10:24:24 +0000]
arm64: tegra: dts: add SATA dt node foster

Change-Id: I15d702335c246dd2553c32d20635258dbdb1d2f1
Signed-off-by: VENKATAJAGADISH P <vjagadish@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agogpu: nvgpu: Enable gm20b fecs/gpccs bootloader
Terje Bergstrom [Thu, 22 May 2014 09:02:54 +0000]
gpu: nvgpu: Enable gm20b fecs/gpccs bootloader

Change-Id: Ia9ab5ef8fbe3244b44c911d8808123e0aaf860cf
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/488611
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>

5 years agoarm64: tegra210: enable modem power driver
Mark Kuo [Thu, 28 Aug 2014 02:10:02 +0000]
arm64: tegra210: enable modem power driver

Enable modem power driver

Bug 200028677

Change-Id: I6cec960298b493f1db570374ef8f770f239a3f87
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
Reviewed-on: http://git-master/r/486459
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: BH Hsieh <bhsieh@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoARM: tegra: t210: Remove sbc5 and sbc6 clocks
Hoang Pham [Wed, 27 Aug 2014 03:16:37 +0000]
ARM: tegra: t210: Remove sbc5 and sbc6 clocks

Remove sbc5 and sbc6 clocks as they are no longer
exist in T210

Change-Id: I1ad2c2d31e89a13462a3da5b69ee7a00c631b2ba
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/488580
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>