Age | Commit message (Collapse) | Author |
|
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.
|
|
Make use of the new STMPE ADC driver to expose the four free ADC
channels on the STMPE811 to userspace.
|
|
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).
|
|
Clean-up GPIO definitions and names (e.g. use LVDS_ defines, BKL1_ON
rather than BL_ON and HDMI1_HPD rather than hdmi_hpd).
|
|
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.
|
|
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.
|
|
Allow for jumper-less ACM operation by defaulting to 0x20 I2C address.
|
|
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
|
|
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.
|
|
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.
|
|
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
|
|
Remove tegra_aes_device from the platform device list as it was listed
twice.
|
|
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.
|
|
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.
|
|
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.
|
|
Clean-up clocks. HDA clocks are of course required on Apalis T30.
|
|
Fix naming of CAN initialisation function.
|
|
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.
|
|
Reset PLX PEX 8605 PCIe Switch on Apalis Evaluation Board to enable
X43, X44 and X45.
|
|
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
|
|
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.
|