summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-colibri_t20.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-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-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-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-04-02colibri_t20: android: enable back key wakeMarcel Ziswiler
Enable the back key as a wake-up source as well.
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-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-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_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-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-11colibri_t20: w1: re-add missing includeMarcel Ziswiler
Well commit bfd8d6dc27ccf00bf89b0a7bb3d359bab2142376 got rid of the w1 include a little prematurely.
2013-01-11colibri_t20: 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_t20: fix I2C SCL/SDA definesMarcel Ziswiler
Commit 39ca35e4610f1307247815ec5268b5072172d24a mixed up the SCL/SDA GPIOs. This fixes it again.
2013-01-11colibri_t20: clean-up board file.Marcel Ziswiler
Shorten GPL license header. Get rid of obsolete includes. Get rid of spurious comments. Fix indentation. Add some clarifying comments. Rename board level init_machine and reserve functions.
2013-01-09colibri_t20: adjust thermal throttlingMarcel Ziswiler
Adjust thermal throttling to latest lm95245 evolution and wait with the interrupt registration until we get the LM95245 drivers probe callback. While at it add some clarifying comments and wrap RTC stuff with a define.
2013-01-07colibri_t20: integrate thermal throttlingMarcel Ziswiler
As our hardware only allows triggering an interrupt on over-temperature shutdown we first use it to catch entering throttle limit and only then set it up to catch an actual over-temperature shutdown. While throttling we setup a workqueue to catch leaving it again. We support the same sysfs interface as on NVIDIA Ventana: root@colibri-t20:~# cat /sys/kernel/debug/thermal/shutdown 115000 root@colibri-t20:~# cat /sys/kernel/debug/thermal/throttle 90000 As follows some output of before and during a throttling run: root@colibri-t20:~# tegrastats RAM 159/345MB (lfb 36x4MB) Carveout 11/128MB (lfb 116MB) GART 0/32MB (lfb 32MB) IRAM 4/255kB(lfb 248kB) cpu [51%,23%]@216 EMC 666 AVP 72 VDE 240 EDP limit -1 Temperatures CPU 48.7 Board 43.2 root@colibri-t20:~# cat /sys/devices/system/cpu/cpu0/cpufreq/throttle 0 root@colibri-t20:~# cat /sys/bus/i2c/devices/4-004c/temp2_os 90000 root@colibri-t20:~# cat /sys/kernel/debug/thermal/shutdown 115000 root@colibri-t20:~# cat /sys/kernel/debug/thermal/throttle 90000 root@colibri-t20:~# tegrastats RAM 66/345MB (lfb 5x32kB) Carveout 75/128MB (lfb 53MB) GART 8/32MB (lfb 24MB) IRAM 20/255kB(lfb 232kB) cpu [85%,83%]@912 EMC 666 AVP 216 VDE 240 EDP limit -1 Temperatures CPU 90.1 Board 77.9 root@colibri-t20:~# cat /sys/devices/system/cpu/cpu0/cpufreq/throttle 1 root@colibri-t20:~# cat /sys/bus/i2c/devices/4-004c/temp2_os 115000
2013-01-07colibri_t20: hwmon: integrate ROS pin handlingMarcel Ziswiler
Integrate remote over-temperature shutdown ROS pin handling.
2013-01-07colibri_t20: clean-up I2C platform dataMarcel Ziswiler
Clean-up I2C platform data and bring it more in line with Colibri T30.
2013-01-03colibri_t20: fix high speed UARTsMarcel Ziswiler
Avoid the following issue on both /dev/ttyHS1 as well as /dev/ttyHS3: [ 4419.708332] tegra_uart tegra_uart.1: Setting clk_src pll_m [ 4419.714361] Failed to set parent pll_m for uartb (violates clock limit 600000000) [ 4427.469124] tegra_uart tegra_uart.3: Setting clk_src pll_m [ 4427.476177] Failed to set parent pll_m for uartd (violates clock limit 600000000)
2012-12-17colibri_t20: fix power key on EvalBoard v3.1aMarcel Ziswiler
As the new Colibri Evaluation carrier board v3.1a uses SODIMM pin 45 as IrDA transceiver SD with a 100 K pull-down we revert to using the power key as high active.
2012-12-17colibri_t20: gpio-keys: enable pull-upsMarcel Ziswiler
GPIO keys configured as active-low either require pull-ups on the carrier board or via pin-muxing. We enable the later for now.
2012-12-17colibri_t20: pin-mux: re-work function tri-statingMarcel Ziswiler
Use GPIO inputs for function tri-stating rather than pin group tri-stating to avoid influencing neighbouring pins. While at it get rid of most pull-up/downs and a lot of commented out stuff.
2012-12-17colibri_t20: camera: rename CAMERA_INTERFACE defineMarcel Ziswiler
Rename CAMERA_INTERFACE to COLIBRI_T20_VI which stands for video input to be more in-line with Colibri T30.
2012-12-17colibri_t20: I2C: remove optional CAM/GEN3_I2CMarcel Ziswiler
Get rid of optional CAM/GEN3_I2C on SODIMM pin 127/133.
2012-12-17colibri_t20: GPIO: re-work GPIO usageMarcel Ziswiler
Verify standard GPIO usage for latest v1.2a modules.
2012-12-12colibri_t20: implement DAC power save for Iris carrier boardMarcel Ziswiler
The Iris carrier board by default uses SODIMM pin 73 as DAC power save. Note: This conflicts with the CAN interrupt on the new EvalBoard v3.1a.
2012-11-14colibri_t20: add device tree supportMarcel Ziswiler
Enable device tree support for Colibri T20 by adding board compatible table. See 293b009a282e1508a4947d84463fdfe820445a50.
2012-11-14colibri_t20: do not power off USB phy in suspendMarcel Ziswiler
Since there is no PMC available in tegra2 we will not be able to get any remote wakeup events. Hence do not power of the phy during usb suspend. See c4a5c51e493a8d4154c15c95d2bd93b348090892.
2012-11-14colibri_t20: fix keyboard GPIO resp. GPIO K6Marcel Ziswiler
SODIMM pin 135 is really GPIO K6 multiplexed with ACC1_DETECT. Unfortunately the later can't be tri-stated but since it is anyway always an input it should not interfere. Please note however that this SODIMM pin is rather low resistance.
2012-11-12colibri_t20: GPIO keys implementation for AndroidMarcel 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)
2012-11-12colibri_t20: unify Ethernet initialisationMarcel Ziswiler
After fixing Ethernet detection faults in the T20 BSP V1.x based Linux kernel 2.6.36.2 and U-Boot 2011.06 unify the Ethernet initialisation. While at it fix some minor white space issue plus add some clarifying ifdef comments.
2012-11-02colibri_t20: android: hack to allow using ventana initrdMarcel Ziswiler
NVIDIA's Android for their Ventana 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.
2012-11-02colibri_t20: android: avoid registering any V4L2 sensor driversMarcel Ziswiler
NVIDIA's Android employs its own proprietary camera stack therefore make sure no V4L2 sensor drivers are registered.
2012-10-26colibri_t20: w1: added platform dataMax Krummenacher
2012-10-24colibri_t20: fix Android RAM consoleMarcel Ziswiler
Fix Android RAM console by reserving 1 MB of memory.
2012-10-18colibri_t20: add K9K8G08U0B NAND parametersT20_LinuxImageV2.0Alpha2_20121019Marcel Ziswiler
Add Samsung K9K8G08U0B NAND parameters usded for TSOP testing.
2012-10-18colibri_t20: integrate PWM LED functionalityMarcel Ziswiler
Backlight PWM now runs at 1 kHZ rather than 500kHz. Make PWM B, C, D accessible from userspace. e.g as /sys/class/leds/pwm_b. Make PWM A or C a led PWM depending on MECS_TELLURIUM.
2012-10-18colibri_t20: analog input ugly hackMarcel Ziswiler
While the ADC platform data passing worked just fine in kernel 2.6.36.2 this currently fails. Therefore introduce an ugly hack to explicitly get said data via a board level call back.
2012-10-18colibri_t20: clean-up ADC platform dataMarcel Ziswiler
Clean-up ADC platform data. While at it fix some white space in the clock initialisation table and add some comment concerning missing AC97 clock mux availability.
2012-10-03tegra: colibri_t20: clock clean-upMarcel Ziswiler
Clean-up some of the early clock initialisation hacks.
2012-10-01tegra: colibri_t20: fix pwm backlightMarcel Ziswiler
Fix PWM backlight by using PWM<A> rather than PWM<C> by default. Invert brightness value due to unified TFT interface displays (e.g. EDT ET070080DH6) inverted LEDCTRL pin behaviour (e.g. 0V brightest vs. 3.3V darkest) and use PWM frequency of 1 kHz as recommended. Add comment about PWM pin muxing. While at it do some ifdef and indentation clean-up.
2012-09-10tegra: colibri_t20: incorporate l4t-r16 changesMarcel Ziswiler
Incorporate L4T R16 changes from NVIDIA Ventana. Note: USB OTG port not functional as of yet.
2012-09-10tegra: colibri_t20: USB clean-upMarcel Ziswiler
Re-enable USB Ethernet gadget. Clean-up USB platform data.
2012-09-02tegra: colibri_t20: fix i2c usageMarcel Ziswiler
The I2C2 controller is used for display EDID via DDC_CLOCK/DATA on X3 pin 15/16. The regular GEN2_I2C pins can not be used for I2C functionality on the Colibri T20. The I2C3 controller can optionally be used via CAM/GEN3_I2C on SODIMM pin 127/133.