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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
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>
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>
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>
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>
Different chips have TZIC interrupt controller at different addresses,
so make the mapping dynamic.
Signed-off-by: Rob Herring <r.herring@freescale.com>
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>
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>
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>
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>
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>
Initialize the default Flexcan device setting, by passing the
predefined parameters through platform_data.
Signed-off-by: William Lai <b04597@freescale.com>
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>
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>
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>