Age | Commit message (Collapse) | Author |
|
Miss the PMIC config shall break the building.
This patch fixed this problem.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
J12 shares the PIN with EPD.
This patch add platform-specific configuration for SEIKO WVGA
To make SEIKO WVGA panel work on J12, need add "lcd=1,j12"
in kernel cmdline. If make it work on J13, just need "lcd=1"
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
change switch mode to APS and PFM according
to PMIC team suggestion.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
On PoR(Power-On-Reset), the issue does not exist; only on WDog Reset
(for example, issue "reboot" command in Linux) this issue happens,
and kernel stops at HDMI reset.
Note that PoR will reset IOMUX setting, but WDog Reset will
not reset IOMUX. However, WDog Reset will reset GPIO setting(as INPUT).
With this fact in mind, we can explain the reason much more easily.
It seems that SI2312BDS supposes EIM_RW to be always high to work well.
On WDog reset, the EIM_RW is set as GPIO INPUT which causes 1V2_HDMI to
output 0.0V. Even HDMI driver sets EIM_RW as GPIO OUTPUT High which causes
1V2_HDMI to output 1.2V, HDMI reset does not work well.
This reality shows that a LOW-HIGH timing causes SI2312BDS not work well.
Instead a HIGH-LOW-HIGH timing appears to be needed to get a stable output.
Actually, on PoR, the EIM_RW (GPIO to control HDMI power) is set as
default MUX_MODE 0, which causes 1V2_HDMI outputs 1.2V. In this case,
the timing meets HIGH-LOW-HIGH, HDMI reset works well.
So similarly, we need pull EIM_RW high to 1V2_HDMI output high firstly
in driver to achieve HIGH-LOW-HIGH timing.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
build battery driver as module
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Fix the previous setting for GP6_11.
set UART2_RXD (GP6_11) to high level, not low.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
PD+3 help test pass for DDR with higher freq.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
- Modified command line setup() to add "lcd=2" to choose CLAA WVGA
- Added function to enable/disable pins, (Same PIN Setting as HDMI)
Here's a matrix to show co-working capability for EPDC, HDMI, SEIKO/CLAA WVGA
- EPDC, CLAA WVGA on J12 on RD3
- SEIKO WVGA on J13 on RD3
------------------------------------------------------------------
| EPDC | HDMI | SEIKO WVGA | CLAA WVGA
------------------------------------------------------------------
EPDC | - | | |
------------------------------------------------------------------
HDMI | N (*) | - | |
------------------------------------------------------------------
SEIKO WVGA | Y | N (**) | - |
------------------------------------------------------------------
CLAA WVGA | N (*) | N (**) | Y (***) | -
------------------------------------------------------------------
LEGEND:
(*) Shares the same pins.
(**) Shares LCDIF, but not same timing.
(***) Shares LCDIF, and could share same timing for them fortunately.
(NOTE: only tested with these two panels, need "lcd=2" in kernel cmdline).
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Clicking sound can be heard whenever the system transitions between LPAPM
mode and normal mode. Sometimes channel swapping also occurs. The issue
can be reproduced only when tested with a mono-tone audio clip.
The issue was caused by stalling of the bus masters when the DDR
frequency was being changed. Fix is to allow SDMA to access IRAM
via QoS (ports 0 and 1) during the DDR frequency transition.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
- Define SII902X structure and default video mode
- Add functions to enable/disable HDMI pins
- Define HDMI as default LCDIF device
- Add command line setup() to select between LCD and HDMI as primary output
for LCDIF
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Defined IOMUX settings to allow use of EPDC pins for ELCDIF functionality.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Removed setting of pfd_disable_mask bits in pfd enable/disable functions.
This feature, which automates the disabling of the APLL, was being used
incorrectly and is less clear than manually enabling/disabling PFD and
APLL clocks directly.
- Added wait for APLL relocking after APLL is enabled.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Reversed ordering in which clocks are disabled. Child clocks should
be disabled before parent (root) clocks.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Add platform data (partition info, etc.) for SPI NOR(M25P32) driver
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
register PMIC spi device and platform data.
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
One image for RD1(RDP) and RD3 by adding board_is_rd3 to distinguish them.
The patch covers board changes as follows:
- FEC_EN pin changed.
- POWER_EN and DISP_VSYNC pin switched.
- set UART1_RTS__GPIO_6_9 to enable SD2 VDD
- DCDC_EN changed
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Changed the .modalias to "mc13892", so that the PMIC SPI driver
can use the modalias to distinguish the "mc13892" and the new PMIC "mc34708".
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
If enable both LVDS and one display device use external di clock, there will
be conflict between their clock parent -- both use pll4 on mx53. So it need
change di0 clock parent to pll3, and then uart parent need change to pll2 to
avoid console mess.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
CLear DSE[2] bit to 0 for DDR pads before WFI to reduce ddr pre-driver power
Restore the settings after WFI to enable DDR access
This patch reduce VDD_REG current from 5mA to about 0.5mA
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
UART dma mode doing data transfer between uart fifo and ddr.
So emi_fast_clk must be enabled when dma on.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
This patch adds Seiko WVGA LCD panel support in MX53 SMD
board. The video mode setting is:
video=mxcdi0fb:RGB24,SEIKO-WVGA di0_primary
Signed-off-by: Lily Zhang <r58066@freescale.com>
|
|
For in mxc platforms, we use arm/mach/flash.h for flash_platform_data
definition, but our driver m25p80 uses linux/spi/flash.h.
These two flash_platform_data structures are different.
This may cause an issue in creating partitions.
Now in mx53 smd, we choose flash_platform_data in linux/spi/flash.h.
This can uniform the flash_platform_data structure.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Change MSL files.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
add related regulator for hdmi.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
mxc_m25p80 config is not added to imx5_defconfig.
Thus in this patch it is added.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
by default only enable da9053 irq as wakeup source
for board with new OTP DA9053, need to reverse this patch
to enable other irq wakeup
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
Update the VDDGP voltages for the various supported frequencies to
correspond to the latest characterized data.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
Added 400MHz to the cpu_wp_tbl and to the dvfs_core_setpoint arrays.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
MX53 ARD Rev.B board uses a different LVDS and touchscreen panel.
This patch adds support for the panel with the new touchscreen. Also
adds function calls that returns the correct board ID for MX53 ARD
Rev.A and Rev.B boards.
Signed-off-by: Mahesh Mahadevan <Mahesh.Mahadevan@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
|
|
This patch will remove CONFIG_MXC_VPU_IRAM in default defconfig.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
Add iram info to vpu platform data for each platform in linux/arch folder.
Disable iram on MX51 and Enable iram on MX53 platforms.
And remove VPU_IRAM_SIZE usage.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
After iomux upgrade, this pin's iomux change to a PULL up
100K, but not PUE bit, this will cause the pin can't work.
This patch fix this.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
SPI_NOR: Add m25p32 spi flash support.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Following usb device wakeup modes is supported are added:
-vbus failing wakeup: it happens when our SoC suspend and host's vbus failing
(after host(pc) suspends 10 seconds later)
-device receives reset wakeup: it happens follow below steps:
--Find MSC device at pc for soc
--Right-click -> Disable (this will suspend the device)
--let soc go to suspend
--Right-click -> Enable (this will reset the device)
-device receives resume signal from pc: it can be tested by pc HSET tools
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
increase dram_sdclkx driver strength to avoid resume failure
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
add a parameter to select spi master/slave mode
by default, spi master mode is selected.
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
Some cards have the CRC errors in read on mx51 BBG board.
Configure the eSDHC pad configurations to level up the compatibility to
fix this issue.
Signed-off-by: Richard Zhu <Hong-Xing.Zhu@freescale.com>
|
|
select ar6003 driver under staging
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
select ar6003 driver under staging
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
Add correct pll parameters for 160M working point
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
Add support for hardware pin controlled suspend for mx53 smd revB,
Also reduce DRAM_SDCLK drive strength for both mx51 and mx53 on suspend
1)First need to rework revB to connect pmic_stdby_req with DA9053 sys_en_gpio8
to support hardware pin suspend
2)for revB with new OTP DA9053 chip, any irq can wake up the system reliably
3)for revB with old OTP DA9053 chip, need to rework pwron key and only pwron
key irq can wake up the system reliably
4)for mx53 smd revA and loco board still use sw command to suspend, and resume
it not stable
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
Fix UART3_CTS Pad setting, this will cause Atheros UART BT
chip hang, the _select_input_ofs bit is for ALT6, not CTS: ALT2
Please Refer: IMX53RM(p.1732).
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
For better alignment with the upstream i.MX kernel, switch from
cpu_is_mx5x_rev() to mx5x_revision().
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
|
|
For MX51 and MX53,the SI_REV fuse will have the correct silicon
revision that can be read from the IIM module.
For MX50, the HW_ADADIG_DIGPROG register in the ANATOP module will
have the correct silicon revision:
Major Minor Description
0x50 0x0 TO1.0
0x50 0x1 TO1.1
Dropped all support for MX51 TO1.0 and TO1.1, only MX51 REV 2.0 and 3.0
are valid.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
|
|
All the bus masters need to have clock to DDR (emi_fast_clk for MX51 & MX53) as
secondary clocks to ensure the clocks to DDR remain ON as long as the bus master
is active.
In case of SDMA (and associated peripherals), if the buffers are stored in IRAM,
emi_fast or ddr_clk is not a dependent clock.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
MX53_SMD Have a Amazon modem, which need USB ACM modem
support in kernel, enable this in default config.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
This patch builds in ISL29023 light sensor driver.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
This patch adds ISL29023 light sensor support.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
Need enable analog regulator.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add IEEE 1588 support for mx53 LOCO and SMD boards
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
|