summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-24ENGR00123741 MX28: Add IOCTL commands to L2 switch driverrel_imx_2.6.31_10.05.02Niu Xule
L2 switch driver command line controlling support Signed-off-by: Niu Xule <b23300@freescale.com> (cherry picked from commit 0a7aa1adb81abe60f21f34e44e3fcc81f6c15fa2)
2010-05-24ENGR00123744-3 iMX23 enable unique id supportFrank Li
Add config file Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-05-24ENGR00123744-2 iMX23 enable unique id supportFrank Li
Add opt uuid support Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-05-24ENGR00123744-1 iMX23 add unique ID supportFrank Li
copy file from stmp plat Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-05-24ENGR00123734 fix PxP hang issue when streamon and streamoff frequentlyRobby Cai
There might be some corners case which causes PxP hang up. This is just a workaround to fix this. Signed-off-by: Robby Cai <R63905@freescale.com> (cherry picked from commit 0e3cb33d9af86bdfd6978ac70f6086ca497cefbf)
2010-05-21ENGR00123436 Clear GPMI LOCK_CS to lower suspend current.Frank Li
GPMI LOCK_CS set to low can lower suspend current about 5mA. Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Turley Patrick <b18601@freescale.com>
2010-05-21ENGR00122307 MX23 ALSA: Speaker is muted after playbackLionel Xu
Speak should not be muted after playback Signed-off-by: Lionel Xu <r63889@freescale.com>
2010-05-21ENGR00122302 MX23 ALSA: Resolve the failure when pausing and resuming playbackLionel Xu
To reslove the problem when resuming a playback from pausing Signed-off-by: Lionel Xu <r63889@freescale.com>
2010-05-21ENGR00123514 MX28: System hangs when set different cpu freq continuouslyNancy Chen
MX28: System hangs when set different cpu freq continuously. Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-05-20ENGR00123438: iMX23 Mount as usb device then go to standby, system haltJeremy.Yao
Fix system timer suspend/resume operation in mx23 pm module Signed-off-by: Jeremy Yao <r65161@freescale.com> (cherry picked from commit 3975fa294e8cd0cf6174ba35d98266b287787783)
2010-05-20ENGR00123454 [MX23] FIX LCD no display issue after switch back from TVoutRobby Cai
Due to the LCDIF clock caculation problem. Signed-off-by: Robby Cai <R63905@freescale.com> (cherry picked from commit a3ac3c774a71678619d34cba412a2ab535d4ab7f)
2010-05-19ENGR00123554 mx233/mx28: Enlarge the ramdisk sizePeter Chen
The WindowsXP can only recognize the ramdisk size above 8MiB. Signed-off-by: Peter Chen <b29397@freescale.com>
2010-05-19ENGR00123491 i.mx53 arc usb host increase tx fifo threshold.Jun Li
There are bad turnaround erros when copying data from SD to Udisk via Host port in i.mx53. Tunning TX fifo fill threshold from 2 to 8. FIFO Burst Threshold:(Read/Write) [Default = 2] This register controls the number of data bursts that are posted to the TX latency FIFO in host mode before the packet begins on to the bus. The minimum value is 2 and this value should be a low as possible to maximize USB performance. A higher value can be used in systems with unpredictable latency and/or insufficient bandwidth where the FIFO may underrun because the data transferred from the latency FIFO to USB occurs before it can be replenished from system memory. This value is ignored if the Stream Disable bit in USBMODE register is set. Signed-off-by: Li Jun <r65092@freescale.com>
2010-05-19ENGR00123441 imx23, fix ethernet can not suspendZhou Jingyu
fix ethernet can not enter suspend state Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-05-19ENGR00123412: iMX23 Copy data from SD to NAND Kernel WarningJeremy.Yao
Remove unnecessary spin lock. Signed-off-by: Jeremy Yao <r65161@freescale.com>
2010-05-19ENGR00123446 Can not get ip address after ifconfig eth0 downJason Liu
-Fix the fec_enet_mdio_write function with correct FEC_MMFR_OP_WRITE -Correct comments "start a read op" inside the fec_enet_mdio_write function -Need do fec_restart in fec open since we do fec_stop in fec close -Need do phy_stop in fec close to set the correct phy state machine Signed-off-by:Jason Liu <r64343@freescale.com>
2010-05-19ENGR00123389: iMX23 system fail to detect sd removeJeremy.Yao
Fix the problem the card is still connected while status shows it's removed Signed-off-by: Jeremy Yao <r65161@freescale.com>
2010-05-19ENGR00123559 Android lowmemorykiller judges the number of free pages incorrect.Xinyu Chen
low memory killer has problem to judge the current free pages in system. It gets total reclaimable anon cache and free pages as it's judging data. But on our platforms, we have DMA zone there, and normal process can not allocate memory from DMA. So here, just remove the DMA's free/anon pages from this data. Let low memory killer works well. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-05-18ENGR00123558 v4l2 output: add own workqueue for v4l outputJason Chen
During v4l2 output playback, there is performance issue after below commit: UBUNTU: SAUCE: (upstream) netdev/fec: fix performance impact from mdio poll operation Use common workqueue cause this issue, so create an own workqueue for v4l2 output. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-05-18netdev/fec: fix ifconfig eth0 down hang issueBryan Wu
BugLink: http://bugs.launchpad.net/bugs/559065 In fec open/close function, we need to use phy_connect and phy_disconnect operation before we start/stop phy. Otherwise it will cause system hang. Only call fec_enet_mii_probe() in open function, because the first open action will cause NULL pointer error. Signed-off-by: Bryan Wu <bryan.wu@canonical.com> Acked-by: Tim Gardner <tim.gardner@canonical.com> Acked-by: Colin King <colin.king@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2010-05-17ENGR00123527 fix iMX23 udhcpc fail to get ip addressFrank Li
Miss CONFIG_PACKET at default config Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-05-17ENGR00122965 Improve USB100 feature due to bootloader change.Frank Li
Smalle change due to the bootloader change and fix Mx23 fail caused by clock module change. Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-05-17ENGR00123512 ipu: fix ipu lib compile errorJason Chen
Fix ipu lib compile error after 4-stripes resize patch pushed. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-05-17ENGR00123507 IPUv3:Set suitable IDMAC burst size for UYVY and ABGR32Liu Ying
1)Set the IDMAC channel's burst size to be 32 pixels if the channel is in UYVY pixel format. 2)Set the IDMAC channel's burst size to be 16 pixels if the channel is in ABGR32 pixel format. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-05-16ENGR00123294 MX53: 4 stripes algorithm for support resizing for big screenmark gutman
The updated algorithm allows output frame size up to 2048x2048 Signed-off-by: Mark Gutman <Mark.Gutman@freescale.com>
2010-05-16ENGR00123439 DMFC size: IPU DMFC DP high resulution fail to display small frameRan Ferderber
update the DMFC size to avoid usage of WAIT4EOT when possible Signed-off-by: Ran Ferderber <r53561@freescale.com>
2010-05-14phylib: Move workqueue initialization to a proper placeAnton Vorontsov
commit 541cd3ee00a4fe975b22fac6a3bc846bacef37f7 ("phylib: Fix deadlock on resume") caused TI DaVinci EMAC ethernet driver to oops upon resume: PM: resume of devices complete after 237.098 msecs Restarting tasks ... done. kernel BUG at kernel/workqueue.c:354! Unable to handle kernel NULL pointer dereference at virtual address 00000000 [...] Backtrace: [<c002c598>] (__bug+0x0/0x2c) from [<c0052a54>] (queue_delayed_work_on+0x74/0xf8) [<c00529e0>] (queue_delayed_work_on+0x0/0xf8) from [<c0052b30>] (queue_delayed_work+0x2c/0x30) The oops pops up because TI DaVinci EMAC driver detaches PHY on suspend and attaches it back on resume. Attaching makes phylib call phy_start_machine() that initializes a workqueue. On the other hand, PHY's resume routine will call phy_start_machine() again, and that will cause the oops since we just destroyed the already scheduled workqueue. This patch fixes the issue by moving workqueue initialization to phy_device_create(). p.s. We don't see this oops with ucc_geth and gianfar drivers because they perform a fine-grained suspend, i.e. they just stop the PHYs without detaching. Reported-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Tested-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-14phylib: Properly reinitialize PHYs after hibernationAnton Vorontsov
Since hibernation assumes power loss, we should fully reinitialize PHYs (including platform fixups), as if PHYs were just attached. This patch factors phy_init_hw() out of phy_attach_direct(), then converts mdio_bus to dev_pm_ops and adds an appropriate restore() callback. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-14phylib: Fix deadlock on resumeAnton Vorontsov
Sometimes kernel hangs on resume with the following trace: ucc_geth e0102000.ucc: resume INFO: task bash:1764 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. bash D 0fecf43c 0 1764 1763 0x00000000 Call Trace: [cf9a7c10] [c0012868] ret_from_except+0x0/0x14 (unreliable) --- Exception: cf9a7ce0 at __switch_to+0x4c/0x6c LR = 0xcf9a7cc0 [cf9a7cd0] [c0008c14] __switch_to+0x4c/0x6c (unreliable) [cf9a7ce0] [c028bcfc] schedule+0x158/0x260 [cf9a7d10] [c028c720] __mutex_lock_slowpath+0x80/0xd8 [cf9a7d40] [c01cf388] phy_stop+0x20/0x70 [cf9a7d50] [c01d514c] ugeth_resume+0x6c/0x13c [...] Here is why. On suspend: - PM core starts suspending devices, ucc_geth_suspend gets called; - ucc_geth calls phy_stop() on suspend. Note that phy_stop() is mostly asynchronous so it doesn't block ucc_geth's suspend routine, it just sets PHY_HALTED state and disables PHY's interrupts; - Suddenly the state machine gets scheduled, it grabs the phydev->lock mutex and tries to process the PHY_HALTED state, so it calls phydev->adjust_link(phydev->attached_dev). In ucc_geth case adjust_link() calls msleep(), which reschedules the code flow back to PM core, which now finishes suspend and so we end up sleeping with phydev->lock mutex held. On resume: - PM core starts resuming devices (notice that nobody rescheduled the state machine yet, so the mutex is still held), the core calls ucc_geth's resume routine; - ucc_geth_resume restarts the PHY with phy_stop()/phy_start() sequence, and the phy_*() calls are trying to grab the phydev->lock mutex. Here comes the deadlock. This patch fixes the issue by stopping the state machine on suspend and starting it again on resume. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-15ENGR00123489 Support vpu suspend/resume on mx53Sammy He
Support vpu suspend/resume on mx53. Don't do power gating and firmware re-install on mx53. Signed-off-by: Sammy He <r62914@freescale.com>
2010-05-13ENGR00123437 iMX28: Add nand support for updater defconfigPeter Chen
1. Add nand support for iMX28 updater defconfig, and fix bug for compiling error for not adding cpu freq config 2. Build-in ext3 and JBD function for support sd ext3 rootfs Signed-off-by: Peter Chen <b29397@freescale.com>
2010-05-12ENGR00123280 MX5x SRTC: Add ioctls for time set notificationAnish Trivedi
Implement RTC_READ_TIME_47BIT and RTC_WAIT_FOR_TIME_SET ioctls. Updates based on review comments. Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-05-12ENGR00122216-3 Build in LDB driver for imx5 platformsLiu Ying
Build in LDB driver for imx5 platforms. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-05-12ENGR00122216-2 Support LDB driverLiu Ying
This patch adds LDB driver support. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-05-12ENGR00122216-1 MX53 MSL:Change for LDB supportLiu Ying
This patch includes IOMUX, clock change for LDB and adds LDB platform device. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-05-12ENGR00123078-2 MX28: L2 Switch supportNiu Xule
L2 Switch support Signed-off-by: Niu Xule <b23300@freescale.com>
2010-05-12ENGR00123078-1 MX28: Add L2 Switch resources definitionNiu Xule
L2 Switch resources definition for MX28 Signed-off-by: Niu Xule <b23300@freescale.com>
2010-05-12ENGR00123400 imx53 arm2: set correct IOMUX for dviJason Chen
Set the correct IOMUX for ARM2 board. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-05-12ENGR00122780 ipufb: rework display device setting methodJason Chen
Rework the display command line options to not require new option for every new display. Add mxcdi0fb/mxcdi1fb option <fmt> and to tell system what kind of display device is going to use. Use "di1_primary" to make DI1 the primary display (i.e. fb0). The display selection is done using video= parameter. For example on imx51: di di_fmt video_mode DVI: 0 RGB24 mxcdi0fb:800x600M-16@60 etc DVI-HDMI: 0 RGB24 mxcdi0fb:720P60 LVDS: 0 LVDS666 mxcdi0fb:XGA WVGA lcd: 1 RGB565 mxcdi1fb:800x480M-16@55 TVE: 1 YUV444 mxcdi1fb:TV-NTSC mxcdi1fb:TV-PAL mxcdi1fb:720P60 For example on imx53: di di_fmt video_mode DVI: 0 RGB24 mxcdi0fb:800x600M-16@60 etc DVI-HDMI: 0 RGB24 mxcdi0fb:720P60 WVGA lcd: 0 RGB565 mxcdi0fb:800x480M-16@55 TVE: 1 YUV444 mxcdi1fb:TV-NTSC mxcdi1fb:TV-PAL mxcdi1fb:720P60 If you want to set NTSC tv as primary display, and make second display DI0 as DVI 1024x768 resolution, just add "di1_primary video=mxcdi0fb:RGB24,1024x768M-16@60 video=mxcdi1fb:YUV444,TV-NTSC" to cmdline. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Jason Chen <b02280@freescale.com>
2010-05-12ENGR00123338 MX23: MTD block device supportAisheng.Dong
Add MTD_BLOCK imx23 configuration Signed-off-by: Aisheng.Dong <b29396@freescale.com>
2010-05-12ENGR00122962 ipu: don't set axi id to 1 on mx53Rob Herring
Setting the AXI ID on to 1 for sync display channels on MX53 causes display flickering when system is heavily loaded. Signed-off-by: Rob Herring <r.herring@freescale.com> (cherry picked from commit 30df5734fcea4146b60f35238aaf5368f3392b0d)
2010-05-11 ENGR00123325-2 mx5x: Change default DMA zone to 96MSammy He
Change default DMA zone to 96M on mx5x Signed-off-by: Sammy He <r62914@freescale.com>
2010-05-11ENGR00123325-1 Increase DMA zone to 96M on mx5xSammy He
Increase DMA zone to 96M to fix memory not enough issue with 1080p video playback. Signed-off-by: Sammy He <r62914@freescale.com>
2010-05-10ENGR00123296 MX5: Fix FEC compiling errorXie Xiaobo
1. One variable declaration was controlled by ARCH_MXS, but it was used by other platforms, So remove the ARCH_MXS flags controlling. 2. Added judgement for FEC 1588 interrupt enablement. Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
2010-05-09ENGR00122832-2 MX28: Support for IEEE 1588 interface functionalityXiexiaobo
Supply the 1588 support for MX28 FEC. Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
2010-05-09ENGR00122832-1 MX28: Configure clock source for FEC 1588 timerXie Xiaobo
Select clock for Ethernet 1588 timer and set the divider. Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
2010-05-08ENGR00123293 iMX23 fix ssp clock is too slowFrank Li
bypass bit set to wrong possition. So ssp alays use xtal. mmc use ssp module divider instead of ssp clock source Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-05-07ENGR00123283 MX23: clock driver causes ssp_clk change timeout out of suspendRobert Lee
If you boot up and then go into suspend mode, the clk_busy_wait() function causes a timeout in the ssp_set_rate function because the rate is being set while the clock is disable resulting in the busy bit staying false. Signed-off-by: Robert Lee <robert.lee@freescale.com>
2010-05-07ENGR00123222 MX23/MX28: Add power optimization functionality to cpufreqRobert Lee
MX23/MX28: Add power optimization functionality to cpufreq Add working HCLK autoslow interface and functionality to cpufreq and clock driver. Add lowering of x_clk for lowest clock speed state. MX23: Fix 392MHz voltage value from 1475000 to 1450000. This lower value is all that is needed when using 130MHz hclk. MX23: change emiclk from 120000 to 130910 for 360000 cpu entry. 130910 allows more bandwidth and avoids momentary halting of sdram traffic required between emiclk changes. MX23/28: fiix problem with previous hclk autoslow implementation causing a corruption of the CLKCTRL _HBUS register. The regular hclk divider was getting set to 21 or 22 or 23 when the LCD was turned off. This very low speed starves the system. Signed-off-by: Robert Lee <robert.lee@freescale.com>
2010-05-07ENGR00122684: imx23: add nand support for updater defconfigPeter Chen
imx23: add nand support for and updater defconfig Signed-off-by: Peter Chen <b29397@freescale.com>