Make LDB related video mode names be common names because the
video names may be used by other devices besides LVDS panels.
Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit 65ff4bdb388474875d2111b412c6375e0d1ce0c2)
Add "w1" setup at mx50 pin defination because 1wire pin used
for usb over current default.
Fix multi w1_setup problem at many i.MX platform. Only first one
is run by main.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Set pixel clock rate for CLAA-WVGA LCD panel for 27MHz and
set the display frequency to be 57Hz. This makes the panel
to get rid of water wave glitch issue on MX50 platform.
Signed-off-by: Liu Ying <b17645@freescale.com>
1. adjust lp_clk, ddr_clk MX53 and MX51 uses different one
2. adjust cpu rate in cpu_wp_table
3. enable clock divider handshaking when ddr clock changing
4. add AHB_MED_SET_POINT to ldb_di_clk
5. adjust the bit define about CCDR register
Signed-off-by: Shen Yong <b00984@freescale.com>
1. Adjust VDDGP for 1GHZ as 1.15v
2. Adjust VDDGP for 800MHZ as 1.05v
3. Not all current MX53 boards can run up to 1GHZ. So one limitation is
added into clock.c to limit 1GHZ working point. To enable 1GHZ
working point in kernel, please increase the GP voltage and type the
command "clk core 1000" in uboot console to switch CPU core to 1GHZ.
This limitation will be removed after all boards support 1GHZ.
Signed-off-by: Lily Zhang <r58066@freescale.com>
MX50 requires inclusion of PxP, Maxim 17135, and EPDC drivers as defaults
in order to have proper E-Ink display support.
Signed-off-by: Danny Nold <dannynold@freescale.com>
Reconfigure the PAD's configurations to level up the HW
timing compatibility.
MX51:Some MMC cards such as transcend mmc plus cards can't
be recognized and initialized correctly on the second
esdhc slot of the BBG boards that populated the new DDR chips.
MX53:Same Kingstone SDHC card can work well on EVK REVA board, but
failed in initialization on EVK REVB board without
any sw modifications.
After adjust the slot pin's pad configurations,
fix the HW compatible issues listed above.
Signed-off-by: Richard Zhu <r65037@freescale.com>
Maxim 17135 PMIC init added to MSL in conjunction with addition
of Maxim 17135 regulator driver and I2C client.
Signed-off-by: Danny Nold <dannynold@freescale.com>
support imx53 evk board OTG and Host1 vbus active
and inactive to low the power consume, fix fsl_otg.c
build failt, add vbus power control function pointer
in struct fsl_usb2_platform_data.
Signed-off-by: Hu hui <b29976@freescale.com>
The pad settings for the over-current detection pins on MX50 ARM2
CPU board needs to have a pull-up.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Add reference counting of driver opens for multi-context support.
Increase command buffer to 64KB.
Signed-off-by: Rob Herring <r.herring@freescale.com>
Increase vpu iram size to 80K on mx51 and mx53 to
use more iram for video decoding and encoding.
It can cover 720P encoder and 1080P decoder except VC-1 AP.
Signed-off-by: Sammy He <r62914@freescale.com>w
The serial device setup code includes board configuration header,
but is common for all boards. So make the configuration common for
all boards and remove the board headers as nothing else is used.
Signed-off-by: Rob Herring <r.herring@freescale.com>
CCM is different on various MX5x chips, so limit its include.
SRPG is only initialized on MX51 3DS, but should be done on all
MX5x chips.
Signed-off-by: Rob Herring <r.herring@freescale.com>
CS4288 is built in as default for MX53, but with a command parameter
of apc in the commandline to enable.
Signed-off-by: William Lai <b04597@freescale.com>
1. correct mx53 sdma script variable
2. CSPI should not use cspi_main_clk
3. remove duplicated M4IF setting codes in clock.c, which
are already in cpu.c
Signed-off-by: Lily Zhang <r58066@freescale.com>
1 correct the pata platform device resource check codes
2 Change the end statment of the sdhc1 det pin
iomux definition on mx51 board from ',' to ';'.
3 sdhc driver max blk count on MX31, sinc
customer report that the emmc would be failed when
the blk count is more than 32.
Signed-off-by: Richard Zhu <r65037@freescale.com>
The default partitions are missing in MX53 SPI NOR MTD.
It's because spi nor driver and mx53 msl include different
header files. It causes struct definitions are different.
For i.MX SPI nor driver, need to use asm/mach/flash.h by
aligning with NAND driver.
Signed-off-by: Lily Zhang <r58066@freescale.com>
If not, the board will be reset as no one
serices the watchdog.
At USB recovery mode, the watchdog will be
enabled at rom code.
Signed-off-by: Peter Chen <b29397@freescale.com>
1. MLB can only work with "jtag=on" option enable or after system
resume now. It's cuased by emi_int2 clock gate bit setting.
MX53 enables the internal memory power saving mode which requires
emi_intr CCGR bits must be set as 0x11 if using IRAM. To fix current
issue, add additional mlb clock which is associated with emi_int2.
2. Update MLB PIN setting.
Signed-off-by: Lily Zhang <r58066@freescale.com>
Add SPDIF Tx support for MX53 EVK board.
1. Support 44.1KHZ sample rate.
2. 48K and 32K sample rates require 24.576MHZ OSC connected to
CKIH2. But it's "DNP" in EVK.
Test conditions:
1. Connect MX51 Accessory Card with J94 port in EVK.
2. SPDIF_OUT pin conflicts with 12V pin used by CAN feature.
Add "spdif" command option in the command line to enable SPDIF
Signed-off-by: Lily Zhang <r58066@freescale.com>
The old imx51_updater_defconfig is out-dated, so delete it,
and mfg firmware will use imx5_updater_defconfig in future.
Signed-off-by: Peter Chen <b29397@freescale.com>
1. USB gadget driver can't work if we insmod usb host module first,
At default, we should not define CONFIG_USB_EHCI_ARC_OTG
(Taking the first usb port as host), otherwise the usb gadget driver
will can't work due to its resource have already claimed by usb0 host.
2. Fixes some warnings and error format for Kconfig
and defconfig
Signed-off-by: Peter Chen <b29397@freescale.com>
Add appropriate secondary clocks to GPU2d and GPU3d clocks.
Also fix the naming scheme for the clocks needed by GPU so
that the same clocks can be used on both MX51 and MX53.
Fixed the round_rate function for many clocks so that the rate
returned is not greater than the maximum rate supported for that clock.
Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
Set AXI_B_CLK to be 200MHz in case it is set to other clock rate in bootloader.
This can make sure IPU has sufficient clock rate.
Signed-off-by: Liu Ying <b17645@freescale.com>