u-boot/arch/arm/include/asm/arch-mx6
Akshay Bhat 90d7cc42b3 imx: mx6: Fix procedure to switch the parent of LDB_DI_CLK
Due to incorrect placement of the clock gate cell in the ldb_di[x]_clk tree,
the glitchy parent mux of ldb_di[x]_clk can cause a glitch to enter the
ldb_di_ipu_div divider. If the divider gets locked up, no ldb_di[x]_clk is
generated, and the LVDS display will hang when the ipu_di_clk is sourced from
ldb_di_clk.

To fix the problem, both the new and current parent of the ldb_di_clk should
be disabled before the switch. This patch ensures that correct steps are
followed when ldb_di_clk parent is switched in the beginning of boot.

This patch was ported from the 3.10.17 NXP kernel
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/?h=imx_3.10.17_1.0.1_ga&id=eecbe9a52587cf9eec30132fb9b8a6761f3a1e6d

NXP errata number: ERR009219, EB821

Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
2016-04-19 16:05:12 +02:00
..
clock.h imx: mx6: Fix procedure to switch the parent of LDB_DI_CLK 2016-04-19 16:05:12 +02:00
crm_regs.h imx: mx6ul/sx: fix mmdc_ch0 clk calculation 2016-01-24 12:13:21 +01:00
gpio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
imx-rdc.h imx: mx6sx Add RDC mappings of masters and peripherals 2016-02-21 11:46:26 +01:00
imx-regs.h arm: mx6: Add UART8 base address for i.MX6UL 2016-03-26 14:16:12 +01:00
iomux.h pci: pcie_imx: Fix hang on mx6qp 2015-10-15 09:05:13 -04:00
mx6-ddr.h arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL 2016-02-02 20:58:46 +01:00
mx6-pins.h imx: mx6ul: Add pins IOMUX head file 2015-08-02 11:05:06 +02:00
mx6dl-ddr.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mx6dl_pins.h i.MX6DL/S: add drive-strength back to pads DISP0_DAT2/DAT10 2014-07-10 15:23:56 +02:00
mx6q-ddr.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mx6q_pins.h imx6 SION bit has to be on for the pins that are used as ENET_REF_CLK 2014-02-19 10:57:25 +01:00
mx6sl-ddr.h imx: mx6: ddr add dram io configuration and header file for i.MX6SL 2015-09-02 15:34:12 +02:00
mx6sl_pins.h imx: mx6sl: Extend USDHC SD2 pins to support 8-wire use 2015-02-23 09:11:43 +01:00
mx6sx-ddr.h mx6: Add support for the mx6solox variant 2014-07-10 15:29:16 +02:00
mx6sx_pins.h imx: mx6sx enable SION for i2c pin mux 2015-05-19 15:13:24 +02:00
mx6sx_rdc.h imx: mx6sx Add RDC mappings of masters and peripherals 2016-02-21 11:46:26 +01:00
mx6ul-ddr.h imx:mx6ul add dram spl configuration and header file 2015-08-02 11:05:09 +02:00
mx6ul_pins.h imx: mx6ul: Add pins IOMUX head file 2015-08-02 11:05:06 +02:00
mxc_hdmi.h Merge git://git.denx.de/u-boot-arm 2013-07-31 11:30:38 +02:00
sys_proto.h imx-common: consolidate macros and prototypes into sys_proto.h 2015-09-02 15:29:14 +02:00