summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-p1852.c
AgeCommit message (Collapse)Author
2012-08-28E1853 BRINGUP Linux Snor: Micron SupportBob Johnston
Expanding NOR functionality to work with ADMUX and Burst mode for Micron Support in E1853. Bug 989919 Bug 966833 - Adding fields for picking MUX vs NONMUX and picking Async, Paging, Burst mode for reads - Added run time decision between them - 1853 specific settings for Async NOR - 1852 specific settings for NOR - 1853 NOR timings changed Reviewed-on: http://git-master/r/122286 (cherry picked from commit a242e7194c7de559d22fe5b275a8782086f10e50) Change-Id: I79de1d52d4c7199c83b380c2fa6d8cae6b35f09d Signed-off-by: Bob Johnston <BJohnston@nvidia.com> Reviewed-on: http://git-master/r/124946 Tested-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-08-02ARM: tegra: p1852: get rid of tegra_gpio_enable()Laxman Dewangan
The gpio mode of pin is configured when setting direction and hence this call is no more required. Change-Id: Ie3ae3375348cd8cbe94b14bd5ce3a861d73cc30c Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/119610 Reviewed-by: Automatic_Commit_Validation_User
2012-07-31arm: tegra: p1852: Add USB_G_ANDROID supportAmlan Kundu
+ require for android adb bug 1005255 Change-Id: If2c8d197f987ddd43a9b6a6cc602ac1e2f4ae2f8 Signed-off-by: Amlan Kundu <akundu@nvidia.com> Reviewed-on: http://git-master/r/114562 (cherry-picked from 6640721b05059f03325abadfebe2f08026a41a88)
2012-07-30arm: tegra: p1852: Fixes for I2S master modeNitin Pai
Change the Drive strength of DAP1 for I2S to operate in both master and slave mode. Changed the Pull Up/Down mechanism for I2S4 to operate in master/slave mode. Bug 1009249 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/114587 (cherry picked from commit 29ec5dfb81b823880f393bece5daf5396ef77629) Change-Id: I24a252370b993150a553c9f81fb44e6d8f86589a Reviewed-on: http://git-master/r/118251 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-07-25p1852: clocks: remove duplicate host1x clock limitNirav Patel
host1x clock limit is already imposed by tegra3_dvfs.c and need not to be explicitly set for p1852 SKU. Hence, removing the clock limit duplication. Bug 925358 Change-Id: I5e936f46ad64b0335561e321d61c4e8b13d7f765 Reviewed-on: http://git-master/r/106637 (cherry picked from commit ccaa3515121b637ce3870bf73f2402846670b63c) Signed-off-by: Nirav Patel <nipatel@nvidia.com> Reviewed-on: http://git-master/r/118130 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-07-19arm: tegra: p1852: Make TDM1 as 16 channelsNitin Pai
Made TDM1 as 16 channels so that both devices work in the same configuration. Bug 1008391 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/112090 (cherry picked from commit 4d042a0e613ba1c2d715d6ed47daddd61be14a28) Change-Id: I622b046b3b36147b82d47f612febb7ae7ba0767c Reviewed-on: http://git-master/r/116059 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-07-16ARM: tegra: p1852: Dual-display support for all SKUsDongfang Shi
Ported Peter's original change 86413 to main. board-p1852-panel.c: Add support for primary and secondary LVDS displays, and secondary HDMI display. board-p1852-pinmux.c: Add configuration for HDMI and LVDS board-p1852.c: board-p1852.h: Support for determining which p1852 sku is in use hdmi.c:If no edid retrieved, but there's a hardwired mode, enable it (used to support HDMI->LVDS output on p1852 sku 2) devices.c:added secondary display data. Bug 977859 Bug 994011 Change-Id: Ide8fb6bf7dd873b1d50269fb98d7c1687e4d9073 Signed-off-by: Dongfang Shi <dshi@nvidia.com> Reviewed-on: http://git-master/r/100438 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-07-16arm: tegra: sd: enable sd dpdWen Yi
This is a WAR solution that allows for the turning on SD DPD feature. The original issue is that enabling SD DPD immediately after device comes out of LP0 causes ULPI disconnect. The root cause of that is not known. The WAR is to delay the enabling of SD DPD for 100ms after device comes out of LP0. Bug 929628 Change-Id: I3c5e35ace422e5441535c2c0fe18545b53bbddc4 Signed-off-by: Wen Yi <wyi@nvidia.com> (cherry picked from commit bffb7b917d52a3523af80db21322ec7ba5fd33f9) Reviewed-on: http://git-master/r/113392 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-07-11arm: tegra: p1852: Add IOMMU_SMMU supportHiroshi DOYU
Migrating from IOVMM_SMMU to IOMMU_SMMU. Change-Id: If5bca4a3bce15d59641f11dfea3ad6da2a8efbf5 Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/114211 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2012-07-09ARM: tegra: fiq_dbg: Enable FIQ serial debugKamal Kannan Balagopalan
Add platform callback to initialize and enable FIQ serial debugger Bug 970018 Change-Id: Icdf571f7698e10de661a0ce94694de9fb9c70271 Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com> Reviewed-on: http://git-master/r/110955 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2012-07-09ARM: tegra: wdt: Replace legacy WDT with CPU WDTsKamal Kannan Balagopalan
Tegra3 adds new CPU watchdog timers. Replace legacy WDT with CPU WDTs in all Tegra3 platforms. Bug 857748 Change-Id: I5bd30687003e6b2ebf09916fbd626d82f0bc0b76 Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com> Reviewed-on: http://git-master/r/109907 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2012-07-05ARM: Tegra: p1852: changed pinmux settingsMohit Kataria
Pinmux updated as per the latest pinmux sheet. Bug 978870 Change-Id: I122439df3d043216f1c8c2c1a0a3c88e74d760ee Signed-off-by: Mohit Kataria <mkataria@nvidia.com> Reviewed-on: http://git-master/r/111573 (cherry picked from commit 4e65d7d21b5ac5b25e3563ce6a7eb50cf1d8128d) Reviewed-on: http://git-master/r/103340 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-06-13arm: tegra: p1852: revert previous nor freq changeBob Johnston
nor frequency was changed inadvertently in a conflict resolution. Need to revert it back to proper value. Bug 948478 Change-Id: I8d8f778a58b2df64c8fcbf85c182fe3a888d7c03 Signed-off-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-on: http://git-master/r/108247 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-06-12arm: tegra: p1852: drive touch panel with resolution 1366x768Dongfang Shi
Enable WXGA display and touch input for p1852 touch panel. board-p1852-panel.c: added WXGA timing for atmel touch panel. board-p1852.c: initialize touch panel if touch input is defined. board-p1852.h: added p1852 touch panel GPIO and bus. tegra_p1852_gnu_linux_defconfig: added touch panel flags, not defined by default. bug 936232 Change-Id: Ia50b991f6aa5ed0ece458ad3871a68684a9234a6 Signed-off-by: Dongfang Shi <dshi@nvidia.com> Reviewed-on: http://git-master/r/101348 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-06-11arm: tegra: p1852: Remove unwanted audio clocksNitin Pai
Audio Sync clocks should be set at driver level. Removing this hack as the TDM driver sets the clocks now. Bug 948478 Change-Id: Ie001b601e740f22852a4dbb6b89a225a263208ee Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/107534 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Manoj Chourasia <mchourasia@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-06-07ARM: tegra3: usb: USB1_UTMIP_XCVR_CFG0_0 value changedRakesh Bodla
Changed USB1_UTMIP_XCVR_CFG0_0 register value with values provided by sys-eng * Implemented algo as described on Bug 974236 * Added variable 'usb_calib_mask' in 'usb platform data' to make distinction on how many bits to mask in usb_calib_0 fuse Bug 978870 Bug 972436 Change-Id: I71f27b0cf5ffe33a9896238b01c52650ca632352 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/103308 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-06-03arm: tegra: p1852: Add i2s/tdm mode selectionNitin Pai
Added code to select i2s vs tdm mode. Added tdm-pcm-audio device defination. Changed the pcm driver to use tdm-pcm-audio device. Added fields to pass the pcm driver name to ASoC. Added P1852_TDM config to KConfig and Linux defconfig Bug 948478 Change-Id: I82fa03ab947cc615089e0a3107fb53901a1c00cd Signed-off-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-on: http://git-master/r/105383 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-28arm: tegra: p1852: Instantiated TDM mode driverNitin Pai
Instantiated TDM mode driver. Changed clock values for TDM mode. Bug 948478 Change-Id: I64fb6c6f3ff0d573494656ae04f29323a41da50a Signed-off-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-on: http://git-master/r/103895 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-24usb: tegra: modify USB platform data structuresRakesh Bodla
Modify USB structures of platform data. Based on the new platform data structures modifying the initialization in board files. Bug 887361 Change-Id: Ie6347a078c9a596a4debe21a353e127ddde35220 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/103597 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-21ARM: Tegra: P1852: changed nor timing regs and freqMohit Kataria
Nor frequency and timing registers changed as per values provided by syseng Bug 978870 Change-Id: I18313c7df6265ddd4140d264ac2751ed8f1982df Reviewed-on: http://git-master/r/103355 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Mohit Kataria <mkataria@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-05-14arm: tegra: p1852: Add Tegra camera driverSonghee Baek
Add Tegra camera driver to support video capture through H/W interfaces VIP, CSI. Bug 978086 Change-Id: I0dc51e47928388ed2073a99f8ca80b5a5a77d166 Signed-off-by: Songhee Baek <sbaek@nvidia.com> Reviewed-on: http://git-master/r/101590 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-10Arm: tegra: p1852: Changed sclk to run at max.Mohit Kataria
Sclk frequecy changes depending on the clocks derived from sclk. Changed it to run at max POR frequecy. Bug 971061 Change-Id: I357e1acd8d049bf233ff79b942c911db123865f6 Signed-off-by: Mohit Kataria <mkataria@nvidia.com> Reviewed-on: http://git-master/r/100859 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-04-03tegra: p1852: Register tegra WDT platform deviceManoj Chourasia
bug 924362 Change-Id: I878a845d5c78b2f8c0f5882f8c0a97b3842ac883 Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/91224 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-30p1852: Enable uart4 and remove spi4Manoj Chourasia
+ Enable uart4 and remove spi4 + use SPI2 instead of SPI1 as initial pinmux for gpio x5/6 bug 933971 Reviewed-on: http://git-master/r/78718 (cherry picked from commit 7135fbe5edf7357384dc92b613ea46dc927d6b06) Change-Id: I46d3072dd160d7a2d1f11f949cc934fbdff1e0a6 Reviewed-on: http://git-master/r/91234 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-22ARM: tegra3: p1852: clock: changed p1852 clocksMohit Kataria
Changed clock frequencies for vi, host1x etc. as per POR Bug 882186 Signed-off-by: Mohit Kataria <mkataria@nvidia.com> Reviewed-on: http://git-master/r/74289 (cherry picked from commit 915b9924388f432fbc68be611f84047d09fc0d33) Change-Id: I19c3aa845c75f0b8d07bd2dd109055696098e12a Reviewed-on: http://git-master/r/90494 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Mohit Kataria <mkataria@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-03-18arm: tegra: p1852: Add proc interface for board specific infoBob Johnston
1) /proc/board_serial will have the board serial number. 2) /proc/skuinfo will have 18 character sku information. 3) /proc/skuver will have 2 character sku version number. 4) /proc/prodinfo will have product information 5) /proc/prodver will have product version number. bug 931053 Change-Id: I7daccf932d3ee55b13c89eb4aaa519f51d8dba3e Signed-off-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-on: http://git-master/r/90378 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-18arm: tegra: p1852: instantiated audio driversNitin Pai
Instantiated audio drivers for I2S and AHUB. Instantiated the machine driver for P1852 boards. Added clocks that were not initialized by QB which are needed to be on. Bug 948478 Change-Id: I6e696f97ed114ae684a74d9b9869066606dfaa22 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/90252 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-by: Bob Johnston <bjohnston@nvidia.com> Tested-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-02-09ARM: tegra: p1852: Add board support files for p1852Amlan Kundu
bug 871603 P1852 is a T30 based Automotive platform. Signed-off-by: Amlan Kundu <akundu@nvidia.com> Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/72253 (cherry picked from commit 98d50016e70a22ae7e8e109cfb6633a8fe75f905) Change-Id: Iede9881fc1168bb6802694e233554d84adfb8f44 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/79981 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>