summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2012-08-20ARM: tegra: e1853: Add build support for E1853Ashwin Joshi
E1853 is T30 based automotive platform. Modify Makefile to support build of E1853 board. Also, added config option to Kconfig file. Bug 966833 Bug 1018258 Change-Id: I18dc015b79256fde1c77947198b426a0060a9017 Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com> Reviewed-on: http://git-master/r/118932 Reviewed-by: Sandeep Trasi <strasi@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User (cherry picked from commit bed57d893803f2ccef8f40bd30bdf1e8a44f184b) Reviewed-on: http://git-master/r/119652 GVS: Gerrit_Virtual_Submit Tested-by: Haribabu Narayanan <hnarayanan@nvidia.com> Reviewed-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2012-08-20ARM: tegra: cardhu: adjust ov2710 power sequenceCharlie Huang
To fix an instability issue, the power sequence is updated to match the specification for this device. bug 1031318 Change-Id: I3970af7ae8ed2baa6060f548242b0093040afb53 Signed-off-by: Charlie Huang <chahuang@nvidia.com> Reviewed-on: http://git-master/r/122867 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Patrick Shehane <pshehane@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2012-08-16ARM: tegra: usb: handle device connect in lp0Krishna Yarlagadda
When a otg cable is connected along with device during lp0 system will wakeup but might not complete device enumeration before going back to lp0. In this case we have to handle pmc disable. Bug 1024456 Change-Id: I9acbf434e58776c3d58de1b28d442d6b20b256d0 Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-on: http://git-master/r/123383 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-16gpio: tegra: hide tegra_gpio_enable()/disable()Laxman Dewangan
The direction apis and irq_set_wake() support the configuration of pins in gpio mode and hence it is not require to export the apis for gpio_enable()/ gpio_disable(). Hiding these api. Change-Id: I5493e4f270df85da21afb6500ac841f4fa4b522a Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/119616 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-08-16ARM: tegra: clocks: Frequency stats for SCLK/CBUSSrikanth Nori
This adds a frequency histogram of the frequencies that SCLK and CBUS clocks go to over time. Stats are presented in the debugfs at /d/clock_stats/cbus and /d/clock_stats/sclk only if debugfs is enabled in config Change-Id: Icae83329612958d8ed4318b2e10c487683d9d734 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/118380 Reviewed-by: Wen Yi <wyi@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
2012-08-16video: tegra: dc: disuse notifierIlan Aelion
Due to issues with rcu notifiers on secureos, modifying dc flip notifications to use a simple callback instead. Bug 1028850 Change-Id: Iebf2a6d64d7316e3df2b88444201f9f9a29698c5 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/123103 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
2012-08-15arm: tegra: la: refactor la code.Krishna Reddy
This is necessary to support future tegra SOC's. Change-Id: I2f6ce328e30a6895dce16d82c4097291339155cd Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/123146 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Mark Stadler <mastadler@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-08-15mm: Avoid freeing init and initrd memory when CPA is enabled.Krishna Reddy
Align memblock reserve for text area to PMD size. Reserve the memory hole between DRAM start and Page table start. Add Sanity check to avoid section split in text area. Bug 1028787 Change-Id: I586e4ad6e3a94aa0c79b302e51156dbe089e481f Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/121883 (cherry picked from commit 65d02640b4b0b38263687c7f3e664c873237dc43) Reviewed-on: http://git-master/r/123431 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-15ARM: tegra: power: Trace LP2 entry and exitAntti P Miettinen
Add traces for measuring LP2 entry/exit times. Bug 960304 Change-Id: I20bb0f8d55a7ed6f7e88e10d924871a3d09f2507 Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com> Reviewed-on: http://git-master/r/123313 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2012-08-15arm: tegra: E1506 Tristate, pull down LCD pinsPrem Sasidharan
Tristate and pull down LCD pins D0-D23, LCD_PWR* and LCD_CS*_N pins for E1506 DSI panel. Reduced the power consumption on VDDIO_LCD to 0.37mW for PM269 with E1506 DSI panel. Bug 1007512 Bug 1015349 Signed-off-by: Prem Sasidharan <psasidharan@nvidia.com> Change-Id: Ic54d1ca71f5ff92742f70915b7b27104c0a508a6 Reviewed-on: http://git-master/r/123172 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-08-15ARM: tegra: enterprise: set I2S as slave mode.Ankit Gupta
Setting default I2S mode as slave. This will help in power optimization of around 4mW. Change-Id: Ic2d702c332283bd0f6c4f73615e8097fb3b16ef9 Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Reviewed-on: http://git-master/r/122943 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-15ARM: tegra: p1853: get rid of tegra_gpio_enable()Laxman Dewangan
The gpio mode is enabled when setting direction and disabled when freeing gpio and hence this call is no more required. Change-Id: Ic40a506a54ee8fe125c0c1f56a8857fb290fcccb Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/122938 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-15ARM: tegra: p852: get rid of tegra_gpio_enable()Laxman Dewangan
The gpio mode is enabled when setting direction and disabled when freeing gpio and hence this call is no more required. Change-Id: I30647b96fa2a120fb323c18e97bc9936a95c305d Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/122937 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-15mm: Fix incorrect cache attribute restoration.Krishna Reddy
armv7 uses cache policy as WRITEALLOC. CPA is restoring the cache attributes to WRITEBACK during set_pages_array_wb(). Fixed issues in pmd to pte prot translation and vice versa. Change-Id: I8406b784f62d559f657ef7bc08e77c83ac6e5690 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/122472 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-15arm: tegra: xmm: adding callback for L0 sequence.Shawn Joo
adding callback of xmm modem for L3->L0 power sequence. Bug 1030815 Change-Id: I4997f56819726a55fc8268a1011bc98ff6baf8ca Signed-off-by: Shawn Joo <sjoo@nvidia.com> Reviewed-on: http://git-master/r/122960 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-14ARM: tegra: Ignore PmQos when disabledSai Charan Gurrappadi
The cpu hotplug drivers should only bother updating state or switching to the G cluster if the driver is not disabled Bug 1032096 Change-Id: Ice938b094bbf48fef47afa3915b1a48362fb256d Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com> Reviewed-on: http://git-master/r/122859 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2012-08-14ARM: tegra: cardhu: report correct height/widthRakesh Iyer
We will report the exact width/height instead of rounding it off for Android's bucketed dpi values. The determination of the bucketed dpi values is handled in user mode. Bug 1003707. Change-Id: Id3d4b9fc325187067e2d3df895ff6a753b730633 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/121431 Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-08-13tracing: Clock lock trace eventsAntti P Miettinen
Add tracing for clock lock/unlock operations. Bug 960307 Change-Id: Id5c2d8be25900bc701e5dcd73f87c068ab6e5894 Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com> Reviewed-on: http://git-master/r/122666 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2012-08-13E1853 BRINGUP: HDMI bringupDongfang Shi
- Register HDMI device. - Panel init also registers HOST1x. - HDMI is fully functional - Hotplug detect GPIO, DDC bus works fine. bug 966833 bug 1018258 Change-Id: Ia04fbfb9b9ddcf81cef241f3cd1187cdc87d159d Reviewed-on: http://git-master/r/119118 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Raymond Rees <rrees@nvidia.com> Tested-by: Dongfang Shi <dshi@nvidia.com> (cherry picked from commit c62d307b84a034bae31afce67b8755d500170f58) Reviewed-on: http://git-master/r/119743 Reviewed-by: Bob Johnston <bjohnston@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-08-10ARM: tegra: enterprise: get rid of tegra_gpio_disable()Laxman Dewangan
The gpio mode is enabled when setting direction and disabled when freeing gpio and hence this call is no more required. Change-Id: Ib384ec9295184ee6d3b2edcf76b0c99bcd28e25a Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/122117 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-08-10ARM: tegra: harmony: get rid of tegra_gpio_disable()Laxman Dewangan
The gpio mode is disabled when freeing gpio and hence this call is no more required. Change-Id: I21f0f098a4ed741984c474996ba13d7390617646 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/122116 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-08-10ARM: tegra: aruba: get rid of tegra_gpio_disable()Laxman Dewangan
The gpio mode is disabled when freeing gpio and hence this call is no more required. Change-Id: I61469ec85713e3599245c59d2311f869ba03335b Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/122115 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-08-10arm: tegra: usb_phy: remote-wake for LS devicesSuresh Mangipudi
Remote wakeup was not working for low speed devices. Remote wakeup interrupt is now handled properly for low speed devices. Bug 1029608 Change-Id: If224f30ccc6275b97d50120fe04d9aa53d495e2e Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-on: http://git-master/r/122367 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-10arm: tegra: usbphy: disable PLLU clockSuresh Mangipudi
Disable the MASTER_BLASTER clock for the null phy interface when usb_bus is suspended. Bug 992861 Change-Id: I86ff559148f9a128ee48bbea2564493f4286b420 Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-on: http://git-master/r/120006 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-10arm: tegra: xmm: device set to null in unregisterVinayak Pane
hsic_unregister is being called multiple times during two step enumeration process of xmm. In failure cases when enumeration does not complete properly, kernel panic is seen because of extra unregister-ehci device. Bug 1016593 Change-Id: Ibaeb20ed0dab0e906741fdfad78f7d89a3672f60 Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/116626 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-09arm: config: tegra3: enable ipv4/ipv6 filtersMohan T
Android jb need ip filters to be enabled to track data uses. Bug 1019233 Change-Id: I8073643a4a7c34e428c02682a3afc5a23fbcf344 Signed-off-by: Mohan T <mohant@nvidia.com> Reviewed-on: http://git-master/r/122051 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-08-09arm: tegra: usb_phy: remove duplicate codeRakesh Bodla
Remove duplicate code. Change-Id: I9c9979f489d93c458f5e494fbb69008b89578b8d Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/121988 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-09arm: tegra: usb_phy: fix null pointer dereferenceRakesh Bodla
Fixing the null pointer dereference crash. Also modifying USB driver not to give up in case if there is no avdd_usb regulator. Bug 1029852 Change-Id: I3232b7fa1580a0dc1aadd47b138e5eeae05af6f0 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/121984 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-08arm: tegra: xmm: protect xmm power stateVinayak Pane
Added protection locks for xmm power state. Moving prints outside of spinlock. Revisit spinlock on global flags and rearrange in irq. Avoid kernel crash in case of remote-wakeup detected. Protect ipc_ap_wake_state in xmm on & off. Bug 1010131 Change-Id: Id53598b09bececd6f4ff1a948a492e6fcc56628c Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/108427 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Michael Hsu <mhsu@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-08-08pwm: tegra: resource allocation through devm_*Kunal Agrawal
Using the devm_* for memory region allocation and clock handler request. As a result, there is no need to explicitly free them and hence saving some code. Change-Id: Id69d40bd44622105ea4f8a37426dd83a694adb8d Signed-off-by: Kunal Agrawal <kunala@nvidia.com> Reviewed-on: http://git-master/r/121581 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-08-08ARM: tegra: e1853: Update pinmux table entriesAshwin Joshi
Some of the entries in pinmux table are incorrect. Updated the table with correct entries. Bug 966833 Bug 1018258 Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com> Change-Id: I7ca486246fd51d83e865a9ef825be33011404a89 Reviewed-on: http://git-master/r/118282 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Ashwin Joshi <asjoshi@nvidia.com> Reviewed-by: Bhavesh Parekh <bparekh@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> (cherry picked from commit a1aef89788f8660e7579a8ad555f1ef68d4c553b) Reviewed-on: http://git-master/r/119651 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-08ARM: tegra: e1853: Add e1853 defconfigAshwin Joshi
Add a defconfig file for E1853 board Bug 966833 Bug 1018258 Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com> Change-Id: I7cbde666acbe13fcaca2f56d877e0b4872756c17 Reviewed-on: http://git-master/r/118281 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Ashwin Joshi <asjoshi@nvidia.com> Reviewed-by: Bhavesh Parekh <bparekh@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> (cherry picked from commit 465ba7c85429964a7937a6683376d72e396ebe47) Reviewed-on: http://git-master/r/119650 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-08ARM: tegra: e1853: Add board support for e1853Ashwin Joshi
E1853 is T30 based Automotive platform. Changes done: 1. New board specific files added 2. Added new machine number for E1853 3. Added pinmux configuration for E1853 Bug 966833 Bug 1018258 Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com> Change-Id: Ibf1093f59e10a0a5cfa42a177c21c0db01983196 Reviewed-on: http://git-master/r/118000 Tested-by: Ashwin Joshi <asjoshi@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> (cherry picked from commit ad9dd1b3242f23c0f46eaf92ab49f495c06f330f) Reviewed-on: http://git-master/r/119580 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-08arm: configs: tegra3: Enable boost cpu frequencyRakesh Bodla
Enabling boost CPU frequency for tegra gadget to improve USB performance. Bug 1020850 Change-Id: Ic36686399f8ebd84c24f9d3cb73792ce3bef90be Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/120351 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2012-08-07ARM: tegra: lp0 WAKE2 status clearBitan Biswas
Tegra pmc WAKE2 status registers also need to be cleared before re-entering lp0 mode. Change-Id: I1bd5c48baf86ba23d0352594e97c360d363ce991 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/121185 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-08-07mfd: tps80031: remove support for subdevs registrationLaxman Dewangan
The mfd sub devices should get added through the mfd_add_devices() not through legacy style of adding sub devices. Change-Id: If275d41629d799f1e22d95fd442ebe7d3ace448e Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/121137 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-08-07mfd: tps80031: gpadc: register as mfd sub deviceLaxman Dewangan
Register General Purpose ADC driver of TPS80031 as mfd sub driver in place of adding it as a sub devices. This is inline with the mfd driver policy. Change-Id: Ib3f86f05716baef96ee534eec5ae262627c6a853 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/121136 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-08-07power: tps80031: battery-charger: register as mfd sub deviceLaxman Dewangan
Register battery charger driver of TPS80031 as mfd sub driver in place of adding it as a sub devices. This is inline with the mfd driver policy. Change-Id: I8cff39f5c9b22434f7c5b9d4ed9f3865ff4c0001 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/121135 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-08-07power: tps80031: battery-gauge: register as mfd sub deviceLaxman Dewangan
Register battery gauge driver of TPS80031 as mfd sub driver in place of adding it as a sub devices. This is inline with the mfd driver policy. Change-Id: I15765be19fc138695de2d813e5fa025400747c86 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/121134 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-08-07rtc: tps80031: register as mfd sub deviceLaxman Dewangan
register RTC driver of TPS80031 as mfd sub driver in place of adding it as a sub devices. This is inline with the mfd driver policy. Change-Id: I2f9c13478a1e85c9670dd7bc576ec761f2e24733 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/121133 Reviewed-by: Automatic_Commit_Validation_User
2012-08-07ARM: tegra: enterprise: remove macro for common fixed regsLaxman Dewangan
The macro FIXED_REGS_COMMON used in only one place and it is no more common across A02 and A04 and hence removing this. Also remove unnecessary back slash. Change-Id: If56512a3f957d06406e9baf369dd409feb82b55b Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/121132 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-08-06arm: tegra: optimize L2 enable/disable paths for secureosHyung Taek Ryoo
For the CONFIG_TRUSTED_FOUNDATION code paths, differentiate L2 enable vs. reenable, which are different SMCs (won't trigger an invalidate in the case of a reenable). On an L2 disable SMC, optionally pass a 0 for the L2 ways arg, which skips the full clean/invalidate (and simply just disabled the L2). In order to safely skip flushing the L2 on the disable, we have to be careful what we dirty from the type we flush the L1 and disable the L2. Bug 939415 Signed-off-by: Chris Johnson<cwj@nvidia.com> Change-Id: I756d2ceda83d5d8d6bc5670218e9d874d5e5f62a Reviewed-on: http://git-master/r/119786 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-03arm: config: tegra: android: enable device tree supportNitin Kumbhar
Enable device tree support for tegra2/tegra3 based android platforms. Bug 1001225 Change-Id: I5caf6302b88d30cca66bfdb957c5b4f1a575a634 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: http://git-master/r/110204 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-03arm: whistler: add device tree support for whistlerNitin Kumbhar
Enable device tree support for whistler by adding board compatible table. Bug 1001225 Change-Id: Ic945d70894fe2deb5039106e794b7fa51c5604bb Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: http://git-master/r/116609 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-03arm: enterprise: add device tree support for enterpriseNitin Kumbhar
Enable device tree support for enterprise by adding board compatible table. Bug 1001225 Change-Id: I64038ce47771148f7cf2f1d53503d11729ac56b8 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: http://git-master/r/116608 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-03arm: ventana: add device tree support for ventanaNitin Kumbhar
Enable device tree support for ventana by adding board compatible table. Bug 1001225 Change-Id: I3f20c1a7966aff1a8a5fbfc1a7ccf2790419be70 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: http://git-master/r/110203 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-03ARM: tegra: cardhu: Add DT boot supportDan Willemsen
Use the existing boardfile for everything, just match using DT. Change-Id: Ie12cad6ab0bfcb94538cd158dd9fc9ca85b91c98 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/95478 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-03ARM: tegra: make .dts compilation depend on Tegra2 supportStephen Warren
Update Makefile.boot to compile *.dts when the appropriate Tegra SoC support is enabled, rather than requiring Kconfig to list each board individually. Remove CONFIG_MACH_VENTANA now that it has no use. Signed-off-by: Stephen Warren <swarren@nvidia.com> (cherry picked from commit 9132b0ed57320996b16eafbf651a04e02ad29092) Conflicts: arch/arm/mach-tegra/Makefile.boot Change-Id: I730271346eff20005ad289dedc54c9c6681e0384 Reviewed-on: http://git-master/r/116607 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-03ARM: dt: tegra: rename board files to match SoCStephen Warren
Most ARM ${board}.dts files are already named ${soc}-${board}.dts. This change modifies the Tegra board files to be named the same way for consistency. Once a related change is made in U-Boot, this will cause both U-Boot and the kernel to use the same names for the .dts files and SoC identifiers, thus allowing U-Boot's recently added "soc" and "board" environment variables to be used to construct the name of Tegra .dtb files, and hence allow board-generic U-Boot bootcmd scripts to be written. Signed-off-by: Stephen Warren <swarren@nvidia.com> (cherry picked from commit 702b0e4f2f2782962aab7d9a0a40ad68770bb1f6) Conflicts: arch/arm/boot/dts/tegra20-paz00.dts arch/arm/boot/dts/tegra20-trimslice.dts arch/arm/mach-tegra/Makefile.boot Change-Id: I4ec7605331c996d3aff84fc2fc37bcf06f0aba0b Reviewed-on: http://git-master/r/110202 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-03arm: tegra: whistler: dt: add dts file with minimal infoNitin Kumbhar
Add dts file to enable device tree support on whistler platform. This currently adds only compatible info to dt. Bug 1001225 Change-Id: I3023639e817529e6bb18ed5fa92b8c35c12d45b8 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: http://git-master/r/116606 GVS: Gerrit_Virtual_Submit Reviewed-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>