Age | Commit message (Collapse) | Author |
|
Add function get_rate to clk pll3_pfd_508M.
Signed-off-by: Lionel Xu <R63889@freescale.com>
|
|
Add asrc support in defconfig.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
|
|
Add asrc support for mx6.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
|
|
Used for add asrc device.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
|
|
Used for asrc driver.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
|
|
when we need enable 1080p 32bpp display and play a 1080p h264 clip,
it may meet memory allocation fail issue. This patch fix this issue.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
To fix DVI output signal stable issue.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
- Added HDMI device to imx6 config
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Add MXC HDMI initialization structures and calls to SABRE board file.
- Add HDMI clock definitions and functions for PLL5 (main video clock
used by HDMI).
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Created MXC HDMI platform initialization file - platform-mxc_hdmi.c
- Added MXC HDMI to kconfig and makefile
- Added main MXC HDMI register definition file - mxc_hdmi.h
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
1) Add machine specific code for esai/cs42888 driver support, including pad
control, clk setting, i2c setting, etc.
2) Enable audio support in default config.
Signed-off-by: Lionel Xu <R63889@freescale.com>
|
|
Adjust L2 cache parameter to improve both
performance and power consumption.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
optimize for speed
add CONFIG_TOUCHSCREEN_EGALAX
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
based on the 2.6.38 kernel mainline, refer to linux std hwmon
architeture, add the standalone ahci temperature monitor driver
on fsl i.mx53 platforms.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
1. Copy mx6_secondary_startup to iRAM;
2. CPU0 reset CPUx, then waiting CPUx reset OK, and
clear CPUx's boot_entry;
3. CPUx reset OK, waiting CPU0 to clear its parameter;
4. All these steps done, CPUx go on boot;
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Add set_rate and get_rate functions to the Audio and Video PLLs.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
Add p1003 i2c touch device
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
Add ocotp to default config
Add watch dog to default config
Add debugfs and clk_debug to default config
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
1. Add irq_set_wake function to gic chip;
2. Fix uart no_console_suspend issue;
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Enable suspend/resume feature for MX6q
echo standby > /sys/power/state -> wait mode;
echo mem > /sys/power/state -> stop mode;
Currentlu only support debug uart as wakeup source;
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
disable config of mxc v4l2 capture to fix build error issue.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add SDMA support for MX6Q.
Enable sdma in imx6 default configure.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
|
|
Add SNVS RTC as a device on MX6
Signed-off-by: Anish Trivedi <anish@freescale.com>
|
|
change for mx51_bbg, mx53_evk, mx6q_sabr platform.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Enable iram for vpu on mx6q.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
For SOC using TZIC, gpio_irq_handler should not call tzic chip ack
funtion, cause it will disable this interrupt line.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
1.add AVI and AIF support.
2.add edid 4-block reading support.(not test)
Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 449efb20625cc8a3dd1259796b4050578960a3d4)
|
|
1. smp build mis-match warning;
2. IO_ADDRESS pointer type;
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Add watchdog device
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
Set bit15 of GPR13, and enable the 3gps sata speed
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
shader clock: 594M
core clock: 528M
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
gc2000 driver 4.3 can not support reserved memory addr > 2G
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Add OCOTP device
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Enable CONFIG_IMX_HAVE_PLATFORM_IMX_VPU and CONFIG_MXC_VPU
for imx6q.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
Change arch/arm files to add vpu support for mx6q.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
enable uSDHC slot 3 in board file
add parameter in platform data to indicate whether the slot
supports 1.8 voltage
add pinmux to support voltage switch between 1.8V and 3.3V
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
--OCRAM size is 256KB, confirmed by IC owner, the
OCRAM_Aliasd 0.75MB is mapped to the same 256KB
OCRAM.That means there is only 256KB physical
OCRAM.
--Enable arch_reset function on MX6Q, For SMP, we
need to clear the SRC_GPRx after the secondary
cores brought up, or the wdog reset will fail;
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
select ipuv3.
select fb.
select v4l2 output.
Signed-off-by: Jason Chen <jason.chen@freescale.com>
|
|
imx6 MSL files change, include clock change for ipu.
Signed-off-by: Jason Chen <jason.chen@freescale.com>
|
|
imx5 MSL files change.
Signed-off-by: Jason Chen <jason.chen@freescale.com>
|
|
1. work for multiple ipu instance
2. add mxc_dispdrv support
A display device driver could call mxc_dispdrv_register(drv) in its
dev_probe() function.
- Move all dev_probe() things into mxc_dispdrv_driver->init(), init()
function should init and feedback setting;
- Move all dev_remove() things into mxc_dispdrv_driver->deinit();
- Move all dev_suspend() things into fb_notifier for SUSPEND, if there is;
- Move all dev_resume() things into fb_notifier for RESUME, if there is;
ipuv3 fb driver would call mxc_dispdrv_init(drv_name, setting) before a
fb need be added, with fbi param passing by setting, after mxc_dispdrv_init()
return, FB driver should get the basic setting about fbi info and ipuv3-hw
(ipu_id and disp_id).
there are many display interfaces on imx5x or imx6x platform, all of them
are connected with ipuv3-DI, mxc_dispdrv can register display device as:
"lcd" -- display extend port for lcdif
"ldb" -- lvds bridge on chip (imx5x or imx6x)
"tve" -- tve for tveout on chip (imx5x)
"vga" -- vga through tve on chip (imx5x)
"hdmi" -- hdmi on platform with ddc support
(sii902x on imx53 - not enable yet)
hdmi on chip with ddc support
(imx6x - not enable yet)
"dvi" -- dvi port with ddc support (not enable yet)
take tvout as example, a dispdrv structure and register flow could like below:
static struct mxc_dispdrv_driver tve_drv = {
.name = "tve",
.init = tvout_init,
.deinit = tvout_deinit,
};
mxc_dispdrv_register(&tve_drv);
in ipuv3 fb driver could init tve driver like below:
setting.if_fmt = interface_pix_fmt;
setting.dft_mode_str = mode_str;
setting.default_bpp = default_bpp;
setting.fbi = fbi;
mxc_dispdrv_init("tve", &setting);
based on mxc_dispdrv framework, display cmdline option will become
as below (take mx53 loco board as example -- fb0 for wvga lcd, fb1 for
XGA vga):
video=mxcfb0:dev=lcd,800x480M@55,if=RGB565
video=mxcfb1:dev=vga,VGA-XGA,if=GBR24
"mxcfb0" means setting for fb0 device, ipuv3 fb driver will request setting
from registered dispdrv, these setting include what's the ipu and what's the
DI number this dev used. Normally, if one IPU is first used, ipuv3 fb driver
will create one overlay fb right after current fb driver create.
Take above cmdline as an example,
/dev/fb0 will be first fb device on 800x480 lcd.
/dev/fb1 will be overlay fb device on 800x480 lcd.
/dev/fb2 will be second fb device on VGA-XGA vga.
"dev=" means which display device(lcd,ldb,vga etc) you want choose for this fb.
"800x480M@55 or VGA-XGA" means the mode_str of video mode you want.
"if=" means the display device hw interface format.
such setting could be passed by platform data as a default value, cmdline
option will replace these values if there are.
3. modify ldb/tve driver and add mxc_lcdif driver.
For ldb driver, there are below modes could be set by cmdline options:
"ldb=spl0/1" -- split mode on DI0/1
"ldb=dul0/1" -- dual mode on DI0/1
"ldb=sin0/1" -- single mode on DI0/1
"ldb=sep" -- separate mode
there are two LVDS channels(LVDS0 and LVDS1) which can transfer video datas,
there two channels can be used as split/dual/single/separate mode.
split mode means display data from DI0 or DI1 will send to both channels
LVDS0+LVDS1.
dual mode means display data from DI0 or DI1 will be duplicated on LVDS0 and
LVDS1, it said, LVDS0 and LVDS1 has the same content.
single mode means only work for DI0->LVDS0 or DI1->LVDS1.
separate mode means you can make DI0->LVDS0 and DI1->LVDS1 work at the same
time.
Signed-off-by: Jason Chen <jason.chen@freescale.com>
|
|
(Fixed the bug that PLL7 lock failed after usb enters low power mode)
After confirming with IC guys, the phy clock should be used
like below:
- OTG phy clock
EN_USB_CLKS: should be also enabled
PLL3 power: Enable/Disable on the fly
- Host1 phy clock
EN_USB_CLKS and PLL7 power should be also enabled at the initialization
PLL7 power will be totally controller by IC
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
As well as some warnings for compiling
Fix the build error reported by Alan Tull, the error message is:
arch/arm/mach-mx5/usb_dr.c: In function 'mx5_usb_dr_init':
arch/arm/mach-mx5/usb_dr.c:309: error: implicit
declaration of function 'machine_is_mx53_loco'
The below warning message output when compiling mx5x kenrel:
arch/arm/plat-mxc/include/mach/arc_otg.h:36:7:
warning: "CONFIG_ARCH_MX6" is not defined
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
add gc320/gc355 devices
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
mx5x ahci related modificatoins when enable ahci on mx6q
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
Eanble ahci sata on mx6q
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
refine the imx ahci sata driver, when enable mx6q sata
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
Clocks that can not change rate should set get_rate to NULL.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Besides, it enables mx50 usb functions at rdp board
And add mxc (except for mx6q) phy specific register file
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Changes at MSL
- Add usb code for mx6q
- Usb host functions (keyboard and u-disk) are verified
- USB host low power mode and wakeup are supported
- defconfig for otg port is for host port
- Using upstream platform device register method
- Delete some useless code, and fix the warning during building
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|