Age | Commit message (Collapse) | Author |
|
Implement platform independent clock always on function.
User would use clk_always_on flag in plat_data to decide whether
we should let the clock always on for their some specical use cases.
Host driver will not handle platform specific clock always on fucntion
any more.
However, we will reserve the clock always on function for SDIO cards
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
For esdhc v3, we can manually regulate the clock delay line
to get better compatibiliy with some cards requiring good signal
and working on high speed such as eMMC 4.4 cards.
Currently we only support override mode to regulate delay line.
DLL mode will be removed first caused by some HW issue.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
Fix the bug that not open usb related clock at usb wakeup enable mode
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Modified mxc_epdc_fb_remove() to prevent crashes and errors when
the FB driver is removed. deferred_io must be unloaded before FB
memory is freed.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Add MX508 support, and adapt the gpu driver to one image
Signed-off-by: Jie Zhou <b30303@freescale.com>
|
|
Set gpo regulator's voltage to be 2.8V.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
1)Release console semaphore when leaving custom suspend function.
2)Reinitialize ELCDIF framebuffer if system resumes and the
framebuffer is unblanked before entering into suspend mode.
3)Gate off elcdif_axi_clk when system is in suspend mode.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Added conditional check for previous PxP task completion before new starts.
Fixed the linked list handling for the channels.
Removed shared irq for all virtual channels.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Removed code that enabled display PMIC unnecessarily. Fixed
crash during suspend with EPD panel disconnected.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Change kconfig for VIIM driver
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
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>
|
|
Clock rate configuration for EPDC AXI should be done one time, in MSL.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
The modifications of SSP SD/MMC driver when enable
the eMMC44 cards' ddr mode on MX28 EVK board.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
This patch avoids LDB custom suspend/resume functions to be called.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
This patch avoids TVE custom suspend/resume functions to be called.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
As MX5x one image kernel, the v4l2 driver is also configured in MX508.
This causes v4l2 capture module insert or bootup with builtin crash.
Add device probe/remove function for v4l2 output and capture driver,
instead of probing devices on module initialize.
And the output/capture device defines are also moved to MSL.
Rename the driver name to mxc_v4l2_output and mxc_v4l2_capture.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
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>
|
|
The mmap policy should be writethrough.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add check in mxcfb_check_var(), if fg size is bigger than bg, then
make it same size as bg.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
memstore should only be freed when the device has been stopped with
device->refcnt equalling zero.
Signed-off-by: Jie Zhou <b30303@freescale.com>
|
|
Change LDB related video mode names to align with MSL
code change.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
User can get eMMC partitions info from user space layer in
linux OS enviroment.
User can do switch operations between the eMMC boot partitions
and the user partition.
User can access the eMMC boot partitions from user space layer
in linux OS enviroment.
NOTE:This func had been verified on TOSHIBA eMMC44 card only.
Signed-off-by: Richard Zhu <r65037@freescale.com>
Signed-off-by: Rob Herring <r.herring@freescale.com>
|
|
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>
|
|
The ENET IEEE1588 Timer have a correction counter, and it can
slow down or speed up the timer.
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
|
|
Add UART2 for mx23 EVK board. EVK board needs rework.
Add console support for application uart according to customer requirement
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
Fix the following problem at compile-time.
WARNING: vmlinux.o(.data+0x2b8b4): Section mismatch in reference from
the variable pxp_device to the (unknown reference) .devinit.text:(unknown)
The variable pxp_device references
the (unknown reference) __devinit (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
If set both double buffer ready for VDI case, there will come out
NFB4EOF error.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
If do input right-side crop and input/output are in the same size, v4l2
driver will enable ic_bypass, but after enable it, the output is not
correct.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
change the unlock position in ipu_disable_channel.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
It should avoid the NFB4EOF error.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Fix the VG/GL issue in GPU kernel module when running VG/GL at the same time
Signed-off-by: Gene Chouiniere <Gene.Chouiniere@amd.com>
Signed-off-by: r80085 <thomas.peng@freescale.com>
Acked-by: Rob Herring <r.herring@freescale.com>
|
|
Random artifacts were caused by corruption of the EPDC working
buffer. This occurred because the working buffer was being
allocated too small. This meant other accesses to FB-maintained
buffers was corrupting the working buffer and causing random
data to be drawn to the display. Fixing the working buffer size
causes the artifacts to disappear.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
1. At reset_irq, the status of port reset is unsure, maybe the reset
process(hardware does it) is finished, and the status of port reset
is also cleared by usb controller. So it only needs to compare to USBSTS
at usb irq process.
2. Due to mx35/mx25 phy's bug, it needs to reset phy when re-open
usb clock next time(Begin to use usb next time)
3. mdelay 100 seconds is too long for resume process, as this code
is only added for mx37, add arch macro for this mdelay. This can
minimize the effect for other platforms.
4. Compile is ok for all imx platform, functional tests are finished
for mx35 and mx23.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
The driver related codes' modifications
when enable the eMMC44 DDR mode on MX53 EVK board
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
The modifications of linux kernel common codes
when enable the eMMC44 DDR mode
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
The clock prescaler can not be 0 for esdhc v3 in MX50.
(The smallest value should be 1).
Change the clock setting part to cover this special case.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
1) Support ELCDIF framebuffer driver.
2) Change CLAA WVGA LCD driver to make it co-work with ELCDIF driver.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Migrate from RC14 with freescale changes.
Signed-off-by: Gene Chouiniere <Gene.Chouiniere@amd.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Rob Herring <r.herring@freescale.com>
|
|
The stat check wait will add ipu operation time which degrade the ipu
performance.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
During DP swap, other fb operation should not happen.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
The memory mmap by ipu device is write-back, so user space need sync
method.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
EPDC driver updated to fail gracefully when the display pmic cannot
be acquired. No longer hanging.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
The initial VCOM voltage should be configured once. Previously it was
left unconfigured. Now, the VCOM value is checked the first time
through, and if it is not set correctly, it will be fixed.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|