
This patch set is based on these three patches: https://patchwork.ozlabs.org/patch/426621/ https://patchwork.ozlabs.org/patch/426623/ https://patchwork.ozlabs.org/patch/426622/
If want to test this patch set, please first apply the up 3 patches.
This patch set is mainly to add ldo bypass support.
Since pmic related function is not readly in previous patch, patch 1/12, patch 2/12, patch 3/12 is first to add pmic related support, such as power_init_board, related iomux/pad settings and configuration in header file. Then ldo bypass function can be implemented.
patch 4/12 is to update mxc_ccm_regs with more registers, since ldo setting will use them.
patch 5/12 is to update fuse_bank0_regs, since ldo setting will check it.
patch 6/12 is to add a macro for setting voltage easily.
patch 7/12 is to add ldo bypass related common function.
patch 8/12, patch 9/12, patch 10/12, patch 11/12 is to implement ldo_mode_set in different boards' file.
patch 12/12 is to invoke ldo_mode_set in arch_preboot_os. Future work will integrate Device tree for i.MX6 U-Boot. Then we can move it to power_init_board.
More detailed info can see each patch's commit log.
Peng Fan (12): imx:mx6slevk add pmic and i2c configuration imx:mx6sl add I2c pad settings imx:mx6slevk implement power init board imx:mx6 update mxc_ccm_reg imx:mx6 update fuse_bank0_regs pmic:pfuze add macro for setting voltage imx:mx6 Support LDO bypass imx:mx6slevk add ldo mode set function imx:mx6sabresd Add ldo_mode_set function imx:mx6sxsabresd add ldo mode set function imx:mx6qsabreauto add ldo mode init ARM:imx call ldo_mode_set in arch_preboot_os
arch/arm/cpu/armv7/mx6/soc.c | 141 ++++++++++++++++++++++++++ arch/arm/imx-common/cpu.c | 4 + arch/arm/include/asm/arch-mx6/crm_regs.h | 87 ++++++++++++++++ arch/arm/include/asm/arch-mx6/imx-regs.h | 12 ++- arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 5 + arch/arm/include/asm/arch-mx6/sys_proto.h | 9 ++ board/freescale/mx6qsabreauto/mx6qsabreauto.c | 31 ++++++ board/freescale/mx6sabresd/mx6sabresd.c | 85 ++++++++++++++++ board/freescale/mx6slevk/mx6slevk.c | 100 ++++++++++++++++++ board/freescale/mx6sxsabresd/mx6sxsabresd.c | 50 +++++++++ include/configs/mx6qsabreauto.h | 2 + include/configs/mx6sabresd.h | 2 + include/configs/mx6slevk.h | 14 +++ include/configs/mx6sxsabresd.h | 2 + include/power/pfuze100_pmic.h | 2 + 15 files changed, 542 insertions(+), 4 deletions(-)