Age | Commit message (Collapse) | Author |
|
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>
|
|
Support NV12 output pixel format for still capture.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
1.arrange display port according to choice of different display device
2.for ipu_disp.c: not round pixel clock to even for tvout.
3.cmdline "hdtv" enable 720P, "hdtv=2" enable 720P as primary.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
To support 720p output for ipu lib.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Improved the GPMI driver's use of information from the device identification
database.
Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
|
|
add dmfc size control for dynamic change and _setup.
DMFC_NORMAL: segment 0,1 for DC, 4,5 for DP-BG, 6,7 for DP-FG.
DMFC_HIGH_RESOLUTION_DC: segment 0~3 for DC, 4,5 for DP-BG, 6,7 for DP-FG.
DMFC_HIGH_RESOLUTION_DP: segment 0,1 for DC, 2~5 for DP-BG, 6,7 for DP-FG.
DMFC_HIGH_RESOLUTION_ONLY_DP: segment 0~3 for DP-BG, 4~7 for DP-FG.
IPU diplay driver will try to enlarge its related DMFC segment size
when it meet high resolution condition, but if dmfc is already in high
resolution setting, dmfc will not change.That said, first request wins.
For cmdline setting, "dmfc=1" is DMFC_HIGH_RESOLUTION_DC, "dmfc=2"
is DMFC_HIGH_RESOLUTION_DP, "dmfc=3" is
DMFC_HIGH_RESOLUTION_ONLY_DP.
NOTE: DMFC_HIGH_RESOLUTION_ONLY_DP only can be set by cmdline.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Setting "video=mxcfb:800x600-16@60" in the exec command makes video not play
correctly, IPU didn't play video when panel blank line where lower then minimum
required by IPU
Signed-off-by: Ran Ferderber r53561@freescale.com
|
|
1.GPMI NAND flash scan scheme can overcome the shortcomings
of MTD NAND community code.
2.Put it to the common NAND directory can benifit I.MX NAND
driver besides GPMI NAND driver.
3.Fix the section mismatch build warnings on ALL platforms.
4.Fix the kbuild build errors of I.MX platforms.
Signed-off-by:Jason Liu <r64343@freescale.com>
|
|
fixed by setting AUTO_RESTART bit in HW_RTC_PERSISTENT0 register.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Disable lcdif controller when suspend or screen blanked.
By doing so, can set CPU freq to 64000Khz (ENGR00119096)
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
pll_set_rate function should only wait for PLL relock if PLL is enabled.
Also add a timeout to the infinte loop.
Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
|
|
1. Add wait timeout support to void dead loop in NAND driver,
2. Try best to use IRQ mode instead of POLLING mode
Signed-off-by:Jason Liu <r64343@freescale.com>
|
|
Use fbi screen_base as virtual addr instead of phys_to_virtual.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Fix SATA drive failure on Ubuntu 9.10
BugLink: https://bugs.launchpad.net/bugs/431963
Signed-off-by: Dinh Nguyen <r00091@freescale.com>
|
|
DVFS-PER needs to make sure that the pixel clock divider is an
even integer.
Added support for pixel clock being sourced from an external clock (PLL3)
Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
|
|
Added clock nodes for pixel clocks so that their rates and
parents can be easily tracked.
Signed-off-by: Rob Herring <r.herring@freescale.com>
|
|
Write bootstream to kernel by kobs with BCH ECC.
Using the same combined Metadata & Block 0 BCH layout
with ROM code.
Page size 2048B; spare area 64B => ECC8, N=3, B0=512B, M=10B
Page size 4096B; spare area 128B => ECC8, N=7, B0=512B, M=10B
Page size 4096B; spare area 218B => ECC16, N=7, B0=512B, M=10B
Signed-off-by:Jason Liu <r64343@freescale.com>
|
|
use PXP_NEXT register to implement double buffering schema.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
enable wake up from USB 5V
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
Update NAND scan scheme to support new nand type. With this patch
Linux NAND driver can support new NAND flash on mx25/mx35 board while
compatible with old NAND on old boards.
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
There is one CSI crop improvement (engr117261) in v4l2 capture.
But the improvement is not suitable for tvin module since the
ACT_FRM_SIZE wouldn't be the same with the SENSOR_SIZE.
Signed-off-by: Miao Yu <r65093@freescale.com>
|
|
1. Add SPI NOR flash driver in Makefile
2. Fix build error with gcc 4.3.3 toolchain
Signed-off-by: Lily Zhang <r58066@freescale.com>
|
|
When add usb gadget driver in OTG mode, cause nobody cared irq,
this pach disable usbintr in udc driver probe.
Signed-off-by: Li Jun <r65092@freescale.com>
|
|
iMX23: power supply protection mechanism must be implemented
in order to properly protect the SoC from damage or getting
into a locked up state. Several chip errata exists which (some are
documented and some are not yet documented at the time of this writing).
Signed-off-by: Robert Lee <robert.lee@freescale.com>
|
|
1. If there is no usb devices connectted or all connectted usb
devices are in suspend state, usb host can suspend its whole bus,
then put the PHY into low power mode and close all usb clocks.
2. close all usb clocks for usb device low power mode.
(The patch is splitted 2 patches, this is FSL specific driver
part.)
Signed-off-by: Li Jun <r65092@freescale.com>
|
|
If there is no usb devices connectted or all connectted usb
devices are in suspend state, usb host can suspend its whole bus,
then put the PHY into low power mode and close all usb clocks.
(The patch is splitted 2 patches, this is common code part.)
Signed-off-by: Li Jun <r65092@freescale.com>
|
|
The unexpected messages are printed by the kernel.
The root cause is that the I2C IO func can't be called in the
interrupt context, since the SD/MMC port and CD PIN is logically
walk through the MCU I2C bus.
Solution:Don't call the I2C IO func in the interrupt context in
card detection IRQ handler, move them to work-queue enviroment.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
No all regiser use _SCT. stmp3xxx_setl may write to wrong address.
please use __raw_write (value, REG_XXX_SET) to write date to SCT
register. Only REG_XXX_SCT is defined when it exist at hardware.
Signed-off-by: Frank.Li <Frank.Li@freescale.com>
|
|
Added support for DVFS-PER for both MX37 and MX51.
Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
|
|
Add timeout in ipu channel disable while loop.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Fixing IC bypass behavoir for cropping
Signed-off-by: Mark Gutman <r58412@freescale.com>
|
|
Miss some configuration and wrong use put_unaligned_be32
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
Added FTL support for UBI.
Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
|
|
Fix touch screen cannot work sometimes issue:
Use PD_IRQ mask to control irq to system, not PD_EN.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
use shared mode for pswitch and 5v dectection
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
The ASRC cann't work when the SPDIF RX is employed to drive the input
part of the ASRC.
The root cause is miswritting "reg |= 7 << AICPA;" as "reg | 7 <<
AICPA;".
Signed-off-by: William Lai <b04597@freescale.com>
|
|
Add remote wakeup feature for host mode.
Signed-off-by: Albert Chen <r65187@freescale.com>
|
|
Crop support for outgoing picture to TVE in 720P format
Signed-off-by: Mark.Gutman@freescale.com>
|
|
Suspend then resume, kernel will print one warning message.
This is due to mtd suspend/resume framework change on 2.6.31 kernel.
Please refer to the follwing commit for detailed information
commit 15bce40cb3133bcc07d548013df97e4653d363c1
[MTD] Restore suspend/resume support for mtd devices
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
Disable FEC clock when it's not used in 31 kernel
Signed-off-by: Lily Zhang <r58066@freescale.com>
|
|
FEC driver is stopped in suspend state. So FEC driver should restart
instead of initialization in resume state
Signed-off-by: Lily Zhang <r58066@freescale.com>
|
|
Support DP gamma by setting piecewise linear approximation,
application need set coefficient const[k] and slope[k]. The algorithm to
calculate these coefficient pls refer to unit test.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
After switch DP(2 layer) from lcd to tvout, fb1 use RGBP format, the
output of fb1's color was not exactly correct.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Crop support for outgoing picture to TVE in PAL and NTSC formats
Signed-off-by: Mark.Gutman@freescale.com>
|
|
Fix PXP compiling problem after V4L2 option turned on as well
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
iMX233 NAND MTD Support BCH
Signed-off-by:Jason Liu <r64343@freescale.com>
|
|
Added the device identification and timing database. Adjusted the GPMI
NAND Flash driver to use this information.
Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
|
|
LRADC7 for measurements other than battery voltage will cause the wrong
value to be copied over to the power supply.
Connecting 5V and then disconnecting to run from battery will
be unstable.
This fix change LRADC7 to LRADC1 to measure die temparature
Signed-off-by: Frank.Li <Frank.Li@freescale.com>
|
|
Fixes problems with incorrect DCDC settings. Adds support for 4p2 power
supply necessary for meeting supply requirement during 5V connections.
Clean up stmp3xxxx_setl and stmp3xxx_clearl because some register have
not _SCT register
Signed-off-by: Robert Lee <robert.lee@freescale.com>
Signed-off-by: Frank.Li <Frank.Li@freescale.com>
|
|
Miss one header file which includes the definition of mxc_tvin_platform_data
Signed-off-by: Miao Yu <r65093@freescale.com>
|