summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/devices.h
AgeCommit message (Collapse)Author
2012-11-12Merge branch 'l4t/l4t-r16-r2' into colibriMarcel Ziswiler
Conflicts: arch/arm/mach-tegra/tegra3_usb_phy.c arch/arm/mach-tegra/usb_phy.c drivers/usb/gadget/tegra_udc.c drivers/usb/otg/Makefile drivers/video/tegra/fb.c sound/soc/tegra/tegra_pcm.c
2012-09-10Merge branch 'l4t/l4t-r16' into colibriMarcel Ziswiler
Merge with latest NVIDIA L4T R16. Only real conflict concerning inverted VBUS gpio support.
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-09ARM: tegra: wdt: Remove legacy WDT device supportKamal Kannan Balagopalan
Tegra3 adds new CPU watchdog timers. Remove the obsolete legacy WDT support for Tegra3 Bug 857748 Change-Id: I82478e1b43f22f39c1b8e6e66ae5299ffd079d1b Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com> Reviewed-on: http://git-master/r/109908 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2012-07-09ARM: tegra: wdt: Add support for Tegra3 CPU WDTsKamal Kannan Balagopalan
Tegra3 adds new CPU watchdog timers. Add device support for the CPU WDTs. Bug 857748 Change-Id: I0f99c37fed89879d39667b734654c659fe631aaf Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com> Reviewed-on: http://git-master/r/108379 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2012-07-06arm: tegra: cec: Add IO support for tegra3 cecAnkit Pashiney
Add IO and device support for tegra 3 cec block bug 894195 Change-Id: Icc68b2f900002cf14f48609d4676e7b3e091e948 Signed-off-by: Ankit Pashiney <apashiney@nvidia.com> Reviewed-on: http://git-master/r/105517 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-06-14video: tegra: host: Register devices in SoC filesTerje Bergstrom
Move the device structures to the driver source code files. Register all nvhost_device's in one loop which is called from board file. host1x driver code is moved to live under host1x, too. This causes a need to add host to include path of tegradc and nvavp. Bug 982965 Change-Id: If99cf9d1ef6bc24663ee8294c19370429ed04ca7 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/104076 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-06-08Initial Toradex Colibri T20 L4T R15 support.Marcel Ziswiler
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-03-06video: tegra: host: register nvhost master device in board-xxx-panel.cMayuresh Kulkarni
- the suspend order of devices is governed by the order in which devices are registered - this commit ensures that nvhost master is registered before any of the graphics devices - previously this was done in rootfs_init call which is later than arch_init calls of board-xxx-panel.c - this caused tegra-dc device to be registered *before* nvhost master device. as a result it was suspended *later* than nvhost master device. this is a clear violation of dependency rule for nvhost. this caused suspend-resume to fail for L4T - this worked on android as it has CONFIG early suspend enabled while it failed for L4T which doesn't have CONFIG early suspend enabled Bug 947617 Change-Id: I6cd405f3ba23d004e7659140019f5130e6c25159 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/87756 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2012-02-28video: tegra: host: Merge tegra_grhost and host1x devicesMayuresh Kulkarni
- tegra_grhost is a platform device that represents host1x - nvhost has device host1x which represents the same hardware - merge these two device structs - as the new struct is a nvhost_device, platform_driver is also converted into a nvhost_driver - register nvhost device before other graphics devices. this ensures that nvhost_probe() is called as soon as nvhost_driver is registered with the core. - this also ensures that nvmap is probed first, followed by nvhost, followed by tegra-dc and nvavp (if they are enabled). Change-Id: Ic420a6516a9cb20d6f481692a4db10fa6053dd90 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/82631 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-02-23ARM: tegra: clock src initialisation for debug port in common placeLaxman Dewangan
Moving clock source rate initialisation of debug ports in common place from board files. In this way, it does not need to call the same function from all board files and so avoid duplicating. Change-Id: I4e0292c7760488125c0dd8ee5fa23f50faca3436 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/85174 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-01-30ARM: tegra: clock: Auto-detect PLLP rate in uart initAlex Frid
Tegra3 platform may boot with one of the predefined fixed PLLP (peripheral PLL) output rates: 216MHz, 408MHz, or 204MHz. This commit implements auto-detection of PLLP rate, and debug uart configuration during kernel uart initialization. Bug 928260 Change-Id: I3fac4c462f28ac3dc1c72c0cc0f8f87fa0a809c4 Reviewed-on: http://git-master/r/75849 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Signed-off-by: Alex Frid <afrid@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77294 Reviewed-by: Automatic_Commit_Validation_User
2012-01-19arm: tegra: Add display and nvmap devicesManoj Chourasia
bug 871603 Reviewed-on: http://git-master/r/72257 Change-Id: I78e7e6c2d86ed8336cb32374f1f3e904365d46ec Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/75542 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2012-01-13Tegra: DTV: Added resources and device for DTVAdam Jiang
Added dtv interface device to Tegra3 platform. Fixed Bug 904626 Fixed Bug 881303 Change-Id: Id2a4e6f015d3edf1ecd0e76f5586ae2ec00ed380 Signed-off-by: Adam Jiang <chaoj@nvidia.com> Reviewed-on: http://git-master/r/66627 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Reviewed-on: http://git-master/r/74890 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-12-15arm: tegra: cardhu: pcie support for cardhu bspJay Agarwal
Enabling PCIE support in cardhu board. Fixes bug: 637871 Reviewed-on: http://git-master/r/34474 (cherry picked from commit bde3e58d998b6e76934152219b8803327cea2fad) Change-Id: I18c548b458ad3d17ec07d2ec5b16fd83897b44b1 Signed-off-by: Krishna Kishore <kthota@nvidia.com> Reviewed-on: http://git-master/r/62072 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2011-11-30tegra: NOR: Add NOR platform deviceManoj Chourasia
Added NOR platform device for Tegra. Reviewed-on: http://git-master/r/56895 (cherry picked from commit 6b93835cef6321f286b8efcd032a1a1cc7a6ae9d) Change-Id: Ie0219f1b7534f140a1da924f4f97a52f50d59ad2 Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/66705 Tested-by: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: R8ca0f2697a54ee48996c57af936bcc69c942db46
2011-11-30arm: tegra: Add dummy platform driver for BT and BBSumit Bhattacharya
Use dummy spdif-dit platform driver for bluetooth and baseband platform driver. Bug 872652 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Change-Id: I111e1f16d545d19b37c2a49c212160a210eea9f4 Reviewed-on: http://git-master/r/61503 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R058f68adf8951ba33dccdcaf6760875650de761e
2011-11-30arm: tegra: add dam to devices.hNikesh Oswal
Bug: 862023 Change-Id: I135529efcb8bf4518802d950a07e6923690419b0 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/57881 Reviewed-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: R6c2419452e13142b07963e65a256e9da1e181ab2
2011-11-30ARM: tegra: nvavp: registering new nvavp driverBharat Nihalani
Also re-arranged tegra_nvavp code so that it is common accross boards Bug 880623 Change-Id: I7d634a718e07e07e945fb512466b3a0672aea7e2 Reviewed-on: http://git-master/r/54487 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R78e4af97d967003560e80efce79d6b22d6d66c4f
2011-11-30arch: arm: tegra: Add SPDIF driver supportSumit Bhattacharya
Bug 872652 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Change-Id: I7b948b820434721511c008f644b69d93c23865e1 Reviewed-on: http://git-master/r/53094 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R3fb55fe060065d76fb18010ad249e6ee0f96a944
2011-11-30arm:tegra:tsensor: device definitionsBitan Biswas
Tegra internal temperature sensor addresses defined Bug 661228 Original-Change-Id: I061ac9e7da3115d1e832e645582353f93378d291 Reviewed-on: http://git-master/r/36119 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R62de8521a55164f582eb2b0f8ad5a83bbc02876c
2011-11-30ARM: tegra: Delete obsolete tegra_audio_device declarationScott Williams
Change-Id: I119fdbbc2440f8a7e64e2f3b5cec2ae4b182ee36 Signed-off-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/47592 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: R891ed7225b634dc01aaf3f13dbe79fc1eae1c27c
2011-11-30ARM: Tegra: Add T30 audio-related entries in devices.cStephen Warren
Also, remove "audio" platform device; it won't be used with the ALSA driver. Signed-off-by: Stephen Warren <swarren@nvidia.com> Rebase-Id: Rcbe1845a8d41292dfa82d61ff662d2f233b20af2
2011-11-30arm: tegra: devices: entry for security engineVarun Wadekar
tegra3 has a hardware block which can be used for encryption/decryption and hashing. add an entry in the common location so that all the boards using tegra3 can leverage it. Bug 835859 Original-Change-Id: I5f3b031f5648fb04f85caa7c42b69b7482c96a7b Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/35635 Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R7cbf0a98df1bc006a575a4e6728008522bc27788
2011-11-30arm: tegra: devices: device entry for uart debug portsLaxman Dewangan
Adding device entry for the uart port as a debug console. The device struture will be used in board files to invoke the debug console driver. bug 832273 Original-Change-Id: I61c1dbdd946d5c371d7a9b23517119048a7487cb Reviewed-on: http://git-master/r/34445 Tested-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Rebase-Id: R28de1684d8f7fce67c09d909f7bda51259128c0b
2011-11-30arm: tegra: Clean up SOC conditionalsScott Williams
Change SOC conditionals to make them more forward-looking. Original-Change-Id: Ib60db4e690c2f396afdec962616d735548b5a8a9 Reviewed-on: http://git-master/r/32706 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Rebase-Id: R77c675a1995116098b58f1f775bc7c3cc8722998
2011-11-30arm: tegra: devices: Adding device details for tegra kbcAlok Chauhan
Adding device details for the tegra based kbc driver. Bug 827020 Original-Change-Id: I47b150fc97f97ce91c1de569aec067ad2e5f0660 Reviewed-on: http://git-master/r/31725 Reviewed-by: Alok Chauhan <alokc@nvidia.com> Tested-by: Alok Chauhan <alokc@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: Ra1a6e6dc6477cf1deae0b84dc3911b8ccfd9bbb8
2011-11-30Update copyrightsScott Williams
Original-Change-Id: I2ffeaf6f8dfeb279b40ca6f69f6c9157401a746a Rebase-Id: Rd8ebde470ad475b826857413018a2da8e1fdea25
2011-11-30arm: tegra: devices: Adding device details for spi slaveLaxman Dewangan
Adding device details for the spi slave driver. Also adding clock details for these drivers. Original-Change-Id: I38a34c289e296152339dd23858dc19bfb95db354 Reviewed-on: http://git-master/r/22411 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Original-Change-Id: Id60caffa97965ac424083353388a0e6dfd963779 Rebase-Id: R442b1ac8bacbd15325abf7d8dc96699f75cd5fda
2011-11-30arm: tegra: Adding device entry for SPI5 and SPI6Laxman Dewangan
Adding device entries for SPI5 and SPI6 for TEGRA3 ARCH. Original-Change-Id: Ie9d6a1e0cb9488bf07327c403edb78626137688b Reviewed-on: http://git-master/r/20309 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Original-Change-Id: I7706a2b32177aaa4b4ca53d4f089cb3218f51ba3 Rebase-Id: Ra0f5901afa740929c904d681f89582d04ff230c1
2011-11-30arm: tegra: Add SATA supportYen Lin
Original-Change-Id: I18c63f1c69e155ddc1cec1718af9684d861815b7 Reviewed-on: http://git-master/r/15863 Tested-by: Yen Lin <yelin@nvidia.com> Reviewed-by: Rhyland Klein <rklein@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/16485 Original-Change-Id: I6afa5a097b4fc7d6c45614107118458da0d9d888 Rebase-Id: R18ae88707c208faafc26de033e9f34a7466fa608
2011-11-30[arm/tegra] Enable audio device in T30Vinod G
audio device is enabled in the device file Original-Change-Id: Id19526c0be5d77c25e81cb1e75648288174fadd0 Reviewed-on: http://git-master/r/15910 Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Original-Change-Id: I3eaf368150a62df38683f79c10180078a57052c3 Rebase-Id: R865e609be363dfa234d06ff4a90914df1d491499
2011-11-30[ARM/tegra] Add Tegra3 supportScott Williams
Bug 764354 Original-Change-Id: I8a390eb4dae87dceacb97461f23d13554868b046 Reviewed-on: http://git-master/r/12228 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Scott Williams <scwilliams@nvidia.com> Original-Change-Id: I8e6b8303898796419fb5a759cd16edff9aeac081 Rebase-Id: R2866240384c6c24f46bd7ef54bc3dc9140d9e96b
2011-11-30Revert "ARM: tegra: spi: spi slave device related additions"Dan Willemsen
This reverts commit b1b863de1b1a83f8f9edd8e8e6172d3aa55f3f60. Conflicts: arch/arm/mach-tegra/tegra2_clocks.c Original-Change-Id: I29c3479fb34ec22472f449ea8c8744643e25b219 Rebase-Id: R495b37a5f80b161558bce9e31ab13eae53f19cc3
2011-11-30ARM: tegra: spi: spi slave device related additionsSheshagiri Shenoy
- spi slave device added. - clock entry added for spi slave device. bug 785523 Original-Change-Id: I6d3daeb3e7f4171f2dc4f9ec1fe255f19ea48928 Reviewed-on: http://git-master/r/23554 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R7adc06e45ba28d84b92182e65b30ed8f3ec50847
2011-11-30[ARM] tegra: add aes to devices.cVarun Wadekar
Change-Id: Id13075009d785e784ae6bd0feb9b29f3fa7184df Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2011-11-30serial: tegra_hsuart: Use resources instead of platform data.Jaikumar Ganesh
Use resources to pass data to tegra_hsuart to set mapbase, irq. Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
2011-11-30ARM: tegra: add avp platform_deviceDima Zavin
Change-Id: I8229873e1a450b75d31e6ea4ec64647b88d16844 Signed-off-by: Dima Zavin <dima@android.com>
2011-11-30ARM: tegra: add missing spdif device declaration in headerDima Zavin
Change-Id: If447711b095ec7025f3bbe232e22444839054927 Signed-off-by: Dima Zavin <dima@android.com>
2011-11-30[ARM] tegra: add graphics host to devices.cGary King
Change-Id: I4c694d3c9f8a15975591ba5b61625da410991efd Signed-off-by: Gary King <gking@nvidia.com>
2011-11-30[ARM] tegra: add spdif device and resourcesIliyan Malchev
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-11-30[ARM] tegra: add tegra-otg and tegra_uart to devices.cGary King
Change-Id: Icdc0de036566220f337a21d5b1bae0e81057f115 Signed-off-by: Gary King <gking@nvidia.com>
2011-11-30[ARM] tegra: add tegra_pwm to devices.cGary King
Change-Id: I8d861fd9f7748f29879315cd6f0800cec6a84f9e Signed-off-by: Gary King <gking@nvidia.com>
2011-11-30[ARM] tegra: add tegra_wdt_device to devices.cGary King
Change-Id: I8098fa38ebef8636a6eeb1179e679201445e5237 Signed-off-by: Gary King <gking@nvidia.com>
2011-11-30[ARM] tegra: add gart device to devices.cGary King
Change-Id: Id748aa37a3c2234a2a618b09dfa963a4b4ac572c Signed-off-by: Gary King <gking@nvidia.com>
2011-11-30[ARM] tegra: add platform devices for i2s1 and i2s2Iliyan Malchev
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-11-30[ARM] tegra: add EHCI and UDC controllers to devices.cGary King
update harmony and ventana to use the common UDC definition, rather than using the current duplicated definitions Change-Id: I2e3aca674ab35305a0c516bd22e044382280d05e Signed-off-by: Gary King <gking@nvidia.com>
2011-11-30w1: master: tegra_w1: Adds generic mach-tegra w1 support.Andrei Warkentin
This adds w1 as a device for mach-tegra boards, fixes wrong OWR I/O base, and changes OWR clock name. Change-Id: Idffbdbd05f383ce8e423ee301e197e230db4f2f9 Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
2011-03-07ARM: tegra: add devices.c entries for audioStephen Warren
For I2S, DAS, PCM devices Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>