]>
rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/log
Bryan Wu [Tue, 19 Nov 2013 23:51:20 +0000 (15:51 -0800)]
media: soc_camera: add imx135 sensor driver
Sony IMX135 camera sensor can be found on Ardbeg/Laguna. This patch
introduced sensor driver for imx135 using soc_camera interface.
Bug
1380143
Change-Id: Ifa0becf1ec2d9931ebf9ea3a4e9ea3e1013a9e36
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/337469
GVS: Gerrit_Virtual_Submit
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Bryan Wu [Wed, 20 Nov 2013 00:59:23 +0000 (16:59 -0800)]
media: tegra_camera: vi2: support for real sensor
Add code to support RAW10 capture from real sensor like IMX135.
Add flag to skip register program from second frame.
Fix sync point operations.
Bug
1380143
Change-Id: I19bcd17ddfba0e16b4b3a34ae8a4e5a0119e85e1
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/337470
GVS: Gerrit_Virtual_Submit
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Adeel Raza [Thu, 10 Jul 2014 17:04:22 +0000 (10:04 -0700)]
platform: tegra: add MC config
Add config for enabling/disabling Tegra MC code.
Bug
1509349
Change-Id: I83b0ca2679da569724984abc8a0b7856376e74cf
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/436710
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Adeel Raza [Thu, 10 Jul 2014 16:52:17 +0000 (09:52 -0700)]
platform: tegra: add mipi cal config
Add config for enabling/disabling camera MIPI calibration code.
Bug
1509349
Change-Id: I15da2b9c1c32ce7bee919fa8349c75d41ac388db
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/436706
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Jun Yan [Wed, 7 May 2014 22:43:55 +0000 (15:43 -0700)]
usb: misc: expose touch LED states
Bug
1507967
Change-Id: I616dcaca01955b70d5f383ff192a45a0194af3da
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/#/c/409788/
(cherry picked from commit
79054c4090409092714c4aaf9e6411dab83ac2b3 )
Reviewed-on: http://git-master/r/432897
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ankita Garg <ankitag@nvidia.com>
Tested-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Vivek Aseeja [Thu, 14 Aug 2014 00:37:36 +0000 (17:37 -0700)]
platform: tegra21: export tegra_bonded_out_dev
the change allows tegra_udc to be compiled as a module
Change-Id: Id78c75a9234766debc6de824428274d29f2b5027
Signed-off-by: Vivek Aseeja <vaseeja@nvidia.com>
Reviewed-on: http://git-master/r/456458
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Adeel Raza [Thu, 10 Jul 2014 00:14:24 +0000 (17:14 -0700)]
platform: tegra: add platform tegra config
Add CONFIG_PLATFORM_TEGRA in order to decouple drivers/platform/tegra
from arch/arm[64]/mach-tegra. This needs to be done in order to
eventually remove mach-tegra.
Bug
1509349
Change-Id: I9728746252f6ef935c2ebf4d67d4a0b42dc50a5d
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/436360
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Lael Jones [Fri, 18 Jul 2014 15:13:03 +0000 (08:13 -0700)]
video: tegra: dc: Fake DSI fixes
- Reset DSI data in tegra_dc_reinit_dsi_resources
since all fake DSI connections share the same
DSI structure.
- Update resource query in
tegra_dc_reinit_dsi_resources to match that in
_tegra_dc_dsi_init
- Use 8 lanes for fake DSI ganged mode
Change-Id: I3236f01f8ec0b85a695221c74a95f6283c7dc47f
Signed-off-by: Lael Jones <lajones@nvidia.com>
Reviewed-on: http://git-master/r/439872
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Yousuf A [Tue, 12 Aug 2014 05:59:41 +0000 (11:29 +0530)]
arm: tegra: p1859: configuring CS1 for spi2
This change enables CS1 for spi2 as per the pinmux
sheet.
Bug
1540684
Change-Id: I9e6bcdd0718ff44ec8b3b85e5517a47cdefc5769
Signed-off-by: Yousuf A <yousufa@nvidia.com>
Reviewed-on: http://git-master/r/453344
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Tested-by: Sandeep Trasi <strasi@nvidia.com>
Terje Bergstrom [Thu, 14 Aug 2014 07:13:50 +0000 (10:13 +0300)]
Revert "iommu/tegra: smmu: parse "iommus" efficient"
Causes nvrm_channel hang in T210.
This reverts commit
fc41641faa088451fbc100d4f49046c24c88df62 .
Change-Id: I93206f93539557b52e04adfbc79de206587cef1a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/456586
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Deepak Nibade [Wed, 13 Aug 2014 09:34:21 +0000 (15:04 +0530)]
gpu: nvgpu: add ioctl to force reset channel
Add below ioctl to force channel reset/recovery.
NVHOST_IOCTL_CHANNEL_FORCE_RESET
This recovery/reset is initiated by triggering
mmu fault on channel so as to force the channel
out (as oppose to waiting until channel is
preempted)
Bug
200027958
Change-Id: Idd3c10ef5fa691d746e34a8b890bd79aca815a20
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/456084
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Terje Bergstrom [Wed, 13 Aug 2014 13:24:41 +0000 (06:24 -0700)]
Revert "arm: config: Enable XUSB host/device as default"
Causes FPGA and ASIM boot fail.
This reverts commit
440767acf1e5ecdb73c007e171a7da69321eb891 .
Change-Id: I747bfbc13b950d51e81bbdf583706218097e20f5
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/456142
Sri Krishna chowdary [Wed, 13 Aug 2014 11:09:42 +0000 (16:39 +0530)]
video: tegra: nvmap: fix nvmap_page_pool_init error path
nvmap_page_pool_init calls nvmap_page_pool_fini at every
failure point. In case shrinker is not initialized, its
list node is not initialized as well.
Operating on an uninitialized list node can cause NULL
pointer exception. Preventing the same.
Bug
1526131
Change-Id: I6c4cb314b4a93c7ed8d4cb03e4e0c7d2b8a1e906
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/456089
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Andy [Tue, 24 Jun 2014 15:39:54 +0000 (08:39 -0700)]
mmc: sdhci: Cache SDHCI_COMMAND & SDHCI_INT_ENABLE
Investigate and improve eMMC performance for TS8
Don't read SDHCI_INT_ENABLE and SDHCI_COMMAND but instead cache
in system memory and read from there. This causes a slight
improvement in performance since system memory reads are faster
then performing MMIO (device IO) since we are doing a system
read instead of causing flushes to synchronize the system
before doing a device read.
Bug
1518656 & Bug
1540955
This is a cherry pick from rel 20 of
commit --
af40e7c0588020a55872488acb0842a62352e074
Change-Id: I3e9f618306545d7e772ce4e01f62d106bafec9cd
Signed-off-by: Andy <asobczyk@nvidia.com>
Reviewed-on: http://git-master/r/427785
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>
(cherry picked from commit
af40e7c0588020a55872488acb0842a62352e074 )
Reviewed-on: http://git-master/r/455184
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Hoang Pham [Wed, 13 Aug 2014 15:57:52 +0000 (08:57 -0700)]
clock: tegra21: Remove audio sync clock doubler for I2S
Remove audio sync clock doubler for I2S as no longer exists in T210
Change-Id: I730d3b28ba605a4e654ae152c171526a6771d1a1
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/456188
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Sang-Hun Lee [Wed, 16 Jul 2014 04:22:13 +0000 (00:22 -0400)]
ARM: Tegra: TN8: Correct vana mapping
The i2c address of the rear camera sensor has changed
Bug
200016507
Change-Id: I9d6794b2efe81c96286d4ca305731492f9062961
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/438554
(cherry picked from commit
31281027d1e732561c824a91c40a91c64fe260ff )
Peng Du [Tue, 1 Apr 2014 19:43:47 +0000 (12:43 -0700)]
arm64: ftrace: Add dynamic ftrace support
Change-Id: I15626bd8fe2e8172311f6897f4bf90b17df658fa
Signed-off-by: Peng Du <pdu@nvidia.com>
Signed-off-by: Noah Imam <nimam@nvidia.com>
Reviewed-on: http://git-master/r/391458
Reviewed-by: Mark Peters <mpeters@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Sang-Hun Lee [Fri, 18 Jul 2014 03:39:57 +0000 (23:39 -0400)]
mmc: tegra: unlock mutex before returning
To avoid hanging the entire system, unlock mutex lock before
returning
Bug
1526837
Change-Id: I523b5ad2ea7787ca780163e1e1db91c475c81ce1
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/439707
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Chao Xu [Fri, 8 Aug 2014 21:21:34 +0000 (14:21 -0700)]
video: tegra: Kconfig: Add PLATFORM_TEGRA dependency to DC
Conflicts:
drivers/video/tegra/Kconfig
Change-Id: Ieb4b5a94965e6550e3358909fc43e602b1498edd
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/455130
Chao Xu [Fri, 8 Aug 2014 21:14:15 +0000 (14:14 -0700)]
video: tegra: dc: Match the CONFIG for function prototype
Change-Id: I3891a03f95e9ab5a23ff0eae707153e1252dbec5
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/455129
Chao Xu [Fri, 8 Aug 2014 21:11:01 +0000 (14:11 -0700)]
ARM: tegra: Define the windows number as the max of all chips
Otherwise DC fails to build if CONFIG_ARCH_TEGRA_1xx_SOC is not defined.
Change-Id: I5867e6bbfba8853ad5ce9abb9bc439995a617590
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/455128
Chao Xu [Fri, 8 Aug 2014 21:09:01 +0000 (14:09 -0700)]
include: pinctrl: fix the typos in the source code
Obviously the code won't compile without CONFIG_PINCTRL_CONSUMER defined in the past.
Change-Id: I42058ed45f7fac55cf8a446624f9b5f8c0553b46
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/455127
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Adeel Raza [Tue, 12 Aug 2014 22:40:40 +0000 (15:40 -0700)]
kconfig: fix trysource file path
Kconfig's trysource was using a relative instead of an absolute file
path. This was causing trysource to fail even for Kconfig files which
exist.
*c_shipped files were generated with:
flex -L -Pzconf -o zconf.lex.c kconfig/zconf.l
gperf -C < zconf.gperf > zconf.hash.c
bison -l -t -b zconf -p zconf zconf.y
Bug
1509349
Change-Id: Idf23dcdd675b405d1164f1caf93e2fcd4b8f5e31
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/455791
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Vivek Aseeja [Tue, 12 Aug 2014 05:25:38 +0000 (22:25 -0700)]
usb: gadget: enable tegra_udc to compile as module
export multiple symbols to ensure tegra_udc compiles
Change-Id: I56d4583edf13baad637ec1a5400354d3d492040e
Signed-off-by: Vivek Aseeja <vaseeja@nvidia.com>
Reviewed-on: http://git-master/r/455235
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Peng Du [Tue, 1 Apr 2014 19:42:48 +0000 (12:42 -0700)]
arm64: Add ftrace support
Change-Id: Id4f11b21b3fe2d6cdc054fba02333a6701e12f38
Signed-off-by: Peng Du <pdu@nvidia.com>
Signed-off-by: Noah Imam <nimam@nvidia.com>
Reviewed-on: http://git-master/r/391457
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Lael Jones [Thu, 17 Jul 2014 17:59:13 +0000 (10:59 -0700)]
arm: tegra: Increase FB sizes with CONFIG_MODS
Change-Id: I41659cf3c37e07fa7db7cae78f1c01f6b8f71679
Signed-off-by: Lael Jones <lajones@nvidia.com>
Reviewed-on: http://git-master/r/439381
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Viraj Karandikar [Tue, 5 Aug 2014 16:21:35 +0000 (21:51 +0530)]
firmware: Add vendor specific path to search paths
Bug
1541213
Change-Id: Id6c3be61694daa9207da4576f04368f78f8573f3
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/453092
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Kevin Huang [Thu, 10 Apr 2014 01:47:29 +0000 (18:47 -0700)]
gpu: nvgpu: gm20b: support TPC floorsweeping
Bug
1450798
Change-Id: I371537d086ce1088c6d007676c1fe1e2770dd4e3
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/403877
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Kevin Huang [Wed, 9 Apr 2014 21:47:03 +0000 (14:47 -0700)]
gpu: nvpug: add hal func get_gpc_tpc_mask
Retrieve which TPC is floorswept.
Bug
1450798
Change-Id: I3ea60703695448c68cd3435f443b280d5b2f0995
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/403876
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Preetham Chandru R [Mon, 21 Apr 2014 11:34:12 +0000 (17:04 +0530)]
usb: phy: tegra: increase the timeout for phy clk
Increase the timeout for phy clk to stabilize
Bug
1485579
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: Ic73436dd5b74f327707b0c36ef0323d6decd9c67
Reviewed-on: http://git-master/r/408597
(cherry picked from commit
921b5ba58fc4e9427824d16bd3648055ca11b37c )
Reviewed-on: http://git-master/r/455536
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Laxman Dewangan [Wed, 13 Aug 2014 12:44:12 +0000 (18:14 +0530)]
extcon: adc-jack: Initialise driver on subsys_initcall_sync
Initailise driver early so that client can get the proper cable without
probe deffering.
Change-Id: I38557c765be0ae727222a3d7b683caa0f6466367
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/456128
Laxman Dewangan [Wed, 13 Aug 2014 12:43:17 +0000 (18:13 +0530)]
extcon: adc-jack: add suspend/resume of adc-jack
Add suspend/resume functionality on extcon adc-jack driver.
Change-Id: I7f83d03fa112a945757ebf3dbdae4b6c11441d5a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/456127
Laxman Dewangan [Wed, 13 Aug 2014 12:41:43 +0000 (18:11 +0530)]
extcon: adc-jack: add DT binding for the adc-jack dt properties
Add DT binding doc for the adc-jack extcon driver.
Change-Id: I74cec0c13ef585a4745bf7a438cf0fb71fd2a398
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/456126
Laxman Dewangan [Wed, 13 Aug 2014 12:41:12 +0000 (18:11 +0530)]
extcon: adc-jack: add DT support
Add DT support for the adc-jack driver.
Change-Id: I26f7897b108397d0a67d2fec38e83a169ed10935
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/456125
Vidya Sagar [Wed, 30 Jul 2014 10:06:26 +0000 (15:36 +0530)]
driver: pci: tegra: modularize driver
Make PCI driver as a dynamically loadable module
Bug
1496843
Change-Id: I6648b9fcd5534a0a35ed8d424ea7a6df40f65646
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/449102
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Vidya Sagar [Mon, 11 Aug 2014 08:55:31 +0000 (14:25 +0530)]
ARM: Allow unmapping of fixed PCI I/O mappings
The new pci_iounmap_io() function can be used to unmap a fixed PCI I/O
mapping as established by pci_ioremap_io(). This will be useful to
support unbinding of PCI host drivers.
vidyas: make similar change for ARM64
based on http://git-master/r/#/c/450679
Bug
1496843
Change-Id: I5d1cbcf4f66b89b9711d6897ed444b680d20d613
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/454937
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Vidya Sagar [Mon, 11 Aug 2014 06:24:53 +0000 (11:54 +0530)]
ARM: PCI: Export pci_common_init_dev() and pci_common_exit()
vidyas: make similar change for ARM64
based on http://git-master/r/#/c/449136/
Bug
1496843
Change-Id: I7b8f0f9d069020b26598ab811591debe8381e962
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/454901
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Thierry Reding [Tue, 13 Aug 2013 12:04:49 +0000 (14:04 +0200)]
ARM: PCI: Export pci_common_init_dev() and pci_common_exit()
Bug
1496843
Change-Id: Id8fb9d2ac0bef28cbfee357c5634161d7b42b7ba
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/449136
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Vidya Sagar [Mon, 11 Aug 2014 06:23:05 +0000 (11:53 +0530)]
ARM: Introduce pci_common_exit()
In order to support building PCI host drivers as modules, functionality
is required to undo the steps performed by pci_common_init(). The PCI
core provides much of the functionality already, so add a function that
can be called by drivers to wrap the ARM specific bits.
This patch does a number of things to achieve this: it adds a .nr field
to struct pci_sys_data to keep track of the controller number that was
used to initialize it during pci_common_init(). That field is passed to
the new .teardown() callback during cleanup to undo what .setup() did.
Furthermore the list of pci_sys_data structures setup can optionally be
returned via the hw_pci structure's .sys field. If a driver initializes
it, then it is assumed to be an empty list that pci_common_init() will
append to. Otherwise the old behaviour of keeping a local list only is
preserved.
If a driver wants to support unloading, then it needs access to this
list and pass it to pci_common_exit(). This will iterate over the list,
call the new .teardown() callback and remove the root bus associated
with each entry.
vidyas: make similar change for ARM64
based on http://git-master/r/#/c/449135/
Bug
1496843
Change-Id: I1091c287a0e2da82e423abe6870c3a5eb63fa695
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/454900
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Thierry Reding [Tue, 13 Aug 2013 10:36:17 +0000 (12:36 +0200)]
ARM: Introduce pci_common_exit()
In order to support building PCI host drivers as modules, functionality
is required to undo the steps performed by pci_common_init(). The PCI
core provides much of the functionality already, so add a function that
can be called by drivers to wrap the ARM specific bits.
This patch does a number of things to achieve this: it adds a .nr field
to struct pci_sys_data to keep track of the controller number that was
used to initialize it during pci_common_init(). That field is passed to
the new .teardown() callback during cleanup to undo what .setup() did.
Furthermore the list of pci_sys_data structures setup can optionally be
returned via the hw_pci structure's .sys field. If a driver initializes
it, then it is assumed to be an empty list that pci_common_init() will
append to. Otherwise the old behaviour of keeping a local list only is
preserved.
If a driver wants to support unloading, then it needs access to this
list and pass it to pci_common_exit(). This will iterate over the list,
call the new .teardown() callback and remove the root bus associated
with each entry.
Bug
1496843
Change-Id: I1738b2d4d1f1cc9e97115c513555e64fcec0eefd
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/449135
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Vidya Sagar [Mon, 11 Aug 2014 06:16:33 +0000 (11:46 +0530)]
ARM/PCI: Call pcie_bus_configure_settings() to set MPS
Call pcie_bus_configure_settings() on ARM, like for other platforms.
pcie_bus_configure_settings() makes sure the MPS across the bus is uniform
and provides the ability to tune the MRSS and MPS to higher performance
values. This is particularly important for embedded where there is no
firmware to program these PCIe settings for the OS.
vidyas: make similar change for ARM64
based on upstream commit
8b5742ad156d30ee38486652cdbd152e2d6ebbcc
Bug
1496843
Change-Id: Ib42fa0480bd93b99c708bbad655b60d6e684077b
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/454899
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Murali Karicheri [Wed, 28 May 2014 17:14:53 +0000 (13:14 -0400)]
ARM/PCI: Call pcie_bus_configure_settings() to set MPS
Call pcie_bus_configure_settings() on ARM, like for other platforms.
pcie_bus_configure_settings() makes sure the MPS across the bus is uniform
and provides the ability to tune the MRSS and MPS to higher performance
values. This is particularly important for embedded where there is no
firmware to program these PCIe settings for the OS.
Bug
1496843
Change-Id: I6ebab88b6e9d0733fe4d1090a705f0dadc303226
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Russell King <linux@arm.linux.org.uk>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
CC: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/449134
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Vidya Sagar [Mon, 11 Aug 2014 06:12:59 +0000 (11:42 +0530)]
ARM: pci: create pci_common_init_dev()
When working with device tree support for PCI on ARM you run
into a problem when mapping IRQs from the device tree irqmaps:
doing this the code in drivers/of/of_pci_irq.c will try to
find the OF node on the root bridge and this fails, because
bus->dev.of_node is NULL, and that in turn boils down to
the fact that pci_set_bus_of_node() has called
pcibios_get_phb_of_node() from drivers/pci/of.c to obtain
the OF node of the bridge or its parent and none is set
and thus NULL is returned.
Fix this by adding an additional parent argument API for
registering PCI bridges on the ARM architecture called
pci_common_init_dev(), and pass along this parent to
pci_scan_root_bus() called from pcibios_init_hw() in
bios32.c and voila: the IRQ mappings start working:
the OF node can be retrieved from the parent.
Create the old pci_common_init() as a wrapper around
the new call.
vidyas: make similar change for ARM64
based on upstream commit
14d86e725ed034917bc721cf5deea019857b6cf0
Bug
1496843
Change-Id: Ic3bb98f059e9d42396956cf166ccc06b84b70c92
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/454896
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Linus Walleij [Thu, 11 Apr 2013 21:32:28 +0000 (23:32 +0200)]
ARM: pci: create pci_common_init_dev()
When working with device tree support for PCI on ARM you run
into a problem when mapping IRQs from the device tree irqmaps:
doing this the code in drivers/of/of_pci_irq.c will try to
find the OF node on the root bridge and this fails, because
bus->dev.of_node is NULL, and that in turn boils down to
the fact that pci_set_bus_of_node() has called
pcibios_get_phb_of_node() from drivers/pci/of.c to obtain
the OF node of the bridge or its parent and none is set
and thus NULL is returned.
Fix this by adding an additional parent argument API for
registering PCI bridges on the ARM architecture called
pci_common_init_dev(), and pass along this parent to
pci_scan_root_bus() called from pcibios_init_hw() in
bios32.c and voila: the IRQ mappings start working:
the OF node can be retrieved from the parent.
Create the old pci_common_init() as a wrapper around
the new call.
Bug
1496843
Change-Id: If8aefe30a5042cdea515e617d49a06f9e9bf5bda
Cc: Mike Rapoport <mike@compulab.co.il>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Benjamin Herrenschmitt <benh@kernel.crashing.org>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/449133
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
amit sharma [Tue, 12 Aug 2014 05:43:10 +0000 (11:13 +0530)]
arm64: T210: Enable section mismatch debug configs
Enable the section mismatch config variables
Bug
200027499
Change-Id: I9445b69e912d788f2688bd86b5fcdad333e441e5
Signed-off-by: amit sharma <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/455387
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Shardar Shariff Md [Tue, 12 Aug 2014 19:02:16 +0000 (00:32 +0530)]
tegra: display pmc/pmic status reg passed by BL
Get the PMC status register and PMIC poweroff event recorder
register value read at and passed by bootloader through below
dt nodes.
/chosen/reset/pmc_reset_status
/chosen/reset/pmic_reset_status
Bug
1524176
Change-Id: I08a3938796daaf246559a67d6b34538942c264a8
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/455711
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Venkat Reddy Talla [Tue, 12 Aug 2014 17:57:05 +0000 (23:27 +0530)]
extcon: gpio:add suspend and resume functionality
Implement suspend and resume functionality to
configure interrupts in device suspend and resume.
Change-Id: I2a43d00eea7a199649d1167b4779345ad3a00a13
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/455674
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Venkat Reddy Talla [Tue, 12 Aug 2014 16:59:28 +0000 (22:29 +0530)]
extcon: gpio:schedule workqueue only when debounce time non zero
schedule workqueue only when debounce time required to read
gpio status properly,otherwise read the gpio state and
set the extcon cable state in IRQ handler itself.
Change-Id: I9b9ded515a1ec34648da9332c54cfb1045475334
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/455633
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Allen Yu [Tue, 12 Aug 2014 16:50:18 +0000 (00:50 +0800)]
cpufreq: interactive: eliminate race condition in CPUFREQ_GOV_LIMITS
There is a gap, between checking governor_enabled flag and rescheduling
timer, which is not protected by enable_sem in CPUFREQ_GOV_LIMITS event
handling code. If CPUFREQ_GOV_STOP event happens to occur and clears
governor_enabled flag during the gap, timer will still be rescheduled
by CPUFREQ_GOV_LIMITS event handling code even though governor is stopped,
resulting into a BUG_ON() in add_timer_on() next time CPUFREQ_GOV_START
event happens and calls cpufreq_interactive_timer_start().
Bug
200027942
Change-Id: Ibdaea189ab4d233a7d8462d57344dfaedbb4a686
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/455642
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Manikanta [Fri, 11 Jul 2014 04:37:19 +0000 (10:07 +0530)]
ARM64: configs: Enable CONFIG_TEGRA_PREPOWER_WIFI config
Prepower code is moved to DT, enable the prepower defconfig.
It is required to bypass the chip retry logic in bcmdhd driver.
bug
200002163
Change-Id: I9af592cfc7ad64aaea7f4676ba2a8e82309592b2
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>
Reviewed-on: http://git-master/r/436978
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Vidya Sagar [Fri, 25 Jul 2014 16:28:44 +0000 (21:58 +0530)]
pci: host: tegra: removes forcing aspm states
removes the code that forcefully enables aspm states.
It will be enabled through config option
Bug
200011678
Change-Id: I42668ae1b1393b19f8ed52485b8d84756f4b231e
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/447664
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Vidya Sagar [Tue, 12 Aug 2014 18:14:10 +0000 (23:44 +0530)]
arm: tegra: configs: add CONFIG_PCIEASPM_POWERSAVE
adds pcie aspm power save config option for T124, T132
and T210 platforms.
Bug
200011678
Change-Id: I31047583099d95484e36d07126784168dd49af26
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/455690
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Min-wuk Lee [Wed, 30 Jul 2014 10:57:59 +0000 (19:57 +0900)]
arm: dts: laguna: hdmi fb console mode
In device tree, laguna hdmi framebuffer console mode
was missed. This change applies that.
Bug
1371533
Change-Id: If9dffbc83bad45f00aece7eaf63a4e796db71d96
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/448812
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Sri Krishna chowdary [Wed, 13 Aug 2014 05:29:00 +0000 (10:59 +0530)]
video: tegra: nvmap: fix uninitialized variable
Fix compile time issue of uninitialized variable 'err'
in nvmap_init.
This compile time issue is seen when CONFIG_DEBUG_SECTION_MISMATCH
is enabled.
This would be happen only incase there is neither platform_data
nor device_node for nvmap. But, nvmap_probe would not proceed
further without a valid platform_data and hence leaving it
uninitialized would not be harmful.
Bug
200027499
Change-Id: Ice955e2d1584c21d0adbf07a49ea35563e1615f8
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/455953
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
Hiroshi Doyu [Mon, 11 Aug 2014 09:02:28 +0000 (12:02 +0300)]
iommu/tegra: smmu: parse "iommus" efficient
No need to parse iommus= bindings at multiple times.
Change-Id: I1626a36ce0098050c1e7d2c206200fc7bba13191
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/454947
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Gaurav Sarode [Mon, 4 Aug 2014 21:24:04 +0000 (14:24 -0700)]
video: tegra: nvmap: Fix sleeping while atomic warning
When reading /d/nvmap/iovmm/procrank, we first take clients_lock
spin_lock and then take ref_lock mutex inside nvmap_iovmm_get_client_mss.
This creates mutex inside spin_lock situation. To fix this,
clients_lock is converted to mutex.
bug
1540937
Change-Id: I7f3b37791c119dd94a3ce65e06a2926a7e1db25c
Signed-off-by: Gaurav Sarode <gsarode@nvidia.com>
Reviewed-on: http://git-master/r/451076
(cherry picked from commit
c99ccb995c8d0e52a28147af1cc8b9181c364b3d )
Reviewed-on: http://git-master/r/453636
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Shreshtha Sahu [Fri, 1 Aug 2014 12:13:13 +0000 (12:13 +0000)]
mmc: define empty trace functions if no MMC_BLOCK
Define empty trace functions if CONFIG_MMC_BLOCK is
not defined.
Bug
1415700
Change-Id: I9072a80ed2859be2dfa56651e569adbc9684f7a9
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/450333
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Neha [Fri, 27 Jun 2014 00:12:38 +0000 (17:12 -0700)]
CPU : lower cpu suspend frequency
Add cpu_suspend_freq in platform data and change the suspend index
according to cpu freq value obtained from board file/device tree.
Bug
1523159
Change-Id: Id538ae971df4a61d387c443f9561dc0e94668d4c
Signed-off-by: Neha <nehaa@nvidia.com>
Reviewed-on: http://git-master/r/429329
Signed-off-by: Jiukai Ma <jiukaim@nvidia.com>
Reviewed-on: http://git-master/r/450912
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Vipin Kumar [Tue, 5 Aug 2014 15:13:42 +0000 (20:43 +0530)]
tegra: pci: Defer probe if pci link is down
This patch defers the PCI probe if pci link is down. This means that the
probe can be called after the init memory is freed, so it also
necessitates removing __init keyword from a few structures and callbacks
bug
200005063
Change-Id: Ibf98580b56f3919b070352f0297873ba7df5968c
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-on: http://git-master/r/454739
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Vipin Kumar [Tue, 5 Aug 2014 15:12:41 +0000 (20:42 +0530)]
tegra: pci: Disable pci port without endpoints
Disable the PCI port not connected to any endpoints
bug
200005063
Change-Id: I83c021ad2777a25e5f3adee3ae71847632cb26b1
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-on: http://git-master/r/454738
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Vipin Kumar [Tue, 5 Aug 2014 07:14:47 +0000 (12:44 +0530)]
tegra: pci: Handle the probe error paths
This patch is to release the already aloocated resources in case of an
error encountered in pci probe routine.
- Use devres to allocate resources
- Call pm_runtime_disable in case of error returns
- Release the memory and io resources already allocated
bug
200005063
Change-Id: I916fe86bbfcf708e693ceb8b32d2655d0fad8328
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-on: http://git-master/r/454737
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Hoang Pham [Tue, 12 Aug 2014 18:21:41 +0000 (11:21 -0700)]
clock: tegra21: Increase pll_a_out0 max limits
Change-Id: I2afaf911286de25b034ef6b86d236d69ee464bed
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/455689
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Mark Young [Mon, 11 Aug 2014 23:34:29 +0000 (16:34 -0700)]
sound: hda: Fixes recovery when probe fails.
When calling iounmap for AZX_DRIVER_NVIDIA_TEGRA, use the
stashed remap_config_addr, instead of the adjusted remap_addr.
Verify that the pci pointer is non-null before calling
pci_set_drvdata.
Change-Id: I80ca1db63af7ff42e68269fbd40abd63d6d5cbda
Signed-off-by: Mark Young <myoung@nvidia.com>
Reviewed-on: http://git-master/r/455246
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Sang-Hun Lee [Wed, 30 Jul 2014 00:53:48 +0000 (17:53 -0700)]
bcmdhd: ensure work completion before freeing
Problem description:
- wl_dealloc_netinfo would free allocated wireless_dev structures, which has
work_struct for wdev_cleanup_work
- If there is any job scheduled for wdev_cleanup_work and if it
is scheduled after kfree of its parent struct, the result is undefined
- But simply waiting for wdev_cleanup_work completion in
wl_cfg80211_netdev_notifier_call would result in a dead lock, as wdev_cleanup_work
and cfg80211_event_work both use the same workqueue. cfg80211_event_work
may ultimately call wl_cfg80211_netdev_notifier_call
Fix description:
- Separate the detach of an interface from the deallocation of an interface
- Upon a detach, only remove the interface, and schedule a deallocation of it
Bug
1533639
Change-Id: I865907243ac370ab5932fb1d5ec7ce8c83279baf
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/448637
(cherry picked from commit
1fea2335204fe44e5a5637684022d12290353f26 )
Reviewed-on: http://git-master/r/455641
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Peng Du [Wed, 2 Apr 2014 18:55:11 +0000 (11:55 -0700)]
clocksource: arch_timer: add notrace for read_counter
Change-Id: Idd78f6a61fb2f751f4f3882187ad3ea5cc6c017f
Signed-off-by: Peng Du <pdu@nvidia.com>
Signed-off-by: Noah Imam <nimam@nvidia.com>
Reviewed-on: http://git-master/r/391461
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mark Peters <mpeters@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Peng Du [Tue, 1 Apr 2014 19:42:13 +0000 (12:42 -0700)]
ftrace: Add arm64 support to recordmcount
Change-Id: Iabda40bedbcdfc26fdf4282ce3752ae887400817
Signed-off-by: Peng Du <pdu@nvidia.com>
Signed-off-by: Noah Imam <nimam@nvidia.com>
Change-Id: I58e5131a05a66d3ba21cb232fb1e21b613c04753
Reviewed-on: http://git-master/r/451086
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Peng Du [Tue, 1 Apr 2014 22:05:30 +0000 (15:05 -0700)]
arm64: Optimize jump label implementation for ARM64
This patchset tries to optimize arch specfic jump label implementation
for ARM64 by dynamic kernel text patching.
To enable this feature, your toolchain must support "asm goto" extension
and "%c" constraint extesion.
It has been tested on ARM Fast mode and a real hardware platform.
Jiang Liu (7):
arm64: introduce basic aarch64 instruction decoding helpers
arm64: introduce interfaces to hotpatch kernel and module code
arm64: move encode_insn_immediate() from module.c to insn.c
arm64: introduce aarch64_insn_gen_{nop|branch_imm}() helper functions
arm64, jump label: detect %c support for ARM64
arm64, jump label: optimize jump label implementation
jump_label: use defined macros instead of hard-coding for better
readability
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jiang Liu <liuj97@gmail.com>
Change-Id: I2ccd72995852193d491b342787c8e5c1e7b4c30d
Signed-off-by: Peng Du <pdu@nvidia.com>
Conflicts:
arch/arm64/kernel/Makefile
Signed-off-by: Noah Imam <nimam@nvidia.com>
Change-Id: Ieeca17c1326fc71918d66fe56046eebd903f9bd2
Reviewed-on: http://git-master/r/451085
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mark Peters <mpeters@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Peng Du [Tue, 1 Apr 2014 19:41:43 +0000 (12:41 -0700)]
arm64: Add 'notrace' attribute to unwind_frame() for ftrace
Change-Id: I5f1b9347c77147065ecc8eed547db9f313e94022
Signed-off-by: Peng Du <pdu@nvidia.com>
Signed-off-by: Noah Imam <nimam@nvidia.com>
Reviewed-on: http://git-master/r/391455
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mark Peters <mpeters@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Peng Du [Tue, 1 Apr 2014 22:19:36 +0000 (15:19 -0700)]
arm64: add __ASSEMBLY__ in asm/insn.h
Change-Id: I6e0653d8e4e68368b9bffb9e94ac428774ccecd9
Signed-off-by: Peng Du <pdu@nvidia.com>
Signed-off-by: Noah Imam <nimam@nvidia.com>
Reviewed-on: http://git-master/r/391454
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mark Peters <mpeters@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Matt Craighead [Mon, 4 Aug 2014 18:37:12 +0000 (13:37 -0500)]
arm64: dts: grenada: enable uartc driver
UARTC was listed here but the entry was still incomplete. Fix it
to be consistent with how UARTB is handled.
Change-Id: Ib107f1b435bea187b013adf448e16435fa406920
Signed-off-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-on: http://git-master/r/451043
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Diwakar Tundlam [Wed, 6 Aug 2014 23:52:56 +0000 (16:52 -0700)]
tegra: thermal: soctherm: driver uses device tree
Ported all original platform configuration that came from board files
to device tree. Soctherm driver parses and gets all initialization
parameters such as clock frequencies, fuse work-arounds, and tsosc
setup parameters from soctherm dt-node.
Bug
200004664
Change-Id: I423c76ac2a1ff1ee4499de13bf8d00c4bfc69674
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/453717
Daniel Solomon [Tue, 5 Aug 2014 21:48:42 +0000 (14:48 -0700)]
video: tegra: dc: Fix and refactor FRAME_END_INT
- Fix a conflict with other DC interrupt masks
when the DSI driver waits on FRAME_END_INT
- Move generic FRAME_END_INT mask/unmask and
wait-for functions to dc.c
Bug
1534724
Change-Id: I40e26ada2f0494782979e32c1a22906361b214b5
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/451186
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Laxman Dewangan [Tue, 12 Aug 2014 13:01:57 +0000 (18:31 +0530)]
ARM: tegra: enable GPIO and ADC_JACK extcon
Enable GPIO and ADC_JACK extcon driver for gpio based and
ADC/GPIO based extcon driver.
Change-Id: I377aadbb00aecb9008cc8b6e4e6c95210e551918
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/455535
Laxman Dewangan [Tue, 12 Aug 2014 12:58:02 +0000 (18:28 +0530)]
extcon: gpio: add DT binding doc for extcon-gpio
Add DT binding doc for the extcon gpios properties.
Change-Id: I9dcd32f22a609d3f78b556ae427258f6a4941e0d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/455533
Laxman Dewangan [Tue, 12 Aug 2014 12:57:15 +0000 (18:27 +0530)]
extcon: gpio: support for DT
Add DT support for extcon-gpio driver.
Change-Id: I12fb94dbb5fc14c96e62828f85e583cc152e9f15
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/455532
Steve Rogers [Tue, 5 Aug 2014 18:44:34 +0000 (13:44 -0500)]
arm: tegra: Remove sysedp_update_limits
Bug
1536691
This change simplifies the code by getting the sysedp
limit only during a clock change request.
Change-Id: Iae2d9c327e1de2e978635bbbb345c443683ff512
Signed-off-by: Steve Rogers <srogers@nvidia.com>
Reviewed-on: http://git-master/r/453142
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Steve Rogers [Thu, 24 Jul 2014 20:46:51 +0000 (15:46 -0500)]
arm: tegra: Add EDP support for CPULP
Bug
1536691
This change modifies the way that cpu-tegra.c and edp.c
interact to implement CPU regulator EDP management.
Rather than relying on a a cached table of EDP-limited
frequencies, cpu-tegra.c calls edp.c each time it needs
to know an EDP-limited frequency. With each call,
cpu-tegra passes in a parameter indicating which CPU
cluster to use.
Change-Id: I3f9672260e8e62aa0250eb9902701d120724056a
Signed-off-by: Steve Rogers <srogers@nvidia.com>
Reviewed-on: http://git-master/r/441999
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Steve Rogers [Tue, 5 Aug 2014 18:23:40 +0000 (13:23 -0500)]
arm: tegra: Remove unused sysedp limits code
Bug
1536691
Change-Id: I8a5be1f18057925b4e164c2a51c947113781b841
Signed-off-by: Steve Rogers <srogers@nvidia.com>
Reviewed-on: http://git-master/r/453130
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
R Raj Kumar [Mon, 4 Aug 2014 05:23:31 +0000 (10:53 +0530)]
mmc: tegra: Dump more regs when SDMMC errors seen
Dump Tap delay and Trim delay values if any SDMMC
errors are seen.
Change-Id: Ic8e95fb440f53aeabbc2a311289de7cf5092aa2b
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/450742
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
R Raj Kumar [Wed, 6 Aug 2014 06:57:19 +0000 (12:27 +0530)]
ARM64: DT: tegra210: Update pinctrl settings for SDMMC
Updated pinctrl settings for SDMMC1 and SDMMC3.
Bug
1505960
Change-Id: I322111ea2d58be27384c17723c73400e5f07d3be
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/453356
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
R Raj Kumar [Thu, 26 Jun 2014 10:49:45 +0000 (16:19 +0530)]
mmc: tegra: Update pad control register settings
- Updated Schmitt Trigger (E_SCHMT) settings for
SDMMC1 and SDMMC3 devices. The E_SCHMT value should
be 1'b0 at 3.3V and 1'b1 at 1.8V operation.
- Updated spare register and IO trim control register
settings for all SDMMC controllers
Bug
1505960
Change-Id: If818bbc9a438ec80ca2d228c12a8db0d538c3425
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/453998
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Shardar Shariff Md [Wed, 23 Jul 2014 06:39:50 +0000 (12:09 +0530)]
power: reset: max77620: print NVERC register
Print the Non-Volatile Power-OFF Event Recorder
register
Bug
1524176
Change-Id: I6cf7ccc089ec88f48bcb5508531da9d828118304
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/441057
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Mahantesh Kumbar [Tue, 12 Aug 2014 08:41:22 +0000 (14:11 +0530)]
gpu:nvgpu: update aelpg parameter
Updated aelpg parameter APCTRL_CYCLES_PER_SAMPLE_MAX_DEFAULT
default value to 200
Bug
1536384
Change-Id: I090e50d0025f16c006429455d161bee26fc64173
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/455440
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Seshagir.H [Mon, 11 Aug 2014 08:47:08 +0000 (14:17 +0530)]
arch: arm: dts: vcm2: disable SDMMC1(wifi) for VM2
bug
200023956
Change-Id: Ie9b6fb8d8e7885a65993350dd355f9040e1045b1
Signed-off-by: Seshagir.H <sholi@nvidia.com>
Reviewed-on: http://git-master/r/454931
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-by: Nitin Sehgal <nsehgal@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Hayden Du [Tue, 12 Aug 2014 05:05:02 +0000 (05:05 +0000)]
watchdog: max77620: enable watchdog for interposer and t210-ers.
Change-Id: I42c1d6e15eb117910084447d39353ef252d3ad67
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/455361
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Ben Goska [Fri, 7 Mar 2014 23:07:47 +0000 (15:07 -0800)]
usb: misc: usb_nvshieldled: Support dual LEDs
-Hardware has changed LEDs to have two different
groups. Change the driver accordingly.
-Added a brightness scaling table for NV button LED.
Bug
1475380
Bug
1475411
Change-Id: I87e52b1627c58268e90af484436d16a82fd90f1f
Signed-off-by: Ben Goska <bgoska@nvidia.com>
(cherry picked from commit
0d386cb0ce5b65169b7334090b7fecc43bee6d87 )
Reviewed-on: http://git-master/r/388035
Reviewed-by: Jun Yan <juyan@nvidia.com>
Tested-by: Jun Yan <juyan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/379191
Reviewed-by: Ankita Garg <ankitag@nvidia.com>
Tested-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Petlozu Pravareshwar [Mon, 11 Aug 2014 12:05:32 +0000 (17:35 +0530)]
ARM: tegra: Set TEGRA_XHCI_ENABLE_CDP_PORT config
Set TEGRA_XHCI_ENABLE_CDP_PORT config variable in
T124 and T132 defconfigs.
Bug
1522728
Change-Id: Ica85b55f9586481f5b4cb23d6008640acee41a54
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/454911
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Petlozu Pravareshwar [Mon, 11 Aug 2014 11:52:30 +0000 (17:22 +0530)]
xhci: tegra: enable CDP declaration for host ports
Enable CDP declaration for USB 2.0 utmi host ports.
Also if CDP config is set, don't power down the
bias pad during ELPG entry. This is to ensure CDP
works even after ELPG exit.
Bug
1522728
Change-Id: I6ad534c955dbff73957f4d793f88de68983aaff9
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/452997
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Shravani Dingari [Thu, 7 Aug 2014 07:53:41 +0000 (13:23 +0530)]
arm: tegra:move mach/gpio-tegra.h to platform_data
move mach/gpio-tegra.h to include/linux/platform_data
Bug
200022780
Change-Id: I09a2acb680a6abaaeb74fb1b0aea66f800ac5369
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/453864
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Sachin Nikam [Tue, 12 Aug 2014 07:18:44 +0000 (00:18 -0700)]
Revert "arm64: tegra: T210: Add SATA support"
This reverts commit
aa1006c31291715a22aea16d4c5fd0d554f30123 .
Change-Id: If19164897c38b0290f1a652a5766851da3fbbdab
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/455405
Eric Miao [Sat, 9 Aug 2014 01:18:40 +0000 (18:18 -0700)]
arm: tegra13: add PMU device to tegra132.dtsi
Bug
1542680
With below commit:
arm: tegra12: Support arm-pmu device using DT
bug
1527003
Change-Id: I276b627f44a0812a6fee5101d3fb6bf49239ff28
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
All original tegra_pmu_device(s) have been moved out of the board files
into the device tree. However, T132 is missing from that change, which
causes perf to fail.
Change-Id: I59098dfeb98b865d22e11afc42ef25a00411c087
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/454701
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
JC Kuo [Thu, 31 Jul 2014 06:54:54 +0000 (14:54 +0800)]
gadget: tegra: null terminate tegra_udc_of_match
"struct of_device_id" has to be terminated with NULL entry.
bug
200025579
Change-Id: Ibe897cb168cd1eaaac60808d7af2540463470f78
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/449164
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Vinayak Pane [Wed, 9 Jul 2014 01:44:17 +0000 (18:44 -0700)]
staging: ozwpan: consume all rx skb
All rx skb should be consumed or dropped, if left
unconsumed it leads to netdev becoming stale situations.
Check net state before submitting tx skb.
Re-arrange oz_remove_binding() function to make sure PDs
stop before net intf packet_type callbacks are removed.
Remove old WAR to recover from enumeration failure.
Bug
1522708
Change-Id: Id13e837c9ed6941f03404762203ad2841e9af24f
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
(cherry picked from commit
c2022c5288c83ad3dc31987157bf152f16d85fb4 )
Reviewed-on: http://git-master/r/440892
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Alex Frid [Mon, 11 Aug 2014 04:07:56 +0000 (21:07 -0700)]
clock: tegra: Skip over-clock warning on bus users
Don't issue boot over-clock warning for virtual shared bus user clocks.
If underlying bus can not be scaled into operating range, there will be
a warning on bus itself, and user warning is redundant; if bus can be
scaled down, all users will be scaled with the bus, and user warning is
unnecessary.
Change-Id: I9e08993c004028ae1eada95d46fcaf998136fa91
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/454879
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Tested-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Alex Frid [Mon, 11 Aug 2014 03:46:21 +0000 (20:46 -0700)]
clock: tegra21: Restore "pll_u" clock name
For backward compatibility with test scripts renamed PLLU VCO output
to "pll_u" from "pll_u_vco". Removed duplicate "pll_u" clock that is
no longer needed.
Change-Id: I963dba415e3cd888957159304e2782a8548ebfd6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/454878
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Tested-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Chien-Yu Chen [Thu, 31 Jul 2014 17:22:33 +0000 (10:22 -0700)]
vi: support vi watchdog
Enable the VI ISR to handle interrupts from VI watchdog timers.
Also correct the interrupt value for ISPB on T210.
bug
1508285
Change-Id: I39ddb4df7a39f63f6b7e8d4ccdc6fe89e921a440
Signed-off-by: Chien-Yu Chen <chichen@nvidia.com>
Reviewed-on: http://git-master/r/449378
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Darren Sun [Wed, 6 Aug 2014 13:29:20 +0000 (13:29 +0000)]
misc: nct72: add DT support
Bug
200008324
Change-Id: I4533ec3a46fa8e1f6d8bd5c0385dfa5a9f6eb32e
Signed-off-by: Darren Sun <darrens@nvidia.com>
Reviewed-on: http://git-master/r/448871
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Tested-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
HUI FU [Thu, 7 Aug 2014 23:59:46 +0000 (16:59 -0700)]
arm: config: Enable XUSB host/device as default
Change-Id: I12bf606f46f307897b4c829f5a153df97af1a84b
Signed-off-by: Hui Fu <hfu@nvidia.com>
Reviewed-on: http://git-master/r/454195
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
David Wang [Fri, 1 Aug 2014 22:37:55 +0000 (15:37 -0700)]
ARM: tegra: t210ref: Add IMX214 and DW9714 support
Adding IMX214 and DW9714 power on sequence and platform
data to t210ref board file.
Bug
1534562
Change-Id: I71e075955e02a7a1d9b697561cbcafe5e741059d
Signed-off-by: David Wang <davidw@nvidia.com>
Reviewed-on: http://git-master/r/450538
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Amey Asgaonkar <aasgaonkar@nvidia.com>
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: Daniel Fu <danifu@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
David Wang [Wed, 30 Jul 2014 00:23:14 +0000 (17:23 -0700)]
media: platform: tegra: Modify modes for IMX214
Updating the mode tables for IMX214 sensor.
Bug
1534562
Change-Id: I78bdaa16d537a287033d2e355547a11b8bfab557
Signed-off-by: David Wang <davidw@nvidia.com>
Reviewed-on: http://git-master/r/448626
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Amey Asgaonkar <aasgaonkar@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>