summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* drivers: misc: add bluedroid_pm drverGaurav Asati2018-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver is implemented to actively manage the bluetooth radio power and control wake interface from bluetooth radio to host processor. Two interfaces are used to manage bluetooth radio power RFKILL: This interface is used to toggle rfkill switches which are controlled by gpios and voltage regulators. This interface is created only when bluetooth radio requires one of rfkill switches [GPIO/ Voltage regulators] Driver assumes vdd_bt_3v3 as consumer name for 3V regulator and vddio_bt_1v8 as consumer name for 1.8V regulator PROCFS: Using procfs interface, driver controls BT chip ext_wake GPIO to enable/disable BT chip LPM. This interface is created only when bluetooth module supports LPM mode control using GPIO This driver assumes platform data is passed from the board files to configure IO parameters needed to control bluetooth radio. "shutdown_gpio" is resource name to register radio's Enable/Shutdown gpio "reset_gpio" is resource name to regster radio's reset gpio "gpio_ext_wake" is resource name to register radio's ext_wake gpio "gpio_host_wake" is resource name to register host wake gpio "host_wake" is resource name to register host wake irq Bug 200197107 Change-Id: Ida4c9388547e01ba15def93f91af595a79fa4497 Signed-off-by: Gaurav Asati <gasati@nvidia.com> Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/1143283 (cherry picked from k4.9 commit 3f81df5f0050a3326df38961bc33036f757a6fa1) Reviewed-on: https://git-master.nvidia.com/r/1775102 Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* video: tegra: default mode support for fbconsoleNaveen Kumar S2018-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First mode from EDID is chosen for fbconsole without applying any sort of filtering. This lead to choosing modes which were not always guaranteed to be supported by our hardware. To overcome such cases, we are adding support for users to specify a default mode for fbconsole. Other userspace applications will have to choose the best mode based on their requirements. To avoid any impact on platforms that might prefer the earlier logic of using the first mode from monitor's modelist, default mode for fbconsole will be set only if a mode is specified through "nvidia,fbcon-default-mode" property in DT. Refactored code. Created a new function for fbcon default mode parsing logic and used tegra_dc_set_fbcon_boot_mode() to set early dc mode for fbconsole. Added edid parameter to tegra_dc_set_fbcon_boot_mode() and moved its declaration to dc_privs.h as edid.h is already available in this header file. bug 200308135 Change-Id: Id69a10b8b7b85176dacc4a9127ef0707aea3c4ca Signed-off-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1563131 (cherry picked from commit a5e01c17dbc55fd0153790ddbded5e017a6f7999) Reviewed-on: https://git-master.nvidia.com/r/1780977 Reviewed-by: Shu Zhong <shuz@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* thermal: pwm-fan: Add K4.14 supportKrishna Yarlagadda2018-07-19
| | | | | | | | | | | | | | | | Include sched/clock.h header as sched_clock api is moved to this in K4.14 Also fix cleanup for probe failures. Probe defer functionality works with this Bug 200430924 Change-Id: Ia55ab7aeb6b7cfca969c4848a2fa71d3895d764f Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1779750 GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* thermal: pwm_fan: Add platform dataAnshul Jain2018-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pwm_fan driver is moved to nvidia repo and platform data related to it is pulled from below commits Bug 200430924 Bug 1179033 Bug 1259204 Bug 1261177 Bug 1259488 Bug 1259204 Bug 1388303 Bug 1399542 Bug 1489876 Change based on below commits from linux-4.9 2c03205c thermal: pwm_fan: Add PWM controlled fan driver e4443760 thermal: pwm_fan: Add sysfs node for state cap 2e2f0810 thermal: pwm_fan: Add support for look up table f0e562bc thermal: pwm_fan: toggle gpio in suspend/resume 132ef9d7 arm:tegra:loki: update fan pwm period Signed-off-by: Anshul Jain <anshulj@nvidia.com> Change-Id: Ia6d99e22c8a32e8a98f7a54073397721c65f220f Reviewed-on: https://git-master.nvidia.com/r/1780502 Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com> Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Tested-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Ajay Nandakumar M <anandakumarm@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* ASoC: tegra-alt: Fix support for I2S mono playbackJon Hunter2018-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mono playback via the RT5658 codec on the Jetson TX1/TX2/Xavier is distorted. Although the RT5658 codec is configured for standard I2S timings (implying 2 channels), the Tegra XBAR should convert the mono audio track from one channel to two channels. The problem is caused because the 'CHANNEL_BIT_CNT' field in the I2S Timing Register is being configured incorrectly. For mono playback in I2S mode (or LRCK mode) the CHANNEL_BIT_CNT is being set to 31 instead of 15 by fixing this mono playback works as expected. Please note that the 'bitcnt' value programmed into the I2S Timing Register is verified to see that it is not bigger than the mask for the CHANNEL_BIT_CNT field. However, this is done before we shift the bitcnt by 1 for I2S mode. Therefore, ensure the bitcnt is shifted by 1 before we do the check. Mono playback has been tested by playing the following audio clip ... aplay -D hw:1,0 /usr/share/sounds/alsa/Front_Center.wav Bug 2257806 Change-Id: I4d306ccef891282e96c300d90bad2a5b6efc9968 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1777096 Reviewed-by: Sameer Pujar <spujar@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* nvlink: t19x: Remove 25GBPS speed supportSeema Khowala2018-07-19
| | | | | | | | | | | | | | Based on A01 Silicon Characterization, we cannot meet Nvlink POR speeds of 25G across 100% bin and hence 25GBPS is defeatured. Bug 200425755 Bug 2083356 Change-Id: Ia2166370413571787040e57ade299e3c136f4d5e Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1775462 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* misc: tegra-profiler: fix build errors on k4.14Igor Nabirushkin2018-07-19
| | | | | | | | | | | | | | | | | | | Fix build errors on k4.14: - A few minor changes. - Do not use cpu hotplug notifier for k4.14. Bug 2247414 Change-Id: I51221d08f6e8b7aaa37a7e719da8586cf93288a8 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1773927 Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com> Reviewed-by: Dmitry Antipov <dantipov@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* media: capture: update closing capture channelSonghee Baek2018-07-18
| | | | | | | | | | | | | | | | | | | | | | | | + fix kernel spew while capture_shut_down Once channel_release is called, callback of control channel will be unregistered so csi_stream_close should be called before channel_release + call channel_reset before release to make sure to stop the capture channel. Bug 2179959 Bug 2047638 Change-Id: I0c502f163cec28e83832d3b3e415c3ac7037cde8 Signed-off-by: Songhee Baek <sbaek@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1778436 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com> Reviewed-by: Joshua Widen <jwiden@nvidia.com> Reviewed-by: Vincent Chung <vincentc@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bhanu Murthy V <bmurthyv@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* tegra: bwmgr: update cooling dev register callSanjay Chandrashekara2018-07-18
| | | | | | | | | | | | | | | | | | | bwmgr cooling device used thermal_cooling_device_register earlier and has been updated to use thermal_of_cooling_device_register as kernel 4.14 supports only the latter. Bug 2227106 Change-Id: I47eb419b5a950b5f5551d2ac5c5107187a984e43 Signed-off-by: Sanjay Chandrashekara <sanjayc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1765964 Reviewed-by: Srikar Srimath Tirumala <srikars@nvidia.com> Reviewed-by: Krishna Sitaraman <ksitaraman@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Adeel Raza <araza@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* driver: aotag: Use pmc driver for pmc reg accesskalyani chidambaram2018-07-18
| | | | | | | | | | | | | | | | | Replace the direct access to pmc registers with access via. pmc driver. Bug 1811649 Change-Id: Ifbd944e0e81dd0009256e81a453f3c38e319177c Signed-off-by: kalyani chidambaram <kalyanic@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1744182 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Srikar Srimath Tirumala <srikars@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* iommu: dma-override: do not use it for kernel-4.14Pritesh Raithatha2018-07-18
| | | | | | | | | | | | | | | | Kernel-4.14 is not using this dma override function so skip it for K4.14. Bug 200427376 Change-Id: I10f76ade31cd278df7c309440c991fa140cf43e0 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1774425 GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Tested-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* platform: tegra: create generic debugfs for RAS error injectSumit Gupta2018-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creating generic debugfs node for injecting RAS errors(one of each type). How to use: - reading the node gives help info about using. cat /d/RAS_MCA_ERR-trip - write node to cause error. e.g: echo EEDDCCBBAA > /d/RAS_MCA_ERR-trip where: EE[32-39] - L3_Bank_ID DD[24-31] - Logical_Cluster_ID CC[16-23] - Logical_CPU_ID BB[08-15] - Error type(Corr is 0, UnCorr is 1) AA[00-07] - Unit Unit numbers will be printed in help info on reading same node Bug 200420692 Change-Id: Ib83548b1781a55e9b980b0a506b93d5ef14b5119 Signed-off-by: Sumit Gupta <sumitg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1770600 GVS: Gerrit_Virtual_Submit Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* video: tegra: nvmap: alloc 6, 4K pages for 6 cv devsPuneet Saxena2018-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | gos mem requirement is to allocate 6, 4K pages from kernel common heap. In K4.9, dma_alloc_coherent has legacy support of allocating from iomem heap even if "device pointer" is passed as NULL. Gos mem code was passing device pointer NULL to allocate 6, 4K pages. On K4.14, the support is removed. dma_alloc_coherent() will succeed only if passed, not NULL device pointer. As there is no requirement of creating gosmem device and each 4K pages for CV devices may be discontiguous, using Vmalloc to allocate 6, 4K pages. Bug 200430056 Change-Id: Idc43b1ee3565fe1d66470035a2a68a681e81abce Signed-off-by: Puneet Saxena <puneets@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1778946 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* video: tegra: nvmap: fix return value check of _dma_declare_coherent_memoryPritesh Raithatha2018-07-18
| | | | | | | | | | | | | | | | | | | | Kernel-4.9 and before _dma_declare_coherent_memory function was not reporting failure. We updated the code to return the same mapping flag(MAP/NOMAP/IO) in case of succeed. Kernel-4.14 upstream is updated to return error in case of failure so updating return value check in nvmap heap. Change-Id: I00684c38def2968150bc144083d560c2528d558a Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1778869 Reviewed-by: Puneet Saxena <puneets@nvidia.com> Tested-by: Puneet Saxena <puneets@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* drivers: ufs: increase timeout on suspenddmitry pervushin2018-07-18
| | | | | | | | | | | | | | | | | | shutdown needs to be completed in 500 msec Change-Id: Ib88b6d6f30e381703971583e3332fe6a1326c74b Signed-off-by: dmitry pervushin <dpervushin@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1766448 Reviewed-on: https://git-master.nvidia.com/r/1770462 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Rahul Jain (SW-TEGRA) <rahuljain@nvidia.com> Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: Vipin Kumar <vipink@nvidia.com> Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* iommu: arm-smmu: set SMRG GROUP MAX to 128Pritesh Raithatha2018-07-18
| | | | | | | | | | | | | | Tegra SoC has 128 SMRG(SMR and S2CR). Updating SMRG_GROUP_MAX to 128. Bug 200383912 Change-Id: I51b1818a507d50b5bc70f5cda70d277c9406ff76 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1779792 GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* drivers: isp: Perform reset at channel closeBhanu Murthy V2018-07-18
| | | | | | | | | | | | | | | | | Reset ISP channel before closing the channel ensures the context is cleaned up for all the requests. Bug 2047639 Change-Id: Ifd5182acc9b54708612069591484cb83c3d47170 Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1779409 Reviewed-by: Joshua Widen <jwiden@nvidia.com> Reviewed-by: Bhushan Rayrikar <brayrikar@nvidia.com> Reviewed-by: Vincent Chung <vincentc@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* video: tegra: dpaux: Get reset clock regardless of bpmpMark Zhang2018-07-18
| | | | | | | | | | | | | | | | | | | | This patch removes the "tegra_bpmp_running" check before getting dpaux reset clock, because: - We only do that for dpaux reset clock which is confusing - On T210, bpmp FW won't present in the end which makes dpaux reset clock missing Bug 200416228 Change-Id: I708d846d9a5cea7483a0c869afb67696b326047d Signed-off-by: Mark Zhang <markz@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1777669 Tested-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-by: Shu Zhong <shuz@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* video: tegra: dpaux: Get dpaux clock from DT on T210Mark Zhang2018-07-18
| | | | | | | | | | | | | | | | | | | T210 is using DT describing dpaux clock now, clk_get_sys doesn't work on Darcy. So now we can retrieve the dpaux clock from DT regardless of soc generations. Bug 200416228 Change-Id: Ibd8783a5b4b79047f69fa976e0636d7622232303 Signed-off-by: Mark Zhang <markz@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1777663 Tested-by: Nicolin Chen <nicolinc@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Shu Zhong <shuz@nvidia.com> Reviewed-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* tegra-alt: adsp: update index for send bytes ctrlHariharan Sivaraman2018-07-18
| | | | | | | | | | | | | | | | | | | Number of ADSP plugins were increased to 20. The PLUGIN_SEND_BYTES_IDX macro should be updated to reflect the same. Bug 2048629 Change-Id: Ia02361600530f88b133eae1a67e440570e19dfb4 Signed-off-by: Hariharan Sivaraman <hariharans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1775907 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Uday Gupta <udayg@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Uday Gupta <udayg@nvidia.com> Reviewed-by: Nitin Pai <npai@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* spi: tegra: Add spi driver for Aurix-Tegra communicationTheodoros Marinakis2018-07-18
| | | | | | | | | | | | | | | | | | Add SPI Protocol driver responsible for receiving the system state transition request sent from Aurix and triggering the corresponding command. JIRA STR-438 Bug 2061083 Change-Id: I443b3ecf67d55d213e2e3680b451ed37bbdc4429 Signed-off-by: Theodoros Marinakis <tmarinakis@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1765019 GVS: Gerrit_Virtual_Submit Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* crypto: tegra-se: Disable SE context saveMallikarjun Kasoju2018-07-18
| | | | | | | | | | | | | Disable SE context save in SE driver as it is handled in TZ driver. Bug 2091033 Change-Id: Ie292817668465768784c7a654b52538413e30173 Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1692068 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* tegra_cec: suppport dump registers and snoop modeChun Xu2018-07-18
| | | | | | | | | | | | | | | | | | Provide dump registers and changingRX snoop mode interface. Bug 200382184 Change-Id: Idb55d22112bc6be9de89b8ff8e060e73de469507 Signed-off-by: Chun Xu <chunx@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1765068 (cherry picked from commit 3310df0f117d792d3d0bfab6326592851faaeed7) Reviewed-on: https://git-master.nvidia.com/r/1641846 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Prafull Suryawanshi <prafulls@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* PCI: dwc: tegra: add host controller driverVidya Sagar2018-07-18
| | | | | | | | | | | | | | | | Adds host controller driver for Tegra's Designware IP based PCIe controller implementation Bug 200415690 Change-Id: I63b4554b44c88c10c82126de61f62d29ffe0d81b Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1773623 GVS: Gerrit_Virtual_Submit Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* Merge "Merge remote-tracking branch ↵Gerrit Code Review2018-07-16
|\ | | | | | | 'origin/dev/vannapurve_virt_storage_13_7' into dev-kernel" into dev-kernel
| * Merge remote-tracking branch 'origin/dev/vannapurve_virt_storage_13_7' into ↵Vishal Annapurve2018-07-13
| |\ | | | | | | | | | | | | | | | | | | | | | dev-kernel Jira SSV-1816 Change-Id: I97f6b6c8cac9c94ff185ed899f0cf6a51fb67d2c Signed-off-by: Vishal Annapurve <vannapurve@nvidia.com>
| | * virt_storage: Enable virtual storage buildVishal Annapurve2018-07-13
| | | | | | | | | | | | | | | | | | | | | Jira SSV-1816 Change-Id: Ie3c5f64c74007042807f8e81fbc3cf114430c8a7 Signed-off-by: Vishal Annapurve <vannapurve@nvidia.com>
| | * mtd: virt spi: Add Suspend/resume supportVishal Annapurve2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds suspend/resume support in virtual MTD device driver. Jira SSV-1437 Change-Id: I89b176a10c1e206c78a33cc21b5c786b76cd9a9e Reviewed-on: https://git-master.nvidia.com/r/1753216 Tested-by: Vishal Annapurve <vannapurve@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Nitin Sehgal <nsehgal@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Signed-off-by: Vishal Annapurve <vannapurve@nvidia.com>
| | * vblk: Implement vblk driver suspend/resumeVishal Annapurve2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change implements Vblk driver suspend: 1) Ensure that no more requests can be enqueued by block layer 2) Ensure that no more requests can be enqueued to storage server 3) Wait for enqueued requests to complete 4) Disable ivc irq Vblk driver resume: 1) Ensure that requests can be enqueued to Storage server 2) Enable IVC interrupt 3) Ensure that Requests can be enqueued by block layer Jira SSV-1437 Change-Id: Ieac0cd8dd0f73e297cc9f72601e5229e63cabdd0 Signed-off-by: Vishal Annapurve <vannapurve@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1737136 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Nitin Sehgal <nsehgal@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
| | * vblk: extend the number of partitions in vblkdevKwangwoo Lee2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The number of partitions which can be created in vblkdev is limited by the argument of alloc_disk(VBLK_MINORS). If more than 16 partitions are defined in GPT, only 15 partitions can be created in the vblkdev. This patch extends the number of partition by adding GENHD_FL_EXT_DEVT flag in struct gendisk. In https://lwn.net/Articles/290141/, the flag is explained like below: There is a new flag (GENHD_FL_EXT_DEVT) which allows the disk to use extended partition numbers; once the number of minor numbers given to alloc_disk() is exhausted, any additional partitions will be numbered in the extended space. Bug 2115886 Change-Id: I687afdca61021415229c3a45606527fba0b39281 Signed-off-by: Kwangwoo Lee <kwangwool@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1738858 Reviewed-by: Phoenix Jung <pjung@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Dilan Lee <dilee@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vishal Annapurve <vannapurve@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
| | * virt: Add virtual MTD storage driverVishal Annapurve2018-07-13
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds support for virtual mtd storage device driver. Jira SSV-1201 Change-Id: Ie98b94effe7a6ca9104fead1dff53ac8bca7bf9c Reviewed-on: https://git-master.nvidia.com/r/1686660 Signed-off-by: Vishal Annapurve <vannapurve@nvidia.com> (cherry picked from commit 6559348a9ec3df569414a866a8184ab8ebf4adb6) Reviewed-on: https://git-master.nvidia.com/r/1666698 GVS: Gerrit_Virtual_Submit Reviewed-by: Nitin Sehgal <nsehgal@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | thermal: throttle: register via of cooling i\fSrikar Srimath Tirumala2018-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thermal framework requires DT based cooling devices to use the _of_ registration routine in order to bind correctly with the thermal zones. The non _of_ registration uses name based cooling device registration which does not exist upstream. Replace the name based registration with of based registration so that the driver continues to work with K4.14 and future kernels without the need for downstream changes. Bug 2125602 Bug 2227106 Change-Id: If3150ea78c3fa4beefb66ecda8c3d5559c9df9fc Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1764793 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Wei Ni <wni@nvidia.com> Tested-by: Wei Ni <wni@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | kernel: remove trace_printk usersdmitry pervushin2018-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 2089957 Change-Id: I1e5c869a19133918effd20d3bb76e10c7f4634a5 Signed-off-by: dmitry pervushin <dpervushin@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1698695 Reviewed-on: https://git-master.nvidia.com/r/1776084 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Vipin Kumar <vipink@nvidia.com> Reviewed-by: Puneet Saxena <puneets@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | denver: cpu notifier API compatibilitySachin Nikam2018-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In K4.14 below APIs are deprecatd: cpu_register_notifier register_hotcpu_notifier cpu_unregister_notifier Using cpuhp_setup_state_nocalls instead for K4.14 Bug 200427682 Change-Id: I146bf0336dff613f7c25c2c8b053aa450986405b Signed-off-by: Sachin Nikam <snikam@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1769210 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | video: tegra: dc: add k4.14 stub tegra_get_fb_resourceBitan Biswas2018-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add stub tegra_get_fb_resource for kernel version after k4.9 bug 200416228 Change-Id: I971479cecb94850dc3a3f657b61ba7c44e1b3d07 Signed-off-by: Anshuman Kar <anshumank@nvidia.com> Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1776076 Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | video,hid: enable switch based on CONFIG_SWITCHAnshuman Kar2018-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | switch.h header inclusion done when CONFIG_SWITCH is defined. Calls to switch APIs in hid jarvis conditional on the config. - update hid-atv-jarvis.c and video/tegra/dc/dc_priv_defs.h bug 200205754 Change-Id: I10876af64bd4d9c5afb6a8c22019f314e6bcc8f0 Signed-off-by: Anshuman Kar <anshumank@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1775787 Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | arm64: tegra23x: define arch config for T23xHemant Nigam2018-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add CONFIG_ARCH_TEGRA_23x_SOC. All T23x specific configs will "depends on" this. They config will be marked default n for now. Bug 2124727 Change-Id: I11f89c5de37b3820e267071dd2ac4f69b9a9fcae Signed-off-by: Hemant Nigam <hnigam@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1751098 Reviewed-by: Vignesh Radhakrishnan <vigneshr@nvidia.com> Reviewed-by: Chetan Kumar <chetankumarn@nvidia.com> Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | tegra_bootloader_debug: BCP data from bootloaderTaborowski Lukasz2018-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Information about BCP location is passed in bootargs. Kernel maps BCP location as memory reserved block to prevent from overwriting it. If kernel receives boot_cfg_dataptr then new module bcp is loaded. This means that BCP data is available at /sys/kernel/boot_cfg location. Additionally, extended the tegra_bootloader_debug module to BCP area. After the module is loaded, debugfs exposes new file the boot_cfg. Bug 1850555 Bug 200396169 Change-Id: I013473d100c7dd64e6fc55227a98a9d6ce2bf3c1 Signed-off-by: Virupax.Sadashivpetimath <virupaxs@nvidia.com> Reviewed-on: http://git-master/r/1269284 Reviewed-on: https://git-master.nvidia.com/r/1694542 Signed-off-by: dmitry pervushin <dpervushin@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1776006 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | nvadsp: prevent race in os_queue for appDipesh Gandhi2018-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change add spinlock to nvadsp app start and init functions for os_queue write protection. It make sure only one app from different context can update queue at given time. Also added some debug info to adsp driver for providing extra info for debugging purpose. Bug 2060866 Signed-off-by: Dipesh Gandhi <dipeshg@nvidia.com> Change-Id: If1bbfdb233d2af984f62bb02ed515eec1ab8a492 Reviewed-on: https://git-master.nvidia.com/r/1655974 (cherry picked from commit 7edeb242aba4cabc517b6e270b254777e3ea66ea) Reviewed-on: https://git-master.nvidia.com/r/1775133 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Hariharan Sivaraman <hariharans@nvidia.com> Reviewed-by: Viraj Karandikar <vkarandikar@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Nitin Pai <npai@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | platform: tegra: update RAS error codesSumit Gupta2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating ERR<x>CTLR bits and IERR codes to report correct error. RAS/MCA error codes and bits have been changed in recent MTS code due to which error info will not be reported correctly. So, updating related codevalues and bits in RAS driver as per latest sheet from MTS member "New_MCA_20180619_0114.xlsx". Bug 200420692 Change-Id: If5268a8f0b8005cf97b147b154b9249529c108ec Signed-off-by: Sumit Gupta <sumitg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1774516 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Rohit Khanna <rokhanna@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | nvadsp: Add get file size support to adspff APPUday Gupta2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add adsp_fsize support Bug 2060675 Change-Id: I288d09c290eab940547c76654fa5708efc40724d Signed-off-by: Hariharan Sivaraman <hariharans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1775909 GVS: Gerrit_Virtual_Submit Tested-by: Uday Gupta <udayg@nvidia.com> Reviewed-by: Swati Sachdeva <ssachdeva@nvidia.com> Reviewed-by: Viraj Karandikar <vkarandikar@nvidia.com> Reviewed-by: Nitin Pai <npai@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | video: tegra: host: Return zero for get_rate if clock is disabledMikko Perttunen2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current code calls nvhost_module_busy on an engine before getting its clock rate to force clocks on. This will keep the engine always on if a UMD is frequently polling the engine's frequency. Remove the busy call and return zero if the clock is disabled. Bug 2114935 Jira HOSTX-352 Change-Id: I307226f198d18d2644455e30ab170f51474b392f Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1769174 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | video: tegra: host: Disable SLCG WAR on K4.14Mikko Perttunen2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On kernel 4.14, the SLCG war is implemented by the core clock/ powergating drivers. As such, we don't need to do anything about it. On K4.14, we also start using the PMC genpd provider for powergates, so the assumption of nvhost_pd being the powergating provider doesn't apply anyway. Bug 200418280 Change-Id: I52f0e72592741d54e581780c405992a4c2e0b9e7 Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1767875 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Joseph Lo <josephl@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | video: tegra: host: unify the VI clock nameJoseph Lo2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sync up the VI clock name as "vi" among different platforms. In order to do this on Tegra210, we also need to fix the DT clock ID to the clock that we want to use as "vi" clock. For Tegra210, which is "vi_v4l2.cbus". Bug 200418280 Change-Id: Iab278bc7792848a1c2b32495a485119a2c925078 Signed-off-by: Joseph Lo <josephl@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1776742 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Bhanu Murthy V <bmurthyv@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | tegra-profiler: fix uninitialized pmu structuresIgor Nabirushkin2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split the module initialization into two parts and move PMU initialization to the later part. This fixes possibly uninitialized PMU structures for some cores. Bug 200427239 Change-Id: I09555a1b018596e779b937f0e1378db60bb69780 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1776957 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Dmitry Antipov <dantipov@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Kasinadha Dendukuri <kdendukuri@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | video: tegra: host: t194: Update prod valuesMikko Perttunen2018-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update FALCON_CG2 prod values for NVENC, NVDEC, and NVJPG. Jira HOSTX-353 Change-Id: Ica3ab1623543263ff8932694a32dc3c89f5d8edf Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1772475 GVS: Gerrit_Virtual_Submit Reviewed-by: Reshma Prabhu <rprabhu@nvidia.com> Reviewed-by: Aapo Vienamo <avienamo@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | nvlink: t19x: Fix minion falcon interrupts configPetlozu Pravareshwar2018-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change does the following things: * Configure MINION falcon interrupts i.e enable interrupts in _IRQMSET register and set destination of these interrupts to HOST and further classify them as HOST_NORNAL. * Disable MINION Falcon interrupts when there is a fatal interrupt. * Replace hardcoded falcon irqmask with a proper register read value. * Remove read on CMINION_FALCON_IRQDEST register which becomes redundant after having done the above steps. Bug 200420243 Bug 2043859 Change-Id: Ie40fc6d783f4a3974dd79f84ad4a7b6483c5a2f4 Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1741643 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Adeel Raza <araza@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* | video: tegra: nvmap: fix return value check of dma_declare_coherent_memoryPritesh Raithatha2018-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel-4.9 and before dma_declare_coherent_memory function was not reporting failure. We updated the code to return the same mapping flag(MAP/NOMAP/IO) in case of succeed. Kernel-4.14 upstream is updated to return error in case of failure so updating return value check in nvmap heap. Bug 200415588 Change-Id: I4222438a80516d9c78f7cd9d4325a00cccb463df Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1774909 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: David Gilhooley <dgilhooley@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
* | cpufreq: clamp boot frequency in core cpufreqBo Yan2018-07-12
|/ | | | | | | | | | | | | | | | | | | | | Set the flag to let cpufreq check the boot frequency against available frequencies in frequency table. clamp to a valid entry if the boot frequency is not in the table. Remove the relevant code in tegra cpufreq driver for t186 and t194. This is no longer needed. bug 2255138 Change-Id: I47949ef4c641d9c2406480e1efafd71821632d3f Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1775429 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* PHY: tegra: move P2U driver inside tegraVidya Sagar2018-07-11
| | | | | | | | | | | | | | | | moves PCIe's P2U phy driver to inside tegra folder as this phy is specific to Tegra Bug 200415690 Change-Id: Ie7f3999434f58e98103ac7d432ecfed96577a33a Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1775079 Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>