summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-apalis_t30.c
AgeCommit message (Collapse)Author
2014-02-04apalis_t30: add Fusion touchscreen driverStefan Agner
Activate Fusion touchscreen driver. Use GPIO 5/6 as pen down/reset GPIO and provide a helper function to free the GPIO before the driver requests them.
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-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-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-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-07-31apalis_t30: allow for jumper-less ACM operationMarcel Ziswiler
Allow for jumper-less ACM operation by defaulting to 0x20 I2C address.
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-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-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-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-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-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: fix can init namingMarcel Ziswiler
Fix naming of CAN initialisation function.
2013-02-19apalis_t30: fix analog audioMarcel Ziswiler
The audio_port_id in the audio platform data really has to be the index of the registered tegra_i2s_device rather than the I2S interface instance.
2013-02-19apalis_t30: reset PLX PEX 8605 PCIe switchMarcel Ziswiler
Reset PLX PEX 8605 PCIe Switch on Apalis Evaluation Board to enable X43, X44 and X45.
2013-02-05apalis_t30: add LVDS GPIO exportsMarcel Ziswiler
The THine THC63LVD827 LVDS transmitter uses 8 GPIOs for configuration. This patch configures and exports them for easy user-space access. Configure LG LP156WF1 15.6 inch full HD dual channel LVDS panel: root@apalis-t30:~# echo out > /sys/class/gpio/gpio216/direction root@apalis-t30:~# echo 0 > /sys/class/gpio/gpio216/value root@apalis-t30:~# echo out > /sys/class/gpio/gpio219/direction root@apalis-t30:~# echo 1 > /sys/class/gpio/gpio219/value root@apalis-t30:~# echo out > /sys/class/gpio/gpio220/direction root@apalis-t30:~# echo 1 > /sys/class/gpio/gpio220/value root@apalis-t30:~# echo out > /sys/class/gpio/gpio221/direction root@apalis-t30:~# echo 1 > /sys/class/gpio/gpio221/value root@apalis-t30:~# echo out > /sys/class/gpio/gpio222/direction root@apalis-t30:~# echo 1 > /sys/class/gpio/gpio222/value root@apalis-t30:~# echo out > /sys/class/gpio/gpio223/direction root@apalis-t30:~# echo 1 > /sys/class/gpio/gpio223/value root@apalis-t30:~# echo out > /sys/class/gpio/gpio225/direction root@apalis-t30:~# echo 1 > /sys/class/gpio/gpio225/value root@apalis-t30:~# echo out > /sys/class/gpio/gpio226/direction root@apalis-t30:~# echo 1 > /sys/class/gpio/gpio226/value root@apalis-t30:~# cat /sys/kernel/debug/gpio | grep LVDS gpio-216 (LVDS: Single/Dual Ch) out lo gpio-219 (LVDS: 18/24 Bit Mode) out hi gpio-220 (LVDS: Output Enable ) out hi gpio-221 (LVDS: Power Down ) out hi gpio-222 (LVDS: Clock Polarity) out hi gpio-223 (LVDS: Colour Mapping) out hi gpio-225 (LVDS: Swing Mode ) out hi gpio-226 (LVDS: DDRclk Disable) out hi
2013-01-24tegra: apalis_t30: initial Toradex Apalis T30 L4T supportMarcel Ziswiler
Tested on early prototype Apalis T30 V1.0a module. Known issues: - ADC not integrated yet. - HDA not integrated yet. - CEC not integrated yet. - IrDA not integrated yet. - Keys not integrated yet therefore no way to wake from suspend. - 8-bit MMC1 slot card detection interrupt not working despite detection GPIO successfully being tested with GPIOConfig. Note: even 8-bit cards work fine if already plugged-in during boot. - PCIe limited to internal Gigabit Ethernet chip for now due to our proprietary way of resetting other ports which requires further integration into NVIDIA's driver.