Age | Commit message (Collapse) | Author |
|
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.
|
|
Fix DDR2 vs. LPDDR2 EMC memory frequency scaling.
|
|
Integrate EMC memory frequency scaling.
Note: currently only seems to work on latest production V1.2x modules.
|
|
Temporary carveout memory adjustment.
Plan is to make this kernel arguments configurable again which in turn can be set from within U-Boot.
|
|
Default to VESA VGA resolution rather than 1366x768.
Remove come debug prints and comments while at it.
|
|
Disable camera support by commenting CAMERA_INTERFACE define.
|
|
Fix GPIO flags direction stuff.
|
|
Clean-up some clocking stuff.
|
|
Clean-up obsolete 12/13 MHz oscillator selection.
|
|
Migrate Colibri USB OTG support.
|
|
Fix USB host enumeration issue.
|
|
Migrate LM95245 temperature sensor support.
|
|
Migrate spidev support.
|
|
Enable recommended kernel configuration options for a modern Angstrom system (http://dominion.thruhere.net/koen/cms/recommended-kernel-config-options-for-a-modern-angstrom-system).
|
|
Migrate AC97 audio capture aka record functionality.
|
|
|
|
1. Restoring control register correctly.
2. Enabling clock clamping while resume
Bug 959642
Reviewed-on: http://git-master/r/103127
Change-Id: If3de1a029ec7bd94f1e584a5bbc90affdfb4f468
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/105347
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Remove unsued pinmux for pn544 nfc which was introduced in
http://git-master/r/#change,62746
Bug 978207
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/104468
(cherry picked from commit d3869078b53e6e3499880d508607dc4a9883cbe0)
Change-Id: I7cad0dd480a00912873ca495d6ff53d34a934e1d
Reviewed-on: http://git-master/r/104901
Tested-by: Peer Chen <pchen@nvidia.com>
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
Upgrade the Tegra 3 SATA driver to support kernel 3.1.
The driver supports runtime_pm when doing power-gating during idle.
A new CONFIG_TEGRA_SATA_IDLE_POWERGATE is provided to enable/disable
power-gating during idle.
When sata clocks (sata, sata-oob and pll_e clocks) are in the
core_dvfs_table[] table, CONFIG_TEGRA_SATA_IDLE_POWERGATE must not
be enabled.
Currently, sata clocks are in the core_dvfs_table[]. Those clocks
will not be in that table in the future. By then,
CONFIG_TEGRA_SATA_IDLE_POWERGATE can then be enabled.
Change-Id: I15b585713bfd891f8827fd028b21bf3e5c2b80d9
Signed-off-by: Yen Lin <yelin@nvidia.com>
(cherry picked from commit b2f19ec92974fd45680300c6f2d8896afa96156d)
Reviewed-on: http://git-master/r/104798
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
Enable CONFIG_PREINIT_CLOCKS.
bug 967065
Change-Id: Ib6675f9bff6729ffe7dfcd8b753c42b5d32240e4
Signed-off-by: Jong Kim <jongk@nvidia.com>
(cherry picked from commit 09df3f00cb8e04ec1b7e421700dea3868cce0c0a)
Reviewed-on: http://git-master/r/104607
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
Add TEGRA_PREINIT_CLOCKS option to put host1x, disp1, and video clocks
into known state, so that L4T Ventana/Harmony works on u-boot.
bug 967065
Change-Id: If7637b13e0daf1823fa0fe694a87870f4601e4df
Signed-off-by: Jong Kim <jongk@nvidia.com>
(cherry picked from commit df259e5b4e0692733e4ae362ea19de01d4b9a72f)
Reviewed-on: http://git-master/r/104606
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
1. Change hdmi platform data structure's xres and yres values.
These values were made same as LVDS panel (1366x768). LVDS
runs fix display mode,but HDMI can switch to different modes.
The new values (640x480) are corresponding to HDMI's fallback
mode resolution.
2. Map bootloader's framebuffer content to fb1 also, to
initialize fb1's content, and to avoid black & white
strips when hdmi gets enabled but has no content in fb.
It sometimes causes inconsistency on fb_console mapped on HDMI.
Bug: 930136
Change-Id: Iecf0d8c1cdd6a1baec2aec9c5dded3d73d1347e1
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/103381
(cherry picked from commit 611caa58525e80f46eaf6990b68a7aa82f4f3dfa)
Reviewed-on: http://git-master/r/103667
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
We support dynamic pixel-clock setting now, so open HDMI mode
filter by not rejecting a mode due to pixel clock mismatch. If the
mode's requested pixclock is within the suppoted range, check few
constraints of hardware and allow it.
Add aspect ratio check to reject modes with awkward aspect ratio.
Bug 967458
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Change-Id: Ife474dbfe4137a000a4a43b0e1ff72847f2a8b0a
(cherry picked from commit ea14570cd39378a6098022e65d88410d618fa73f)
Reviewed-on: http://git-master/r/103100
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Set default videomode during the dc probe. This patch enables
HDMI during the probe only and fixes following issues:
1. Until Xinit there was no display on HDMI.
2. Framebuffer console on HDMI needs it to be enabled well before
Xinit.
To avoide un-necessary powering on HDMI,Check HPD and enable HDMI
only if it's present.
Bug: 930136
Bug: 977705
Change-Id: Ifb71328e5df0ccbb5751669db71fd24719fe3738
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/100656
(cherry picked from commit dfd813141283891e397d73958aabad38eddfe350)
Reviewed-on: http://git-master/r/103630
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Call dc_hdmi_mode_filter to validate a videomode. X prepares its
own modedb of supported HDMI modes, but all of them may not be
supported from the HDMI driver. This call makes sure a X-mode is
listed only if supported in DC driver.
Bug: 959676
Change-Id: I8aff65f4e08fcc4471af096150e3972b5913a95a
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/103067
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
Add MODULE_LICENSE to modules that do not advertise a license,
and therefore taint the kernel.
Bug 979176
Change-Id: I1abbfa9ca1535b39e70d8bf7aa975e2663a6e45d
Signed-off-by: Eric Brower <ebrower@nvidia.com>
Reviewed-on: http://git-master/r/102869
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
This reverts commit 9349cedf17f9b3c10760c8d48f831473f87a3a15.
It is reviewed on http://git-master/r/99635
It will cause HDMI power ON and emc clock bump up to 667Mhz
after resume from LP0.
bug 930136
Change-Id: I130494fdb381b3d322ac0e3fc8be2e44f2c2d7a7
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/103092
GVS: Gerrit_Virtual_Submit
Tested-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
tegra_ehci_suspend_noirq/tegra_ehci_resume_noirq breaks
the modem suspend call as it does a regulator_disable()/regulator_enable
call which in turn requires the irqs to be enabled.
Hence maintain a normal suspend call i.e with irqs enabled but
split the resume to normal resume and noirq resume.
Spliting the resume in this way takes care of the below erros in
lp0/lp1
"tegra-ehci tegra-ehci.2:fatal error"
"tegra-ehci tegra-ehci.2: HC died; cleaning up"
Originally resume_noirq & suspend_noirq were added to avoid the above
errors but since it breaks the modem suspend call splitting the suspend
and resume in this way
Bug 954564
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: I630b3dbe2ca66d194857dc71ababa3e5955785b1
Reviewed-on: http://git-master/r/99100
(cherry picked from commit 4c5a8859490c249ce8a7310f04053d5a4741833f)
Reviewed-on: http://git-master/r/102825
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Some boards don't have a vddio regulator for few rails hence not getting
the regulator handle. And we assume that those rails are always powered.
Hence rephrased the error message and lowered the loglevel to KERN_INFO.
Bug 976177
Change-Id: I92b82f75934eaf7137584a625065e3389b6ae1b7
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/100490
(cherry picked from commit 94e4c7d5f745f9fd4471796a5321f87508daba7c)
Reviewed-on: http://git-master/r/102753
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
RTC_WKALM_SET ioctl should do two things:
1. Set alarm value
2. Enable alarm irq
In the current implementation for RTC_WKALM_SET ioctl we are only setting
the alarm value but not enabling the alarm irq and hence the system
is not waking from lp0 state once the set alarm value expiries.
For RTC_WKALM_SET ioctl, alarm->enabled will be set to one from userspace.
So based on this condition we can differentiate between RTC_WKALM_SET &
RTC_ALM_SET and accordingly enable alarm irq.
Bug 978205
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: Ia35192e691ca116b13093f52873020f67c5c2f8d
Reviewed-on: http://git-master/r/101447
(cherry picked from commit d03e84c4d981d65d7b7e68322ce02157c7e7a6c7)
Reviewed-on: http://git-master/r/102752
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
We should not call dev_get_drvdata() as the driver data is never set.
We should use container_of() as it is been used for other sysfs attributes.
Without this change writing to the soft_connect or srp interfaces crashes
the kernel because of null pointer dereference.
Bug 975473
Signed-off-by: Preeham Chandru R <pchandru@nvidia.com>
Change-Id: I45f6dab32f5435d518bd5b4fcdfafa54b9b89acd
Reviewed-on: http://git-master/r/100238
(cherry picked from commit 446b1ef096686dade535c7316e536d3d743c0331)
Reviewed-on: http://git-master/r/101997
Tested-by: Preetham Chandru <pchandru@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Change wlan interface from mlan to wlan.
Bug 954218
Change-Id: I5b2b2840a4830eda908a47cc0fc59d0479a1df34
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/98997
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
|
|
enable marvel driver as module to load at boot time
Bug 954218
Change-Id: I7dc6385dcbad7b7a7960b688c6d74bd6bc35cad9
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/98454
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
The CL disables SDIO card clock when idle for Tegra 3 only.
Bonus: conditional build for some tegra 3 functionalities.
Bug 975541
Change-Id: I097c4771f3565bf9137d7854ada10c1fe8535056
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/99707
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Peer Chen <pchen@nvidia.com>
|
|
Set window enabled flag in pan display. This fixes a blank
window display while switching console from dc_ext device to
framebuffer device, and allows dc_ext and fbdev to co-exist.
Removed previous work around to unblank fb from
tegra_dc_blank function.
Bug: 970263
Bug: 963480
Change-Id: I9853da211f78815246965d240d1717345c5ab391
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/99422
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>
|
|
Allow setting bias level to turn off clock extern1 on KAI when
codec is idle. Added a dummy widgets to make the target_bias_level
to BIAS_OFF as per required by the new ALSA kernel.
Bug 964287
Change-Id: I628744040866a9879eedc41ed4ee25af38ed86fb
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/99667
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Allow setting bias level to turn off clock extern1 when codec
is idle.
Bug 964287
Change-Id: I48056b86a9fdaea70202bee9326debaaddf69c0c
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/99665
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Allow setting bias level to turn off clock extern1 when codec
is idle.
Bug 964287
Reviewed on: http://git-master/r/#change,93950
Change-Id: Icc11e8bfb359b432f0bfd9ba214877259188de2b
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/99659
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Set default videomode during the dc probe. This patch enables
HDMI during the probe only and fixes following issues:
1. Until Xinit there was no display on HDMI.
2. Framebuffer console on HDMI needs it to be enabled well before
Xinit.
Bug: 930136
Change-Id: Ieaf5c69eefa4a6584893425ad4fd772bcd91ea11
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/99635
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Bug 975433
MAX77663 driver hasn't implemented irq_set_wake(). Actually its
interrupt always wakes up AP. Set wakeup = false to reduce warning
messages in kernel.
Change-Id: Id4f43d7d2ba879c92846091e2062765de7ea477e
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/99536
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
|