summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-02tegra: makefile clean-upMarcel Ziswiler
Move Apalis T30 specific entries for alphabetical consistency. Put Colibri T30 items in alphabetical order.
2013-02-21colibri_t30: enable back key wake-upMarcel Ziswiler
Enable back key wake-up source.
2013-02-21colibri_t30: fix gpio-key pull-upsMarcel Ziswiler
Due to missing pull-ups on the gpio-key pins Android unintentionally entered safe-mode.
2013-02-21input: touchscreen: stmpe-ts: android orientation hackMarcel Ziswiler
Rotate touch for now due to missing resistive touch calibration integration. This makes our 7 inch EDT ET070080DH6 panel usable.
2013-02-20apalis_t30: fix 24 bpp rgb outputMarcel Ziswiler
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.
2013-02-19apalis_t30: fix analog audioMarcel Ziswiler
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.
2013-02-19apalis_t30: enable b43 driver as moduleMarcel Ziswiler
Enable building b43 driver as a module to demo Broadcom AirForce BCM4311 based mini-PCIe Wi-Fi 802.11a/b/g module.
2013-02-19apalis_t30: reset PLX PEX 8605 PCIe switchMarcel Ziswiler
Reset PLX PEX 8605 PCIe Switch on Apalis Evaluation Board to enable X43, X44 and X45.
2013-02-19apalis_t30: add generic Apalis GPIO definesMarcel Ziswiler
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
2013-02-19tegra: pcie: fix buildMarcel Ziswiler
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
2013-02-19tegra: pcie: new driverMarcel Ziswiler
Add new PCIe driver fixing multi-port operation. Pulled from Linux_Kernel-src_CARMA_DevKit-ver3.1.10_l4t_Rev545.tgz.
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-02-12input: touchscreen: add Fusion 7 and 10 multi-touch driverMarcel Ziswiler
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).
2013-02-12apalis/colibri_t20/30: updated Fusion 10 display timingsMarcel Ziswiler
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.
2013-02-05apalis/colibri_t20/30: add CPT CLAA101NC05 display timingsMarcel Ziswiler
This patch adds display timings for the Chunghwa Picture Tubes CLAA101NC05 10.1 inch 1024x600@60 single channel LVDS panel.
2013-02-05apalis_t30: add LG LP156WF1 display timingsMarcel Ziswiler
This patch adds display timings for the LG LP156WF1 15.6 inch full HD dual channel LVDS panel.
2013-02-05apalis_t30: add LVDS GPIO exportsMarcel Ziswiler
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
2013-02-01ARM: tegra: cardhu: Add battery regulatortegra-l4t-r16r3-rctegra-l4t-r16-er-2013-02-13Laxman Dewangan
Add battery regulator which is always-on. The rail which is powered from battery can be added on this rail as consumer. bug 1218527 Change-Id: I2394e1894649cd4fa736646981374681f603c832 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/#change,193052 (cherry picked from commit 4b9cabe87060bf5f252206aba5b62ea1ccb2ff83) Reviewed-on: http://git-master/r/193777 Tested-by: Preetham Chandru <pchandru@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-02-01config: tegra3: enable /dev mount with ACLMursalin Akon
enable /dev mount with ACL Bug 1225372 Bug 1219372 Change-Id: I3b80012e97c3a5ec8358285f81c5111a30ed19f8 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/196206 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-01-31staging: iio: light: isl29028: appropriately set interrupt flagPreetham Chandru R
set is_int_enable to true only if we register for a irq. Bug 1211260 Change-Id: I603efe721796db70d504da7999e5d7939d45d13a Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/193047 (cherry picked from commit 8b89b2b64c67d80fcfc29cd4f6a92d4527e70df9) Reviewed-on: http://git-master/r/195844 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-01-31arm: tegra: cardhu: no gyro in beaverBibek Basu
Add support for PM315 Bug 1217569 Change-Id: I230fcec04eb5a96441e2c19b304d608d86eaf996 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/191555 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2013-01-30apalis_t30: hack to fix MMC1 slot card detectionMarcel Ziswiler
Looks like this DPD stuff whatever it is fails 8-bit MMC1 slot card detection on our current Apalis T30 prototypes. See f4cd0d4448d65a42b65c338f85a3ab8064923c61.
2013-01-25fbcon: logo: allow easy integration of a custom Linux boot logoT30_LinuxImageV2.0Beta1_20130314T20_LinuxImageV2.0_20130305T20_LinuxImageV2.0Beta2_20130129Marcel Ziswiler
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.
2013-01-24igb: Add Support for new i210/i211 devices.Marcel Ziswiler
The following commit actually missed adding the new files: 7925180aee227f3de7af4a8cbad1c4b203a9132e
2013-01-24tegra: apalis_t30: initial Toradex Apalis T30 L4T supportMarcel Ziswiler
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.
2013-01-24asoc: colibri_t30: prepare for apalis_t30 interoperabilityMarcel Ziswiler
Prepare Kconfig for Colibri T30 ALSA SoC SGTL5000 board driver to be usable on Apalis T30 as well.
2013-01-24igb: apalis_t30: no NVM and hard-coded MAC address hacksMarcel Ziswiler
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.
2013-01-24arm: tegra: ahci/sata: fix driver buildMarcel Ziswiler
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()
2013-01-23igb: Add Support for new i210/i211 devices.Carolyn Wyborny
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>
2013-01-23igb: Add function and pointers for 82580 low power state settings.Carolyn Wyborny
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>
2013-01-21ASoC: sgtl5000: Fix maximum value for microphone gainT30_LinuxImageV2.0Alpha1_20130122Fabio Estevam
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>
2013-01-21ASoC: sgtl5000: enable VAG_POWER for LINE_INDong Aisheng
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>
2013-01-21ASoC: sgtl5000: Fix wrong register name in restoreZeng Zhaoming
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>
2013-01-21ASoC: sgtl5000: Enable VAG when DAC/ADC upZeng Zhaoming
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>
2013-01-21ASoC: sgtl5000: fix DB_RANGE sizeClemens Ladisch
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>
2013-01-21ASoC: sgtl5000: Fix wrong mask in some snd_soc_update_bits callsAxel Lin
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>
2013-01-21ASoC: Use SGTL5000_LINREG_VDDD_MASK instead of hardcoded mask valueAxel Lin
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>
2013-01-21ASoC: Set sgtl5000->ldo in ldo_regulator_registerAxel Lin
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>
2013-01-21ASoC: sgtl5000: Fix setting mic bias resistorAxel Lin
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>
2013-01-21ASoC: sgtl5000: Fix define for SGTL5000_BIAS_R_MASKAxel Lin
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>
2013-01-21ASoC: sgtl5000: fix module device table type for sgtl5000_dt_idsAxel Lin
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>
2013-01-21Conflict due to the fix for the register map failure - taken the for-3.1 ↵Mark Brown
version. Conflicts: sound/soc/codecs/sgtl5000.c
2013-01-21colibri_t30: set DD pins to push/pullMax Krummenacher
set DD pins to push/pull if not used for I2C in open drain mode
2013-01-21colibri_t30: w1: set platform data in w1-deviceMax Krummenacher
2013-01-16colibri_t30: Added 3.3V fixed regulator to replace ldo2 as the parent of all ↵Max Krummenacher
3.3V consumers
2013-01-16colibri_t30: V1.1b module moved some supplies - DDR: now supplied by VDD1 - ↵Max Krummenacher
PLLE: now supplied by LDO6 - Put the limits of the supplied circuit as constraints - Moved derived rails from 1.8V to 3.3V where applicable
2013-01-16colibri_t30: ldo1, ldo2 have now vio as parentMax Krummenacher
2013-01-16arm: Tegra: Beaver: PWRON key registrationRamalingam C
Registration of PWRON key through PMU interrupt Bug 1218247 Change-Id: I4d5d4a404fff28f2e34b1fd4af5712796eb8806c Signed-off-by: Ramalingam C <ramalingamc@nvidia.com> Reviewed-on: http://git-master/r/191574 Reviewed-by: Preetham Chandru <pchandru@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Peer Chen <pchen@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-01-14usb: gadget: tegra:change condition for vbus checkRakesh Bodla
Changing the condition for vbus check. VBUS will be present when OTG cable is connected, hence vbus status will be reflected wrong. Correct status is tracked through vbus_active variable. Bug 1158853 Bug 1214802 Change-Id: Ic904beb5919ddafef5becf39ddac1767cdda79cd Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/145148 (cherry picked from commit 00777683b05af76f15daa0152fb014183a32fa28) Reviewed-on: http://git-master/r/190673 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Preetham Chandru <pchandru@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2013-01-14media: v4l2: tegra: fixing memory access oops in tegra camera driverBryan Wu
Function pointer int (*queue_setup)() of struct vb2_ops in include/media/videobuf2-core.h is not compatible with our function call tegra_camera_videobuf_setup(). So building will generate warning and it will cause alloc_ctxs[] with wrong value, then introduce memory access oops later. Bug 1215617 Change-Id: I5d49ccd611a9435a5ee3b21e344bc0b5464ba747 Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/190036 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Andrew Chew <achew@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>