Age | Commit message (Collapse) | Author |
|
Use HDA HDMI audio now on Colibri T30 as well allowing for up to 7.1
multi-channel playback. Split board sound initialisation between Apalis
and Colibri T30 in order to distinguish better between default SPDIF
being supported out-of-the-box on Apalis vs. this being an optional
feature for the Colibri. Therefore remove SPDIF for the Colibri T30.
While at it add csus clock required for vi_sensor camera master clock
on Apalis T30 and clk_out_2/extern2 for Colibri T30, fix debug UART1
initialisation, get rid of spurious CONFIG_SND_USB enable and further
clean-up both board platform data files.
|
|
Fix (Colibri) resp. introduce (Apalis) SPI device controller data to
properly use HW based chip select with one clock of setup and hold time
each for both MCP2515 CAN controller(s) as well as spidev.
|
|
The 1.8V quirk also affected the internal eMMC which disabled newer
modes such as SDR50, SDR104 and DDR50. This in turn lead to an
out of spec usage since the clock was still 50MHz.
By creating a no_1v8 field in the platform data we can now enable
this work around on a per-instance basis. Hence we enable the
quirk only on the controllers which are connected to the external
SD-slots.
|
|
Add SPI controller platform data required for use of hardware chip
selects.
While at it pull-up SPI chip select pin due to NVIDIA's designers
taking the term chip select a little too personal: they indeed only
select a chip otherwise all the chip select pins are just left
floating!
|
|
The MCP2515 on the Colibri EvalBoard V3.1a actually uses regular system
reset aka RESET_OUT# on SODIMM 87 to reset the MCP2515.
Therefore clean-up resp. remove any MECS Tellurium legacy in that
respect.
While at it adjust copyright year, re-order some include, clean-up some
struct spacing, re-order clocks and improve some comments.
|
|
This commit adds settings such as:
- values of horizontal/vertical active start,
- enabling/disabling internal sync,
to the private data of decoders: MAX9526, ADV7180, TVP5150,
OV7670 and AS0260.
The feature is available through *_tegra_camera_platform_data
struct initialised in board-*.c files.
|
|
This commit fixes the crash that occures while loading tegra_v4l2_camera
module caused by its new features (private data per sensor).
updated files:
arch/arm/mach-tegra/board-apalis_t30.c
arch/arm/mach-tegra/board-colibri_t20.c
arch/arm/mach-tegra/board-colibri_t30.c
|
|
|
|
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.
|
|
Make use of the new STMPE ADC driver to expose the four free ADC
channels on the STMPE811 to userspace.
|
|
The port used for KEY_BACK does not support wakeup (no wake PIN). Remove
the wake flag, this prevents unbalanced irq warning messages.
|
|
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.
|
|
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.
|
|
Integrate ADV7180 and MAX9526 video decoder support and prepare for
drivers as modules.
|
|
Remove tegra_aes_device from the platform device list as it was listed
twice.
|
|
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.
|
|
Added skeleton code to define userspace accessable gpio.
Export gpios which are unlikely to be used for other functions.
|
|
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
|
|
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.
|
|
Unless HDA driver is enabled device enters safe mode upon start-up.
|
|
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.
|
|
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
|
|
Move GPIO defines to header file.
While at it get rid of spurious AVDD_DSI_CSI_ENB_GPIO define.
|
|
Explicitly configure MMC/SD card as 4-bit only by default.
|
|
Rename UARTs to be consistent with Colibri FF/BT/STDUART naming.
|
|
Rename PWM LEDs to be consistent with Colibri PWM<X> naming.
|
|
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.
|
|
Enable back key wake-up source.
|
|
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.
|
|
set DD pins to push/pull if not used for I2C in open drain mode
|
|
|
|
Add one-wire platform data. Still requires explicitly enabling the
following two kernel configuration options:
CONFIG_W1
CONFIG_W1_MASTER_TEGRA
|
|
Make PWM B, C, D accessible from userspace. e.g as
/sys/class/leds/pwm_b.
|
|
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)
|
|
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.
|
|
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.
|
|
Shorten GPL license header.
Get rid of obsolete includes.
Get rid of spurious comments.
Fix indentation.
Add some clarifying comments.
|
|
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
|
|
Our platform data erroneously used the forth (bus number 3) rather than
the first (bus number 0) controller instance.
|
|
Get rid of obsolete NAND aka Colibri T30 v1.0a prototype handling.
|
|
Integrate spidev support straight from Colibri T20.
|
|
Clean-up I2C platform data.
|
|
Validate pin-muxing for latest Colibri T30 v1.1a and v1.1b module
hardware.
|
|
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
|
|
Verify standard GPIO usage for latest v1.1a samples.
While at it get rid of some commented out obsolete stuff.
|
|
Integrate proper Ethernet initialisation analogous to how it is done
for the Colibri T20.
|
|
Add a commented out define for v1.0a modules with optional NAND
variants which are auto detected.
|
|
As we don't want to exclusively reserve the detection GPIO temporarily
enabling it is still required.
|
|
Integrate USB OTG functionality similar to Colibri T20.
|
|
Clean up various comments, indentation and white space issues.
|