Age | Commit message (Collapse) | Author |
|
Touchscreen devices must support the EV_KEY capability for newer
versions of tslib to work. This adds support for it.
|
|
Because the 1588 stack and STP stack need to know the phy status,
added phy support for switch port1 and port2.
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
|
|
When enable fec0 and fec1 1588 timer in the same time,
enalbe fec1 1588 timer to FRC_SLAVE mode in i.MX28.
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
(cherry picked from commit e90197be678342bf9a09c4f64f5fe25a84cf75c7)
|
|
The problem is caused by:
ubi double free ubiblk_dev structrue, cause the list and memory mess up.
This patch changes field `m` in the ubiblk_dev{} from the mtd_blktrans_dev{}
to pointer.
Also add a mutex for protecting the global ubiblk_devices.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
Should not read usb registers when usb is in low power mode,
or it will cause usb system hang or getting the wrong registers value
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Set USB VBUS on when host only controller probed. Only DR OTG host
doesn't set vbus on when platform driver probed.
Signed-off-by: Zhang Yan <b34916@freescale.com>
|
|
- Changed default update scheme to SNAPSHOT
- Added panning offset info for each update
- Added merge check against panning offset
- Fixed conditions for merging
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
If it return failure in erasing a block, mark the block bad
in the bbt table.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
[1] Add the initializtion for TOGGLE nand.
[2] chang the is_onfi_nand() to is_ddr_nand().
[3] add NAND_LOCK in the send_command()
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
change the function name is_onfi_nand() to is_ddr_nand().
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
Add the TOGGLE nand device infomation to the table.
And change the `is_onfi_nand` to `is_ddr_ok`.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
The ONFI NAND and TOGGLE NAND both support the DDR.
So merge the same attribution to a new field `is_ddr_ok`.
Also add a inline function to judge the DDR nand.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
The root cause is list_del() are called twice on same entry in pxp irq handler.
Remove latter one fixes this issue.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Fixed the SPI driver suspend/resume code. The SPI driver was missing
releasing the spin lock in certain conditions.In the resume code,
the master bit needs to be set while re-enabling the spi.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
Set carrier flag to off when suspend,
to avoid kernel warning about sending timeout.
Reported-by: Peter Chen <peter.chen@freescale.com>
Tested-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
|
|
Fec phy state changing occurs in delay works, which in normal task context.
And package sending mostly happens in softirq context, only happens in ksoftirq
while network traffic is heavy and some _many retries_ situation.
Linux network qdisc code keep raising NET_TX_SOFTIRQ softirq if package
not send out when netdev queue set to start. And the subsequenece process
will loop in softirq context for 10ms. Since Imx28 HZ set to 100Hz, the next
timer interrupt will trigger softirq again. this loop prevent network link
changing to up status. And cause a chicken-egg problem.
To break this loop, we need to set netdev transmit queue stop when link is down,
and start it when link becomes up.
commit 757bfe446bab7661d12a8772ca10b7a490c8aa47 try to resolve this problem,
but hand-merge mistake introduce a power resume bug.
Reported-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
|
|
Use pgprot_writethru() instead of pgprot_noncached()
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Problem
========
In suspend/resume cycle, info->var.xoffset and info->var.yoffset
will be reset to 0 (in function fbcon_switch). After reume, if the
xoffset/yoffset of update region happens to be 0/0, this region will
not be displayed.
Resolution
==========
Should not compare new offset with previous offset, but compare
new panning/offset state with previous state in pan_display function
to determine whether need to update fb_offset.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
DHCP fail when enable NO_HZ and preempt at mx28evk
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
- Created a worker thread to centralize all update requests (new and collisions)
- Added routine to merge compatible updates
- Separated PXP processing from update ioctl and ISR flows into workqueue flow
- Added IOCTL to turn control the update scheme. Supported schemes
are snapshot mode (the old update scheme), queued mode, and queued mode
with combining.
- Added collision-handling refinement based on update submission order
- Added support for 8bpp setting from kernel command line option
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
1. Using the UDP dest port to identifying an event message.
2. Add related information checking for getting rx/tx timestamp.
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
|
|
Here 'kick' means start the timer or postpone the timer.
By only kicking the timer in irq handler only when no task pending
in the queue, rather than each time we submit a new task, it should
perform better.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Usage (timeout in millisecond, default is 600):
echo 2000 > /sys/devices/platform/mxc-pxp/clk_off_timeout
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
This patch remaps user defined size of IIM registers from
IIM base address.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
LTC3589: Changed R2 value for reulator SW2 and LDO2.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
|
|
Enable the PWRON3 event in mc13892.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
For timer based power autogating, we have to move clk_enable/disable out of
timer handler, because they become may sleep.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
At usb otg mode, the fsl_udc_resume will be called at otg_set_host and
otg_set_peripheral. So we needs to add mutex_lock for fsl_udc_resume to
protect being called at the same time.
Besides, the fsl_udc_resume should not be called continuous twice, or the
udc->suspended will be wrong
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
In the probe function of LDB framebuffer driver, we will
try to match the LVDS video modes defined in the driver.
For LDB separate mode, we need to find two video modes matched,
whereas, for other LDB modes, we need to find only one video
mode matched.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
- Current default temp index is 8, which causes issues for panels with only 1
temperature index. So if no temp index is found to match the temperature,
use a default of 0 to ensure that a valid index is used for these special
waveform types.
- Firmware loading changed from blocking to non-blocking to allow EPDC
driver to boot without waiting.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Created global to hold EPDC fb data structure
- Created new functions to ensure all ioctls map to functions
- Created header file to declare functions accessible from other kernel modules
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
When boot one mx28 board through another mx28 as switch, the former
would report warning information "FEC ENET: rcv is not + last error".
Signed-off-by: Fan zhicheng <B32736@freescale.com>
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
|
|
Enable/disable L2 switch port learning does not take effect,
and this patch fixed the issue.
Signed-off-by: Fan zhicheng <B32736@freescale.com>
|
|
No INT generation in Multi-blk operations bug of MX50 TO1.0
and MX53 TO1.0 had been fixed in MX50 TO1.1 and MX53 TO2.
Keep the SW workaround for MX50 TO1.0 and MX53 TO1.0.
And use the solution adviced by IC team for MX50 TO1.1 and MX53 TO2.
About the details of this IC bug, pls refer to following errata
ENGcm11328 complete flag isn't asserted in SDIO exact multi-block
read transfer,
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
The usb wakeup thread should be prior to usb system resume
during usb wakeup process. It adds wait_event_interruptible
at usb resume process, and the usb wakeup irq will set event,
and the usb wakeup thread will clear event.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
When the NAND has multi-cs, the chip select other than
cs0 is not handled correctly which will lead to NAND not
function as expected
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
Correct the next field's start address.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Support VDI 422 mode(we support UYVY and YUYV 422
pixel format only).
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
If GPU error interrupt detected, related device will be destroyed.
In the destory function, device_idle and mutex_lock may cause sleep,
which may cause kernel crash, so delay the device destroy to the
workqueue to avoid this.
Signed-off-by: Jie Zhou <b30303@freescale.com>
|
|
Just replace the old code with the new macro fill_dma_word1().
The logic has no change.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
In the low power mode, we need to enable the apbh_dma_clk and
ahb_max_clk which are needed by DMA module
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
Set the new video modes values
Signed-off-by: Ran Ferderber r53561@freescale.com
|
|
Burst size has been set for non-interleaing format channel.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Get exact di fmt for DC format.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
This patch adds driver code for adding sense and fuse.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
When application got 1588 TX timestamp, the drive would check
the related 1588 package messages.
Signed-off-by: Xie Xiaobo <R63061@freescale.com>
|
|
Add low power mode and wakeup support for mx28 otg port,
and the host1 and otg port are fully verified for low power mode and wakeup
function.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Fill black data in streamoff, otherwise the last frame will keep in fb.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
FB_SYNC_EXT was used to represent ext clk, but actually, it represent ext sync.
Some applications do not recognize it, during fb_set_var ioctl may miss it,
which will cause fb display fail, for example X window startup.
Remove FB_SYNC_EXT flag, and choose ext clk support by ipu driver.
If you want to use ipu internal clk only, you can add int_clk to your video
option like below:
video=mxcdi0fb:RGB565,800x480M@55,int_clk
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
There was some driver is slow on suspend/resume,
but some embeded system like eReader,Cellphone
are time sensitive,this commit will report the slow
driver on suspend/resume, the default value is 500us(0.5ms)
Also, the threshold can be change by modify
'/sys/power/device_suspend_time_threshold' to change the threshold,
it is in microsecond.
The output is like:
PM: device platform:soc-audio.2 suspend too slow, takes 606.696 msecs
PM: device platform:mxc_sdc_fb.1 suspend too slow, takes 7.708 msecs
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|