Age | Commit message (Collapse) | Author |
|
L2 switch driver command line controlling support
Signed-off-by: Niu Xule <b23300@freescale.com>
(cherry picked from commit 0a7aa1adb81abe60f21f34e44e3fcc81f6c15fa2)
|
|
Add config file
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
Add opt uuid support
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
copy file from stmp plat
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
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)
|
|
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>
|
|
Speak should not be muted after playback
Signed-off-by: Lionel Xu <r63889@freescale.com>
|
|
To reslove the problem when resuming a playback from pausing
Signed-off-by: Lionel Xu <r63889@freescale.com>
|
|
MX28: System hangs when set different cpu freq continuously.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
|
|
Fix system timer suspend/resume operation in mx23 pm module
Signed-off-by: Jeremy Yao <r65161@freescale.com>
(cherry picked from commit 3975fa294e8cd0cf6174ba35d98266b287787783)
|
|
Due to the LCDIF clock caculation problem.
Signed-off-by: Robby Cai <R63905@freescale.com>
(cherry picked from commit a3ac3c774a71678619d34cba412a2ab535d4ab7f)
|
|
The WindowsXP can only recognize the ramdisk size above 8MiB.
Signed-off-by: Peter Chen <b29397@freescale.com>
|
|
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>
|
|
fix ethernet can not enter suspend state
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
Remove unnecessary spin lock.
Signed-off-by: Jeremy Yao <r65161@freescale.com>
|
|
-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>
|
|
Fix the problem the card is still connected while status shows it's removed
Signed-off-by: Jeremy Yao <r65161@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Miss CONFIG_PACKET at default config
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
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>
|
|
Fix ipu lib compile error after 4-stripes resize patch pushed.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
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>
|
|
The updated algorithm allows output frame size up to 2048x2048
Signed-off-by: Mark Gutman <Mark.Gutman@freescale.com>
|
|
update the DMFC size to avoid usage of WAIT4EOT when possible
Signed-off-by: Ran Ferderber <r53561@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Build in LDB driver for imx5 platforms.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
This patch adds LDB driver support.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
This patch includes IOMUX, clock change for LDB
and adds LDB platform device.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
L2 Switch support
Signed-off-by: Niu Xule <b23300@freescale.com>
|
|
L2 Switch resources definition for MX28
Signed-off-by: Niu Xule <b23300@freescale.com>
|
|
Set the correct IOMUX for ARM2 board.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
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>
|
|
Add MTD_BLOCK imx23 configuration
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
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)
|
|
Change default DMA zone to 96M on mx5x
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
Increase DMA zone to 96M to fix memory not enough issue with 1080p
video playback.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
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>
|
|
Supply the 1588 support for MX28 FEC.
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
|
|
Select clock for Ethernet 1588 timer and set the divider.
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
imx23: add nand support for and updater defconfig
Signed-off-by: Peter Chen <b29397@freescale.com>
|