summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2011-08-04ARM: tegra: Enable cdev1 clk from board fileSumit Bhattacharya
Enabling cdev1 clk or DAP Mclk from board file instead of codec soc file because Mclk needs to be enabled before codec initialization. Also exposing set_parent() for cdev clocks so that it is possible to enable them from board file. Bug 827709 Bug 839210 Bug 821178 Reviewed-on: http://git-master/r/37631 (cherry picked from commit 6643460bd1fa0b8cdf9ddfc75dd3dd228093819f) Change-Id: Ie7fa948aead75c6e7e6c32a280ee336d8341ccbe Reviewed-on: http://git-master/r/44978 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-08-03Revert "usb: host: ehci-tegra: Power saving on USB suspend"Bharat Nihalani
This reverts commit a5dc52ce49d00bba963544251a1fe858e774780b. Bug 857124 Change-Id: Ib8c350b44d8334894f96439b67a8a41acabff848 Reviewed-on: http://git-master/r/44493 Reviewed-by: Joshua Cha <joshuac@nvidia.com> Tested-by: Joshua Cha <joshuac@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-08-03ARM: tegra: Modify DDC (i2c2) clock rate as 100KHzHaley Teng
Per the 8.4.1 section of HDMI spec version 1.4a, 100KHz is the maximum clock rate of DDC i2c bus. Bug 820552 Signed-off-by: Haley Teng <hteng@nvidia.com> Reviewed-on: http://git-master/r/41490 (cherry picked from commit fba535096a0c0e3ff9ef72492ed582605aa7cd97) Change-Id: Id7b4fe95ef623ba95e7a9df3e02162c24ee750df Reviewed-on: http://git-master/r/44290 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-08-01ARM: tegra: pm: Do not use ioremap for sys memPrashant Gaikwad
ARMv6+ architecture does not allow ioremap on system memory. lp0 is relocated using ioremap on DRAM. If lp0 vector start address is in system memory then use memblock_reserve and do not relocate. Else if it is overlapping with carveout/fb then first remove the carveout/fb using memblock_remove and then use ioremap. Bug 827199 Change-Id: Ic602f0f2495756213face30681018529128e57b9 Reviewed-on: http://git-master/r/43685 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-07-28ARM: tegra: whistler: kbc: Reducing scan timeoutPradeep Goudagunta
Reducing the scan timeout for the continuous polling mode from 3sec to 2 sec to have faster suspend. Bug 845098 Change-Id: Iec9c0cda0bc4dbe91fd683aaa9c92ef4033f1314 Reviewed-on: http://git-master/r/40222 Tested-by: Victor Ryabukhin <vryabukhin@nvidia.com> Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-07-27usb: host: ehci-tegra: Power saving on USB suspendJoshua Cha
In current implementation, the HSIC port cannot have PHY power off without re-enumeration when it is suspended. This patch will do following upon USB port suspend: * disable the USB PHY clock * disable the shared EMC clock * keep the USB core but running it at 0.95v VDD With this patch, VDD can be reduced to when the HSIC port is suspended. There is no re-enumeration when HSIC port is resumed, also it will not affect the normal LP0 suspend/resume. BUG 817725 BUG 796594 (cherry picked from http://git-master/r/30224) Change-Id: Ie0553335ae50bca1a91e94d46d14bb9127874ae4 Reviewed-on: http://git-master/r/37226 Reviewed-by: Joshua Cha <joshuac@nvidia.com> Tested-by: Joshua Cha <joshuac@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-26arm: tegra: correct 3D power gate WAR.Roger Hsieh
3D power gate should be always disabled to keep the power. Set T20 enabled by default. Bug 843271 Change-Id: Icf464cd107e65636440f8103ac6b104e2939e8b9 Reviewed-on: http://git-master/r/40342 Reviewed-on: http://git-master/r/43175 Reviewed-by: David Schalig <dschalig@nvidia.com> Tested-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-25tegra: clock: Add WAR for AP25 EMC scalingPrashant Gaikwad
AP25 EMC scaling ladder is 23.75/63.33/95/190/380. Device will freeze when clock rate is changed from < 95 to 380. WAR added: Set clock rate to 190 first and then required clock rate. Bug 821534 Change-Id: Idfd12bdba72e2918dfe0b59c5c54d02b87ec73ea Reviewed-on: http://git-master/r/41720 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2011-07-25ARM: tegra: clock: Use bus lock to protect shared bus updatePrashant Gaikwad
Protected shared bus update with bus lock - common for all shared bus users (update procedure was already covered by individual shared users locks, but it did not prevent concurrent access to shared rates list). Reviewed-on: http://git-master/r/39918 (cherry picked from commit 09ca93ccf0c8400a876a23eef3cd771f2f4ac9d2) Change-Id: Ie660fcb8c962712ceaa230a9dead684fcaf37d24 Reviewed-on: http://git-master/r/42589 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2011-07-25arm: tegra: fuse: fix multiple issuesVarun Wadekar
- handle scenarios when the number of fuses burnt is a odd number - wait for the fuse bock to be idle before issuing any command - burning of master_enb fuse is not required to be done according to the guidelines Bug 823552 Reviewed-on: http://git-master/r/35883 Bug 836963 Change-Id: I645da7e5ffbce10e3492c7e1bfe14be14e65b789 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/42313 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-25tegra: usb: phy: USB charger detection supportRakesh Bodla
USB PHY related charger detection logic is implemented. Bug 819334 Change-Id: Ica7e66509d52d787cc5c25434b45534176bc8dc7 Reviewed-on: http://git-master/r/42298 Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Tested-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
2011-07-25ARM: tegra: whistler: Add 23.75/63.33/95 ladderPrashant Gaikwad
Added 23.75/63.33/95 EMC scaling ladder for AP25. Bug 821534 Change-Id: Id753369d5b3822cec400ce550c12b61581532099 Reviewed-on: http://git-master/r/41722 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
2011-07-22tegra: clock: Change BUG_ON cond to accept non-exact ratePrashant Gaikwad
EMC rate is specified in terms of KHz in dvfs table. In calculation it is used after converting it to Hz i.e. mulitplying by 1000. BUG_ON condition modified to accept non-exact EMC frequencies in the range of 2 KHz. Bug 821534 Change-Id: Id9c5d3fc3f6841c71155afea0ad31a696037a57f Reviewed-on: http://git-master/r/41718 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-22arm: tegra: dvfs: use 1.1 v for usbWen Yi
Set the working voltage for USB to 1.1 v. Bug 796594 (cherry picked from http://git-master/r/30219) Change-Id: I4800c60b8aa4068d0d27e29dab43dadfb4e2d82c Reviewed-on: http://git-master/r/37211 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-22arm: tegra: whistler: defconfig: enable pca953xVarun Wadekar
Bug 836963 Change-Id: Ib4de276ae6ed1b48b90b4f6538ef1a99a21e8ab2 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/42318 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-22ARM: tegra: restore voltage to nominal when rebootBo Yan
At the time of reboot, all rails need to be set to nominal to ensure the success of subsequent boot. bug 821969 bug 797082 Reviewed-on: http://git-master/r/30086 (cherry picked from commit 2218f77d722bdd7a6830cfccb0e7f310b7bca48c) Change-Id: Ic853ab47e9a42ae6b549b5549af0b118ec9e00d1 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/42117 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-22arm: tegra: whistler: add tca6416 deviceVarun Wadekar
the gpio used for vdd_fuse is powered on by the i2c expander (GPIO_P02) present on the pmu board. Bug 836963 Change-Id: Ie54cd1f81f6d833757615f707bac1a4336ce8174 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/41738 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-22arm: tegra: fuse: declare tegra_fuse_regulator_en() as externVarun Wadekar
platforms need to implement their fuse power on functions if they do not use regulators to power on the fuse block Bug 836963 Change-Id: Ie70bf3c699c94a6bde90e45529bb1049e86a1461 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/41737 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-21arm: tegra: pm: Relocate lp0 vectortegra-10.11.12Prashant Gaikwad
LP0 vector is allocated by BL and address is shared to kernel. For platform with memory less than 1GB it was allocated in the overlapping region of carveout memory. Because of it during AVP operation it gets corrupted, which prevents resume. Relocate AVP vector to some other location where overlapping will not occur. Bug 827199 Change-Id: I8ec066d8c38c34b0bd9314abe20b2e01b4a3a293 Reviewed-on: http://git-master/r/42113 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-21Revert "video: tegra: add mmap support for framebuffer"vidyasagar
This reverts commit 2b96783fd25eb2153cab2fb6ff92b2bacc809bed. Recovery process is hanging because of this change. Bug 848403 Bug 800107 Change-Id: I1b7d3f6c08d6db40eda077e5f128c4bf3be681ac Reviewed-on: http://git-master/r/41818 Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Kaushik Sen <ksen@nvidia.com> Reviewed-by: Joseph Lehrer <jlehrer@nvidia.com> Tested-by: Joseph Lehrer <jlehrer@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
2011-07-21ARM: tegra: statmon: Remove write permission for sysfsSachin Nikam
CTS File permission test expects there shouldn't be any writable permission for Group and Others for any file in kernel. Bug 840409 Change-Id: Ia31aa02e9e49840823ec080ab7d42c2c197f0602 Signed-off-by: Sachin Nikam <snikam@nvidia.com> Reviewed-on: http://git-master/r/41540 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com> Tested-by: Manoj Gangwal <mgangwal@nvidia.com>
2011-07-18arm: tegra: whistler: defconfig: enable uid_stat and crypto.Rahul Bansal
Required to pass android.net.cts tests. Bug 789868 Change-Id: Ie43c02b4c4b03d929744678c399bbad980658ed3 Reviewed-on: http://git-master/r/41234 Reviewed-by: Rahul Bansal <rbansal@nvidia.com> Tested-by: Rahul Bansal <rbansal@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-13ARM: tegra: clock: Add shared bus users rate printoutPrashant Gaikwad
Change-Id: I115ab2464378df094dae67268c919980bd72b843 Reviewed-on: http://git-master/r/39785 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-11video: tegra: add mmap support for framebuffertegra-10.11.11Nitin Kumbhar
fb_mmap maps current window so that content of screen is accessible through mmap sys call to user space components. BUG 832288 Change-Id: I10ccb0b70c951f6d43dbd8a7a1e59e86c0ee75e9 Reviewed-on: http://git-master/r/39204 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2011-07-11arm: tegra: whistler: enable usb rndis driver.Sheshagiri Shenoy
bug: 842809 Change-Id: I68f8a4c358c490c0b66ee55f49de460aced50139 Reviewed-on: http://git-master/r/40096 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2011-07-11arm: tegra: fuse: accept strings starting with 0x/xVarun Wadekar
some users might enter fuse data starting with 0x/x. this will mess up the fuse programming. do not consider 0x/x while programming the fuses. also fix some compilation warnings Reviewed-on: http://git-master/r/#change,38933 (cherry picked from commit fc8e1e492ac362a44ea6254759431d8f1fb1695c) Bug 836963 Change-Id: If0503d4e22479e2ce230d53f538eea16d39817df Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/39614 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
2011-07-11arm: tegra: fuse: new programming sequenceVarun Wadekar
- vdd_core needs to be 1.14V min before fuse write/read - add wait_for_idle before accessing fuses - add proper programming of PRIV2INTFS field Bug 841766 Reviewed-on: http://git-master/r/#change,37618 (cherry picked from 8430b859578af1c0a25954d7b018430941943892) Bug 836963 Change-Id: I9ec96f54c39834d42043f440b087c7498b1ecd73 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/39613 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
2011-07-07arm: tegra: whistler: Provide uart platform dataLaxman Dewangan
Providing the uart platform data to select the clock source from given parent list of clocks. The driver will select the clock source with minimum error between calculated and requested baudrate. bug 825530 Change-Id: If6b882b2fb507cee2553136a3b7f98f0571964ed Reviewed-on: http://git-master/r/39011 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-07-07ARM: tegra: whistler: Add clk_limit to platform dataHarry Hong
Adding clk_limit to platform data used at sdhci host driver to limit clock. whistler only supports up to 24MHz. bug 845180 Change-Id: Ifb872359095d0f2276d417ab1edc3cec4d79a52f Reviewed-on: http://git-master/r/39524 Tested-by: Harry Hong <hhong@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2011-07-07arm: tegra: dvfs: add entry for fuse_burnVarun Wadekar
Bug 841766 Reviewed-on: http://git-master/r/#change,37617 (cherry picked from commit b0d7c345cca68450cd433f626947054d42403d52) Bug 836963 Change-Id: I37fa7a0e65f42d17c06f69917f81392094022a25 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/39612 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-07arm: tegra2: clocks: add fuse and fuse_burn clocksVarun Wadekar
keep fuse clock always enabled to allow fuse read writes from multiple clients Bug 841766 Reviewed-on: http://git-master/r/#change,38402 (cherry picked from commit e507984a9a8b5d1e012d5157f3259ed54e354ad1) Bug 836963 Change-Id: Ia6b554c861e292af9c9d1a9ebd47b17a2ce170d7 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/39611 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-05ARM: tegra: kbc: Update key-matrixPuneet Saxena
The key-matrix is updated for the case scroll-wheel is not enabled. Bug 847651 Change-Id: I904fd16b284dde95836601378dcb049a97766393 Signed-off-by: Puneet Saxena <puneets@nvidia.com> Reviewed-on: http://git-master/r/39553 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-05ARM: defconfig: Disable INPUT_ALPS_GPIO_SCROLLWHEELBharat Nihalani
Scrollwheel driver is not needed on phone platforms since we already have touch-screen on it. Hence the scrollwheel driver on Whistler is disabled; it was also causing problems in suspend-resume use-cases. Bug 841686 Change-Id: I730ba3fb126619ed81caad6f801b1d8876d90d39 Reviewed-on: http://git-master/r/39517 Reviewed-by: Puneet Saxena <puneets@nvidia.com> Tested-by: Puneet Saxena <puneets@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-05ARM: tegra: usb: USB controller set to resetPrashant Gaikwad
1. The usb UTMIP controllers are set to reset mode when there is no usb cable. 2. Power down the reciever circuitory. 3. Set the OTG_PD for instances which do not use OTG. 4. Turn off the pad power when hotplug support is not supported. Bug 829628 Change-Id: Icbf82da7d3f35ea882d8a212a01d04c4d536fd0d Reviewed-on: http://git-master/r/39352 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
2011-07-01arm: tegra: ventana: Use proper variable nameLaxman Dewangan
Using proper variable name for uart related api and variables. Change-Id: I1f431357c3cfacba9d5eea5b9e9da872b498df20 Reviewed-on: http://git-master/r/39012 Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2011-06-30ARM: tegra: clocks: Changed parent and init valuesPrashant Gaikwad
pll_m initialized to 0 so that it stays at the frequency configured by BCT. For AP25 pll_m runs at 760MHz. Peripherals connected to pll_m and running at frequency not multiple of 760MHz switched to pll_c. Bug 821534 Change-Id: I390b16a31194ad3efe79e68dfbcf371e225cfc70 Reviewed-on: http://git-master/r/36050 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2011-06-30ARM: tegra: clock: Update bus operationsPrashant Gaikwad
Relaxed bus set rate success condition: instead of exact rate require closest rate below the request (makes bus clocks configurable from sources/PLLs with variable frequencies). Bug 821534 Change-Id: I491f8841cf2ca206a54beb1c24c84f470d08eb4b Reviewed-on: http://git-master/r/38868 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2011-06-30ARM: tegra: whistler: Enable EMC scaling for AP25Prashant Gaikwad
EMC DVFS table added for AP25 with 380/190 ladder. Bug 821534 Change-Id: Ic5f936924b4d6b2f3ce52b412e4bb5f2a57ac661 Reviewed-on: http://git-master/r/36051 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-30arm: tegra: whistler: enable usb rndis supportVarun Wadekar
Bug 842809 Change-Id: Idb3fde5c3287143e4e67a2083fddd1a07f1d630f Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/38960 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-29arm: tegra: ventana: Add board entry for uart.Laxman Dewangan
Adding the uart initialization as separate function and handling the clock and device registration. It also provides all possible clock source and their handle to driver so that driver can use this clock information to select baud rate dynamically. bug 842665 Change-Id: Ib5ec368b8ceb2df47f48f72aefee4af1b113b913 Reviewed-on: http://git-master/r/38428 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2011-06-29arm: tegra: clock: Adding clock entry for serial8250 driver.Laxman Dewangan
Adding the clock detail entry for the driver serial8250. bug 842665 Change-Id: I38c4195a3b6522978b60f9212053589c2eafce53 Reviewed-on: http://git-master/r/38427 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2011-06-27arm: tegra: whistler/ventana: dynamic cpufreq governorWen Yi
To improve the power consumption situation for MP3 playback the scaling governor is set to conservative when display is turned off and the default governor is saved. The governor is restored when display is turned on. Bug 817727 (cherry picked from commit 4c0e831af450f0e5af65e8d09c8d347d23073b65) (cherry picked from http://git-master/r/35000) Change-Id: I73fc9e2851eae36c488e17cb97423c44101e1ba5 Reviewed-on: http://git-master/r/37187 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-24arm: tegra: power: fix LP2 scheduling in atomicXin Xie
disable_irq() will do schedule() if threaded IRQ handler is running. But suspend_cpu_complex() is called from IRQ disabled. disable_irq_nosync() should be used here because it will not sleep. BUG 841808 Change-Id: Ib13e31adc7a8591c668dd729995e50e0db885641 Reviewed-on: http://git-master/r/37505 Reviewed-on: http://git-master/r/38191 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2011-06-24ARM: tegra: add 504MHz entries to pll_d tableJoseph Lehrer
bug 837571 Change-Id: Ib35167cf9d6e0fd2c81304201802157ee81c44d0 Reviewed-on: http://git-master/r/37908 Reviewed-by: Joseph Lehrer <jlehrer@nvidia.com> Tested-by: Joseph Lehrer <jlehrer@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2011-06-20ARM: tegra: rw permissions for TEGRA_MC_ATTRIBUTESManoj Gangwal
Change the permission to 644 for 'enable' and 'quantum' TEGRA_MC_ATTRIBUTES to disable the write permission as CTS test "android.permission.cts.FileSystemPermissionTes t#testAllFilesInSysAreNotWritable" requires it as non-writable. Bug 840411 Change-Id: I2ae26cd707b0b1c6bc7c8507a67b1c9411b22709 Reviewed-on: http://git-master/r/36878 Tested-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-16mmc: tegra: disable broken deferred resumeDavid Schalig
MMC_BLOCK_DEFERRED_RESUME causes race conditions in the SD/MMC driver, i.e. mmc_sd_detect() will be called from different threads causing inconsistent state. Disabling feature for Tegra. Bug 833034 http://git-master/r/#change,36254 (cherry picked from commit a8b6bb5de9b9645ecdabc3e954f04898e45e9038) Change-Id: Ie28fa42e28ab98d8bffef7e48591cbec98af5fe2 Reviewed-on: http://git-master/r/36430 Reviewed-by: Yuhao Ding <yding@nvidia.com> Tested-by: Yuhao Ding <yding@nvidia.com>
2011-06-16ARM: tegra: confiure AHBDMA gizmo setting.Jay Cheng
Bug 820602 Reviewed-on: http://git-master/r/35954 (cherry picked from commit 2d6cac283c1121b9a90b742b5dcf80141422eac6) Change-Id: I6149c878061bace0c191a0d45ddd7e5b8ffce4cd Reviewed-on: http://git-master/r/36683 Tested-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-16ARM: tegra: pm: save/restore ahb bus registersJay Cheng
Bug 814896, 820602 Reviewed-on: http://git-master/r/35948 (cherry picked from commit 4b9158b73bd5b5ae9b1059d31e062362d4732064) Change-Id: I2ac442aa45eb11b47a97320524f7b82d9f2296d7 Reviewed-on: http://git-master/r/36675 Tested-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-15ARM: tegra: clocks: Add shared sclk for statmonPrashant Gaikwad
H/W statistics monitor for AVP controls sclk depending on load. Instead of overriding avp.sclk rate, separate sclk client added for statmon so that busy hints from AVP can be handled. Bug 831892 Change-Id: Ieaa43525d7582810095a2200486019ae9b4a7553 Reviewed-on: http://git-master/r/36057 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-15ARM: defconfig: Enable H/W stat mon for whistlerPrashant Gaikwad
Bug 831892 Change-Id: I861df5881bb7f861aeb3986b70df2f6268bab98c Reviewed-on: http://git-master/r/36107 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>