Commit Graph

158907 Commits

Author SHA1 Message Date
Matt Sealey
ac1b2eb6ff RT3070 driver update
1) remove mainline (net/wireless/usb versions) from config since they don't do anything but associate
2) port drivers/staging/ ralink drivers from Linus' tree to here
   includes update to hexdump.c and kernel.h for hex_to_bin (replaces nibble, ABI change)
   includes update to ralink driver source to modify usb_alloc/free_coherent to old usb_buffer_alloc/free
   add it to the defconfig

You will need to grab the "Firmware RT28XX/RT30XX USB series" firmware (v 22 or above) from

http://www.ralink.com.tw/support.php?s=2

Unzip the zip file, inside is a license and rt2870.bin (an 8192 byte file). Copy this to
/lib/firmware/rt3070.bin (note the name change!) and the driver should load and work. Tested
with multiple pings, traceroutes, file copies (SCP and CIFS), YouTube..
2010-08-24 13:14:49 -05:00
Matt Sealey
a055a4143e rt2x00 updates 2010-08-23 11:50:09 -05:00
Matt Sealey
7c83b01ec6 21302c771b broke Kconfig, restore it 2010-08-20 10:35:55 -05:00
Matt Sealey
402dd5c0d4 Update defconfig for LED trigger 2010-08-19 17:40:43 -05:00
Matt Sealey
21302c771b Fix LED trigger for PATA_FSL 2010-08-19 17:40:23 -05:00
Matt Sealey
4e478eafc0 fix audio clock rate bug 2010-08-19 17:40:02 -05:00
Matt Sealey
a8c4657dbb Workaround for pm_power_off being overwritten by PMIC code later in init. System should
properly shut down (i.e. power is turned off) and reboot (i.e. goes back to U-Boot) now.
2010-08-19 17:19:30 -05:00
Matt Sealey
b30832ab9c Fancy treats from ARM mainline:
Proper Prefetch Abort for v6 and v7
 Pass IFSR to do_prefetchabort
 Add arch_mmap and get rid of sys_arm_mremap
 Handle possible translation errors in v6 v7 coherent_user_range
2010-08-19 14:47:29 -05:00
Matt Sealey
4a5462af37 Accidentally ifed out an audio regulator while checking into Ubuntu upstream
Added a workaround for the reboot doesn't reboot issue.
2010-08-19 14:37:51 -05:00
Matt Sealey
9791015939 [REGRESSION,2.6.30,v2] sched: update load count only once per cpu in 10 tick update window
https://patchwork.kernel.org/patch/90257/
2010-08-19 13:24:14 -05:00
Matt Sealey
bde1764ce3 PMIC: Sync with Babbage
Implement SW AUTO on regulator to save power

Fix a few constraints

Fix a few whitespace foibles and spelling mistakes
2010-08-19 13:11:33 -05:00
Matt Sealey
448127386d pass DI clocks as platform data 2010-08-19 09:17:28 -05:00
Matt Sealey
f51e9f5509 From: Russell King <rmk+kernel@arm.linux.org.uk>
Date: Mon, 28 Sep 2009 10:41:51 +0000 (+0100)
Subject: ARM: Ensure do_cache_op takes mmap_sem
X-Git-Tag: v2.6.32-rc3~11^2~11
X-Git-Url: http://android.git.geo.kernel.org/?p=kernel%2Fcommon.git;a=commitdiff_plain;h=aa45ee8fc0ee87c1711b5fe8eb3556d06530c39e

ARM: Ensure do_cache_op takes mmap_sem

do_cache_op() uses find_vma() to validate its arguments without holding
any locking.  This means that the VMA could vanish beneath us.  Fix
this by taking a read lock on mmap_sem.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-08-18 14:26:16 -05:00
Matt Sealey
a4807bc91c Gitweb: http://git.kernel.org/linus/d80ade7b323152672bf66e74ec11c324332f6d1e
Commit:     d80ade7b323152672bf66e74ec11c324332f6d1e
Parent:     fac28e6df9b5fdfa0cf6b99eae022609dd1108d5
Author:     Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
AuthorDate: Sun Sep 27 17:40:03 2009 +0100
Committer:  Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
CommitDate: Mon Sep 28 18:06:19 2009 +0100

    ARM: Fix warning: #warning syscall migrate_pages not implemented

    We're not implementing this syscall (we're not NUMA) so we might as
    well silence this warning.

    Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
2010-08-18 14:06:27 -05:00
Matt Sealey
8644555aea [ Upstream Kernel Changes ]
* ARM: 5677/1: ARM support for
    TIF_RESTORE_SIGMASK/pselect6/ppoll/epoll_pwait
    - LP: #319729
  * leds/mc13892: Use workqueue for setting LED brightness
    - LP: #531696
  * ARM: 5882/1: ARM: Fix uncompress code compile for different defines of
    flush(void)
    - LP: #319240
  * ARM: 5884/1: arm: Fix DCC console for v7
    - LP: #319240
  * ARM: 5885/1: arm: Flush TLB entries in setup_mm_for_reboot()
    - LP: #319240
  * ARM: 5886/1: arm: Fix cpu_proc_fin() for proc-v7.S and make kexec work
    - LP: #319240
  * ARM: 5888/1: arm: Update comments in cacheflush.h and remove
    unnecessary V6 and V7 comments
    - LP: #319240
  * arm: disable L2 cache in the v7 finish function
  * arm: invalidate TLBs when enabling mmu
 -- Andy Whitcroft <email address hidden> Tue, 09 Mar 2010 13:52:16 +0000
2010-08-18 14:02:06 -05:00
Matt Sealey
01fcc9d9d9 * ARM: VFP: add support to sync the VFP state of the current thread
- LP: #507503
* ARM: VFP: preserve the HW context when calling signal handlers
  - LP: #507503
2010-08-18 13:44:12 -05:00
Matt Sealey
97b5586360 From a84f9016213ae497f51617478ab478a5f7028a1e Mon Sep 17 00:00:00 2001
From: Bryan Wu <bryan.wu@canonical.com>
Date: Tue, 26 Jan 2010 19:00:22 +0000
Subject: [PATCH] UBUNTU: SAUCE: IMX51: only export NEON flag to userspace on Freescale iMX51 rev3.x or later silicon

BugLink: http://bugs.launchpad.net/bugs/507416

NEON function is broken on old Freescale iMX51 silicons, such as rev1.x and
rev2.x. Since more and more iMX51 based products will move to rev3.x or later
silicon, we need to enable NEON on these newer silicons and disable NEON on
those old ones.

This patch will detect the silicon revision dynamically and only export NEON
flag to userspace on Freescale iMX51 rev3.x or later silicon. It was tested on
Babbage 3.0 board and Babbage 2.x board.

Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2010-08-18 13:41:56 -05:00
Matt Sealey
9c0d03af74 sync a couple of options with Ubuntu upstream 2010-08-18 13:35:38 -05:00
Matt Sealey
5879524838 Added in clock changes
Differences from previous EfikaMX releases: less BSP patching!

Only clocks which are not explicitly reparented in mx51_clocks_init() have
been touched. They should probably be reparented by using clock_set_parent
instead. Touching ESDHC and HSI2C dividers has been removed: the ESDHC code
reset the divider twice for some reason and confuses the FSL code. HSI2C isn't
used on EfikaMX..

All of these changes probably need to be done in a pretty little mx51_efikamx_clock_fixup()
function or something. Any takers? :D
2010-08-17 00:27:00 -05:00
Matt Sealey
11ab3ec8f4 Fix a breakage when enabling MX51_GIGAHERTZ which can never happen, but.. better to be correct
Reduced number of structure changes to modify CPU voltages. Old code reset the voltages on TO2
for 1GHz, 800MHz and 166MHz but 1GHz and 800Mhz were already correct in the original structure.
Don't change it twice.

Enabled SCC device.
2010-08-16 23:20:23 -05:00
Matt Sealey
68657eb619 Workaround for monitor blank when xres > 1024 due to g_di_clk[disp] > ipu clock 2010-08-14 21:50:20 -05:00
Matt Sealey
2f4c643e12 Update DVFS platform data to match new BSP structure 2010-08-14 12:54:08 -05:00
Matt Sealey
8d7694083b fix tree breakage, typo removed line for audio init 2010-08-14 12:50:16 -05:00
Matt Sealey
b7dc0593a9 Update arch/arm makefile for modern GCC (armv7-a for Codesourcery 2009q1 and
beyond, and Ubuntu gcc)
2010-08-14 12:47:50 -05:00
Matt Sealey
33e93f9f84 EfikaMX defconfig for BSP 10.07.11 2010-08-14 12:41:40 -05:00
Matt Sealey
4a227175d3 Support for SII9022 transmitter
EDID updates for EDID 1.3, HDMI and CEA data
2010-08-14 12:35:09 -05:00
Matt Sealey
7fa0618862 Get i2c-imx up to a mainline revision (2.6.34) 2010-08-14 12:32:44 -05:00
Matt Sealey
8d96bbe76a Update EDID to handle EDID 1.3 and HDMI CEA data
Update framebuffer to support SII9022 and clock adjustment
2010-08-14 12:28:12 -05:00
Matt Sealey
112946c1bf LED trigger for IDE 2010-08-14 12:22:50 -05:00
Matt Sealey
5a003e91fa Efika MX platform support 2010-08-14 12:19:29 -05:00
Matt Sealey
28c1551b9b Update mach-types for new board names (LANGE51 -> EFIKAMX, KUNLUN -> EFIKASB) 2010-08-14 12:12:00 -05:00
Jie Zhou
03bc7b8a7a ENGR00125616 GPU: make sure device is stopped before close
When terminating some applications such as OpenGL ES2.0 conf. test,
kgsl_device_stop is not triggered. And run such kind of application
for several times, system hang happens for inconsistency of device
states. So make sure device is stopped in kgsl_device_close, which
is only called by last running caller process.

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-08-10 11:52:10 -05:00
Liu Ying
d21a3a6084 ENGR00125608-2 LDB:Return error when LDB probe fails
This patch avoids LDB custom suspend/resume functions to be called.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit d48bd2e1d1ecc166bdb23e2c2a60dd2e6ae0e772)
2010-08-10 11:52:10 -05:00
Liu Ying
50797e5954 ENGR00125608-1 TVE:Return error when TVE probe fails
This patch avoids TVE custom suspend/resume functions to be called.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit ec197f61d6dcc21393ab8ea3ffc5fe071914ccf2)
2010-08-10 11:52:09 -05:00
Hu hui
bf62e34178 ENGR00125521 USB: register/unregister gadget module cause system hang
In function of gadget unregister the phy will been put to lowpower
mode,however in function of gadget regisger the phy lowpower mode will
not been cleard when OTG pin detect enabled.

Signed-off-by: Huhui <b29976@freescale.com>
(cherry picked from commit 11dc51645fe5a196f53fb30369698b4cb4d1e296)
2010-08-10 11:52:08 -05:00
Jason Chen
8f6187a728 ENGR00125506 ipu dev: change mmap to writethrough policy
The mmap policy should be writethrough.

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit aceea32a54b8aa248d771b589d46ce8fbe3c2806)
2010-08-10 11:52:08 -05:00
Liu Ying
decc91a3ce ENGR00125552-2 LDB:Change LDB related video mode names
Change LDB related video mode names to align with MSL
code change.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit 4356737e33c837d038b99b9c77e1a3310f162e19)
2010-08-10 11:52:07 -05:00
Liu Ying
5d7015235b ENGR00125552-1 MX5:Change LDB related video mode names
Make LDB related video mode names be common names because the
video names may be used by other devices besides LVDS panels.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit 65ff4bdb388474875d2111b412c6375e0d1ce0c2)
2010-08-10 11:52:07 -05:00
Liu Ying
a957812e43 ENGR00125487-2 LDB:Add bootup option to register LDB driver
This patch avoids LDB framebuffer cause black flash issue or potential
black flash issue on one other framebuffer device which connects with
the same di when the system boots up or video mode is changed.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit b24e782a16b6b5d02f04c8daa7c5ef13f3b05270)
2010-08-10 11:52:06 -05:00
Liu Ying
e0d8942952 ENGR00125487-1 TVE:Add bootup option to register TVE driver
This patch avoids TVE framebuffer cause black flash issue or potential
black flash issue on one other framebuffer device which connects with
the same di when the system boots up or video mode is changed.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit a5dd4501783ee62c22a16e1d089803e3b1c09944)
2010-08-10 11:52:05 -05:00
Jie Zhou
29e496fc89 ENGR00125556 GPU: Check device refcnt before free memstore
memstore should only be freed when the device has been stopped with
device->refcnt equalling zero.

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-08-10 11:52:05 -05:00
Jie Zhou
4bb70f55fc ENGR00125434 GPU: Fix kernel oops when run ES2.0 conf. test for second time
memstore should be freed properly. a following change will be prepared to
improve the alloc/free logic for device memstore.

Signed-off-by: Jie Zhou <b30303@freescale.com>
Acked-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:52:04 -05:00
Richard Zhu
3b85c4eade ENGR00125489 esdhc: Fix the failure in DLL configurations
Adjust the Target dll value to support the TOSHIBA eMMC44 card.
Make sure that IPG, HLK, PER are enabled, and SDCLK is disabled.
SDCLKFS can't be set to zero on esdhc V3 IP.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:52:04 -05:00
William Lai
0021de74f1 ENGR00125396 ALSA CS42888: Remove the platform device from the bus
Use the platform_device_unregister instead of platform_device_put,
to remove the device from the audio subsystem, when it fails to reigster
the cs42888 card.

Signed-off-by: William Lai<b04597@freescale.com>
(cherry picked from commit b096820108269d4d67b44fd8652c475263ee8a18)
2010-08-10 11:52:03 -05:00
Jason Chen
3399b82cef ENGR00125374 v4l2 output: work-around VDI NFB4EOF error
If set both double buffer ready for VDI case, there will come out
NFB4EOF error.

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 24c1d799767732a7d654c1acd526c63acbe397fe)
2010-08-10 11:52:02 -05:00
Jie Zhou
4cd2daf53c ENGR00125353 GPU: use writecombine for mmap
Change pgprot_noncached to pgprot_writecombine in gsl_kmod_mmap to
improve performance

Signed-off-by: Thomas Peng <r80085@freescale.com>
Signed-off-by: Jie Zhou <b30303@freescale.com>
(cherry picked from commit 847baca41bceed49e397eaba8b1b3b00e86e20a3)
2010-08-10 11:52:02 -05:00
William Lai
88aa8e382a ENGR00125345 ALSA CS42888: Judge the codec member after initialization
Judge the codec memeber of the snd_soc_card_imx_3stack after the
platform_device_add function, as only after this function, the
cs42888_codec pointer will be passed to.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:52:01 -05:00
Richard Zhu
fcabf10640 ENGR00125338 esdhc: A stop in audio playback when insert the card
There would be a small silent stop in the audio playback
when insert the cards into the slot during the audio playback.
The root cause is the mis-spell delay that would be 10 times larger
than expection. Change the delay back to original expection.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:52:01 -05:00
Jie Zhou
25d42e43ac ENGR00125327 GPU: solve some problems in latest integration
With latest VG/GL fix integration from RC16/EA, there will be some problems
as below, which can be solved by this patch:
- ENGR00124884 will happen again
- suspend/resume will not be supported in gpu driver

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-08-10 11:52:00 -05:00
Jason Chen
a4f8c6d7e2 ENGR00125249 tve: fix tv primary display issue
Clk tree make default di1_clk's parent clk as pll3 when tve clk disable,
ipu disp module will re-calculate ipu pixel clk if di clk's parent clk
is not tve_clk. If blanks tve-fb0, di1 clk's parent will set to pll3,
unblank tve-fb0 need re-calculate tve clk.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:59 -05:00