Commit Graph

158381 Commits

Author SHA1 Message Date
Ranjani Vaidyanathan-RA5478
7b28e946bb ENGR00121069: MX51: Complete the constraints for the various regulators.
Completed intialization of mc13892 regulators. This was causing the
regulator API to leave many regulators enabled at boot and also print
error messages at boot.

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-08-10 11:47:08 -05:00
Shen Yong
c9bb861af8 ENGR00121057 switch low power mode only support in mc13892 2.0a
switch low power mode will cause problems on previous version of
mc13892, which may break mc13892 chip.
This is a fix for ENGR00120510.

Signed-off-by: Shen Yong <b00984@freescale.com>
2010-08-10 11:47:08 -05:00
Frank Li
421c0239e9 ENGR00121029-2 MX51 Add Mfg firmware support
Add Mfg Firmware configuration, change CONFIG_STMP_UTP to
CONFIG_FSL_UTP

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:47:07 -05:00
Frank Li
e206cba8a9 ENGR00121029-1 MX51 Add Mfg firmware support
Add Mfg Firmware configuration

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:47:06 -05:00
Xinyu Chen
8a1c0d8689 ENGR00120896 Fix build error for lowmemorykiller driver
Fix build bug for lowmemorykiller staging driver

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:47:06 -05:00
Lily Zhang
25ab154807 ENGR00119731 MX51: Correct USBCTRL register for USBHOST2
MX51 should use USBCTRL_HOST2 for USBHOST2 ULPI interface.
This change was requested by the support team. MX51 3DS/EVK
boards can not test USBHOST2

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:47:05 -05:00
Dinh Nguyen
e0c9e67d36 ENGR00121003 Fix IRAM enabling for USB Gadget driver
In order to add IRAM to the USB Gadget driver, there are 2 kconfig
options to enable. One kconfig option was for USB host and the other
was for Gadget. The current SW required both kconfig to be
enable which is confusing. Also need to add iram_alloc function in
the Gadget driver.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
2010-08-10 11:47:05 -05:00
Rob Herring
f361e1bdb9 ENGR00120957-2 restructure usb device registration
Clean-up USB related Kconfigs. Remove the transceiver selections as this
is defined by the chip/board and is selected in platform data.
Use usb device resources defined in devices.c and fix resource sharing.
Use common otg transceiver functions.
Remove unnecessary OTG ifdefs.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:47:04 -05:00
Rob Herring
271b679213 ENGR00120957-1 mx51: restructure device resources and registration
Separate resources and platform devices from platform data.
Move platform data and device registration to board files.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:47:03 -05:00
Alan Tull
4b91afc59c ENGR00120827 make ssi a platform device
- put base address and irq in platform data.
- use clk usecounts instead of ssi_active struct
- allow up to MAX_SSI_CHANNELS in hardware

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:47:03 -05:00
Xiexiaobo
21312e9bb2 ENGR00120850 MX25: Enable Active Well-biased on STOP mode.
Enable Active Well-biased when i.MX25 enter stop mode.
This helps to save some more micro amps that consumes
the processor when in stop mode.

Signed-off-by: Xie XiaoBo <r63061@freescale.com>
2010-08-10 11:47:02 -05:00
Jason Chen
c96a7bf4a0 ENGR00120903 ipuv3 fb: make hdtv as primary display
1. Add "hdtv=2' to boot cmdline. HDTV should be primary display device.
2. Color key need be convert to YUV format when output is YUV, to
correct the convertion function, negative coefficents of RGB2YUV CSC
matrix could not use complement number.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:47:02 -05:00
Xinyu Chen
0e7ef0d715 ENGR00120162 Add calibration support to touchscreen driver
Add touchscreen calibration support and the BTN_TOUCH.
The calibration algorithm is from Carlos E. Vidales.
and the calibration data is passed to driver by module param.
This driver passes test on ubuntu and android.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:47:01 -05:00
Liu Ying
b7a90ba172 ENGR00120807 V4L2 capture:Change the mechanism for CSI->MEM capture
As CSI->MEM channel keeps on writing the buffer which is set to
ready latestly and raising up end of frame interrupts, the current
v4l2 capture realization mechanism is not appropriate for this channel.
This patch will update the idmac buffer to a dummy buffer whenever
there is no buffers queued by the user.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:47:00 -05:00
Liu Ying
6f8c313e76 ENGR00119169 V4L2 capture:enable CSI after PRP channels are setup
To preview with V4L2 overlay and capture at the same time may fail.
This patch implements workaround for this issue by enabling CSI after
PRP channels are setup.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:47:00 -05:00
Anish Trivedi
7add1800d1 ENGR00120490 [MX23] DCP: Enable SHA-1 hashing
Enable SHA-1 in DCP via workaround to align buffers to 64-byte length

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:46:59 -05:00
Sammy He
cd27d9a5ff ENGR00120615-2 Add light sensor device for imx51_BBG
Add light sensor device for imx51_BBG

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:46:58 -05:00
Sammy He
3ac11765fb ENGR00120615-1 Add IPU_CSC_UPDATE case for ipu ioctl
Add IPU_CSC_UPDATE case for ipu ioctl.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:46:58 -05:00
Jason Chen
4f8fb2ae79 ENGR00120805 v4l2 output: fill black color to disp fb before streamon
There is a short show of previous played frame if not fill black color
to display fb.
Because fb device will unblank ahead of real data come.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:57 -05:00
Rob Herring
5c503ff351 ENGR00120394-5 imx: Remove IO_ADDRESS usage for peripheral dvfs
Replace static mappings with dynamic mapping in peripheral DFVS.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:57 -05:00
Rob Herring
e7213328bb ENGR00120394-4 mx51: Clean-up IO_ADDRESS usage
Replace static mappings with dynamic mapping in MX51 MSL.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:56 -05:00
Rob Herring
8961897432 ENGR00120394-3 imx: remove IO_ADDRESS usage in drivers
This replaces IO_ADDRESS with ioremap in drivers. Drivers needing more
than trivial changes are not included.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:55 -05:00
Rob Herring
1ab4fba6b4 ENGR00120394-2 imx: make tzic use dynamic base address
Different chips have TZIC interrupt controller at different addresses,
so make the mapping dynamic.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:55 -05:00
Rob Herring
a45319ebdb ENGR00120394-1 imx: remove unneeded spba related code
The spba defaults to all masters enabled and this is fine as
all chips only have ARM and SDMA as masters.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:54 -05:00
Rob Herring
4e0a4ca5be ENGR00120393-5 imx: convert platform code to use iram allocator
Convert all i.MX platforms over to iram allocator functions.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:54 -05:00
Rob Herring
71762896f4 ENGR00120393-4 arc usb: use iram allocator for iram work-around
Convert USB iram work-around to iram allocator functions.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:53 -05:00
Rob Herring
4d30561066 ENGR00120393-3 imx asoc: use iram allocator
Convert i.MX ASoC driver to use iram allocator functions.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:52 -05:00
Rob Herring
954a7f8622 ENGR00120393-2 imx mlb: use iram allocator
Convert MLB driver to use iram allocator functions.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:52 -05:00
Rob Herring
2e5bce78c9 ENGR00120393-1 imx: Add iram allocator functions
Add iram allocation functions using GENERIC_ALLOCATOR. The
allocation size is 4KB multiples to guarantee alignment.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:51 -05:00
Wu Guoxing
8faf431a4e ENGR00120782 FB: change virtual size to be triple of the screen size
change virtual size to be triple of the screen size as default
to make pan display works at triple buffer mode.

Signed-off-by: Wu Guoxing <b02248@freescale.com>
2010-08-10 11:46:50 -05:00
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