Age | Commit message (Collapse) | Author |
|
Two camera instance will be opened at the same time, and
only one will be kept stream on. The previous camera's close
will stream off the second camera's dequeue function.
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
We meet eMMC stable issue during suspend.
After disable DDR mode, it will very stable, disable DDR mode for release.
Signed-off-by: Chen Xingyu <xingyu.chen@freescale.com>
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
Change bg_id/fg_id variable to char array variable, and
avoid change the constant string in .rodata section.
[MX6Q SMD]fb: 'fb_set_par error, -22' prompted when mplay a video to lvds
/mnt/nfs/util/mplayer /mnt/nfs/test_stream/video/Mpeg4_SP1_1280x720_30fps.mp4
Before video playback finish, fb error message shows:
mxc_sdc_fb mxc_sdc_fb.0: setup error, dispdrv:ldb.
detected fb_set_par error, error code: -22
Can't reset original fb_var_screeninfo: Invalid argument
Exiting... (End of file)
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
The old code does not unregister the console mxc_early_uart_console when
it is disabled. This may causes the global console `console_drivers` still
pointes an invalid console mxc_early_uart_console. A hung will be observed
in this situation.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
This patch is just the re-revert of the commit:ENGR00182048
Disable the clock when the uart port is not used.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
1.add MMC_PM_WAKE_SDIO_IRQ capability, it should be
used together with MMC_PM_KEEP_POWER although not support
SDIO wakeup in function.
2.add MMC_CAP_NONREMOVABLE to describe imx6's three sdhc
devices's removable feature.Now emmc is permanent,sdio and
sd is removable instead of all default were permanent before.
According to this feature, detimine whether reinit card
or not in resume.
Signed-off-by: B38613 <B38613@freescale.com>
(cherry picked from commit cf4ccf3716f1adfaeaf1a106dd4e3afa61a9f8b2)
|
|
It is cause by HDMI audio driver can't get right pixel clock
from IPU driver if pixel clock source from HSP clock not from
DI clock.
HDMI driver get pixel clock by call clk_get_rate() function,
but the function return actually clock, in some videomode the
actually pixel clock is not right equal the pixel clock in CEA spec.
Get pixel clock from video mode struct instead of CCM register.
480P HDMI audio can work.
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
audio will be blocked if pixel clock of hdmi display be gated in eary suspend
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
1) Show display device name property:
HDMI monitor - hdmi
DVI monitor - dvi
VGA monitor - vga
dumb LCD panel - lcd
LVDS panel - ldb
MIPI LCD panel - mipi_dsi
TVout - tve
2) Make fsl_disp_property device attribution be static.
3) Support overlay fb fsl_disp_property and
fsl_disp_dev_property device attributions.
4) Remove fsl_disp_property and fsl_disp_dev_property
device attributions when removing the driver.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 7845b72054d5707ee074b36d2dbee029688af20c)
|
|
Add debugmask to control the cooling device tempreture being printed or not
To enable the thermal tempreture printing by below command
echo 0xf > /sys/module/thermal/parameters/debug_mask
Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
|
|
sdma: bd is bufferable dma buffer, interrupt handler can not get correct
data after sdma script updated. Which will cause there is no interrupt
after failed period number times in the interrupt handler.
This is a workaround.
Signed-off-by: b02247 <b02247@freescale.com>
|
|
- Increase RX BD size to 384 entrys from 16 entrys, and allocate
the enough DMA memory for buffer description.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
- Fix clock enable/disable match operation to avoid kernel
dump warning "clock enable/disable mismatch".
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
- Increase RX BD size to 384 entrys from 16 entrys, which
can reduce the overruns number in busy system.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
- Add NAPI methods.
NAPI can improve the performance of high-speed networking,
which can reduce the cpu loading of interrupt generate and
drop packets.
- Enet RX FIFO overruns number has been reduced by NAPI method.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
update pixel clock name in HDMI Audio driver
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
For clk_enable implented on i.MX platform introduce spin lock, but in
SDHCI driver, it will call the clk_enable in interrupt contex if enable
LED class for SDHCI, it may cause the system crash.
Delete the SDHCI_USE_LED_CLASS flag and add it to Kconfig, which can be
restore if clock framework hasn't this limitation.
Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
|
|
The sensor configure was not correct. Changed the ov5640 sensor
config to fix the bug.
Signed-off-by: YangYonggang <b31664@freescale.com>
|
|
Add a misc driver to print suspend counter.
This driver not touch any common/core code,
only receive the broadcasts and print some logs.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
Using steam on/off to prevent sensor from no frame come out sometimes,
and gain calculation is used to help conquer green color when take picture
at QSXGA.
Also add QCIF resolution for 15/30 fps in this patch.
Signed-off-by: Yuxi Sun <b36102@freescale.com>
|
|
This patch postpones pixel clock and its parent clock(if
the parent clock usecount is 1) disabling time point
until DC/DP/DI enable bits are cleared in IPU_CONF
register to prevent LVDS display channel starvation for
some special LVDS display video mode.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit cf82fa58406db4d3cb31f44b3fa48496a94a01ad)
|
|
Conflicts:
sound/soc/imx/Makefile
|
|
Restore fb_var_screeninfo when finishing video playback
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
Remove GFP_DMA flag when alloc dma memory.
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
V4L2: use copy_from/to_user() for user space pointer
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
Reduce gpu kernel delay to improve driver performance
Signed-off-by: Xianzhong <b07117@freescale.com>
Acked-by: Lily Zhang
|
|
We only needs the dma buffer, don't care if it is from DMA Zone on i.mx SOC.
To fix the following bug:
mxc_ipudev_test: page allocation failure: order:13, mode:0x1
[<80042e08>] (unwind_backtrace+0x0/0xfc) from [<800b4dd8>]
(warn_alloc_failed+0x9c/0x118)
[<800b4dd8>] (warn_alloc_failed+0x9c/0x118) from [<800b5ac4>]
(__alloc_pages_nodemask+0x494/0x6ec)
[<800b5ac4>] (__alloc_pages_nodemask+0x494/0x6ec) from [<80046154>]
(__dma_alloc+0xd4/0x2fc)
[<80046154>] (__dma_alloc+0xd4/0x2fc) from [<800463a0>]
(dma_alloc_writecombine+0x24/0x2c)
[<800463a0>] (dma_alloc_writecombine+0x24/0x2c) from [<8024be34>]
(mxcfb_set_par+0x3e4/0x4c0)
[<8024be34>] (mxcfb_set_par+0x3e4/0x4c0) from [<80235f08>]
(fb_set_var+0x168/0x2a4)
[<80235f08>] (fb_set_var+0x168/0x2a4) from [<802363f8>](do_fb_ioctl+0x3b4/0x5f0)
[<802363f8>] (do_fb_ioctl+0x3b4/0x5f0) from[<800f58d0>](do_vfs_ioctl+0x80/0x5e4)
[<800f58d0>] (do_vfs_ioctl+0x80/0x5e4) from [<800f5e6c>] (sys_ioctl+0x38/0x60)
[<800f5e6c>] (sys_ioctl+0x38/0x60) from [<8003d500>] (ret_fast_syscall+0x0/0x30)
mxc_sdc_fb mxc_sdc_fb.0: Unable to allocate framebuffer memory
detected fb_set_par error, error code: -12
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
enable dual camera configuration in menuconfig, and set ov5642 as
the first registered camera
Signed-off-by: Yuxi Sun <b36102@freescale.com>
|
|
Add led-gpio control and trigger for sabresd
Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
|
|
Enable ion in drivers Kconfig
Add imx ion allocator device driver
Add ION_IOC_PHYS ioctl for user to get phys addr of buffers
Correct the remap pfn pgprot to writecombine
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
PMEM driver is already dropped and removed by Google.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
when SD_SPEC=2, no matter Physical Layer Spec v3.0
is supported or not, should both be recognized as
SD2.0card.
Signed-off-by: Zhou Jianzheng <B38613@freescale.com>
|
|
This issue is introduced by special gpu patch from Vivante
Signed-off-by: Xianzhong <b07117@freescale.com>
|
|
Merge vivante 4.6.7p1 kernel part code
Signed-off-by: Loren Huang <b02279@freescale.com>
Acked-by: Lily Zhang
|
|
Android compatible test verifys all the files in /sys dir.
It will report failure when found there's any files
has S_IWOTH permission.
These changed sysfs are originally changed or add by freescale.
So it's not a common kernel code issue.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
Disable vdoa clock when no used
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
Initialize paddr_n when doing vdoa+vdi deinterlaced,
when doing tiled format deinterlaced.
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
Conflicts:
arch/arm/kernel/traps.c
arch/arm/mach-mx6/board-mx6q_sabresd.c
arch/arm/mach-mx6/cpu.c
arch/arm/mach-mx6/system.c
|
|
Conflicts:
drivers/cpufreq/cpufreq_interactive.c
|
|
This reverts commit 17ce6ff9516dab940486898ad855ba410e364dc9.
|
|
We found this bug occurs again on mx6 when running
CTS with ADB over USB. The system will hang without
any log, and screen a little mess.
It's proved to be a known USB IP issue: USB controller
may access a wrong address for the dTD and then hang.
Re enable this workaround to avoid any system unstability.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
This reverts commit d1e94136fc4fe8ea608f4e9d21befa00c86e1e29.
|
|
Add VDOA tiled format post-processing support
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
The current SDMA use the new DMA tranfer direction. But the UART still
uses the old. This cause the RX failed.
So use the new DMA transfer direction for UART.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
- the root cause of this issue is during resume process, USB clock
is not turned on for this USB charger case so that the second
suspend is processed without USB clock, it cause system hang
- in udc resume process, at this situation, we should exit low
power mode to enable the b session valid intrrupt to close the
usb clock when detach from usb charger
Signed-off-by: Tony LIU <junjie.liu@freescale.com>
|
|
Set the right DMA direction in the sdma_control(), else
we will get the wrong log when enable the DYNAMIC_DEBUG.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
|
|
If TV's EDID indicates that deep color is not supported, then
write color depth field of HDMI_VP_PR_CD register to zero.
Signed-off-by: Alan Tull <r80115@freescale.com>
|
|
This patch includes some of the clk enable/disable changes from rev2
Check the version of the HDMI IP to determine whether the fifo
threshold needs to be high. The i.Mx6dl version of the HDMI doesn't
need the workaround. All other parts of the workaround are used
for both parts for code simplicity.
----------------------------------------------------------
For i.Mxq, set the Threshold of audio fifo as: FIFO depth - 2 (fixed
and independent of the number of channels actually used).
Use unspecified length ahb bursts (using fixed INCRx will make the
audio dma fail).
Additionally and in order to get it working on all conditions it will
be necessary to run the following sw steps at startup of video and audio
(or when video changes or audio changes):
1-Configure AUD_N1 and AUD_CTS1 registers with final value and let the
AUD_N2, AUD_N3, AUD_CTS2 and AUD_CTS3 to 0s.
2-Configure start and end addresses of audio DMA registers.
3-Start DMA operation
4-Configure the AUD_CTS2 and AUD_CTS3 with the final value.
5-Configure the AUD_N2 and AUD_N3 with final value.
Signed-off-by: Alan Tull <r80115@freescale.com>
|
|
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Support for VDOA tiled format IPU_PIX_FMT_TILED_NV12 up to 1080p progressive
streams, and IPU_PIX_FMT_TILED_NV12F tiled format up to xga interlaced streams
currently.
Signed-off-by: Wayne Zou <b36644@freescale.com>
|