Age | Commit message (Collapse) | Author |
|
Move GPIO defines to header file.
While at it get rid of spurious AVDD_DSI_CSI_ENB_GPIO define.
|
|
Re-arrange defines in header file.
|
|
Get rid of spurious AC_PRESENT_GPIO/INT defines.
|
|
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.
|
|
Clean-up clocks. HDA clocks are of course required on Apalis T30.
|
|
Fix naming of fixed regulator initialisation function.
|
|
Fix naming of CAN initialisation function.
|
|
Move Apalis T30 specific entries for alphabetical consistency. Put
Colibri T30 items in alphabetical order.
|
|
Enable back key wake-up source.
|
|
Due to missing pull-ups on the gpio-key pins Android unintentionally
entered safe-mode.
|
|
Rotate touch for now due to missing resistive touch calibration
integration. This makes our 7 inch EDT ET070080DH6 panel usable.
|
|
Activate 24 bpp RGB output.
Please not that this is just the backend configuration. For true 24 bpp
output the framebuffer as well as driver have to be configured for 24
resp. 32 bpp as well.
|
|
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.
|
|
Enable building b43 driver as a module to demo Broadcom AirForce
BCM4311 based mini-PCIe Wi-Fi 802.11a/b/g module.
|
|
Reset PLX PEX 8605 PCIe Switch on Apalis Evaluation Board to enable
X43, X44 and X45.
|
|
Add defines for the generic Apalis GPIOs 1 to 8 and the special use
thereof on the Apalis Evaluation Board:
FAN_EN on GPIO8: enable FAN supply on X35
PEX_PERST_N on GPIO7: reset PCIe switch for X43, X44 and X45
TOUCH_WIPER on GPIO6: optional touch wiper GPIO
|
|
Fix the following build error using our OpenEmbedded gcc-4.7:
arch/arm/mach-tegra/pcie.c:335:22: error: 'reg_pmc_base' defined but
not used [-Werror=unused-variable]
cc1: all warnings being treated as errors
|
|
Add new PCIe driver fixing multi-port operation. Pulled from
Linux_Kernel-src_CARMA_DevKit-ver3.1.10_l4t_Rev545.tgz.
|
|
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.
|
|
This patch adds the multi-touch input driver for the TouchRevolution
Fusion 7 and 10 panels (See Fusion 7 and 10 drivers for Linux.pdf and
Linux Drivers Fusion 10.zip).
|
|
This patch contains updated display timings for the TouchRevolution
Fusion 10 aka Chunghwa Picture Tubes CLAA101NC05 10.1 inch 1024x600@60
single channel LVDS panel.
While at it add a note that the backlight brightness polarity is
display model specific.
|
|
This patch adds display timings for the Chunghwa Picture Tubes
CLAA101NC05 10.1 inch 1024x600@60 single channel LVDS panel.
|
|
This patch adds display timings for the LG LP156WF1 15.6 inch full HD
dual channel LVDS panel.
|
|
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
|
|
Looks like this DPD stuff whatever it is fails 8-bit MMC1 slot card
detection on our current Apalis T30 prototypes.
See f4cd0d4448d65a42b65c338f85a3ab8064923c61.
|
|
This patch allows for easy integration of a custom Linux boot logo to
replace the Tux' being shown by default.
Use gimp or the like to create a raw PPM in your desired resolution.
Reduce the number of colours in the image to 224:
user@host:~$ ppmquant 224 Toradex-640x480.ppm > \
Toradex-640x480-224.ppm
ppmquant: making histogram...
ppmquant: 370 colors found
ppmquant: choosing 224 colors...
ppmquant: mapping image to new colors...
Convert it from raw PPM to ASCII format:
user@host:~$ pnmnoraw Toradex-640x480-224.ppm > \
Toradex-640x480-ascii-224.ppm
Copy it into the Linux sources:
cp Toradex-640x480-ascii-224.ppm linux-toradex/drivers/video/logo/\
logo_custom_clut224.ppm
Activate exclusively custom Linux logo in the kernel configuration:
Device Drivers -> Graphics support -> Bootup logo ->
Custom 224-color Linux logo
And re-compile the kernel.
|
|
The following commit actually missed adding the new files:
7925180aee227f3de7af4a8cbad1c4b203a9132e
|
|
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.
|
|
Prepare Kconfig for Colibri T30 ALSA SoC SGTL5000 board driver to be
usable on Apalis T30 as well.
|
|
Springville with a blank Flash uses a different PCI ID. Hack the driver
to load despite i210 data sheet claiming tools only, not for driver.
Hack the driver to skip NVM validation on Apalis T30 for now.
Hack the driver to use a hard-code MAC address on Apalis T30 for now.
|
|
The following two functions seem to be obsolete therefore commented
resp. ifdefed out for now:
port_idle_status tegra_ahci_is_port_slumber()
tegra_ahci_are_all_ports_slumber()
|
|
This patch adds new initialization functions and device support
for i210 and i211 devices.
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|
|
82580 and later parts did not have low power setting functions. This patch
adds the specific functions, pointers and assignments for these low
power settings.
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|
|
sgtl5000 microphone gain only has 2 bits of resolution, so maximum value is 3.
From Eric Nelson:
"We also found that for the microphones we have here (commodity PC boom mics) a
default value of 2 for the gain gives the best results."
So change the default microphone gain as well.
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
LINE_IN also needs VAG_POWER on or we may hear noise when directly
route LINE_IN to Headphone Mux.
Tested on imx28evk.
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
Correct SGTL5000_CHIP_CLK_CTRL to SGTL5000_CHIP_REF_CTRL in
sgtl5000_restore_regs(), and add comment to explain the
restore order.
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Zeng Zhaoming <zengzm.kernel@gmail.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
As manual described, VAG is an internal voltage reference of DAC/ADC,
So enabled it before DAC/ADC up.
One more thing should care about is VAG fully ramped down requires 400ms,
wait it to avoid pop.
Signed-off-by: Zeng Zhaoming <zengzm.kernel@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
Give the correct number of entries to TLV_DB_RANGE_HEAD to prevent
reading more data than actually is in the array.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
|
|
Ensure all mask bits are clear before setting new value.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
We have defined SGTL5000_LINREG_VDDD_MASK in sgtl5000.h,
use it instead of hardcoded (0x1 << 4) - 1 for the mask.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
Otherwise calling ldo_regulator_remove() does not unregister regulator
and free memories.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
According to the datasheet:
CHIP_MIC_CTRL 0x002A
BITS[9:8] BIAS_RESISTOR
0x0 = Powerd off
0x1 = 2.0 kohm
0x2 = 4.0 kohm
0x3 = 8.0 kohm
To set mic bias resistor, we need to update bits[9:8] of
SGTL5000_CHIP_MIC_CTRL register.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
According to the datasheet:
CHIP_MIC_CTRL 0x002A
BITS[9:8] BIAS_RESISTOR
0x0 = Powerd off
0x1 = 2.0 kohm
0x2 = 4.0 kohm
0x3 = 8.0 kohm
Thus SGTL5000_BIAS_R_MASK should be defined as 0x0300 instead of 0x0200.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
The module device table for of_device_id should use "of" type.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
version.
Conflicts:
sound/soc/codecs/sgtl5000.c
|
|
set DD pins to push/pull if not used for I2C in open drain mode
|
|
|