Age | Commit message (Collapse) | Author |
|
Add TKT052983 errata number to comments field. This errata
requires reading the counter value twice until both
values match to ensure integrity of read value.
Signed-off-by: Anish Trivedi <anish@freescale.com>
|
|
following log is the scenario.
mmc0: host doesn't support card's voltages
mmc0: error -110 during resume (card was removed?)
can't clear ocr in power off, instead we need to set
it to the highest bit of ocr_avail.
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
1. some display dev need unblank event to power up.
2. add EOF to disp dev string to avoid overflow error.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add vmalloced memory for multi-instances shared memory, vpu lib
will call mmap for accessing the memory.
VPU_IOC_GET_SHARE_MEM ioctl is still reserved for some time since
vpu lib still uses it for mx5x now. Will remove it after mx5x changes
to this new added memory later.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
on imx6q, pll5 can only provide rate >=650M, and ipu_di_clk only has max
divider 8, so need use ipu internal clock divider for some low resolution
case. For example 640x480p60 need 25.2MHz pixel clock.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
The asrc_2_mcu script is not supported well by this driver.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
|
|
Only support one pair of buffer for rx and tx per time.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
|
|
to avoid ipu starvation issue.
1. enable IPU AXI cache in uboot
2. set Qos to 7 for IPU to highest priority in uboot.
3. set AXI id to 0 for high priority IDMA channel in linux.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Fix build error of below:
`mxc_hdmi_remove' referenced in section
`.data' of drivers/built-in.o: defined in discarded section
`.exit.text' of drivers/built-in.o`
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
- Add MXC HDMI to kconfig and makefile
- Add initial mxc_hdmi.c file to provide basic HDMI functionality:
- Basic HDMI output functional
- Support for reading EDID via I2C and registering
video modes with IPU
- Support for output from IPU1 DI0
- These features not yet added:
- Hotplug support
- Dual display with LVDS
- Power management
- Support for FB notifications
- Changes to IPU to allow HDMI to use source clocks that it needs
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Fix the issue of missing to increase open_count when vpu_open.
This is due to the patch of removing mx31 and mx37 code.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
set vga output gain to improve quality.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
based on the 2.6.38 kernel mainline, refer to linux lm-sensors
architeture, add the standalone ahci temperature monitor driver
on fsl i.mx53 platforms.
Less than half sencond is used in one temperature read operation.
usage:
Use the following cmd to cat the i.mx53 soc temperature after
boot up i.mx53 system in user space.
for example:
...$ cat /sys/class/hwmon/hwmon1/device/temp1_input
61000
or run the following cmd after configure the lm-sensors
...$ sensors
imx-ahci-hwmon-isa-0000
Adapter: ISA adapter
temp1: +58.0 C
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
Add p1003 and egalax touch driver
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
Add missed ocopt header file
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
1. Enable wake up of uart;
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Enable suspend/resume for MX6, using debug
UART as wake up source due to hardware design
limitation.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
MX6Q desclare dma memory bufferable, which cause sdma
load context failed in 60% possibility.
To fix it, we need to add dsb to flush write buffer before
start dma transfer.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
|
|
Add sdma support for mx6q.
add mx6 dependency for sdma, and add sdma mx6 firmware.
Note: firmware not release by owner, this version only for test.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
|
|
This adds an RTC driver for the Low Power (LP) section of SNVS.
It hooks into the /dev/rtc interface.
It only uses the RTC hw in non-secure mode.
Signed-off-by: Anish Trivedi <anish@freescale.com>
|
|
Add sii902x display driver to mxc_dispdrv.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
change dvi display driver to mxc_dispdrv.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
if TC interrupt bit is set but DMA interrupt bit is clear, read status register
again in case DMA interrupt will come in next time cycle
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
uSDHC: card interrupt storm if we do not clear card interrupt
status by sw.
eSDHC: card interrupt will be lost if we do not set D3CD bit.
apply the workarounds in sdhci-esdhc-imx.c to avoid adding new
QUIRKs.
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
1.add AVI and AIF support.
2.add edid 4-block reading support.(not test)
For RGB input fmt support, pls input cmdline like:
video=mxcdixfb:RGB24,1024x768M@60
For YUV input fmt support, pls input cmdline like:
video=mxcdixfb:VYU444,1024x768M@60
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
1.add VYU444 fmt to support Sii902x hdmi yuv format
2.make pixel clock from internal ipu clock more accurate
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add ARCH_MX6 dependency
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
Mx6 not works when connnect to a 1G switch.
This is caused by phy_dev->supported != PHY_GBIT_FEATURES, more bits
will set to phy_dev->supported when negotiation complete.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
|
|
Add a new driver for On-Chip OTP controller. The driver
will register all the register names of all the banks to /sys/.
You can use the following commands to manipulate the OTP banks:
read:
#cat HW_OCOTP_MAC0
write:
#echo 0x11223344 > HW_OCOTP_MAC0
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Add vpu driver support for mx6q.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
modify host controller driver to meet SD3.0 spec.
including voltage switch, and tuning control.
add a function pointer for bus driver to do tuning preparation,
in case some host controller like uSDHC does not tune automatically.
it needs change delay line before tuning.
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
add voltage switch function due to SDHC3.0 spec requirement
add tuning function due to SDHC3.0 spec requirement
extend some functions to support SDR50 & SDR104 speed mode
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
v4l2 output changes based on ipu change.
Signed-off-by: Jason Chen <jason.chen@freescale.com>
|
|
add dispdrv support.
add dispdrv sub-driver ldb/lcdif/tve support.
change ipuv3 fb driver for new ipu and dispdrv framework.
Signed-off-by: Jason Chen <jason.chen@freescale.com>
|
|
change fbmem.c to support PREMODE_CHANGE event.
Signed-off-by: Jason Chen <jason.chen@freescale.com>
|
|
add multiple instance support.
Signed-off-by: Jason Chen <jason.chen@freescale.com>
|
|
To avoid interrupting when usb enters/leaves low power mode
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
- Fixed PxP input left coordinate value. Was previously being incorrectly
computed such that the value would be incorrect when using 16bpp RGB and an
X coordinate that is offset from 4-pixel alignment by 1 (e.g. x=1, x=5).
The resulting effect was that updates meeting this criteria would be
drawn to the EPD panel shifted to the right by 1 pixel.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
The changes for driver part
- Merging some newest changes at 2.6.38
- Add high speed disconnect check at usb core
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Enabled all speed mode, 10M/100M/1G.
add "fec_mac" kernel parameter to set mac address.
Since clock and board rework issue, some hard code
stays to make it work.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
|
|
Early uart has more than one contributors.
Remove "all right reserve" declare in source code.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
|
|
Currently only support basic temperature reading,
after the tester write the calibration value into
fuse, we will need to improve the accuracy of this
thermal sensor, also, the cooling device will be
added later.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Add sdhc support to make it easy mount rootfs from SD card.
Merge from imx6_bringup branch.
Signed-off-by: Anish Trivedi <anish@freescale.com>
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Richard Zhu <r65037@freescale.com>
Merged-by: Zeng Zhaoming <b32542@freescale.com>
|
|
Add early uart support for i.MX platforms
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Reviewed-by: Robby Cai <r63905@freescale.com>
|
|
- With FB_POWERDOWN_DISABLE is set as the powerdown delay (disabling the EPDC
driver from powering down), the EPDC driver was having problems going into
suspend. Any request to blank the EPDC driver would result in a timeout
and an error status. And subsequent attempts to send updates to the driver
would fail, as the driver's power state was incorrect. This patch prompts
the EPDC driver to be disabled when the blanking state is changed to
FB_BLANK_POWERDOWN and FB_POWERDOWN_DISABLE is set. Resultingly, the correct
driver power state is maintained and suspend/resume works correctly.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
When using SNAPSHOT update scheme, submitting FULL mode updates can easily
lead to an endlessly looping sequence of collisions if any updates are active
when the new FULL mode update is submitted. Thus, we must first flush any
updates out before submitting a new FULL mode update.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
The vpu code in driver for mx32/mx37 is out of date already, and
we won't support the platforms, so clean the code for removing it.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
- This patch changes the way that buffers are allocated and used for the
case where PxP alignment limitations are not met (a copy from the
update source buffer into a temporary buffer before initiating the
PxP processing task is required). Previously, a buffer was allocated
on a per-update basis, resulting in a large number of copy buffers. Now,
we allocate just one copy buffer that can be reused any time the PxP
alignment workaround is required. This is okay because it is assured
that only one PxP transaction can be prepared at a time.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- When the powerdown delay is set to FB_POWERDOWN_DISABLE, the
mxc_epdc_fb_flush_updates() function does not execute correctly, always
resulting in a time out while waiting to receive a completion that signals
that all updates have completed. This causes long delays when changing the FB
mode, since a mode change will always result in a call to
mxc_epdc_fb_flush_updates().
Fixed this bug by creating a new mxc_epdc_fb_data variable to track whether
all active updates have completed. mxc_epdc_fb_flush_updates() now
keys off of this variable to determine whether to wait for all
active updates to complete.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Capture EPDC status registers up front in IST, rather than when-needed
during IST, to prevent potential race conditions where the status changes
mid-IST.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|