summaryrefslogtreecommitdiff
path: root/drivers/pci
AgeCommit message (Collapse)Author
2018-09-27apalis-tk1: improve pcie reset for reliable gigabit ethernet operationMarcel Ziswiler
While the PCIe reset implementation seems to work it currently resets multiple times due to not differentiating which PCIe port needs resetting. Improve this by doing specific reset per port only. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-06-21Merge tag 'tegra-l4t-r21.7' into toradex_tk1_l4t_r21.7-nextMarcel Ziswiler
Merge NVIDIA's latest Linux for Tegra aka L4T R21.7 Linux kernel changes from git://nv-tegra.nvidia.com/linux-3.10.git commit: e78bb38b883c42edf81766a1d557aed74458e08f Conflicts involved missing 24-bit LVDS support and a single whitespace aka tab difference in drivers/video/tegra/dc/sor.c. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22apalis-tk1: fix wake on lan functionalityApalis-TK1_LXDE-Image_2.8b1.64-20171229Dominik Sliwa
GPIO used for WOL is briefly used in i210 reset procedure. This patch makes sure it's freed and can be used for a wakeup source. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-11-21pcie: host: tegra: WAR for RAW violationsJay Agarwal
Some of reads transaction getting before write has completed resulting in RAW violation. This WAR avoids this situation. Bug 1345350 Change-Id: I56728d00326b193be26ccb4fe68787ebd8a2623d Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/365301 (cherry picked from commit a706735e3c50a70dfee4a3d11378d3a1872a71d7) Reviewed-on: https://git-master.nvidia.com/r/1595945 Reviewed-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Mantravadi Karthik <mkarthik@nvidia.com>
2017-09-20apalis-tk1: fix pcie reset for reliable gigabit ethernet operationMarcel Ziswiler
It turns out that the current PCIe reset implementation is not quite working reliably due to some Intel i210 errata. Fix this by making sure the i210's +V3.3_ETH rail is properly disabled during its reset sequence. Also further improve on the bringing up the PCIe switch as found on the Apalis Evaluation board. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-04-04apalis-tk1: fix lp1 sleepDominik Sliwa
Fix suspend and resume for LP1 sleep. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-11-21apalis-tk1: fix pcie clock and reset not conforming to specificationMarcel Ziswiler
Fix PCIe clock and reset not conforming to specification by moving PCIe reset handling including the PLX PEX 8605 errata 5 workaround from the board platform data into the right places timing wise in the PCIe driver itself. Also add a kernel command line argument to allow using the Apalis GPIO7 as a regular GPIO rather than for above mentioned PLX PEX 8605 workaround: pex_perst=0 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com> (cherry picked from tegra-next commit a2f63805703b43d55d91ae17f10d0049bf0f625e)
2015-01-07pcie: tegra: move err print to info printBibek Basu
Change link down print to info print Bug 200042283 Change-Id: I3c1783e362f9a0e95abb4955640e4cdd70d1f59e Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/668855 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-12-17pcie: tegra: boost emc frequency for gen1 and gen2Jeetesh Burman
12MHz frequency for emc is not sufficient in case of high data transfer using PCIE, hence need to increase emc frequency for gen1 and gen2 pcie devices to 102MHz and 508MHz respectively. Bug 1566598 Change-Id: I82c5592dc232ba32eaf6ed959ff78a9966dc6ff1 Signed-off-by: Jeetesh Burman <jburman@nvidia.com> Reviewed-on: http://git-master/r/663267 Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Vidya Sagar <vidyas@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-08-05pcie: tegra: dynamic link speed & clock settingBibek Basu
Based on the capability of card, we should dynamically set the mselect, pciex clock and link speed selection. Clocks will be set to support the highest capable card This patch: 1. enable the clocks to minimal value during boot 2. Based on card capability, it boosts the clocks 3. And train the link Bug 1483608 Change-Id: Iaf90f9b06846f8e23e4f60d1670a1db9ec562257 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/437560 (cherry picked from commit ada2f21676de75332ad906fa2386a74f9d58f94a) Reviewed-on: http://git-master/r/448072 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-06-18pcie: host: tegra: Update prod setting for Gen2Jay Agarwal
Update prod settings for Gen2 High Swing TX Amplitude Bug 1476459 Reviewed-on: http://git-master/r/422694 (cherry picked from commit 82af7145023762ee27ebc0cede3c9163ea1e6ef1) Change-Id: Id967133f6e22ccad7ba7f46c56c57a4984e53686 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/424189 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-06-05Merge branch 'linux-3.10.40' into rel-21Ishan Mittal
Bug 200004122 Conflicts: drivers/cpufreq/cpufreq.c drivers/regulator/core.c sound/soc/codecs/max98090.c Change-Id: I9418a05ad5c56b2e902249218bac2fa594d99f56 Signed-off-by: Ishan Mittal <imittal@nvidia.com>
2014-05-28arm: tegra: pci: correct the page protection flagsBibek Basu
Page protection flag updated after PTE_PROT_NONE is moved up. Bug 1513681 Change-Id: If0b27d7b0b211ba6488a28fde5fa2d79b477c4be Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/414128 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jay Agarwal <jagarwal@nvidia.com> Tested-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2014-05-02PCIE: tegra: resume timing correctionBibek Basu
The time from +1.05V_RUN to PEX_L1_RST_L signal (PEX_L1_RST_N on T124) should be 100ms minimum Bug 1500840 Change-Id: I170ed3225f80b5ef0ccaf4b38565d3adf94a674a Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/402841 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-05-02PCIE: tegra: disable L0s for T12xBibek Basu
Disable for Tegra12 L0s feature as its broken. Bug 1483608 Change-Id: I84cc97d7a3e3f6527366a2edb3238d103ca5d167 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/391647 (cherry picked from commit 80f4ce0958393616d98f759f7fa190f761c6a711) Reviewed-on: http://git-master/r/402824 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-05-02pcie: host: tegra: enable both controllerBibek Basu
Enable both the lanes for the x2, x1 configuration based on port status Bug 1468239 Change-Id: I8e4b59940bc148d883c129cecc614a0173874219 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/374341 (cherry picked from commit 65d65f9eb2c9320b27da0fb4e425785bb6f966f7) Reviewed-on: http://git-master/r/402823 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jay Agarwal <jagarwal@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-04-13platform: tegra: move pm_domain to driversPrashant Gaikwad
Change-Id: I30baee4084399b8078232f31296c4d891a903d47 Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-on: http://git-master/r/395123 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2014-04-10pcie: host: tegra: Re-organize power off APIJay Agarwal
1. Add a bool to determine what all resources to be cleaned up at a particular exit point 2. Add calls to this api from required exit points for better cleanup Bug 1489959 Change-Id: I2cae4a41ec9978f0bd52d28fd2288ca090d2d57c Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/391381 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2014-04-02Revert "pcie: host: tegra: Fix error exit from probe"Matt Pedro
This reverts commit 1d5c438690a6000f11bf4610e4029dcdd6e5b8ba. This change is causing failures on l4t nvlptest. Change-Id: Iec560e71c60f1243823807d73d82bc89cb35f9a8 Signed-off-by: Matt Pedro <mapedro@nvidia.com> Reviewed-on: http://git-master/r/391491
2014-04-02pcie: host: tegra: Fix error exit from probeJay Agarwal
Call power off api from required exit points in probe for better cleanup Bug 1489959 Change-Id: I908bce099f00e441fe1ed13a08f34fb38575adf1 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/390508 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-03-31pcie: host: tegra: Fix interrupt code maskJay Agarwal
1. Fixed interrupt code mask to use 5 bits 2. Added more interrupt messages Change-Id: I61e9ea1c49919b142e6e409da952e41c47a77d4b Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/387728 Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-03-23PCI: Enable INTx in pci_reenable_device() only when MSI/MSI-X not enabledBjorn Helgaas
commit 3cdeb713dc66057b50682048c151eae07b186c42 upstream. Andreas reported that after 1f42db786b14 ("PCI: Enable INTx if BIOS left them disabled"), pciehp surprise removal stopped working. This happens because pci_reenable_device() on the hotplug bridge (used in the pciehp_configure_device() path) clears the Interrupt Disable bit, which apparently breaks the bridge's MSI hotplug event reporting. Previously we cleared the Interrupt Disable bit in do_pci_enable_device(), which is used by both pci_enable_device() and pci_reenable_device(). But we use pci_reenable_device() after the driver may have enabled MSI or MSI-X, and we *set* Interrupt Disable as part of enabling MSI/MSI-X. This patch clears Interrupt Disable only when MSI/MSI-X has not been enabled. Fixes: 1f42db786b14 PCI: Enable INTx if BIOS left them disabled Link: https://bugzilla.kernel.org/show_bug.cgi?id=71691 Reported-and-tested-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-21pcie: host: tegra: Enable ASPM based on cmd lineJay Agarwal
Enable ASPM in host driver only when pci_aspm=off is not set. Bug 1459770 Change-Id: I1fc6bab71df0297e1c6775837f023aed3396eb8b Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/381953 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Vijayarahavan Rajendran <vrajendran@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-03-19pcie: host: tegra: Update prod settingsJay Agarwal
Bug 1476459 Change-Id: I1371654355f27e1bc1b26b81dd4307f389092bf5 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/380375 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-03-13pcie: host: tegra: Resolve all types of warningsJay Agarwal
Resolve below warnings: 1. statement with no effect 2. ISO C90 forbids mixed declarations and code 3. cast to pointer from integer of different size Bug 1466403 Change-Id: I3f3a14bf80e25c411adb222500f8f40cc848282d Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/379859 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-03-13Merge branch 'linux-3.10.33' into dev-kernel-3.10Deepak Nibade
Bug 1456092 Change-Id: I3021247ec68a3c2dddd9e98cde13d70a45191d53 Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
2014-03-06PCI: Enable INTx if BIOS left them disabledBjorn Helgaas
commit 1f42db786b14a31bf807fc41ee5583a00c08fcb1 upstream. Some firmware leaves the Interrupt Disable bit set even if the device uses INTx interrupts. Clear Interrupt Disable so we get those interrupts. Based on the report mentioned below, if the user selects the "EHCI only" option in the Intel Baytrail BIOS, the EHCI device is handed off to the OS with the PCI_COMMAND_INTX_DISABLE bit set. Link: http://lkml.kernel.org/r/20140114181721.GC12126@xanatos Link: https://bugzilla.kernel.org/show_bug.cgi?id=70601 Reported-by: Chris Cheng <chris.cheng@atrustcorp.com> Reported-and-tested-by: Jamie Chen <jamie.chen@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-05pcie: host: tegra: Add pcie xclk assert/de-assertJay Agarwal
Bug 1415344 Change-Id: I83b4776dda302a38969dcf8337c883309db622c7 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/377634 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-02-21pcie: host: tegra: Add DT support in driverJay Agarwal
Bug 1369825 Change-Id: I0e37ee8d1090741c6b08694d20cb4d427da26988 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/366554 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2014-02-19pcie: host: tegra: Clean gpio APIs handlingJay Agarwal
Use devm_* gpio APIs to ensure better cleanup Also suppress debug prints in MSI isr by 10 times Bug 1429394 Change-Id: I32663a6443e32bcdf56c1e314250fdb639b17e7c Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/367706 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2014-02-13pcie: host: tegra: Enhance memory map for ARM64Jay Agarwal
Bug 1450513 Change-Id: I99b11dfc04d7398a5e6efa3fcf22919ee96a2964 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/362387 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com>
2014-02-10pcie: host: tegra: Fix Invalid IRQ warning for RPJay Agarwal
Initialize IRQ_LINE to non-zero before enumeration to avoid warning for invalid IRQ. Bug 1453145 Change-Id: Ifbed98cb15f4f57a77bdc59dff225ae7fbaa3684 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/365334 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-01-30pci: host: tegra: Enable AXI_DECERR intr codeJay Agarwal
Bug 1345350 Change-Id: I3f4c1bd232df2ad121144dcec84232a468e603be Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/360732 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-01-28pcie: host: tegra: Fix hotplug functionalityJay Agarwal
1. Avoid removing controller shutdown in detach and init sequence in attach. 2. Instead, remove all data structures in detach and recreate them in attach. 3. Also hide AER capability in detach to avoid AER spews in log and unhide it attach. Bug 1446334 Change-Id: Ic76f227e24d249d2374b700980697850a1e5303f Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/351039 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-01-28pcie: host: tegra: request for wake gpioBibek Basu
request for wake gpio before using it for wake irq purpose Bug 1429394 Change-Id: Ifecc930e1ef82da930670ffbda46a9660543294b Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/358812 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2014-01-21ARM: tegra: disable pcie for linsim/qtPeng Du
Change-Id: Ic2f95cd148fde9e0c392403d4d7bd55182b4fc75 Signed-off-by: Peng Du <pdu@nvidia.com> Reviewed-on: http://git-master/r/271887 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bo Yan <byan@nvidia.com>
2014-01-21ARM: tegra13: fix pcie driver for ARM64Peng Du
Change-Id: I563e6a59bf37d137114cd84161081f89f669de53 Signed-off-by: Peng Du <pdu@nvidia.com> Reviewed-on: http://git-master/r/259835 Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
2014-01-21drivers: pci: add support for ARM64 buildPeng Du
Change-Id: I12f75dae7accc503e3cc4eb11ccc75117fd90943 Signed-off-by: Peng Du <pdu@nvidia.com> Reviewed-on: http://git-master/r/259828 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
2014-01-21pcie: host: tegra: fix Coverity issueSalona Sinha
gpio_hot_plug might be invalid (-1) in some cases when we pass it to gpio_free(). hence add a check on gpio_hot_plug before freeing it. Coverity id : 25448 Bug 1416640 Change-Id: If23a16e260466da86c11009ff5a660d59d548f5c Signed-off-by: Salona Sinha <salonas@nvidia.com> Reviewed-on: http://git-master/r/357694 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-01-20pcie: host: tegra: Support pcie test suite fixesJay Agarwal
1. Add api to provide required info to test suite 2. Remove expose of tegra_pcie struct 3. Remove unnecessary macros to use standard ones Bug 1347997 Change-Id: Ifd5f4ac38bc3235e07b37c74dd0c9420c6d7dfae Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/356534 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com>
2014-01-17pcie: host: tegra: re-enable MSI after resumePeter Daifuku
Initialize core MSI data once and re-enable MSI registers on resume, if MSI were enabled. Bug 1363735 Change-Id: I3d3d7e21be121e38d5159302ec47aaff9dcf7525 Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com> Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/354470 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> GVS: Gerrit_Virtual_Submit
2014-01-07pcie: host: tegra: Disable msi for port driverJay Agarwal
MSI for port driver results in panic, so disabled Bug 1421847 Change-Id: I5e9e10ad80cbf86d763be11b3f473ae7cea9f772 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/351374 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-01-06pcie: host: tegra: Re-arranged GPIO configurationJay Agarwal
Bug 1319925 Bug 1400987 Change-Id: I0d47581bd0c0835e52a90efe142076bdd476a2c1 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/352206 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ashwin Joshi <asjoshi@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-01-01ARM: tegra: pcie: Fix DMA fail on PORTBUS enableJay Agarwal
Bug 1421847 Change-Id: Idd5d767c4e2f8539fb7ccc92839b951b8123095b Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/350991 Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2014-01-01ARM: tegra: pcie: Set mselect to 408 MHzJay Agarwal
Get PCIE mselect clock and set it to 408MHz for maximum bandwidth if PCIE is used. Bug 1430734 Change-Id: If9c7395b4094704eff039df0066a666a8170a4f5 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/349445 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-12-30ARM: tegra: pcie: Fix rootport 1 detectionJay Agarwal
Bug 1333935 Change-Id: I39137ed64e75745c330f064a2e373b4e7f27c98c Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/350582 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-12-29ARM: tegra: pcie: Remove dock detect variableJay Agarwal
Removing unnecessary dock detect variable which was appropriate for T30 using PM293 dock. T124 does not use any such dock Bug 1406265 Change-Id: I29078472b269f73a8b4a60ea98c5c3a7d8c907ed Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/349765 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-12-29ARM: tegra: pcie: Remove unfair arbitration WARJay Agarwal
T124 does not need this WAR as required registers are already initialized properly for it. Bug 1412769 Change-Id: I949cc79b6c37d5ed227eead3c7f72de094eaaad2 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/350108 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-12-23ARM: tegra: pcie: Correct init sequenceJay Agarwal
1. Move pads programming before AFI/RP programming 2. Move deassert PEX reset at end of AFI program 3. Removed unnecessary xclk & plle clock enable 4. Disable PADS by putting them in IDDQ while LP0 Bug 1415344 Change-Id: I9c6857366c4f0872aba3fb530ff60bfa81dd3832 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/345875 Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-12-22ARM: tegra: pcie: Cleanup host structuresJay Agarwal
Removed unused members from host structures Bug 1415344 Change-Id: I5c8fd3f2dedef69aba2bcfbe4b04b538c95f6a9c Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/348016 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>