5 years agostaging: nvshm: create new communication channel for RPC
Hervé Fache [Tue, 26 Mar 2013 13:13:28 +0000]
staging: nvshm: create new communication channel for RPC

This patch introduces a new NVSHM channel and support code to easily
invoke and manage function calls through this medium.

Possible call types are:
* one-way: no response is sent back
* synchronous: a response is necessary to unblock the caller
* asynchronous: a callback must be specified to get the response

Bug 1248547

Change-Id: Icdc0fca081257c78ae3a000b8bcdcd7e87691637
Signed-off-by: Hervé Fache <hfache@nvidia.com>
Reviewed-on: http://git-master/r/213916
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agommc: tegra: Tuning and tap selection for low freqs
Pavan Kunapuli [Tue, 22 Jan 2013 12:18:45 +0000]
mmc: tegra: Tuning and tap selection for low freqs

Adding frequency tuning solution for frequencies
below 82MHz in SDR104 and HS200 mode.

Bug 1189241
Bug 1181574

Reviewed-on: http://git-master/r/192114
(cherry picked from commit 39cf979cd0a55876b8ceeaa75abbc19dd6527051)
Change-Id: Iec55f36de850060c71a13b5dd42d815e573c1f1b
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/212421
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: dalmore: Pass nominal core voltage
Pavan Kunapuli [Wed, 17 Apr 2013 08:10:28 +0000]
ARM: tegra: dalmore: Pass nominal core voltage

Pass nominal core voltage data through sdhci platform data to be
used for setting core voltage constraints during frequency tuning.

Bug 1167519
Bug 1225343

Reviewed-on: http://git-master/r/200396
(cherry picked from commit 78b9d1067df6142ddb8de398607e4560081e3e49)
Change-Id: I709b18c163178c24e819fcd940f71656780d94fa
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/212416
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: dalmore: vdd_core consumers for sdmmc
Pavan Kunapuli [Wed, 13 Feb 2013 10:01:27 +0000]
ARM: tegra: dalmore: vdd_core consumers for sdmmc

Adding vdd_core regulators for sdmmc1 and sdmmc4 to be used to set
core voltage constraints during frequency tuning.

Bug 1189241

Reviewed-on: http://git-master/r/200394
(cherry picked from commit 51d67bb03208c1fc4075298ecae7e0f9f5620d68)
Change-Id: I5708c4023947ece22947d8d97243e51733173aa3
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/212415
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoi2c: tegra: do not suspend i2c interrupts
Laxman Dewangan [Thu, 18 Apr 2013 13:43:51 +0000]
i2c: tegra: do not suspend i2c interrupts

There is possibility of I2C transfer calls even after suspend of
drivers occur.

To have the I2C transfer properly in this case, it should not suspend
interrupt of I2C so that interrupt support should be available.

bug 1272661
bug 1266321
bug 1257433

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

5 years agodrivers: misc: therm_est: Add timer trip support
Jinyoung Park [Fri, 29 Mar 2013 16:48:57 +0000]
drivers: misc: therm_est: Add timer trip support

Timer trip provides a way to change trip temp dynamically based on timestamp
when the trip is enabled.
- Timer trip can be various numbers on a trip.
- If the trip is enabled, then timer will be started with time_after delay
  in the corresponding timer trip. After the timer expires, trip_temp and
  hysteresis in the corresponding timer trip will be used to trip_temp for
  the trip.
- When the timer has expired, index of timer trip will be increased a step
  and then start the timer with time_after delay in newly indexed timer trip.
- When temp is below trip temp, index of timer trip will be decreased a step
  and then stop the timer and start the timer with time_after delay in newly
  indexed timer trip.
- The timer will be stopped if there is no more next timer trip on the trip,
  or the trip is disabled.

This change is based on http://git-master/r/198853 which is the timer
trip on Rel-16. The difference between two changes is that this change
can be used timer trip on multiple trip points, but the previous change
on Rel-16 can be used timer trip on only a trip point.

Bug 1233363
Bug 1236444

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/214612
(cherry picked from commit 1894b17754662f4cdc7a1176a62767fc8a97601c)

Change-Id: I999f496862fe131e4209b25b308f2223ac7cc350
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/220222
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoASoC: Add TDM mode support for max98091
Ravindra Lokhande [Wed, 17 Apr 2013 13:16:00 +0000]
ASoC: Add TDM mode support for max98091

For dual mic capture we need to use TDM mode. This is needed for
NC.

Bug 1234999

Change-Id: I03c91ac3b187f44587a27715edbc2a0a4b9fd7c8
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/220208
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Stefano Sarghini <ssarghini@nvidia.com>

5 years agoARM: tegra: Make MC domains configurable
Terje Bergstrom [Wed, 17 Apr 2013 11:17:01 +0000]
ARM: tegra: Make MC domains configurable

Add a configration variable CONFIG_TEGRA_MC_DOMAINS. It controls if
MC power domains are enabled or not. Also disables MC domains by
default.

Bug 1272223

Change-Id: I1d8f8390e5803e00435a2a9e51929cb70ba401a1
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/220158
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agovideo: tegra: dc: Optimize OS idle display client wakeup
Animesh Kishore [Tue, 16 Apr 2013 09:28:45 +0000]
video: tegra: dc: Optimize OS idle display client wakeup

-Granularize MSF interrupt mask/unmask zone.
-Fix host not entering OS idle suspend.
-Remove unnessary display client wakeup.

Bug 1268656

Change-Id: Ia5e7ea4cc1727c9c1e0b32aa2bb95dcaf5ba9f8f
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/219755
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: macallan: enable OTG ID pin detect through PMIC
Yunfan Zhang [Thu, 28 Mar 2013 07:58:26 +0000]
ARM: tegra: macallan: enable OTG ID pin detect through PMIC

Bug 1256755

Change-Id: I86fabdd6da4481cf7365aa0e47fd086817cb9d35
Signed-off-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-on: http://git-master/r/213874
(cherry picked from commit 82cc526af10d41fdea45867ca35e4c91f6668e78)
Reviewed-on: http://git-master/r/219355
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: macallan: correct pinmux of vddio_hv bank
Hunk Lin [Mon, 25 Mar 2013 14:39:49 +0000]
arm: tegra: macallan: correct pinmux of vddio_hv bank

1) USB_VBUS_EN0 is unused in macallan.
2) SPDIF_IN should be an open drain enable of the regulator.
3) Set sleep pinmux to save power in LP0.

Bug 1255023

Change-Id: I0286cfb56e222c41f9c8ed8632d49be95b390d65
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/212673
(cherry picked from commit 9772e56c4235d3c100fbee45ba3ce113a920be98)
Reviewed-on: http://git-master/r/218090
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoArm: tegra: usb: reset IDDQ upon resume
Krishna Yarlagadda [Mon, 25 Mar 2013 07:04:36 +0000]
Arm: tegra: usb: reset IDDQ upon resume

IDDQ mode has to be reset when resuming from lp0
or bus resume

Bug 1225060

Change-Id: I31b775d6778f9ab4646c65820e558606097a1b34
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/212532
(cherry picked from commit 4ef3cbc51a27146f7d3e749c3b2178d843b136ba)
Reviewed-on: http://git-master/r/217871
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoiommu/tegra: smmu: Unmap multiple pages at once
Hiroshi Doyu [Fri, 22 Mar 2013 09:30:59 +0000]
iommu/tegra: smmu: Unmap multiple pages at once

Implement to unmap multiple pages at once for performance.

bug 1254010
bug 1226176
bug 999937

Change-Id: Ifa4671a8d784f46f3cb5feed21e433240f1634ed
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/216852
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoiommu/tegra: smmu: Add flush_ptc_and_tlb_range()
Hiroshi Doyu [Wed, 3 Apr 2013 08:49:20 +0000]
iommu/tegra: smmu: Add flush_ptc_and_tlb_range()

Add flush_ptc_and_tlb_range() to handle multiple entries at once.

bug 1254010
bug 1226176
bug 999937

Change-Id: Ib1e9e2e7131345bb422787633eb8d1a4c549dda0
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/216851
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoiommu/tegra: smmu: Add flush_ptc_and_tlb_all()
Hiroshi Doyu [Wed, 3 Apr 2013 07:10:32 +0000]
iommu/tegra: smmu: Add flush_ptc_and_tlb_all()

A version of flush_ptc_and_tlb() against all entries within the same
address space.

bug 1254010
bug 1226176
bug 999937

Change-Id: I73dfdb0f1249a89313edd89dc5a51b8229648a32
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/216850
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoiommu/tegra: smmu: Mask pagetable index correctly
Hiroshi Doyu [Wed, 3 Apr 2013 08:55:28 +0000]
iommu/tegra: smmu: Mask pagetable index correctly

Mask pagetable index to avoid overrun by removing unnecessary bit at
first place.

bug 1254010
bug 1226176
bug 999937

Change-Id: I1bccd4d4b1c8510b540d7c0c60e1997ba63f952b
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/216849
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoARM: defconfig: Enable OTG wakelock for T114, T148
Rakesh Bodla [Mon, 15 Apr 2013 05:26:09 +0000]
ARM: defconfig: Enable OTG wakelock for T114, T148

Enabling otg wakelock for T114, T148 platforms.

Bug 1262358

Change-Id: Ic7e2fb0702598f770bd46eec78624b94aaab4e8d
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/216794
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra14: Set core_process_id
Prashant Malani [Wed, 3 Apr 2013 23:01:02 +0000]
ARM: tegra14: Set core_process_id

Set core_proces_id based on core speedo
value read from fuse register.

Bug 1246952

Change-Id: I639f5847bf34530adb28dd1154fd6294c1b3c3e9
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/216354
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoarm: tegra: macallan: add power detect rails
Hunk Lin [Fri, 29 Mar 2013 08:29:49 +0000]
arm: tegra: macallan: add power detect rails

Add full power detect rails to fix high power in many IO power rails.

Bug 1255023
Bug 1254991
Bug 1254993
Bug 1255002
Bug 1255008
Bug 1255016
Bug 1255020

Change-Id: I1736e2f2784437a6d287554d3bba1f47afca77ed
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/214429
(cherry picked from commit f516a25edb23cb8f5f43edbc898e88130ffca929)
Reviewed-on: http://git-master/r/215968
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: pluto: vdd_core consumers for sdmmc
Pavan Kunapuli [Wed, 13 Feb 2013 10:50:40 +0000]
ARM: tegra: pluto: vdd_core consumers for sdmmc

Adding vdd_core regulators for sdmmc1 and sdmmc4 to be used for
setting core voltage constraints during frequency tuning.

Bug 1167519
Bug 1225343

Reviewed-on: http://git-master/r/200409
(cherry picked from commit 596e268dc185f2f4545dbd425b94e9823d70d702)
Change-Id: I6708256280a9aeeb0f174e4cdafcc67f7ed5ec17
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/212413
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoASoC: tegra: AIC3033: add TPA2054D4A amplifier
Dara Ramesh [Thu, 18 Apr 2013 11:30:13 +0000]
ASoC: tegra:  AIC3033: add TPA2054D4A amplifier

1) added TPA2054D4A driver for headphone and speaker amplifier.
2) enabled automatic Headset detection logic for MIC detection.
3) updated alsa controls for TPA2054D4A driver.
4) Fix headset detection code.

 bug 1266219
 bug 1262352

Change-Id: Ie0c0607a3fb5a1e92fd3a2c85699ceae14e0474c
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/220571
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoarm: tegra: isomgr: enable clock
Krishna Reddy [Mon, 8 Apr 2013 21:37:54 +0000]
arm: tegra: isomgr: enable clock

check for clock source get errors as well

Change-Id: I5854eb2b023b8a3c338c565f1c4146c5c4bc3785
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/217496
GVS: Gerrit_Virtual_Submit
Tested-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>

5 years agopinctrl: palmas: Add support for Gpio14
fred zhou [Fri, 12 Apr 2013 05:41:43 +0000]
pinctrl: palmas: Add support for Gpio14

Gpio14 is used for hdmi hot plug and config it as gpio.

Bug 1259587

Change-Id: Ie63101a52659318d2aaecc937847b805678c482c
Signed-off-by: fred zhou <fzhou@nvidia.com>
Reviewed-on: http://git-master/r/218815
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Louis Li <louli@nvidia.com>
Reviewed-by: Sumit Sharma <sumsharma@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: pluto: use extcon for battery
Xin Xie [Wed, 6 Mar 2013 00:06:18 +0000]
ARM: tegra: pluto: use extcon for battery

Add extcon dev name.

Bug 1261951

Change-Id: If59bce0d0fee87f93ac6fb01000e7d5227bb714b
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/207221
(cherry picked from commit e60c4fe8e8a323e21544123a53a0e156938b14ae)

5 years agopower: max77665: add extcon support
Xin Xie [Fri, 1 Mar 2013 22:31:16 +0000]
power: max77665: add extcon support

Add extcon support to get notifications for different usb cables and
notify UI to show different icons depending on the cable.

Bug 1261951

Change-Id: Ie0d6e7f1e6fb2db843b11f1a75374a267fe6bfbb
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/207220
(cherry picked from commit 47ec34d9ac9912c125519e22a49667cc02c64b1a)

5 years agousb: gadget: tegra: add extcon device notification
Xin Xie [Tue, 26 Feb 2013 02:53:34 +0000]
usb: gadget: tegra: add extcon device notification

Add extcon device notification in usb gadget driver
to notify different types of usb cable connections.

Bug 1261946

Change-Id: I833461ab70adb3d7e84a9c2d9f199a3d76753dee
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/207219
(cherry picked from commit b0d8a1b159dc578f5b651f9fe61826efc2cbda4b)

5 years agopower: max77665: add watchdog timer for charging
Xin Xie [Thu, 28 Mar 2013 07:12:21 +0000]
power: max77665: add watchdog timer for charging

Bug 1242272

Change-Id: Ie09fccea64c0953be0120b505557bc791ed150ca
Signed-off-by: Xin Xie <xxie@nvidia.com>
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/207405
(cherry picked from commit cad7b411b5ab4b5f2ca31a3d0c35fea6ea01f0d5)

5 years agoinput: misc: Add EDP support for DRV2603 driver
Sumit Sharma [Mon, 15 Apr 2013 11:42:18 +0000]
input: misc: Add EDP support for DRV2603 driver

- Add EDP support for DRV2603 haptics driver
- Add regulator support in the driver
- Free resources in remove function

Bug 1266734

Change-Id: I502a7cdd8c63a4e16d9343c88aa2ceaf4870c3f7
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>

5 years agovideo: tegra: dc: fix PREMULT serial blending
Michael I. Gold [Thu, 11 Apr 2013 16:50:53 +0000]
video: tegra: dc: fix PREMULT serial blending

Change-Id: I7ca03ef97b483d4a02155eec21995f67c99a8835
Signed-off-by: Michael I. Gold <gold@nvidia.com>

5 years agommc: sdhci: fix DDR50 mode of eMMC for low max clock rate limit
Vishal Singh [Wed, 10 Apr 2013 13:05:53 +0000]
mmc: sdhci: fix DDR50 mode of eMMC for low max clock rate limit

For eMMC, for the case when max controller clock rate is less than
52 MHz, the divisor is being set to 1. But in DDR50 mode, the
controller needs to run at at least twice the card clock rate.
Hence setting divisor to 2 for this case.

Bug 1270978.

Change-Id: I79345d9e8a0a6a2d8d5e47bfdaf54312bbcf89ae
Signed-off-by: Vishal Singh <vissingh@nvidia.com>

5 years agotrace: events: isomgr: add trace event for isomgr
Krishna Reddy [Tue, 9 Apr 2013 23:06:11 +0000]
trace: events: isomgr: add trace event for isomgr

Change-Id: I18bd72510b84f0d5c2aef6900ada7b588c67d292
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agopower: max17048: modify header file
Darbha Sriharsha [Mon, 15 Apr 2013 19:40:26 +0000]
power: max17048: modify header file

This change is intended to modify the
max17048_battery header file to
include certain function declarations only
if the max17048_battery defconfig option
is defined

Bug 1178638

Change-Id: Ifd28cacd6584edd52b2827798137862c818064d7
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/219506
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agovideo: tegra: host: Initialize table before using
Arto Merilainen [Tue, 9 Apr 2013 10:54:50 +0000]
video: tegra: host: Initialize table before using

This patch adds a missing initialization of syncpoint table. This
may lead to calling kfree() with invalid memory addresses.

Change-Id: I85e7d52e235ef1db02cd43724b0bd5896daa9b7a
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/217848
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agopower: max77660: Add battery charger driver
Darbha Sriharsha [Wed, 10 Apr 2013 03:54:40 +0000]
power: max77660: Add battery charger driver

Addition of battery charger driver for max77660 chipset

Change-Id: I5b4525941316994e8054d98942a899d9d76ca965
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/216973
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoARM: tegra14: dvfs: add Bin0 pll DVFS entries
Prashant Malani [Wed, 3 Apr 2013 23:25:33 +0000]
ARM: tegra14: dvfs: add Bin0 pll DVFS entries

Add entries for pll_m/c/c2/c3

Bug 1246952

Change-Id: Ief45e396805ff2b0614e009394d112614df72c38
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/216355
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: Tegra: Sample uS timer to measure LP resume
Kamal Kannan Balagopalan [Tue, 9 Apr 2013 18:35:56 +0000]
ARM: Tegra: Sample uS timer to measure LP resume

Add framework to log microsecond timer for measuring suspend/deep-sleep
resume times from power-on to display-on

Bug 1252226

Change-Id: Icbf890f3766d38093eea485a7261303ae73d2567
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/217939
(cherry picked from commit 4b495256ae27012f12d1b334ef5b965bf3dae8d0)
Reviewed-on: http://git-master/r/219448
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agovideo: tegra: host: add dt support for t14x
Mayuresh Kulkarni [Fri, 12 Apr 2013 14:00:32 +0000]
video: tegra: host: add dt support for t14x

this commit adds the compatible properties for t148
the real dt will be enabled in a different commit

Change-Id: I9238897eafea968bff3527f0a769dd4a9e315300
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/218949
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoASoC: codecs: max98090: add missing break statement
Ravindra Lokhande [Tue, 16 Apr 2013 16:55:50 +0000]
ASoC: codecs: max98090: add missing break statement

Change-Id: I1219ae95575ae9c627ee83a72a820a92f4ac89ec
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/219880
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoarm: tegra: add macallan E1569 support
Kerwin Wan [Tue, 16 Apr 2013 13:06:52 +0000]
arm: tegra: add macallan E1569 support

Change-Id: I42917f76efee8c6b41c7a8f58e20ec9e2d4feea4
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/219839
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agomfd: max77665: use regmap irq for interrupt support
Laxman Dewangan [Wed, 3 Apr 2013 12:39:55 +0000]
mfd: max77665: use regmap irq for interrupt support

Add regmap irq framework for interrupt support. This will
reduce the code size in mfd driver for implementing the
interrupt support and duplicating code.

(Cherrypicked commit
aabb7673ce63234bd119f12f8113983fcb530ca8)
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/216136

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

5 years agomfd: max77665: Pass interrupt number for muic as platform irq resource
Laxman Dewangan [Mon, 1 Apr 2013 12:01:11 +0000]
mfd: max77665: Pass interrupt number for muic as platform irq resource

bug 1227226

(Cherrypicked from commit
5dae541026ea18c48f447df841d5cdbdb4c07ab8)

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

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

5 years agovideo: tegra: dc: Log display-on time via uS timer
Kamal Kannan Balagopalan [Wed, 10 Apr 2013 00:39:15 +0000]
video: tegra: dc: Log display-on time via uS timer

Bug 1252226

Change-Id: I2c7b89a964c5237cf4021fa9ad57fe1e02b729c2
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/217940
(cherry picked from commit 28199be1263b88070718bac2725e8d5b26c6a0f6)
Reviewed-on: http://git-master/r/219449
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>

5 years agoARM: Tegra: clock: Clock set latency tracing
Antti P Miettinen [Mon, 15 Apr 2013 12:46:56 +0000]
ARM: Tegra: clock: Clock set latency tracing

Add traces for clock set latency measurements.

Change-Id: I5bdd00145f32da59ed294c8414d44fba8f3a81ca
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/219386
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agodrivers: staging: nvshm: fix panic and loop in net driver
Martin Chabot [Fri, 12 Apr 2013 13:41:48 +0000]
drivers: staging: nvshm: fix panic and loop in net driver

skbuff failed alloc not checked fixed
loop when non IP packet detected fixed

Bug 1270335
Bug 1270386

Change-Id: I71c1a032b5673ef5ad629ecce22db9f92949ce95
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/218944
Reviewed-by: Herve Fache <hfache@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Julien Vuillaumier <jvuillaumier@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agousb: gadget: tegra: Add mutex for sync
Krishna Yarlagadda [Thu, 4 Apr 2013 13:47:18 +0000]
usb: gadget: tegra: Add mutex for sync

vbus session is being called from different threads and
this can result in sync issues.
Added mutex lock to avoid this

Bug 1266998

Change-Id: I41384be63cfafed127c67e4a4ea0be69a0d98c49
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/216518
(cherry picked from commit 025a8139867abe2eef3fe85e52a5891518849f5b)
Reviewed-on: http://git-master/r/218124
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: host: Enable Tegra14 3D DVFS
Terje Bergstrom [Tue, 5 Feb 2013 02:44:54 +0000]
video: tegra: host: Enable Tegra14 3D DVFS

Enable 3D clock scaling for Tegra14.

Bug 1179425

Change-Id: Id6f16d70a0f3771db405571cfa5b92deb005208d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/216397
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Samuel Russell <samuelr@nvidia.com>

5 years agoARM: mm: Save and restore event counters
Antti P Miettinen [Thu, 10 Jan 2013 13:29:53 +0000]
ARM: mm: Save and restore event counters

Save and restore event counter selections and counter
values over power gating.

Change-Id: If9b467781e94cb08b8cf8a980fff00eb5af71250
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/192646
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM: tegra14: pm: Clear BB_MEM_REQ wake status
Prashant Malani [Sat, 13 Apr 2013 00:51:08 +0000]
ARM: tegra14: pm: Clear BB_MEM_REQ wake status

Despite clearing BB_MEM_REQ wake mask, it is
necessary to clear the corresponding bit from
wake status register to ensure that the
interrupt is cleared.

Bug 1257433

Change-Id: I31d296e898bc382da2986f3117f6cff5b8a8b2ca
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/219160
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

5 years agodrivers: staging: nvshm: fix spinlock deadlock
Martin Chabot [Fri, 12 Apr 2013 12:09:44 +0000]
drivers: staging: nvshm: fix spinlock deadlock

Change to spinlock_irq to spinlock_irqsave/restore
This avoid re-enabling interrupt in critical section
resulting in a deadlock (seen in 3G transfert)

Bug 1270310

Change-Id: I3f0600ad7bf0bbdea44d0234e64fe5cceca9d577
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/218914
Reviewed-by: Jean-Marc Guiraudet <jguiraudet@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Greg Heinrich <gheinrich@nvidia.com>
Reviewed-by: Julien Vuillaumier <jvuillaumier@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoarm: dts: tegra114: add TEGRA_DSIB region
Min-wuk Lee [Wed, 10 Apr 2013 04:56:41 +0000]
arm: dts: tegra114: add TEGRA_DSIB region

Bug 1240921

Change-Id: I27c6bfc3c08c35899789f79c110881cd92ee5b1b
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/218089
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Alex Courbot <acourbot@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

5 years agoARM: Tegra: issue smc to wakeup secure world only for TF's OS
Varun Wadekar [Mon, 8 Apr 2013 09:47:29 +0000]
ARM: Tegra: issue smc to wakeup secure world only for TF's OS

Change-Id: I7a0031e70d3be1f1950633888aa3ad24a5ddcced
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/217283
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra14: dvfs: Update bin0 big block entries
Prashant Malani [Wed, 3 Apr 2013 01:46:29 +0000]
ARM: tegra14: dvfs: Update bin0 big block entries

Update bin0 big block core dvfs entries based on
SiVal data released on 4/1/2013.

Bug 1246952

Change-Id: If17f383b3df1a337c6b7faa67e6551038abbbe7c
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/215922
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

5 years agomfd: max77660: add haptic support
Bitan Biswas [Fri, 12 Apr 2013 16:38:39 +0000]
mfd: max77660: add haptic support

bug 1252775

Change-Id: I9ba33feaeb3c3ff206f5cd3c3822aae0d82a6cee
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/218991
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agovideo: tegra: host: change slope to fixed point
Jihoon Bang [Thu, 28 Mar 2013 01:07:28 +0000]
video: tegra: host: change slope to fixed point

In 3D dvfs, slope and dip_slope is small number and
it can become less than zero. To prevent slope from being zero,
change slope type from int to fixed point.

Bug 1246180

Change-Id: I86186cf0516cddac38e88c1c95b27be967061726
Reviewed-on: http://git-master/r/213768
(cherry picked from commit d7f947d59aee835a68b6fc6c14f8b5980a63c029)
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/218979
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoarm: tegra: bbc: fix xxx_store_state() method
Julien Vuillaumier [Fri, 12 Apr 2013 13:50:34 +0000]
arm: tegra: bbc: fix xxx_store_state() method

Function expects to receives a string that contains either keyword
or numerical value.
Remove unused integer conversion that returns with error code when
keyword is passed as argument ('enabled' or 'disabled').

bug 1271082

Change-Id: I704a5e65073251aaf9657a9e4d57907845cd80e6
Signed-off-by: Julien Vuillaumier <jvuillaumier@nvidia.com>
Reviewed-on: http://git-master/r/218951
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoinput: misc: max77660: haptic driver
Bitan Biswas [Fri, 12 Apr 2013 14:59:01 +0000]
input: misc: max77660: haptic driver

MAX77660 PMIC has integrated haptic driver. The haptic driver
is implemented as an input driver.

bug 1252775

Change-Id: Ib76e311b3c7dbea555d538052b0b7aa79785d298
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/210074
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: tegra: config: enable PM_AUTOSLEEP
Shridhar Rasal [Fri, 12 Apr 2013 07:11:23 +0000]
ARM: tegra: config: enable PM_AUTOSLEEP

Opportunistic_suspend/Autosleep is mechanism by which
the kernel can trigger global transitions to a sleep state
chosen by user space if there are no active wakeup sources. Google
recommends autosleep to put device into suspend for android kernel.

bug 1045715

Change-Id: Ia2626e4ffd0c790d994625ad5cceb7d0bde362a8
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/218830
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoarch: arm: linearize backlight after sd adjustment
Mitch Luban [Fri, 12 Apr 2013 01:31:07 +0000]
arch: arm: linearize backlight after sd adjustment

We should apply smartdimmer adjustment and then do
linear backlight lookup.

Bug 1253675

Change-Id: I25ca15c615ea99e49f60f567d874666c8f6a4bcd
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/218738
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoisomgr: protect header from multi-inclusion
Krishna Reddy [Tue, 9 Apr 2013 23:41:27 +0000]
isomgr: protect header from multi-inclusion

Change-Id: I36e57c7b24152222747d1b2744741a9cc68edff9
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/218012
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoarm: tegra: Enable PRISM for Atlantis
Mitch Luban [Thu, 28 Mar 2013 19:47:30 +0000]
arm: tegra: Enable PRISM for Atlantis

Atlantis has a different backlight driver for 1080p
Sharp panel and 720p LG panel. With this change we
inform PRISM of the correct backlight driver to use.

Bug 1253675

Change-Id: Ia95b86c515660eb8a234932c257b66e24067dbf9
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/214117
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoinput: misc: Add DRV2603 haptics vibrator driver
Sumit Sharma [Wed, 3 Apr 2013 12:40:21 +0000]
input: misc: Add DRV2603 haptics vibrator driver

Add haptics vibrator for DRV2603

Bug 1245991

Change-Id: Ic3a8f8e07a22b51771cb4c3dbfa9829498a74595
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/218154
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agommc:sdhci:reduce level of '512 byte block' warning
Naveen Kumar S [Wed, 30 Jan 2013 04:05:50 +0000]
mmc:sdhci:reduce level of '512 byte block' warning

Reduced severity of the message informing usage of 512 bytes block size
from pr_warning to pr_info.

Bug 1166542

Change-Id: I4e06da6e5551699c5acff9220a1b26151ef26ca4
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/218894
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agomfd: palmas: add USB VBUS LP0 wakeup option
Lucas Dai [Mon, 25 Mar 2013 23:31:25 +0000]
mfd: palmas: add USB VBUS LP0 wakeup option

Currently we are using the Palmas to handle VBUS detection and wake up
AP using Palmas's IRQ line as wakeup source. We can also wakeup the AP
directly from USB VBUS line if enable the AP's VBUS input controlled by
ldousb regulator.

bug 1239645

Change-Id: I412c8a9f5488d9553049dc09ce74f8f927709290
Signed-off-by: Lucas Dai <lucasd@nvidia.com>
Reviewed-on: http://git-master/r/205897
(cherry picked from commit 2e8cbf79180a16babd31166f0db7d7a42d725a3f)
Reviewed-on: http://git-master/r/218476
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomedia: tegra: replace dev_warn with dev_notice
Charlie Huang [Thu, 4 Apr 2013 23:22:08 +0000]
media: tegra: replace dev_warn with dev_notice

Messages that are logged as "warnings" which aren't real warnings need
to be dropped down a level so that they aren't flagged.

bug 1249596

Change-Id: I28111610ea5cac9e54e9bcce0ead211a68a045e4
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/216714
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agovideo: tegra: host: use runtime pm and pm domain
Mayuresh Kulkarni [Wed, 16 Jan 2013 12:06:09 +0000]
video: tegra: host: use runtime pm and pm domain

- this commit deprecates the custom acm and replaces it with
runtime pm and pm domains
- runtime pm is used for clock management while pm domains
is used for power-gate management
- for each power gatable domain (represented by .can_powergate flag),
we add a pm domain (3d/mpe for t20/t30, 3d/2d/msenc for t114/t148)
- whenever a device is added to power domain,
it results into populating the dev->pm_domain field. runtime pm &
system suspend calls into domain if a device is part of a domain.
hence replace the dev_pm_ops from drivers whose device are part of
a domain with pm domain call-backs
- it uses delayed power off capability of pm domain to lazily
power-gate a partition associated with a domain/device
- it also ensures that correct dependent domains are ON during
boot-up

bug 887332

Change-Id: I13344ef9a374f1522818b9030551cc2964d208c4
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/211590
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoPM/domains: add delayed power off capability
Mayuresh Kulkarni [Tue, 19 Feb 2013 13:26:30 +0000]
PM/domains: add delayed power off capability

- this commit adds a capability to delay the powering off
of the domain
- callers can use pm_genpd_set_poweroff_delay to set the
power off delay for a domain
- it also adds a pm_notifier per pm domain which cancels
the delayed power off work when system suspend is invoked
- this needs to be done since pm_wq is freezable and causes
resume to fail since no one cancels the delayed power off
work. as a result, this work is run after resume when pm_wq
is unfreezed causing unwanted issues

bug 887332

Change-Id: I1befaa6d898f535e969a564ddae12e22ffc69e2d
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/202037
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>

5 years agoALSA: hda: Cancel delayed work during suspend
Rahul Mittal [Tue, 9 Apr 2013 14:17:21 +0000]
ALSA: hda: Cancel delayed work during suspend

Register hda codec suspend callback which does
cancel_delayed_work_sync() during suspend

Bug 1266206

Reviewed-on: http://git-master/r/217860
(cherry picked from commit 529d36f0d90d38f3cf788c250a7d66c9c68603a2)

Change-Id: I0ac6048e288aedf4df2118ddae2ecba4339d299b
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/218847
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: configs: tegra11: remove ceres support
Bitan Biswas [Thu, 11 Apr 2013 06:41:50 +0000]
ARM: configs: tegra11: remove ceres support

Change-Id: I1c3c4a571ef03303e862c9dd435776090b28b7f3
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/218505
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agothermal: fix warning in add thermal events tracing
Diwakar Tundlam [Thu, 11 Apr 2013 21:32:40 +0000]
thermal: fix warning in add thermal events tracing

Bug 1050412

Change-Id: I1080767ac2711f52aad82e09c0af5a27cf972425
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/218664
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>

5 years agovideo: tegra: host: fix deadlock in pod_scaling
Ilan Aelion [Thu, 4 Apr 2013 19:59:08 +0000]
video: tegra: host: fix deadlock in pod_scaling

podgov_set_user_ctl to call cancel_work_sync after relinquishing lock.

Bug 1266380

Change-Id: I52ba57cfedca7d861e34810a933297790202fadc
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/216625
(cherry picked from commit 14f0f26dac55a68a2ef80a51999128874f2c6bc8)
Reviewed-on: http://git-master/r/218588
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Simo Melenius <smelenius@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>

5 years agovideo: tegra: dc: add event_inject debugfs
Jon Mayo [Thu, 11 Apr 2013 00:06:20 +0000]
video: tegra: dc: add event_inject debugfs

Add event_inject to tegradc.[01] to inject hotplug and bandwidth events.

Change-Id: I34caa93e1bdd3a68f00ac9a4427f15c01cd896c8
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/218433
GVS: Gerrit_Virtual_Submit

5 years agoarm: tegra: free bootloader framebuffer correctly
wazhu [Mon, 8 Apr 2013 01:41:29 +0000]
arm: tegra: free bootloader framebuffer correctly

Release bootloader framebuffer back to kernel page allocator.

Bug 1265336

Change-Id: Ib7bee570d5d07e5a1344c10679c6ba813eb4f387
Signed-off-by: wazhu <wazhu@nvidia.com>
Reviewed-on: http://git-master/r/217170
(cherry picked from commit 780abd9a34e10e7e9a9df5c68b9416bb9257ae9d)
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/218412
Reviewed-by: Automatic_Commit_Validation_User

5 years agoarm: tegra: soctherm: Add critical trip to hwmon with callback
Diwakar Tundlam [Thu, 14 Mar 2013 22:33:21 +0000]
arm: tegra: soctherm: Add critical trip to hwmon with callback

Change-Id: I907debaa9ebfd8aa3f04cc6cdb50561803f5736d
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/215930
(cherry picked from commit 39c789d4dda4c041f565fe52d0476e52e719e49d)
Reviewed-on: http://git-master/r/218371
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agothermal: call correct function in crit_show
Diwakar Tundlam [Wed, 3 Apr 2013 00:53:08 +0000]
thermal: call correct function in crit_show

Change-Id: Ibd821693644d94445d90c50fa284f85bfd0178d1
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/215929
(cherry picked from commit e8975c12dd02fb4d643828bcd283e78212e2c40e)
Reviewed-on: http://git-master/r/218370
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra: dvfs: round dfll minimum voltage
Seshendra Gadagottu [Wed, 10 Apr 2013 20:01:23 +0000]
ARM: tegra: dvfs: round dfll minimum voltage

Round the dfll minimum voltage to PMIC voltage resolution step.

Bug 1268263

Change-Id: Idbeb1576868bc64c981c8705a49f84663f29591d
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/218344
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoi2c: tegra: move error prints from isr to caller context
Laxman Dewangan [Wed, 10 Apr 2013 09:24:50 +0000]
i2c: tegra: move error prints from isr to caller context

To reduce the interrupt processing time in the isr, moving
the warning/error prints from isr context to caller context
as the status of errors are already saved.

bug 1243783

Change-Id: Ib99801d47658af509948d56780bbf612267ec0c4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/218169
Reviewed-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>

5 years agoARM: tegra14: clocks: Increase host1x max rate
Prashant Malani [Wed, 27 Mar 2013 00:00:21 +0000]
ARM: tegra14: clocks: Increase host1x max rate

Increase to 408 MHz to support higher values
on core DVFS tables.

Bug 1246952

Change-Id: Ib401fc19441e0c5e79e0472124d476cd52a36612
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/213349
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

5 years agoarm: tegra: clock: Add lockdep annotations to clock locks
Sami Liedes [Fri, 1 Feb 2013 13:10:21 +0000]
arm: tegra: clock: Add lockdep annotations to clock locks

The clk tree has a tree of locks, which confuses lockdep analysis.

There is a fairly limited number of clocks, and some of them can
occasionally move around in the tree (change parents).

The most obvious way to un-confuse lockdep here is to make each clock
a lockdep lock class of its own. Each of those classes then contains
both the mutex and the spinlock in struct clk.

This change assumes that, for any pair of clocks (A,B), it cannot
happen that at one point of time A is an ancestor of B and later B is
an ancestor of A. Another way to view this assumption is that it is
possible to give a list of all clocks (this list is not explicitly
encoded anywhere, though) sorted in such a way that if a clock A at
any point in time has a parent P, P is always in the list before A.

If this assumption is broken, a lockdep warning might issue (when
running with CONFIG_LOCKDEP=y), and there might be a need for more
complex lockdep annotations. Apparently this is however dictated by
the hardware, so it should hold.

Bug 1226264

Change-Id: Iaec3d672c4d8ac61c097893c283e5fd41214c712
Signed-off-by: Sami Liedes <sliedes@nvidia.com>
Reviewed-on: http://git-master/r/196472
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoaudio: a2220: Handle probe failure
Vijay Mali [Thu, 4 Apr 2013 15:15:00 +0000]
audio: a2220: Handle probe failure

- Avoid unwanted i2c write calls if probe fails.
- Add seperate function for sending boot message.
- Reduce i2c retry count to 1.
- This ensures graceful exit in case of failure.
- Boot log does not show lot of i2c failure messages after the fix.

Bug 1263841

Change-Id: I8a5f4c335e42aea69647f50afc48494084967825
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/216528
(cherry picked from commit 2ff268712b9cbc6b6ef17a1d06748dd2c985dddc)
Reviewed-on: http://git-master/r/217698
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: tegra: clock: Make EMC BW request calculation common
Alex Frid [Sat, 30 Mar 2013 00:39:46 +0000]
ARM: tegra: clock: Make EMC BW request calculation common

Moved EMC bandwidth request calculation from Tegra11 specific code
to commmon tegra emc file.

Change-Id: Ia6f86cb0a4bf99328792baeeae027fa0931f2337
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/215162
(cherry picked from commit d4d4f4b8555afd621c108beb9cf610d8f74d3208)
Reviewed-on: http://git-master/r/217121
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: clock: Remove ISO BW double scaling
Alex Frid [Fri, 29 Mar 2013 23:47:51 +0000]
ARM: tegra11: clock: Remove ISO BW double scaling

ISO clients bandwidth requests were scaled up twice in a row: first
to meet iso share allocation, second to account for overall memory
bandwidth efficiency. This commit applies each scale separately and
choose maximum between the two.

Change-Id: Ic5e673ac02402736a2a1fa9e4ae990edef9a4bf7
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/215161
(cherry picked from commit d5a9d5e52c3e0bb7c551da1b7471a3530f713a09)
Reviewed-on: http://git-master/r/217120
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: clock: Re-factor EMC bw requirement calculation
Alex Frid [Tue, 26 Mar 2013 02:58:22 +0000]
ARM: tegra11: clock: Re-factor EMC bw requirement calculation

- Separated iso EMC shared users (display and camera) from other
bandwidth shared users
- Added shared user id flags to EMC shared users that may affect
maximum iso share allocation
- Determined EMC bw requirement as maximum of total bw requested
by all bw users, and iso bw scaled up to guarantee allocated share

Bug 1253271

Change-Id: If4ab7931c668e063cf607fc43b34e1e09574d0bd
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212913
(cherry picked from commit 9f1571c6b36a7db42c9cc5e4dd4f8df5089e2064)
Reviewed-on: http://git-master/r/217119
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: clock: Add emc use case table
Alex Frid [Tue, 26 Mar 2013 06:31:10 +0000]
ARM: tegra11: clock: Add emc use case table

Added initial table to specify iso bandwidth share dependency on emc
use cases. Just two use cases: display only and display + camera are
identified for now.

Bug 1253271

Change-Id: I499c45914d0296f2106511c8ddecbcdb0a818d7f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212912
(cherry picked from commit e6a58ac6c6eb7faedb7e8fc8ad630092a0bab024)
Reviewed-on: http://git-master/r/217118
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: clock: Support variable iso share with emc usage
Alex Frid [Tue, 26 Mar 2013 05:30:32 +0000]
ARM: tegra: clock: Support variable iso share with emc usage

Added mechanism to determine maximum allowed iso bandwidth share
depending on emc usage. Each use case is identified by a combination
of shared emc user clocks turned on. The list of use cases and the
respective iso share percentage is to be provided by chip specific
tables.

This commit only added variable iso share APIs and emc shared users
enumeration. No platform specific tables are specified, and APIs are
not used.

Bug 1253271

Change-Id: If08ce2c0e180de600ccb28b91381066543659180
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212911
(cherry-picked from commit 5e971cd9a173d6418287e091275c8357bd169dd0)
Reviewed-on: http://git-master/r/217117
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoarm: tegra: macallan: set vdd_rtc to 950mV during lp0
Kerwin Wan [Wed, 20 Mar 2013 06:32:21 +0000]
arm: tegra: macallan: set vdd_rtc to 950mV during lp0

This commit combines f983c88bf407f and 599cee8c196fa
On macallan, vdd_rtc can not be set to 900mV during lp0.
Because when vdd_rtc is set to 900mV, cpu will meet hard hang after
wake up from lp0. Hardware team should do WAT to get the proper margin
for vdd_rtc. Set vdd_rtc to 950mV to avoid this issue now.

Bug 1262674

Change-Id: Ic3ddfeb586a78e6731178bb6bd672dda0ae49566
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/217259
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoarm: tegra: macallan: set initial mode of some smps to NORMAL
Kerwin Wan [Mon, 18 Mar 2013 08:54:00 +0000]
arm: tegra: macallan: set initial mode of some smps to NORMAL

Set the initial mode smps6, smps7, smps8, smps9 to NORMAL
to reduce the power consumption on these rails.

Bug 1255098

Reviewed-on: http://git-master/r/210350
(cherry picked from commit f55062f98cfcc8d3944187bc2f14b205323fb762)

Change-Id: I0458558bb20c243f280a805410a8f2cb5b52e998
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/217258
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoarm: tegra: bbc: fix Coverity issues
Deepak Nibade [Tue, 9 Apr 2013 07:38:54 +0000]
arm: tegra: bbc: fix Coverity issues

handle unchecked return value from function sscanf
Coverity id :
22831 22832 22833 22834
22835 22836 22837 22838

Change-Id: I442d88a9450d8991bf4c6e895245c23e9e1ef2a3
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/217826
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

5 years agoregulator: check for dummy regulator before setting voltage
Vishal Singh [Wed, 10 Apr 2013 03:55:24 +0000]
regulator: check for dummy regulator before setting voltage

Adding check for whether the regulator is dummy before trying to
set its voltage.

Bug 1242910.

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

Change-Id: I9f3c2cee05b8677acee1500d1fdb6c854229c723
Signed-off-by: Vishal Singh <vissingh@nvidia.com>
Reviewed-on: http://git-master/r/208765
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra14: clock: Verify initial cbus pll descendants
Alex Frid [Tue, 9 Apr 2013 06:13:58 +0000]
ARM: tegra14: clock: Verify initial cbus pll descendants

Added initial cbus pll children verification on Tegra14.

Change-Id: I60d21ce63828ca039f5dfffdadd0370ceb924c67
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/217658
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

5 years agoarm: tegra: atlantis: Add sharp 1080p support
Animesh Kishore [Mon, 8 Apr 2013 13:37:05 +0000]
arm: tegra: atlantis: Add sharp 1080p support

-panel driver support
-backlight ic support

Bug 1253675

Change-Id: Ie5314c384ff7b4a4de5833082a2dcb0ccca0cdce
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/217387
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

5 years agoarm: tegra: configs: Add BMP180 module
Erik Lilliebjerg [Tue, 19 Mar 2013 16:51:00 +0000]
arm: tegra: configs: Add BMP180 module

Add BMP180 pressure sensor driver as module.

Bug 1253718
Bug 1242566

Change-Id: Ia2de59ccbe833b9f444fb56234954729edf7b5a3
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/210854
(cherry picked from commit f891baec733e839d02c220fcb934097c29a266be)
Reviewed-on: http://git-master/r/212246
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: board support for sensors
Erik Lilliebjerg [Wed, 20 Mar 2013 07:29:32 +0000]
arm: tegra: board support for sensors

Added support for BMP180 pressure sensor and auto-detection of AKM89XX compass.

Change-Id: I3e45250e7b4e2887d79bd62a402ddcdc0d057b92
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/211081
(cherry picked from commit 00811e96be2c6ac4139a6b24b39cf44ddcf20bda)
Reviewed-on: http://git-master/r/212245
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agogpio: tegra: Fix definition of TEGRA_GPIO_INVALID
Laxman Dewangan [Thu, 17 Jan 2013 12:56:12 +0000]
gpio: tegra: Fix definition of TEGRA_GPIO_INVALID

Make the TEGRA_GPIO_INVALID is -ve so that gpio_is_valid() return false
with this argument.

bug 1214078

(Cherrypicked commit
009d7eb3fa5945f4521a53eaa2234eba754eccaf)

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

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

5 years agoregulator: palmas: fix build warnings
Laxman Dewangan [Thu, 4 Apr 2013 09:07:37 +0000]
regulator: palmas: fix build warnings

Fix following build warnings:

drivers/regulator/palmas-regulator.c: In function 'palmas_disable_smps10_boost':
drivers/regulator/palmas-regulator.c:1035:6: warning: unused variable 'i' [-Wunused-variable]
drivers/regulator/palmas-regulator.c:1032:15: warning: unused variable 'reg' [-Wunused-variable]
drivers/regulator/palmas-regulator.c: In function 'palmas_enable_smps10_boost':
drivers/regulator/palmas-regulator.c:1052:6: warning: unused variable 'i' [-Wunused-variable]
drivers/regulator/palmas-regulator.c: In function 'palmas_enable_ldo8_track':
drivers/regulator/palmas-regulator.c:1077:6: warning: unused variable 'i' [-Wunused-variable]

(Cherrypicked commit
f7d9b94a647c05da629d989ff5b2184da0df1d3b)

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

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

5 years agoARM: config: tegra11: enable EXTCON_PALMAS
Laxman Dewangan [Sun, 24 Feb 2013 15:37:40 +0000]
ARM: config: tegra11: enable EXTCON_PALMAS

bug 1229629

(Cherrypicked from commit
cf761362461a2056dd49758712ada31881c30749)

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

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

5 years agomfd: palmas: Fix regmap size for palmas-pinctrl
Sumit Sharma [Tue, 9 Apr 2013 05:45:43 +0000]
mfd: palmas: Fix regmap size for palmas-pinctrl

Fix regmap size for palmas-pinctrl submfd device

Change-Id: I9fd54dbfab33bdfb42d6364302c483497c70f869
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/217654
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoARM: tegra: pluto: enable id detection using pmu
Rakesh Bodla [Tue, 9 Apr 2013 05:06:23 +0000]
ARM: tegra: pluto: enable id detection using pmu

Enable id detection using PMU ID interrupt.

Bug 1227226

Change-Id: Ibb65f1f76fc90062414b015efa65bffdd52c52a7
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/208407
(cherry picked from commit bb08550845c7dd0773a84dba9132c0c23e4f8478)
Reviewed-on: http://git-master/r/217637
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agousb: otg: tegra: mask interrupt status value
Rakesh Bodla [Wed, 3 Apr 2013 12:19:03 +0000]
usb: otg: tegra: mask interrupt status value

ID and VBUS detection can happen through different ways.
Masking the interrupt status based on type of interrupts
enabled in USB controller for correct interrupt status.

Bug 1227226

Change-Id: Ibd5acfacabf78681ff54dcc721879f2935b5f836
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/216129
(cherry picked from commit 8cf73997e720645a2d1c7eadafc3970fcb540873)
Reviewed-on: http://git-master/r/217636
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agodrivers:max77660: Adds support for Linux regular "fast" mode
Alexandre Berdery [Mon, 8 Apr 2013 16:21:45 +0000]
drivers:max77660: Adds support for Linux regular "fast" mode

Using Linux "normal" mode case for both "normal" and "fast", then
setting bits to enable PFM for "fast" and bits to enable PWM for
"normal".

Bug 1248089

Change-Id: I688aa86092e028e17fe3b83e40d95e5de2109653
Signed-off-by: Alexandre Berdery <aberdery@nvidia.com>
Reviewed-on: http://git-master/r/217414
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Neil Patel <neilp@nvidia.com>
Tested-by: Neil Patel <neilp@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agommc: tegra: check clk source rate with desired clk
rrajk [Mon, 8 Apr 2013 12:30:50 +0000]
mmc: tegra: check clk source rate with desired clk

Check the source clk rate before calculating the nearest clk
frequency for desired clk rate.

Change-Id: If476d301ee4a8fe5469a26d83551e4bed4758479
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/217367
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>