summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-11colibri_t20: fix GMI_WR_N on SODIMM pin 93 RDnWRMarcel Ziswiler
Looks like we mixed up the low-active buffer enable GPIOs. This fixes GMI_WR_N on SODIMM pin 93 RDnWR curtsey Tord Andersson from Endian Technologies AB.
2013-01-11colibri_t30: migrate to proper machine typeMarcel Ziswiler
After having registered the following proper machine type migrate to actually using it. http://www.arm.linux.org.uk/developer/machines/list.php?id=4493
2013-01-11colibri_t20: w1: re-add missing includeMarcel Ziswiler
Well commit bfd8d6dc27ccf00bf89b0a7bb3d359bab2142376 got rid of the w1 include a little prematurely.
2013-01-11colibri_t30: w1: add platform dataMarcel Ziswiler
Add one-wire platform data. Still requires explicitly enabling the following two kernel configuration options: CONFIG_W1 CONFIG_W1_MASTER_TEGRA
2013-01-11colibri_t30: integrate PWM LED functionalityMarcel Ziswiler
Make PWM B, C, D accessible from userspace. e.g as /sys/class/leds/pwm_b.
2013-01-11colibri_t30: integrate LP1 suspendMarcel Ziswiler
Can be initiated both by LXDE Logout - Suspend or manually doing 'echo mem > /sys/power/state'. Uses GPIO key power (SODIMM pin 45, Iris X16-20) as wake-up source. If woken-up LXDE session does not automatically activate desktop again try manually doing a 'chvt 7'.
2013-01-11colibri_t30: GPIO keys implementationMarcel Ziswiler
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)
2013-01-11colibri_t30: clean-up camera definesMarcel Ziswiler
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.
2013-01-11colibri_t30: fix system hang caused by USB device insertionMarcel Ziswiler
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.
2013-01-11colibri_t30: clean-up board fileMarcel Ziswiler
Shorten GPL license header. Get rid of obsolete includes. Get rid of spurious comments. Fix indentation. Add some clarifying comments.
2013-01-11colibri_t20: clean-up camera definesMarcel Ziswiler
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.
2013-01-11colibri_t20: fix I2C SCL/SDA definesMarcel Ziswiler
Commit 39ca35e4610f1307247815ec5268b5072172d24a mixed up the SCL/SDA GPIOs. This fixes it again.
2013-01-11colibri_t20: clean-up board file.Marcel Ziswiler
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.
2013-01-09colibri_t30: integrate thermal throttlingMarcel Ziswiler
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
2013-01-09colibri_t20: adjust thermal throttlingMarcel Ziswiler
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.
2013-01-09hwmon: lm95245: add local temp and remote critical shutdown temp hooksMarcel Ziswiler
In order to allow tighter integration with external thermal throttling code add local temperature and remote critical shutdown temperature hooks. Rename the existing hooks for clarity.
2013-01-08colibri_t30: fix SPIMarcel Ziswiler
Our platform data erroneously used the forth (bus number 3) rather than the first (bus number 0) controller instance.
2013-01-08colibri_t30: get rid of obsolete NAND handlingMarcel Ziswiler
Get rid of obsolete NAND aka Colibri T30 v1.0a prototype handling.
2013-01-08can: mcp251x: add BERR counter functionalityMitja Spes
Add BERR counter functionality to MCP251x driver. Signed-off-by: Mitja Spes <mitja@lxnav.com>
2013-01-07colibri_t20: integrate thermal throttlingMarcel Ziswiler
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
2013-01-07hwmon: lm95245: add probe callback and remote OS hooksMarcel Ziswiler
In order to allow integrating with external thermal throttling code add a probe callback and remote over-temperature shutdown hooks.
2013-01-07colibri_t20: hwmon: integrate ROS pin handlingMarcel Ziswiler
Integrate remote over-temperature shutdown ROS pin handling.
2013-01-07colibri_t20: clean-up I2C platform dataMarcel Ziswiler
Clean-up I2C platform data and bring it more in line with Colibri T30.
2013-01-07hwmon: lm95245: implement remote over-temperature shutdown alarm limitMarcel Ziswiler
In addition to the critical temperature alarm limit this chip features a second alarm limit called remote over-temperature shutdown ROS with a separate pin configurable as trigger output. Implement this feature and add platform data to allow configuring respective pin as output.
2013-01-07hwmon: lm95245: clean-up reg index and offset usageMarcel Ziswiler
Rather than using hard-coded register indices and offsets define and use an enumeration thereof.