Age | Commit message (Collapse) | Author |
|
This fixes TC58NYG2S0HBAI4 and TH58NYG3S0HBAI4 which got added in
commit 2a1eb198705c ("colibri_t20: nand: add new v1.2b flashes")
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
To avoid spurious shutdowns on over-temperature make sure we read the
temperature 3 times in a row.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Adds compile time option to enable support for
Toradex Capacitive Touch Adapter.
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Integrate Atmel MXT multitouch controller driver which is interfaced
over I2C bus. The driver supports the 7" multitouch variant available
from Logic Technologies.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
At least the LM95245 temperature sensor is only supposed to be run at a
speed of 100 KHz.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Register SOC device to expose the SoC UID information via soc_sys
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
arch/arm/mach-tegra/board-colibri_t20.c:668:43: error: 'i2c2_ddc'
defined but not used [-Werror=unused-const-variable=]
static const struct tegra_pingroup_config i2c2_ddc = {
^~~~~~~~
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add Aptina AS0260 camera platform data.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Purely cosmetic clean-up of board files by fixing indentation,
re-ordering camera platform data, splitting lines longer than 80
characters etc.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Integrate ADV7280 video decoder support.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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.
|
|
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.
|
|
The port used for KEY_BACK does not support wakeup (no wake PIN). Remove
the wake flag, this prevents unbalanced irq warning messages.
|
|
Integrate ADV7180 video decoder support.
While at it prepare for ADV7180 as well as MAX9526 drivers as module.
|
|
|
|
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.
|
|
Enable the back key as a wake-up source as well.
|
|
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.
|
|
SODIMM-59, SODIMM-67 is no longer a GPIO and thus the PWM are usable again.
PWM<D>
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Well commit bfd8d6dc27ccf00bf89b0a7bb3d359bab2142376 got rid of the w1
include a little prematurely.
|
|
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.
|
|
Commit 39ca35e4610f1307247815ec5268b5072172d24a mixed up the SCL/SDA
GPIOs. This fixes it again.
|
|
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.
|
|
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.
|
|
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
|
|
Integrate remote over-temperature shutdown ROS pin handling.
|
|
Clean-up I2C platform data and bring it more in line with Colibri T30.
|
|
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)
|
|
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.
|
|
GPIO keys configured as active-low either require pull-ups on the
carrier board or via pin-muxing. We enable the later for now.
|
|
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.
|
|
Rename CAMERA_INTERFACE to COLIBRI_T20_VI which stands for video input
to be more in-line with Colibri T30.
|
|
Get rid of optional CAM/GEN3_I2C on SODIMM pin 127/133.
|
|
Verify standard GPIO usage for latest v1.2a modules.
|