Age | Commit message (Collapse) | Author |
|
Android dual display will call IPU_QUEUE_TASK to do UI resize
to second display on each frame, and befrore calling it,
a ioctl of IPU_CHECK_TASK must be called to refine the parameters.
This ioctl will print out error log if there's parameters mismatch.
It causes about 4 lines each frame, which let fps drop.
Remove such warning.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
Conflicts:
drivers/input/touchscreen/egalax_ts.c
|
|
Signed-off-by: Loren Huang <b02279@freescale.com>
Acked-by: Lily Zhang
|
|
Reserve bitwork memory at vpu probe since DMA zone is removed
on android.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
Fix Mux config
Need hardware rework:
1. Add R450 10.0k
2. Remove R1105 1k
3. short Pin 1,2 of u516: will impact CAN1
Signed-off-by: Hake Huang <b20222@freescale.com>
|
|
Flexcan can use the self wakeup function to wakeup system in system
suspend state.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
|
|
The reason is it does not call usb_ep_disable at gadget disable routine.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
The asrc_audio_clock in MX5 is different from MX6.Thus the divider
value set can not be used in the MX6. Part of noise of ASRC output
is caused by this.
Add the function to calculate the divider and prescaler value
according to the sample rate and asrc_audio_clock.
Signed-off-by: Chen Liangjun <b36089@freescale.com>
|
|
issue:
in the reverted patch, sdhc driver will claim host on its
entering suspend state. and the wifi driver will hold host on
its loading. so once system is about to enter suspend state,
system will be pended on claiming host.
fix:
- Revert "ENGR00170944 [MX6Q MMC]suspend/resume crash"
This reverts commit 3b2e3729dc57a5ff532552cde49de7ace4c5792c.
Signed-off-by: Ryan QIAN <b32804@freescale.com>
|
|
Too much printk make the dmesg mess.
Change it to dynamic print mode.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
there is a issue on 24bit mono transmit of sgtl5000,
temporarily disable mono support
Signed-off-by: Gary Zhang <b13634@freescale.com>
|
|
- Fix OV3640 XGA cannot work, XGA can be supported
- Add OV3640 720P, 1080P at 15fps support
- Fix a MXC_V4L2_CAPTURE driver bug, when setting param,
only when current mode and framerate are the same
with param, then not change current setting again
Signed-off-by: Even Xu <b21019@freescale.com>
|
|
This issue will happen only when suspend bit is set but phcd is not set
The root cause of this issue is the IC defect.
- If the suspend bit is set without phcd bit set, host controller
can't resume normally
- The workaround is after set suspend bit, we need set the following
bit in USB PHY at once:
HW_USBPHY_PWD_RXPWDRX
HW_USBPHY_PWD_RXPWDDIFF
HW_USBPHY_PWD_RXPWD1PT1
HW_USBPHY_PWD_RXPWDENV
HW_USBPHY_PWD_TXPWDv2I
HW_USBPHY_PWD_TXPWDIBIAS
HW_USBPHY_PWD_TXPWDFS
- Furthermore, after resume, we must clear these bits during the K state
- IC has no plan to fix this issue
- This issue only happen on MX6Q/MX28
core part
Signed-off-by: Tony LIU <junjie.liu@freescale.com>
|
|
This issue will happen only when suspend bit is set but phcd is not set
The root cause of this issue is the IC defect.
- If the suspend bit is set without phcd bit set, host controller
can't resume normally
- The workaround is after set suspend bit, we need set the following
bit in USB PHY at once:
HW_USBPHY_PWD_RXPWDRX
HW_USBPHY_PWD_RXPWDDIFF
HW_USBPHY_PWD_RXPWD1PT1
HW_USBPHY_PWD_RXPWDENV
HW_USBPHY_PWD_TXPWDv2I
HW_USBPHY_PWD_TXPWDIBIAS
HW_USBPHY_PWD_TXPWDFS
- Furthermore, after resume, we must clear these bits during the K state
- IC has no plan to fix this issue
- This issue only happen on MX6Q/MX28
driver part
Signed-off-by: Tony LIU <junjie.liu@freescale.com>
|
|
This issue will happen only when suspend bit is set but phcd is not set
The root cause of this issue is the IC defect.
- If the suspend bit is set without phcd bit set, host controller
can't resume normally
- The workaround is after set suspend bit, we need set the following
bit in USB PHY at once:
HW_USBPHY_PWD_RXPWDRX
HW_USBPHY_PWD_RXPWDDIFF
HW_USBPHY_PWD_RXPWD1PT1
HW_USBPHY_PWD_RXPWDENV
HW_USBPHY_PWD_TXPWDv2I
HW_USBPHY_PWD_TXPWDIBIAS
HW_USBPHY_PWD_TXPWDFS
- Furthermore, after resume, we must clear these bits during the K state
- IC has no plan to fix this issue
- This issue only happen on MX6Q/MX28
MSL part
Signed-off-by: Tony LIU <junjie.liu@freescale.com>
|
|
This commit mainly build in GPIO keypad.But because config
file have not been update for long time, some item is added
by kconfig automatically.
The step is make imx6_defconfig,
Make menuconfig,
Choose gpio keypad enable
Cp .config to imx6_defconfig
Signed-off-by:Yuxi Sun <b36102@freescale.com>
|
|
|
|
As there might be dirty data line on any core of MX6
SOC when power on or reset, we need to do L1 I-cache
invalidation in the resume process and start up
process for all cores.
This is very important for us, as not all of the hardware
will do cache invalidation during power on or reset, so
we need to do the invalidation for all cache(L1, L2,
I and D) before first time enabling. Please keep in mind.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
We have many operation before enabling L2 cache, which can
make sure L2 already can be accessed before enabled.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Change sensor configuration to fix this issue.
Signed-off-by: Even Xu <b21019@freescale.com>
|
|
Add ioctl support to complete RTC feature.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Conflicts:
arch/arm/mach-mx6/board-mx6q_arm2.c
arch/arm/mach-mx6/board-mx6q_sabrelite.c
arch/arm/plat-mxc/dvfs_core.c
|
|
Move HDMI csc clock setting to fucntion mxc_hdmi_enable_video_path.
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
GPU pmem is used by video surface buffer, which must be
non cachable.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
SGTL5000_VAG_POWERUP used by record and playback.
when playback and record are opened, close one of them will cause
the other mute
Signed-off-by: b02247 <b02247@freescale.com>
|
|
Exposure calculate function was not used and this produce build
warning, enable this function not only remove this warning, but
also get a better image quality when take picture.
Signed-off-by: Yuxi Sun <b36102@freescale.com>
|
|
fix build warnings on pfuze driver:
arch/arm/mach-mx6/mx6q_sabreauto_pmic_pfuze100.c:388:
warning: initialization from incompatible pointer type
drivers/mfd/pfuze-core.c:523:
warning: initialization from incompatible pointer type
drivers/mfd/pfuze-core.c:412:
warning: 'pfuze_add_subdevice' defined but not used
Signed-off-by: Robin Gong <B38343@freescale.com>
|
|
fix the board level function
Signed-off-by: Robin Gong <B38343@freescale.com>
|
|
Remove build warnings in MLB driver.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Fix the following build warning:
1.arch/arm/mach-mx6/cpu.c:36: warning: function declaration isn't a
prototype
2.arch/arm/mach-mx6/system.c:55: warning: function declaration isn't a
prototype
3.arch/arm/mach-mx6/board-mx6q_sabreauto.c:751: warning: unused variable
'iterations'
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
fix following build warning:
drivers/mmc/host/sdhci.c: In function 'sdhci_clk_worker':
drivers/mmc/host/sdhci.c:53: warning: unused variable 'flags'
drivers/mmc/host/sdhci.c: In function 'sdhci_resume_host':
drivers/mmc/host/sdhci.c:1751:
warning: 'ret' may be used uninitialized in this function
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
The original FEC_MII_TIMEOUT was set to 1ms, which is too low when
passed to the usecs_to_jiffies macro.
On ARM one jiffy is 10ms, so use msecs_to_jiffies instead and use
a timeout of 30ms, which corresponds to 3 jiffies.
After running 3 hours NFS boots, the MDIO timeout do not occur
anymore.
Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
|
|
Enable HDMI output CSC.
Enable HDMI under scan.
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
Fix HDMI AVI info frame config register bit define error.
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
Set ov5640 as the default camera
Signed-off-by: Yuxi Sun <b36102@freescale.com>
|
|
fix gpu kernel module can not be removed issue
Signed-off-by: Wu Guoxing <b39297@freescale.com>
Acked-by: Lily Zhang
|
|
in __clk_disable, check usecount, if it is 0, return, otherwise,
the usecount will be un-correct.
Signed-off-by: Wu Guoxing <b39297@freescale.com>
|
|
Add MLB main driver for mx6q.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Add MLB driver platform data structure.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Add board level code for mlb, including platform data, clock, etc.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
if the system suspend in the process of data transfer, current request
is broken by the suspend request, thus there're sd/mmc requests error logs.
to prevent this error, add a claim host in suspend function and release it
in resume function to make sure the request is finished before entering suspend
and next request could be started after resuming.
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
Enable "CONFIG_DMA_API_DEBUG" in kernel, and system print:
DMA-API: device driver tries to free DMA memory it has not
allocated [device address=0x0000000046688020]...[<80222494>]
(debug_dma_unmap_page+0x8c/0x98) from [<802a36a0>]
(fec_enet_interrupt+0x430/0x5ac)
Correct the usage of "dma_map_single" function.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
OV8820 MIPI camera driver will be built as a module default.
Signed-off-by: Even Xu <b21019@freescale.com>
|
|
call clk_enable/clk_disable in atomic is forbidden.
move all the calls out of atomic context.
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
-Correct gc355 initial power state to poweroff.
-Separate clock gating operation in function gckOS_SetGPUPower().
-Turn on clock while suspend GPU cores.
-Remove clock switch in drv_open().
Signed-off-by: Loren Huang <b02279@freescale.com>
Acked-by: Lily Zhang
|
|
Add usb audio gadget support at imx6 defconfig
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Add test document
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
- Only 44.1Khz audio are supported at i.MX6q, since only 44.1Khz
local playback are supported at i.MX6q.
- Since there is no feedback at current usb audio framework,
it may have pop noise/no sound after play some minutes.
- About how to test: please refer Documentation/arm/imx/udc.txt
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
The DMA RX thread may run on another CPU, while the application
runs on one CPU.
The application will close the uart when it finishes the required reading.
But the DMA RX thread maybe still running in this situation.
So add a wait queue to synchronize the __TWO__ sides in the SMP.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
This reverts commit 7e5181cd28ac3d786d0760f405fa5a1e3407a7a9.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|