summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-colibri_t30.c
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.
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-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-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-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-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-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-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-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: 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-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-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-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-02-21colibri_t30: enable back key wake-upMarcel Ziswiler
Enable back key wake-up source.
2013-02-13colibri_t20/30: integrate Fusion 7 and 10 multi-touchMarcel Ziswiler
This patch integrates multi-touch for the TouchRevolution Fusion 7 and 10 panels connected to Iris as follows: Iris X16-5, SODIMM pin 194, I2C SDA Iris X16-6, SODIMM pin 196, I2C SCL Iris X16-15, SODIMM pin 103, pen down interrupt Iris X16-16, SODIMM pin 101, reset The following kernel configuration needs to be enabled: Device Drivers -> Input device support -> Touchscreens -> TouchRevolution Fusion F0710A Touchscreens Please note that level shifters are required. Please further note that our current OpenEmbedded BSP does not yet integrate multi-touch support in the XInput as well as X server layers.
2013-01-21colibri_t30: set DD pins to push/pullMax Krummenacher
set DD pins to push/pull if not used for I2C in open drain mode
2013-01-21colibri_t30: w1: set platform data in w1-deviceMax Krummenacher
2013-01-11colibri_t30: w1: add platform dataMarcel Ziswiler
Add one-wire platform data. Still requires explicitly enabling the following two kernel configuration options: CONFIG_W1 CONFIG_W1_MASTER_TEGRA
2013-01-11colibri_t30: integrate PWM LED functionalityMarcel Ziswiler
Make PWM B, C, D accessible from userspace. e.g as /sys/class/leds/pwm_b.
2013-01-11colibri_t30: GPIO keys implementationMarcel Ziswiler
Implement the following GPIO keys: - find (SODIMM pin 77) - home (SODIMM pin 127) - back (SODIMM pin 133, Iris X16-14) - volume up (SODIMM pin 22) - volume down (SODIMM pin 24) - power (SODIMM pin 45, Iris X16-20) - menu (SODIMM pin 135)
2013-01-11colibri_t30: clean-up camera definesMarcel Ziswiler
Now simply enabling CONFIG_TEGRA_CAMERA resp. not explicitly disabling it will make L4T's nv_omx_vip Gstreamer plug-in work with analogue video decoders like the ADV7180 or MAX9526.
2013-01-11colibri_t30: fix system hang caused by USB device insertionMarcel Ziswiler
Booting with a bare USB hub (e.g. EvalBoard V3.1A) and later plugging in a USB device completely hang the system. This fixes it.
2013-01-11colibri_t30: clean-up board fileMarcel Ziswiler
Shorten GPL license header. Get rid of obsolete includes. Get rid of spurious comments. Fix indentation. Add some clarifying comments.
2013-01-09colibri_t30: integrate thermal throttlingMarcel Ziswiler
As our hardware only allows triggering an interrupt on over-temperature shutdown we setup a workqueue to catch leaving it again. For Tegra 3 NVIDIA relies on the regular Linux thermal subsystem. As follows some output during a thermal throttling run: root@colibri-t30:~# cat /sys/bus/i2c/devices/4-004c/temp2_os 45000 RAM 400/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB) cpu [12%,2%,3%,6%]@475 EMC 533 AVP 81 VDE 400 EDP limit 1300000 Temperatures CPU 42.4 Board 36.4 root@colibri-t30:~# cat /sys/bus/i2c/devices/4-004c/temp2_os 60000 RAM 400/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB) cpu [14%,5%,4%,4%]@1300 EMC 533 AVP 81 VDE 400 EDP limit 1300000 Temperatures CPU 54.2 Board 47.8 RAM 400/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB) cpu [100%,100%,100%,100%]@1200 EMC 533 AVP 81 VDE 400 EDP limit 1200000 Temperatures CPU 70.4 Board 56.6 root@colibri-t30:~# cat /sys/bus/i2c/devices/4-004c/temp2_os 75000 RAM 400/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB) cpu [54%,49%,48%,48%]@1200 EMC 533 AVP 81 VDE 400 EDP limit 1200000 Temperatures CPU 70.9 Board 57.1 RAM 400/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB) cpu [100%,100%,100%,100%]@1100 EMC 533 AVP 81 VDE 400 EDP limit 1100000 Temperatures CPU 75.3 Board 60.5 root@colibri-t30:~# cat /sys/bus/i2c/devices/4-004c/temp2_os 85000 RAM 401/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB) cpu [65%,61%,61%,61%]@1100 EMC 533 AVP 81 VDE 400 EDP limit 1100000 Temperatures CPU 75.2 Board 61.0 RAM 401/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB) cpu [100%,100%,100%,100%]@1000 EMC 533 AVP 81 VDE 400 EDP limit 1100000 Temperatures CPU 85.1 Board 69.8 RAM 401/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB) cpu [100%,100%,100%,100%]@760 EMC 533 AVP 81 VDE 400 EDP limit 1100000 Temperatures CPU 85.1 Board 69.9 root@colibri-t30:~# cat /sys/class/thermal/cooling_device0/cur_state 0 root@colibri-t30:~# cat /sys/class/thermal/cooling_device0/max_state 10 root@colibri-t30:~# cat /sys/class/thermal/cooling_device0/type balanced root@colibri-t30:~# cat /sys/class/thermal/thermal_zone0/cdev0_trip_point 0 root@colibri-t30:~# cat /sys/class/thermal/thermal_zone0/temp 84531 root@colibri-t30:~# cat /sys/class/thermal/thermal_zone0/trip_point_0_temp 85000 root@colibri-t30:~# cat /sys/class/thermal/thermal_zone0/trip_point_0_type passive root@colibri-t30:~# cat /sys/class/thermal/thermal_zone0/type lm95245_remote
2013-01-08colibri_t30: fix SPIMarcel Ziswiler
Our platform data erroneously used the forth (bus number 3) rather than the first (bus number 0) controller instance.
2013-01-08colibri_t30: get rid of obsolete NAND handlingMarcel Ziswiler
Get rid of obsolete NAND aka Colibri T30 v1.0a prototype handling.
2012-12-21colibri_t30: integrate spidev supportT30_LinuxImageV2.0Alpha0_20121227Marcel Ziswiler
Integrate spidev support straight from Colibri T20.
2012-12-21colibri_t30: i2c: clean-upMarcel Ziswiler
Clean-up I2C platform data.
2012-12-21colibri_t30: pin-mux: validate for latest hardwareMarcel Ziswiler
Validate pin-muxing for latest Colibri T30 v1.1a and v1.1b module hardware.
2012-12-05colibri_t30: MMC: fix building for SDMMC4BMarcel Ziswiler
This fixes the following build issue: arch/arm/mach-tegra/board-colibri_t30.c:276:41: error: 'colibri_t30_emmc_platform_data' defined but not used [-Werror=unused-variable] cc1: all warnings being treated as errors
2012-12-04colibri_t30: GPIO: re-work GPIO usageMarcel Ziswiler
Verify standard GPIO usage for latest v1.1a samples. While at it get rid of some commented out obsolete stuff.
2012-12-04colibri_t30: USB: integrate Ethernet initialisationMarcel Ziswiler
Integrate proper Ethernet initialisation analogous to how it is done for the Colibri T20.
2012-12-04colibri_t30: NAND: disable NAND on post v1.0a modulesMarcel Ziswiler
Add a commented out define for v1.0a modules with optional NAND variants which are auto detected.
2012-12-04colibri_t30: MMC/NAND: fix eMMC vs. NAND detectionMarcel Ziswiler
As we don't want to exclusively reserve the detection GPIO temporarily enabling it is still required.
2012-11-27colibri_t30: usb: integrate otg functionalityMarcel Ziswiler
Integrate USB OTG functionality similar to Colibri T20.
2012-11-27colibri_t30: comment, indentation and white space clean-upMarcel Ziswiler
Clean up various comments, indentation and white space issues.
2012-11-15colibri_t30: add DT boot supportMarcel Ziswiler
Use the existing boardfile for everything, just match using DT. See df80522dd557e2759552b6c6b0f1f1c8ad1c5614.
2012-11-15colibri_t30: integration of i2s slave mode supportMarcel Ziswiler
Add configurability support for i2s parameters. See 907bac80691c7df5b5b57cbf27f91e8bb1dcf434.
2012-11-15colibri_t30: sd: enable sd dpdMarcel Ziswiler
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. While at it remove commented out tegra_reserve stuff. See 5e07056dc8b922b8b43a01b60a949c1dda75d9a9.
2012-10-10colibri_t30: fix touch interrupt and tune touch responsivenessMarcel Ziswiler
Enable touch interrupt GPIO and tune STMPE811 platform parameters for better touch responsiveness.
2012-10-03asoc: colibri_t30: initial sgtl5000 codec integrationMarcel Ziswiler
Integrate ALSA SoC SGTL5000 codec on Toradex Colibri T30.
2012-10-03tegra: colibri_t30: initial Toradex Colibri T30 L4T R16 supportMarcel Ziswiler
Tested on early prototype Colibri T30 V1.0a eMMC module. Known issues: - spurious boot hang after following kernel message [ 5.595219] Timed out waiting for lock bit on pll pll_a - no audio (SGTL5000) support integrated yet - NAND detection/support disabled for now due to boot hang - USB OTG support disabled for now due to boot hang - trying to spawn L4T R16 X driver seems to hang Note: requires uImage with adjusted entry point/load address as follows mkimage -A arm -C none -O linux -T kernel -a 0x82008000 -e 0x82008000 -n 'Linux-3.1.10-colibri_t30' -d zImage uImage