The kernel code that we are using is the latest kernel release from Freescale's git repository, linux-2.6-imx.git - Freescale i.MX Linux Tree . The differences between the kernel verison, L4.1.15_1.0.0, that you recommend and the one we are using, L4.1.15_1.1.0, are minor and do not change anything regarding how the regulators operate. The changes do infact mostly affect imx6ul and gpu.
Diff between the different kernel versions:
Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
arch/arm/boot/dts/imx6ul-14x14-evk-usb-certi.dts
arch/arm/boot/dts/imx6ul-14x14-evk.dts
arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts
arch/arm/boot/dts/imx6ul-9x9-evk.dts
drivers/media/platform/mxc/subdev/mx6s_capture.c
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.c
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_debugfs.c
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_sync.c
drivers/usb/chipidea/ci_hdrc_imx.c
drivers/usb/chipidea/core.c
include/linux/mtd/map.h
Therefore,it should not matter if we are running L4.1.15_1.0.0 or L4.1.15_1.1.0, as the code for the regulators are the same.
We are using ldo-bypass in our design and the the device tree states:
&gpc {
fsl,ldo-bypass = <1>;
};
Also during U-boots startup it outputs:
...
switch to ldo_bypass mode!
Starting kernel ...
...
...
But I agree with you, the problem could be related to ldo-bypass. Looking at the code for the regulator it seems like having ldo-bypass enabled should remove the error. I will investigate further why our device does not enter ldo-bypass correctly.