Enable LVDS display in uboot imx8mp

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Enable LVDS display in uboot imx8mp

259件の閲覧回数
srinu_inaganti1
Contributor II

 

We're currently working on enabling an LVDS display in U-Boot(2021.04) for an IMX8MP board. We followed a guide on the NXP community website (https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Add-i-MX8MP-LVDS-driver-in-uboot/ta-p/14...), but we're using an LVDS panel instead of an LVDS to HDMI bridge. Consequently, we made some modifications to the U-Boot device tree files and added the panel as a simple panel.

Here's a snippet of the device tree changes we made:

 

backlight: backlight {
    compatible = "pwm-backlight";
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_lvds1>;
    default-brightness-level = <6>;
    pwms = <&pwm3 0 50000 0>;
    power-supply = <&reg_lvds1_reg_en>;
    enable-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
    brightness-levels= <0 4 8 16 32 64 128 255>;
};

panel1: panel1 {
    compatible = "edt,etml1010g3dra";
    backlight = <&backlight>;
    power-supply = <&reg_lvds1_reg_en>;
    port {
        panel1_in: endpoint {
            remote-endpoint = <&lvds1_out>;
        };
    };
};

 

 

This configuration works fine in the Linux kernel, but when we compile and run it on the board, it's unable to probe the backlight and panel drivers. After adding some debug logs, we found that the pwm_backlight_of_to_plat call is failing to get the PWM, which leads to the probing failure of all three video devices.

We're seeking suggestions or ideas from anyone who might know how to solve this issue. Any help would be greatly appreciated!

#IMX8MP

Regards,

Srinu Inaganti

タグ(2)
0 件の賞賛
1 返信

239件の閲覧回数
brian14
NXP TechSupport
NXP TechSupport

Hi @srinu_inaganti1

Thank you for contacting NXP Support.

Please test your drivers on the BSP version recommended by the community article.

Have a great day!

0 件の賞賛