Commit Graph

158351 Commits

Author SHA1 Message Date
Zhou Jingyu
ca4fc4a37f ENGR00120456 mx51: set VIOHI always on
Set regulator VIOHI to be always on for several
soc power domains are supplied by VIOHI

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:46:50 -05:00
Jason Chen
b903ab0e88 ENGR00120567 fb: pan_display during fb blank mode cause system hang
will not do ipu operation during fb blank

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:49 -05:00
Jason Chen
cbc4ebdbd4 ENGR00120507 v4l2 output: fix dqueue fail for ic_bypass mode
if dqueue buffer before the third frame queue, dqueue will failed.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:49 -05:00
Frank Li
3574ba3ed4 ENGR00120612 MX23 Mfg firmware crash when transfer big size file
There are out of memory when transfer big size file.
There reason is kernel alloc a memory to get data from usb and put to a list,
and wake up uuc to read it. The problem is that read slower than usb transfer
So list become more and more till out of memory

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:46:48 -05:00
b00984
d9d82e09c9 ENGR00120510 atlas switch mode control
To reduce power consumed on atlas itself, set atlas swith to auto mode

Signed-off-by: Shen Yong <b00984@freescale.com>
2010-08-10 11:46:48 -05:00
Wending Weng
fd20bbd7c6 Bluetooth: Fix false errors from bcsp_pkt_cull function
The error message "Removed only %u out of %u pkts" is printed when multiple
to be acked packets are queued.

    if (i++ >= pkts_to_be_removed)
            break;

This will break out of the loop and increase the counter i when
i==pkts_to_be_removed and the loop ends up with i=pkts_to_be_removed+1.

The following line

    if (i != pkts_to_be_removed) {
            BT_ERR("Removed only %u out of %u pkts", i, pkts_to_be_removed);
    }

will then display the false message.

The counter i must not increase on the same statement.

Signed-off-by: Wending Weng <wweng@rheinmetall.ca>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2010-08-10 11:46:47 -05:00
Sammy He
2c416691cc ENGR00120560 MX51 Babbage failed to detect headphone
Fix headphone detect issue by changing GPIO pin

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:46:46 -05:00
William Lai
552cada127 ENGR00120455-4 CAN: Pass the default setting through platform_data
Define the parameters's default value for MX35.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:46:46 -05:00
William Lai
9a895da8e5 ENGR00120455-3 CAN: Pass the default setting through platform_data
Define the parameters's default value for MX25.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:46:45 -05:00
William Lai
fba613f9c9 ENGR00120455-2 CAN: Pass the default setting through platform_data
Add the predefined parameters' definition in the
flexcan_platform_data structure.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:46:45 -05:00
William Lai
7646b3ff2f ENGR00120455-1 CAN: Pass the default setting through platform_data
Initialize the default Flexcan device setting, by passing the
predefined parameters through platform_data.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:46:44 -05:00
Jason Chen
74d63a76f3 ENGR00120505 fb: reverve fb memory for mxc_fb_device[1]
If mxc_fb_device[1] is the primary fb dev, fb memory should reserve for
it.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:44 -05:00
Liu Ying
e603df439e ENGR00120500 V4L2 overlay:Unblank overlay fb before enable PRP_VF channel
This change makes us get rid of DIx_SYNC_DISP_ERR. The error sometimes
causes the backgound framebuffer reinitialized automatically, even if
we preview captured video on overlay framebuffer.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:46:43 -05:00
Ran Ferderber
f2711d576d ENGR00120521 NV12 pixelformat fail on VDI
Fix stride calculation

Signed-off-by: Ran Ferderber r53561@freescale.com
2010-08-10 11:46:42 -05:00
Ran Ferderber
7fdcf663c9 ENGR00120523 Down sizing of stream bigger then 1024 two stripe failed
Fix stripe size calculation

Signed-off-by: Ran Ferderber r53561@freescale.com
2010-08-10 11:46:42 -05:00
Robby Cai
7a5f1cc19f ENGR00120447-2 FIX: MX23 PXP set wrong RGBBUF and RGBSIZE after TV/LCD switch
After TV/LCD switch, PXP uses wrong old FB info to set RGBBUF/RGBSIZE.
This patch fixes this problem by notifying PXP to adjust when FB changed.

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:46:41 -05:00
Robby Cai
3383aabf96 ENGR00120447-1 Change the LCDIF clock setting for TVEnc to work
Need this adjust because set_rate of lcdif changed.

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:46:41 -05:00
Sammy He
315ac28281 ENGR00120539 MX25: Fix GPIO3_BASE_ADDR definition incorrect issue
Fix GPIO3_BASE_ADDR definition incorrect issue

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:46:40 -05:00
Dinh Nguyen
d7156f8f12 ENGR00120342 Fix TZIC Base address for MX51 TO2 and TO3
The TZIC base address for MX51 non TO1 is defined as 0xE0003000,
but the according the MX51 TO2 Ref Manual, it should be 0xE0000000.

The reason the system still works with this error is because the TZIC
registers are mirrored at offset 0x3000.

Signed-off-by: Dinh L. Nguyen <Dinh.Nguyen@freescale.com>
2010-08-10 11:46:39 -05:00
Jun Li
e7152a6092 ENGR00120361 arc usb gadget:open usb controller clocks before open phy clock.
When register gadget driver,open usb controller clocks before open phy clock.

Signed-off-by: Li Jun <r65092@freescale.com>
2010-08-10 11:46:39 -05:00
Jason Chen
d8b8e1e7d9 ENGR00120428 v4l2 output: jitter after blank/unblank fb
blank/unblank fb during v4l2 playback, unblank will cause current buffer
of display channel to be 1. This patch make the sequence of select
display buffer correct.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:38 -05:00
William Lai
dc809e8cf8 ENGR00120372 CAN: Clock source for FlexCAN module can not be changed
Change the function strcasecmp(buf, "osc") to strncasecmp(buf, "osc",
3), which only compare the first 3bytes.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:46:38 -05:00
Jason
b4566a78e2 ENGR00120405 MX23 BCH:output debug information via pr_debug function
Output debug information via pr_debug function

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-08-10 11:46:37 -05:00
Jason Chen
6a73a12e8e ENGR00120370 v4l2 output: fix display fail for blank fb during video play
1. Blank BG during video play on FG:
./mxc_v4l2_output.out -iw 320 -ih 240 -ow 1024 -oh 768 -d 3 qvga.yuv
echo 1 > /sys/class/graphics/fb0/blank
echo 0 > /sys/class/graphics/fb0/blank

2. The same input and output (ic_bypass):
./mxc_v4l2_output.out -iw 320 -ih 240 -ow 320 -oh 240 -d 3 qvga.yuv
echo 1 > /sys/class/graphics/fb0/blank
echo 0 > /sys/class/graphics/fb0/blank

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:36 -05:00
Jason Chen
bd50dbbbaa ENGR00119976 v4l2 output: use mannual buffer select for display channel
To use manually buffer select instead of channel link, which resolve fb
blank during v4l2 running issue.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:36 -05:00
Robert Lee
19f30d875c ENGR00116049-2 [imx23] Addition of FIQ system for chip errata/bo's
[imx23] Addition of FIQ system for chip errata and bo's

Signed-off-by: Robert Lee <robert.lee@freescale.com>
2010-08-10 11:46:35 -05:00
Robert Lee
45741ef92a ENGR00116049-1 [imx23] Addition of FIQ system for chip errata/bo's
[imx23] Addition of FIQ system for chip errata and bo's

Signed-off-by: Robert Lee <robert.lee@freescale.com>
2010-08-10 11:46:35 -05:00
Sammy He
d957520090 ENGR00120054 MX51: Increase VPU IRAM size to support decoder
Increase VPU IRAM size to support decoder

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:46:34 -05:00
Wu Guoxing
0bc3d16ac3 ENGR00120126 mx51: add mem resources in platform device for gpu2d and gpu3d.
mx51: add mem resources in platform device for gpu2d and gpu3d registers.

Signed-off-by: Wu Guoxing <b02248@freescale.com>
2010-08-10 11:46:33 -05:00
Liu Ying
6c75f95b68 ENGR00119975 IPUv3:Inform user when IDMAC UV-offset overflows
UBO and VBO are 22-bit in CPMEM. When processing a high resolution
frame in YUV format, the value of UV-offset may overflow, but the
driver keeps silent.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:46:33 -05:00
Jun Li
491ec33463 ENGR00119899 Add FEC iomux config and PHY reset.
FEC driver of 2.6.31 kernel remove pin iomux config and PHY reset,
which is in fec_gpio_active() needed for i.MX25 and i.MX35.

Signed-off-by: Li Jun <r65092@freescale.com>
2010-08-10 11:46:32 -05:00
Liu Ying
46e0dd8d8d ENGR00119034 V4L2 overlay:Use DP to do CSC for preview on DPFG
Use DP to do CSC for preview on DPFG instead of using IC channel
so that we can get better performance. This change can make us
get rid of IC channel bandwidth limitation when using IC channel
to do upsizing from low resolution to high resolution and CSC.
This change doesn't touch V4L2 overlay for DPBG, because using DP
to do CSC will change the pixel format for DPBG(usually for GUI).
This change doesn't touch V4L2 capture, because users rarely do
upsizing with high multiple in this case.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:46:32 -05:00
Liu Ying
af4f8336b7 ENGR00119710 MXC V4L2 output:Support YUYV and UYVY input pixel format
Support YUYV and UYVY input pixel format for mxc V4L2 output.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:46:31 -05:00
Wallace Wang
11f2734551 ENGR00119583 MX35: Add regulators' standby control
u-boot set wrong standby contorl for regulators,
while kernel doesn't set standby controls which
cuase system can't wakeup from suspend mode.

Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-08-10 11:46:30 -05:00
Patrick Turley
c1104dfed8 ENGR00119847 [MX23_BSP] Support polled read/write for debug UART
Added the polled read and write functions for the debug UART port.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:46:30 -05:00
Liu Ying
672a18731a ENGR00119720 IPUv3:Fix wrong UV offset set in CPMEM when idmac crops
The UV offset is set wrongly when idmac does cropping.
This patch changes to get the UV offset from user in this case now.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:46:29 -05:00
Jason
160dee8d80 ENGR00119693 Uniform handling NFC INT bit clearance
Uniform handling NFC INT bit clearance, the INT bit
will be unformed cleared in the wait_op_done function
after any NFC operation.

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-08-10 11:46:29 -05:00
Zhou Jingyu
5ae650d6f6 ENGR00116787 change pmic event handling method
use level irq for pmic event handling to avoid
potential pmic event lost

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:46:28 -05:00
Jason Chen
08336b4823 ENGR00119578 v4l2 output: fix fb setting for display 5
when Cropping happen, for display 5(tvout), fb setting still need keep
as org.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:28 -05:00
Robby Cai
3140d3d9f8 ENGR00119635 MX23 fix wrong state transition of enable lcd controller
fix the bug that causes the driver to enable the lcd controller twice,
which will request lcd pins twice.

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:46:27 -05:00
Liu Ying
7c929dfbe6 ENGR00119582 V4L2 capture:Fix race condition for accessing kernel resource
Some kernel resource can be accessed in interrupt handler and user
controlled V4L2 ioctrls, so there is a race condition which makes
the kernel malfunction potentially.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:46:26 -05:00
Jason Chen
feff72e021 ENGR00119531 ipuv3: dmfc setting restore during resume
dmfc setting should be restored after system resume.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:26 -05:00
Zhou Jingyu
f8e7e781bb ENGR00119305 imx23: fix ethernet standby issue
fix can not goto standby when using ethernet

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:46:25 -05:00
Wallace Wang
f0d50f0423 ENGR00119532 MX35: Change nand partition for bootloader to 3M bytes
Reserve 3M for bootloader since new nand block size is 512K byte.

Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-08-10 11:46:24 -05:00
Sammy He
e757d73a9c ENGR00119504 MX25: Change nand partition for bootloader to 3M byte
Reserve more size to bootloader since new nand block size is 512K byte.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:46:24 -05:00
Jason
66ff713019 ENGR00119484 Update NFC INT wait timeout value to 1s
Update NFC INT wait timeout value to 1s.
1s should be enough for all platforms.
If INT bit not set for 1s timeout value, this
should be high potential of IC issues.

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-08-10 11:46:23 -05:00
Frank Li
29d86b6058 ENGR00119296 Fix iMX23 display abnormal when change frequency
Miss clear BYPASS_CPU bit for CLKSEQ. CPU and HClk frequency will low than
24Mhz, so there are not enough bandwidth to support LCD refresh

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:46:23 -05:00
Richard Zhu
33d8915245 ENGR00119432 MX35 system can't re-boot up when SD/MMC boot is used.
Do not disable the eSDHC clk on MX35 3DS board,
since SYSTEM can't boot up after the reset key
is pressed when the SD/MMC boot mode is used.
The root cause is that the ROM code don't ensure
the SD/MMC clk is running when boot system.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:46:22 -05:00
Liu Ying
74c4be6d23 ENGR00119070 IPUv3 FB:Support DP local alpha in pixel
Modify MXCFB_SET_LOC_ALPHA ioctrl to support DP local alpha with
alpha value contained in pixel.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:46:22 -05:00
Jason Chen
f6d0a6f9d9 ENGR00119179 TVE: fix system hang for tvout
if unblank to blank tve fb too quickly, system will hang. It's caused by
unprotected tve register access.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:21 -05:00