Age | Commit message (Collapse) | Author |
|
Backlight PWM now runs at 1 kHZ rather than 500kHz.
Make PWM B, C, D accessible from userspace. e.g as /sys/class/leds/pwm_b.
Make PWM A or C a led PWM depending on MECS_TELLURIUM.
|
|
Fix PWM clock's special registry layout for parent clock.
|
|
Enable kernel configuration for USB audio.
|
|
To avoid the following systemd failure and as recommended we activate
IPv6 kernel configuration straight from NVIDIA's tegra_defconfig.
[ 21.532106] systemd[1]: could not find module by name='ipv6'
[ 21.555061] systemd[1]: Failed to insert 'ipv6'
|
|
While the ADC platform data passing worked just fine in kernel 2.6.36.2
this currently fails. Therefore introduce an ugly hack to explicitly
get said data via a board level call back.
|
|
Clean-up ADC platform data.
While at it fix some white space in the clock initialisation table and
add some comment concerning missing AC97 clock mux availability.
|
|
Add the following tested (e.g. framebuffer console and X) video modes:
- 800x480@60 (e.g. for EDT ET070080DH6)
- 800x600@60
- 1024x768@60
- 1024x768@75
- 1280x720@60 aka 720p
- 1366x768@60
The define TEGRA_FB_VGA in board-colibri_t30.h can be used to switch
between VGA and 800x480.
|
|
Enable touch interrupt GPIO and tune STMPE811 platform parameters for
better touch responsiveness.
|
|
Previous HZ / 50 calculation allowed for a touch sampling time of 20 ms
which is not sufficient if either the touch detect delay or the
settling time is longer than 500 us.
|
|
Add BTN_TOUCH event reporting to stmpe-ts touchscreen driver. This will
make this touchscreen driver behave consistently wrt. BTN_TOUCH.
cd2d64b1a0a12283d63c9d853d5b1403d5cd6c9d
65db86ac07e2f7f91a552490c0be6a99aab8e4a8
|
|
Integrate ALSA SoC SGTL5000 codec on Toradex Colibri T30.
|
|
Hack to avoid extensive warnings being logged during boot-up due to CPU clock adjustments before regulator being ready.
|
|
Tested on early prototype Colibri T30 V1.0a eMMC module.
Known issues:
- spurious boot hang after following kernel message
[ 5.595219] Timed out waiting for lock bit on pll pll_a
- no audio (SGTL5000) support integrated yet
- NAND detection/support disabled for now due to boot hang
- USB OTG support disabled for now due to boot hang
- trying to spawn L4T R16 X driver seems to hang
Note: requires uImage with adjusted entry point/load address as follows
mkimage -A arm -C none -O linux -T kernel -a 0x82008000 -e 0x82008000 -n 'Linux-3.1.10-colibri_t30' -d zImage uImage
|
|
Clean-up some of the early clock initialisation hacks.
|
|
Add the following tested (e.g. framebuffer console and X) video modes:
- 800x480@60 (e.g. for EDT ET070080DH6)
- 800x600@60
- 1024x768@60
- 1024x768@75
- 1280x720@70 aka 720p
- 1366x768@60
The define TEGRA_FB_VGA in board-colibri_t20.h can be used to switch
between VGA and 800x480.
|
|
Fix PWM backlight by using PWM<A> rather than PWM<C> by default.
Invert brightness value due to unified TFT interface displays (e.g. EDT
ET070080DH6) inverted LEDCTRL pin behaviour (e.g. 0V brightest vs. 3.3V
darkest) and use PWM frequency of 1 kHz as recommended.
Add comment about PWM pin muxing.
While at it do some ifdef and indentation clean-up.
|
|
Removing tegra_gpio_enable calls as they are supported through
set direction calls in the driver.
|
|
Removing tegra_gpio_enable and disable calls as they are supported
through set direction calls in the driver.
|
|
Add missing symbol exports to address gcc 4.7.2 from oe-core throwing following errors if usb gadget stuff compiled as modules (cf. 328d61af72a8f59f5dc53db8cddf8c8e572ad958).
|
|
Activate microphone bias which is used to enable microphone ground on Colibri T20.
|
|
Incorporate L4T R16 changes from NVIDIA Ventana.
Note: USB OTG port not functional as of yet.
|
|
Merge with latest NVIDIA L4T R16.
Only real conflict concerning inverted VBUS gpio support.
|
|
Re-enable USB Ethernet gadget.
Clean-up USB platform data.
|
|
Add a variant of rndis_bind_config to let gadget drivers change
rndis vendorID and manufacturer parameters.
Signed-off-by: Benoit Goby <benoit@android.com>
[make rndis_bind_config a static inline function]
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
The I2C2 controller is used for display EDID via DDC_CLOCK/DATA on X3 pin 15/16.
The regular GEN2_I2C pins can not be used for I2C functionality on the Colibri T20.
The I2C3 controller can optionally be used via CAM/GEN3_I2C on SODIMM pin 127/133.
|
|
Using UBI on tegra can give messages like:
root@colibri-t20:~# ubiattach -m 0
[ 115.218710] UBI: attaching mtd0 to ubi0
[ 115.229108] UBI error: io_init: bad write buffer size 0 for 4096 min. I/O unit
ubiattach: error!: cannot attach mtd0
error 22 (Invalid argument)
The writebufsize concept was introduce by commit
"0e4ca7e mtd: add writebufsize field to mtd_info struct" and it represents
the maximum amount of data the device writes to the media at a time. This is
an important parameter for UBIFS which is used during recovery and which
basically defines how big a corruption caused by a power cut can be.
Set writebufsize to the flash page size because it is the maximum amount of
data it writes at a time.
|
|
Currently dr_controller_run() is called only during otg state
change.
When we unload a gadget driver, for example g_mass_storage
gadget driver, dr_controller_stop() is called but when it is
loaded back dr_controller_run() won't get called becasue of the
if condition failure. i.e
if (!udc->transceiver) {
dr_controller_run(udc);
}
So when the gadget driver is loaded for the second time
without removing the cable (i.e without otg state change),
the device won't get enumerated on the host because DR
IRQs are not enabled.
This CL fixes the above issue.
Bug 1012787
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>
Change-Id: Ia127630e24dbe4c1e418163c2b858efb3baa8e45
Reviewed-on: http://git-master/r/114592
(cherry picked from commit be3e9def273181d1b44c1891de8602faebd719a8)
Reviewed-on: http://git-master/r/124283
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Give ownership of the DMA buffer back to the processor first and
then free the buffer. Otherwise processor won't be able to
access the dma mapped buffers and this would lead to slab
corruption.
When the DMA buffer is freed without a call to dma_sync_single_for_cpu(),
the kernel won't be able to set the buffer as POISON FREE and when we
acquire this memory back again the kernel will start printing slab
corruption output as the memory is not set to POISON FREE
Bug 1017884
Bug 1018161
Reviewed-on: http://git-master/r/#change,122151
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/122390
(cherry picked from commit 642d37a0eee196d0ce811dd11bb7af5ba281ee3a)
Change-Id: I00d6cb185cd2314cccb56f968eb0a05288588c13
Reviewed-on: http://git-master/r/123907
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Tegra 2 requires regulator to be on during lp0
Bug 1012273
Bug 1030730
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/116743
(cherry picked from commit 50331bba385d880f74dd9dcbce8a32d6f4e49f8c)
Change-Id: I8106582529fbb5d6fed76e56b32871af8806b918
Reviewed-on: http://git-master/r/123681
Tested-by: Peer Chen <pchen@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Set activation of a mode forcefully via setting FB_ACTIVATE_FORCE
flag. Required for stereo modes also.
Bug 1005399
Change-Id: I37872cc2a04abc8774a5f9f9df7d9e90f2c977f6
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/122087
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Reserve 16MB for HDMI maximum possible resolution (1920x1080) at
32 bpp and double buffering.
Change-Id: Id719a875b805723758485f970ab9e2f1a28ed19b
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/121562
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
|
|
This patch contains following changes:
1. Modify tegra_fb_update_monspecs to select best mode to apply
on framebuffer, in HDMI hotplug.
2. Add a console_lock to prevent corruption while fbcon running
in multiple threads.
3. Add a tegra_dc_disable/enable in tegra_fb_set_par to reflect
the programmed new mode applied on DC.
Bug: 1005399
Change-Id: I133b38b00f25f767afc05549550fecde8d092fb2
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/120932
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
NVMAP_CONVERT_CARVEOUT_TO_IOVMM is only available for IOMMU less SoCs.
This was introduced by (in 'main'):
commit b8b0b4c42fc77d94b8deadaa46f795784f3bbb5e
video: tegra: nvmap: Make IOMMU/IOVMM selectable in Kconfig
Bug 1017112
Change-Id: I2a6f101b15085ece600f77690bc77adc042eb29f
Reviewed-on: http://git-master/r/117976
(cherry picked from commit a68ae587edbc3ca5d3216d39c462abd84f469027)
Reviewed-on: http://git-master/r/121409
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Adding the conditions to prevent illegal register access.
Bug 993380
Change-Id: I8e275846612cbac70c1f50251d5f5d0700e845b0
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/117289
(cherry picked from commit c1513eaf68090a268f8ec1b2b6c7e7381c16dfdd)
Reviewed-on: http://git-master/r/117996
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Preetham Chandru <pchandru@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Initialize graphic and video input clocks in to safe frequency ranges.
bug 966041
Change-Id: I48a035b42bad5a6d36f56e2b0610baf0703c3bcd
Signed-off-by: Jong Kim <jongk@nvidia.com>
(cherry picked from commit c33f503e768c44913af8d96898da43be05cdc01a)
Reviewed-on: http://git-master/r/119792
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Make sure phy is turned ON before reading USB
registers.
Bug 993380
Bug 1006579
Bug 1018601
Change-Id: Ib951cad822f90f59fe829d016e2c1bda7a7cc243
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/116045
(cherry picked from commit a1a6db7dc88880fb3d4bca0036ce421e4032adae)
Reviewed-on: http://git-master/r/117972
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Adding the conditions to prevent illegal register access.
Bug 993380
Bug 1006579
Bug 1018601
Change-Id: Ifdeae6c8a16a87cf565ef7c954b363e9de885a20
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/113138
(cherry picked from commit a3c026a229bbce614d7f40319bada1d7bf42942d)
Reviewed-on: http://git-master/r/117966
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Preetham Chandru <pchandru@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Disable failing auto detach stuff for now as it caused the following issue upon cable disconnect:
[ 49.504039] eth0: EEPROM (0x18) = : 0800
[ 49.624580] eth0: EVENT: AX_CHK_AUTODETACH
|
|
We noticed stability issues trying to mount a root file system over NFS.
Looks like an updated driver from Asix works much better.
BTW: The mainline driver also has issues doing the same:
[ 174.422441] asix 1-1:1.0: eth0: asix_rx_fixup() Bad Header Length
[ 174.430045] asix 1-1:1.0: eth0: asix_rx_fixup() Bad RX Length 1645
Further investigation pending (e.g. backporting post 3.5 mainline driver).
|
|
Looks like the older modules prior to V1.2 using Micron MT29F8G08ABCBB NAND flash parts have some timing issue.
Decreasing the NAND flash controller clock from 144 back to 108 MHz seems to make it work again.
Further investigation pending (e.g. explicitly setting timing mode 4).
|
|
Clean-up some obsolete init stuff while at it.
Add note that V1.1c modules require proper BCT setting 666 rather than 721.5 MHz EMC clock in order for EMC scaling not to crash.
Specify zero carveout argument to tegra_reserve() for special handling due to already reserved fbmem/nvmem.
Requires our latest U-Boot 2011.06 from today which is compatible to both V1.x as well as V2.x images.
|
|
Support fbmem in addition to tegra_fbmem kernel argument for backwards compatibility reason.
Support nvmem kernel argument for carveout definition to be backward compatible.
Add special handling in case of already reserved fbmem/nvmem.
|
|
Fix typo and get rid of obsolete 333 MHz SDRAM table entry.
|
|
Optimise kernel configuration in the following areas:
- limit CGROUP options
- OPTIMIZE_FOR_SIZE
- no more HARMONY, VENTANA, KAEN, PAZ00, TRIMSLICE, WARIO or WHISTLER specific HW support
- ARM_ERRATA_752520
- VMSPLIT_2G
- no more IP_MULTICAST, IP_PNP_BOOTP, IP_PNP_RARP, TCP_CONG_ADVANCED or IPV6 support
- no more NETFILTER_XT support
- support Ambicom WL250N-USB Wireless 802.11b/g/n (V1.0a) with Ralink RT3070 chipset (Note: proprietary rt2870.bin firmware required)
- UBI support
- no more CONFIG_MD or CONFIG_DM support
- no more CONFIG_PPP_FILTER or CONFIG_PPP_SYNC_TTY support
- no more legacy joystick and PS/2 keyboard/mouse support
- provision for external octal UART support
- provision for analog input support
- no more CONFIG_TEGRA_CAMERA or CONFIG_TEGRA_DTV support
- no more CONFIG_TEGRA_DSI or CONFIG_TEGRA_NVHDCP support
- no more CONFIG_LCD_CLASS_DEVICE support
- CONFIG_HIDRAW and CONFIG_USB_HIDDEV required for Toradex Oak
- CONFIG_USB_SERIAL_GENERIC instead of CONFIG_USB_SERIAL_OPTION
- CONFIG_USB_ETH failed to build
- no more CONFIG_MMC_TEST support
- no more CONFIG_MSDOS_FS support
- no more CONFIG_LOCKUP_DETECTOR, CONFIG_DEBUG_SLAB, CONFIG_DEBUG_MUTEXES or CONFIG_DEBUG_SG support
- no more CONFIG_CRYPTO_TEST support
|
|
This module has -Werror turned on, so this was causing the build to
break on GCC 4.6:
drivers/net/wireless/bcm4329/wl_iw.c: In function 'wl_iw_set_pmksa':
drivers/net/wireless/bcm4329/wl_iw.c:5149:5: error: array subscript is above array bounds [-Werror=array-bounds]
drivers/net/wireless/bcm4329/wl_iw.c:5152:5: error: array subscript is above array bounds [-Werror=array-bounds]
It's a partial 'backport' of a change made to the bcmdhd driver:
commit 09a8dc7361d0e603d9935ec7f736fabaa2e6dc7a
net: wireless: bcmdhd: Combined P2P fix
Change-Id: Ie62ad82f884c213553772ac91eaf85e17a807503
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/88694
GVS: Gerrit_Virtual_Submit
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
Building an ac97 only configuration failed due to missing SND_SOC_TEGRA20_DAS.
While at it fix build time warning caused by two unused local variables.
|
|
Add missing symbol exports to address gcc 4.7.1 from oe-core throwing following errors if usb gadget stuff compiled as modules:
ERROR: "tegra_usb_phy_memory_prefetch_on" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_memory_prefetch_off" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_charger_detect" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_power_off" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_close" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_power_on" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_open" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
While at it following build time warning addressed as well:
arch/arm/mach-tegra/usb_phy.c: In function 'utmi_phy_postresume':
arch/arm/mach-tegra/usb_phy.c:1678:16: warning: unused variable 'inst' [-Wunused-variable]
|
|
Function erroneously checked the > 1 GHz case assuming cpu frequency being in Hz rather than kHz.
|
|
From a regulator point of view those PMICs differentiate in their SM2 voltage tables. While the older tps658621a and tps658621d as utilised on Harmony resp. Ventana have a range from 3000 to 4550 mV the tps658623 goes from 1700 to 2475 mV and the tps658643 just from 1025 to 1800 mV. Using its VERSIONCRC register the type of PMIC is queried and the right ranges applied.
|
|
Update function prototype along with:
commit 6cbf4c7465b7b70936cb422b509da0ad0829c306
ARM: tegra: iovmm: Allow alloc_client to take struct device
Change-Id: I11d173429413ab268f6ab789d90f321e3d33de2c
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/115391
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|