summaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)Author
2014-01-29colibri_t20/colibri_t30: use new platform data for fusion touchscreenStefan Agner
Fusion touchscreen driver now uses platform data to do GPIO initialization by itself. Make use of this by providing GPIO numbers instead of doing initialization in the board initialization.
2014-01-29video: tegra: kernel parameters to change RGB clock polarityStefan Agner
Allow to change clock polarity for RGB display output using the keywords outputen/pixclockpol/vsync and hsync. Add them right after the driver specification, use 0/1 to specifiy high/low polarity, e.g. video=tegrafb0:pixclockpol:1,800x480
2014-01-29video: tegra: remove special clocks for Tegra 2Stefan Agner
Remove special clocks for Tegra 2, but use backup clock source instead. This allows to run all common used resolution within the drivers -1/+9% allowed band for pixelclock exactness.
2014-01-22colibri_t20/colibri_t30/apalis_t30: remove TEGRA_FB_VGA definesStefan Agner
Remove TEGRA_FB_VGA defines and use VGA as default. Since initial mode is now configureable through kernel cmd line parameter, we don't need those compile time helpers.
2014-01-13colibri_t20: video: use new modedb based settingsStefan Agner
Use modedb to set mode on framebuffer/display controller for Tegra 20 based module Colibri T20 too.
2014-01-09tegra: video: parse multiple modedbsStefan Agner
In order to find a viable resolution we not only parse VESA mode, we also parse CEA (multimedia) modes and our own small modedb (for specific touch screens).
2014-01-09tegra: video: use correct return value for callbackStefan Agner
2014-01-09tegra: video: use new modedb based settingsStefan Agner
Use new modedb based framebuffer settings by defining default_mode in the display controllers platform data. Also impelmented the fallback logic to this default_mode in case no kernel cmd line parameter was set.
2014-01-07tegra: video: use modedb to specify framebuffer resolutionStefan Agner
Allow to specify framebufffer videomode using kernel command line parameters. NVIDIAs binary X driver later on picks up those settings and start X with current mode settings, if no EDID data are available.
2013-12-13colibri_t20: android: disable hw stat monMarcel Ziswiler
Disable hardware statistics monitor for AVP due to it completely hanging upon boot on certain Colibri T20 V1.2a modules.
2013-12-09colibri_t30/apalis_t30: enable STMPE ADC driverStefan Agner
Make use of the new STMPE ADC driver to expose the four free ADC channels on the STMPE811 to userspace.
2013-12-09tegra: pcie: use integer for root_bus_nrStefan Agner
The drivers internal root_bus_nr used to be u8 which lead to a wrong error detection in bus_to_port. Bus number can be -1 in case bus is not scanned yet. Thanks to James pointing that out.
2013-12-02colibri_t20/colibri_t30: don't register KEY_BACK for wakeupStefan Agner
The port used for KEY_BACK does not support wakeup (no wake PIN). Remove the wake flag, this prevents unbalanced irq warning messages.
2013-11-26apalis_t30: add gpio keyboard configurationStefan Agner
Add GPIO keyboard platform device configuration. Currently only the power key is defined which is registred as wake key as well in order to wake the SoC when in sleep mode (MXM3 37/WAKE1_MICO).
2013-11-20colibri_t30/apalis_t30: remove vdd_hdmi_con regulatorStefan Agner
Remove vdd_hdmi_con regulator from dc1 since we don't have a dedicated regulator for this connector on our baseboards.
2013-11-19apalis_t30: use TPS6591X specific IRQ base for RTCStefan Agner
Use TPS6591X IRQ base define to calculate correct IRQ number.
2013-11-19colibri_t30: use TPS6591X specific IRQ baseStefan Agner
Use TPS6591X base defines to make sure the chip gets its own irq range rather than interfer with the STMPE chip.
2013-10-22apalis_t30: clean-up gpio definitions and namesColibri_T30_LinuxImageV2.1Beta1_20131022Colibri_T20_LinuxImageV2.1Beta1_20131022Apalis_T30_LinuxImageV2.1Beta1_20131022Marcel Ziswiler
Clean-up GPIO definitions and names (e.g. use LVDS_ defines, BKL1_ON rather than BL_ON and HDMI1_HPD rather than hdmi_hpd).
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>