I.MX6 Kernel disables LCD panel Power on boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I.MX6 Kernel disables LCD panel Power on boot

1,045 Views
subver
Contributor I

Hi, i have a custom board with imx6dl processor, running yocto linux. LCD panel connected to parallel LCD interface and working fine in U-boot. But when kernel starts, display is disabled, LCD_PWR_EN pin remains low. But i can see pulses on data and clock lines with oscilloscope. There is boot log:

Kernel command line: console=/dev/fb0,115200 video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB24,bpp=16,int_clk video=mxcfb1:off ldb=sin0 root=/dev/mmcblk2p2 rootwait rw
mxc_sdc_fb fb@0: registered mxc display driver lcd
lcdif_pwr_on: disabling

why lcdif_pwr_on is disabling? how can i configure kernel (device tree or something else) to use lcd panel on parallel interface as primary display? Thank you.

From device tree config:

reg_lcdif_pwr_on: lcdif_pwr_on {
compatible = "regulator-fixed";
regulator-name = "lcdif_pwr_on";
gpio = <&gpio6 14 0>;
enable-active-high;
};

lcd@0 {
compatible = "fsl,lcd";
ipu_id = <0>;
disp_id = <0>;
default_ifmt = "RGB565";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ipu1>;
disp-power-on-supply = <&reg_lcdif_pwr_on>;
status = "okay";
};

mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "lcd";
interface_pix_fmt = "RGB24";
mode_str ="CLAA-WVGA";
default_bpp = <16>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};

&mxcfb1 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "lcd";
mode_str ="CLAA-WVGA";
interface_pix_fmt = "RGB24";
default_bpp = <16>;
int_clk = <0>;
late_init = <0>;
status = "okay";
};

Labels (4)
0 Kudos
1 Reply

975 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kirill

for such use cases one can consider patches:

Patch to support uboot logo keep from uboot to kernel for NXP Linux and Android BSP (HDMI, LCD and L... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos