summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2013-10-21colibri_t30: add DDR speed definition for 400MHz/800MHzMax Krummenacher
This gives the DDR3L memory settings for 400MHz/800MHz. The boot memory speed must be 400MHz for this to work, i.e. the 400MHz BCT must be used.
2013-10-21toradex defconfigs: don't set CONFIG_MAGIC_SYSRQMax Krummenacher
If the boot console is RS232 and RX is left floating this leads to arbitrary sys requests including reboots... (RX is left floating on the evaluation boards if USB to serial is jumpered but USB is not connected)
2013-08-30apalis_t30: export Apalis GPIOs to userspace via sysfsMarcel Ziswiler
Up to now only the LVDS transceiver controlling GPIOs were exported. This patch adds the generic Apalis GPIOs to the list of via sysfs to userspace exported ones as well.
2013-08-30apalis/colibri_t30: fix HDMI hang issueMarcel Ziswiler
Initialisation of the framebuffer console on DVI-D aka HDMI sometimes failed. This was particularly bad on Apalis T30 where this is activated by default. On Colibri T30 this was observed when enabling it using the fbcon=map:1 boot argument. This fix curtsey of Bibek Basu from NVIDIA explicitly enables PLLA during early clock initialisation which avoids a later race with the display driver on DC1.
2013-08-12apalis/colibri_t30: hack to force speedo id of 2 for nowMarcel Ziswiler
In preparation for the new Apalis resp. Colibri T30 production lots with either T30IQS-P-A3 or T30MQS-P-A3 chips that due to some bug were locked at 312 MHz force a speedo ID of 2 for now which allows regular operation of up to 1.4 GHz (single core only).
2013-07-31apalis_t30: allow for jumper-less ACM operationMarcel Ziswiler
Allow for jumper-less ACM operation by defaulting to 0x20 I2C address.
2013-07-31apalis_t30: enable modular camera configurationMarcel Ziswiler
Enable the modular camera configuration for ACM which allows switching not only decoders but also their inputs at run-time. This is the only correct order to load the modules: modprobe videobuf2-memops modprobe videobuf2-dma-nvmap modprobe max9526 # or modprobe adv7180 modprobe tegra_v4l2_camera To change the decoder on the fly: rmmod tegra_v4l2_camera rmmod max9526 # or rmmod adv7180 modprobe adv7180 # or modprobe max9526 modprobe tegra_v4l2_camera To get a pre-view window through gstreamer: gst-launch v4l2src ! deinterlace tff=1 method=4 ! nv_omx_videomixer ! nv_gl_eglimagesink To switch inputs (0-5 resp. 0-4 for ADV7180 and 0-2 for MAX9526 where 2 means auto selection): v4l2-ctl -i 0 v4l2-ctl -i 1 v4l2-ctl -i 2 v4l2-ctl -i 3 v4l2-ctl -i 4 v4l2-ctl -i 5 To check what input is active: v4l2-ctl -I While at it enable NVIDIA confirmed ARM errata 716044 and 720789 as well.
2013-07-31colibri_t20: also define COLIBRI_T20_VI when VIDEO_TEGRA is a kernel modulePeter Gielda
2013-07-31colibri_t30: also define COLIBRI_T30_VI when VIDEO_TEGRA is a kernel module.Peter Gielda
2013-07-16apalis_t30: fix build without SATA supportMarcel Ziswiler
This patch fixes building without CONFIG_SATA_AHCI_TEGRA aka SATA support which previously failed as follows: ... CC arch/arm/mach-tegra/board-apalis_t30.o ~/linux-toradex/arch/arm/mach-tegra/board-apalis_t30.c:571:31: error: 'apalis_led_gpio_device' defined but not used [-Werror=unused-variable] cc1: all warnings being treated as errors make[2]: *** [arch/arm/mach-tegra/board-apalis_t30.o] Error 1 make[1]: *** [arch/arm/mach-tegra] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [sub-make] Error 2
2013-06-24colibri_t30: set local critical temperatur to 95°CMax Krummenacher
If the local critical temperature is reached the power is unconditionally switched off. At 70°C ambient the default of 85°C can be reached. So increase the limit in the hwmon chip to 95°C.
2013-06-24apalis_t30: set local critical temperatur to 95°CMax Krummenacher
If the local critical temperature is reached the power is unconditionally switched off. At 70°C ambient the default of 85°C can be reached. So increase the limit in the hwmon chip to 95°C.
2013-06-21apalis_t30: fix PCIe by forcing GEN1 speedMarcel Ziswiler
Enable PCI quirk support resp. don't explicitly disable it in order for the following fix to take effect. The Apalis evaluation board needs to set the link speed to 2.5 GT/s (GEN1). The default link speed setting is 5 GT/s (GEN2). 0x98 is the Link Control 2 PCIe Capability Register of the PEX8605 PCIe switch. The switch supports link speed auto negotiation, but falsely sets the link speed to 5 GT/s.
2013-06-12apalis_t30: v4l2: adv7180 and max9526 integrationMarcel Ziswiler
Integrate ADV7180 and MAX9526 video decoder support and prepare for drivers as modules. The following gstreamer pipeline shows a preview window: gst-launch v4l2src ! deinterlace tff=1 method=4 ! nv_omx_videomixer ! nv_gl_eglimagesink
2013-06-12colibri_t30: adv7180 and max9526 integrationPiotr Zierhoffer
Integrate ADV7180 and MAX9526 video decoder support and prepare for drivers as modules.
2013-06-12apalis/colibri_t30: remove spurious tegra_aes_devicePeter Gielda
Remove tegra_aes_device from the platform device list as it was listed twice.
2013-06-12colibri_t20: v4l2: adv7180 integrationPeter Gielda
Integrate ADV7180 video decoder support. While at it prepare for ADV7180 as well as MAX9526 drivers as module.
2013-06-12colibri_t20: support for tegra_v4l2_camera as modulePiotr Zierhoffer
2013-06-07tegra: pcie: fix AXI response decoding errorsMarcel Ziswiler
Avoid AXI response decoding errors of the following form by properly setting the root bus number: [ 3.377991] PCIE: AXI response decoding error, signature: ff01003d [ 3.384174] PCIE: AXI response decoding error, signature: ff01003c
2013-06-07apalis_t30: fix PCIe reset issueMarcel Ziswiler
Implement workaround for PLX PEX 8605 errata 5 (PEX_REFCLK_OUTpx/nx Clock Outputs is not Guaranteed Until 900 us After PEX_PERST# De-assertion) by releasing RESET_MOCI_N 1 ms after releasing PEX_PERST_N.
2013-06-05colibri_t20/30: add comment about GMI_ADV_N usageMarcel Ziswiler
Add a comment about conflicting use of SODIMM pin 150 as GPIO K0 resp. GMI_ADV_N used for multiplexed address/data bus courtesy of Stéphane Gonnella from Multitel ASBL.
2013-05-28tegra: pcie: revert driverMarcel Ziswiler
Revert the following commit: 4bb48c289cdfddf02673b5b3dd1a735dfd5d972e
2013-05-27colibri_t30: export some gpio on /sys/class/gpio/...Max Krummenacher
Added skeleton code to define userspace accessable gpio. Export gpios which are unlikely to be used for other functions.
2013-04-02colibri_t20: android: enable back key wakeMarcel Ziswiler
Enable the back key as a wake-up source as well.
2013-04-02colibri_t20: android: use 32bppMarcel Ziswiler
Use 32 rather than 16 bits per pixel as otherwise it looks so ugly.
2013-03-24colibri_t20: android: kernel configurationMarcel Ziswiler
Add initial Android kernel configuration adopted from tegra_android_defconfig.
2013-03-24Revert "colibri_t20: android: 720p as default none VGA TFTLCD resolution"Marcel Ziswiler
Due to 720p not working well with most regular analogue screens and as customers rather might want to evaluate using our 7 inch EDT ET070080DH6 panel revert to 800x480 if not default VGA TFTLCD resolution is chosen. This reverts commit 0fc41ea361c79175f2076a349a0ba0dcc7e71131.
2013-03-24colibri_t20: android: revert to default VGA TFTLCD resolutionMarcel Ziswiler
As customers might want to evaluate using a regular VGA screen or our 5.7 inch EDT ET057090DHU panel revert to default VGA TFTLCD resolution. This is a partial revert of the following commit: 106ac0436290a98ecc5e3dfc75d0d7f104ef0ff4
2013-03-24colibri_t20: fix menu-keyMarcel Ziswiler
Due to a strong pull-down on the menu-key multiplexed ACC1_DETECT pin Android unintentionally entered safe-mode. Fix this by making the menu-key active-high as well.
2013-03-14apalis_t30: default full HD LVDS resolutionMarcel Ziswiler
By default configure for LG LP156WF1 15.6 inch full HD dual channel LVDS panel.
2013-03-14apalis_t30: audio: integrate HDA codec supportMarcel Ziswiler
Integrate support for the Realtek ALC898 as found on the Apalis Evaluation Board V1.0a. Please note that the following HDA rewiring needs to be done: remove jumpers X6-5 and 7 to 9 rewire as follows: X5 X7 5 9 7 8 8 5 9 7 Please further note that currently only noise is heard during playback.
2013-03-13board-colibri-t20: do not set PWM<A>, PWM<D> as GPIO inputMax Krummenacher
SODIMM-59, SODIMM-67 is no longer a GPIO and thus the PWM are usable again. PWM<D>
2013-03-12colibri_t20/30: usb: otg: fix host to peripheral transitionMarcel Ziswiler
Fix null pointer during USB OTG host to peripheral transition caused by freeing the platform data twice. See the following Tegra OTG driver commit for reference: 8acf989d5896b152cc88f8b29afd11d522f903e3
2013-03-12colibri_t20/30: can: integrate mcp251x and sja1000 supportMarcel Ziswiler
Integrate CAN support for the Colibri Evaluation Board V3.1a with built-in MCP2515 SPI CAN controller resp. the Colibri Evaluation Board V2.1c with its built-in SJA1000 CAN controller connected to the GMI bus. The following kernel configuration needs to be enabled as well: CONFIG_CAN CONFIG_CAN_RAW CONFIG_CAN_BCM CONFIG_CAN_DEV Plus depending on the Evaluation Board revision: CONFIG_CAN_MCP251X or CONFIG_CAN_SJA1000 CONFIG_CAN_SJA1000_PLATFORM Optional support for 32-bit GMI as well as xPOD CAN on MECS Tellurium for Colibri T20 is provided via commented defines in arch/arm/mach-tegra/board-colibri_t20.h.
2013-03-06colibri_t30: android: kernel configurationMarcel Ziswiler
Add initial Android kernel configuration adopted from tegra3_android_defconfig.
2013-03-06colibri_t30: android: enable hdaMarcel Ziswiler
Unless HDA driver is enabled device enters safe mode upon start-up.
2013-03-06colibri_t30: android: hack to allow using cardhu initrdMarcel Ziswiler
NVIDIA's Android for their Cardhu developer tablet is looking for the machine name in order to initialise certain things. For now just hack it to be able to use their regular initrd.
2013-03-06colibri_t30: android: 32 bits per pixelMarcel Ziswiler
Android uses 32 bits per pixel and fails otherwise. While at it increase the default DVI-D aka HDMI resolution to full HD.
2013-03-03colibri_t20/30: v4l2: max9526 integrationMarcel Ziswiler
Integrate MAX9526 video decoder support as found on our analogous camera module (ACM) connected to a Colibri Evaluation carrier board. The following kernel configuration options are required to be enabled: CONFIG_VIDEO_V4L2=y CONFIG_SOC_CAMERA=y CONFIG_SOC_CAMERA_MAX9526=y CONFIG_VIDEO_TEGRA=y
2013-03-03Conflicts:Marcel Ziswiler
arch/arm/mach-tegra/common.c drivers/ata/ahci-tegra.c
2013-03-02colibri_t20/30: move gpio definesMarcel Ziswiler
Move GPIO defines to header file. While at it get rid of spurious AVDD_DSI_CSI_ENB_GPIO define.
2013-03-02apalis/colibri_t30: clean-up defines in header fileMarcel Ziswiler
Re-arrange defines in header file.
2013-03-02apalis/colibri_t30:Marcel Ziswiler
Get rid of spurious AC_PRESENT_GPIO/INT defines.
2013-03-02colibri_t30: 4-bit mmc/sd cardMarcel Ziswiler
Explicitly configure MMC/SD card as 4-bit only by default.
2013-03-02colibri_t20/30: rename uartsMarcel Ziswiler
Rename UARTs to be consistent with Colibri FF/BT/STDUART naming.
2013-03-02colibri_t20/30: rename pwm ledsMarcel Ziswiler
Rename PWM LEDs to be consistent with Colibri PWM<X> naming.
2013-03-02apalis/colibri_t20/30: migrate gpio to irq conversionMarcel Ziswiler
Migrate from static TEGRA_GPIO_TO_IRQ macro to run-time gpio_to_irq function. While at it clean-up some comments and fix some long lines in order to adhere to Linux kernel coding style.
2013-03-02apalis_t30: clocks clean-upMarcel Ziswiler
Clean-up clocks. HDA clocks are of course required on Apalis T30.
2013-03-02apalis_t30: power: fix fixed regulator init namingMarcel Ziswiler
Fix naming of fixed regulator initialisation function.
2013-03-02apalis_t30: fix can init namingMarcel Ziswiler
Fix naming of CAN initialisation function.