Firefly Open Source Community

Title: Dual LVDS on RK3288 AIO [Print This Page]

Author: BBBBB    Time: 5/5/2021 14:35
Title: Dual LVDS on RK3288 AIO
Hello everyone,

I met an issue about working dual LVDS panel on RK3288J with Ubuntu. I have tried to work single LVDS panel and the panel output is fine. But for the dual LVDS panel, panel output is black. I have checked the LVDS display card, it looks fine (Method: http://rockchip.wikidot.com/lvds). Furthermore, I think the display-timings settings (list below) is right because I have used the same settings for RK3288J with Android and it's fine. Or is any wrong for the pinctrl settings?

Has anyone met the same or similar issue and could you help me to fix this?
The source code for Ubuntu I use is linux-sdk-rk3288-20210304.tgz from https://drive.google.com/drive/f ... emjELI4nDyij4aML1i.
And the configuration file I selected is aio-3288j-lvds-ubuntu.mk (File path is device/rockchip/rk3288).
Or maybe the driver of the source code just doesn't support dual LVDS?
Thanks for help!

&lvds {
        status = "okay";
};

&lvds_panel {
        status = "okay";
        compatible ="simple-panel";
        power-supply = <&vcc_lcd>;
        backlight = <&backlight>;
        bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
        enable-delay-ms = <10>;
        rockchip,data-mapping = "vesa";
        rockchip,data-width = <24>;
        rockchip,output = "duallvds";

        display-timings {
                native-mode = <&timing0>;
                timing0: timing0 {
                        clock-frequency = <191000000>;
                        hactive = <1920>;
                        vactive = <1200>;
                        hback-porch = <48>;
                        hfront-porch = <16>;
                        vback-porch = <8>;
                        vfront-porch = <36>;
                        hsync-len = <25>;
                        vsync-len = <1>;
                        hsync-active = <0>;
                        vsync-active = <0>;
                        de-active = <0>;
                        pixelclk-active = <0>;
                };
        };
};

&pinctrl {
        act8846 {
                pmic_vsel: pmic-vsel {
                        rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_output_low>;
                };

                pwr_hold: pwr-hold {
                        rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_output_high>;
                };
        };

        backlight {
                bl_en: bl-en {
                        rockchip,pins = <5 17 RK_FUNC_GPIO &pcfg_pull_none>;
                };
        };

        buttons {
                pwrbtn: pwrbtn {
                        rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
                };
        };

        lcd {
                lcd_en: lcd-en  {
                        rockchip,pins = <7 3 RK_FUNC_GPIO &pcfg_pull_none>;
                };
        };

        vcc-sys {
                pwr5v_en: pwr5v-en {
                        rockchip,pins = <0 13 RK_FUNC_GPIO &pcfg_output_high>;
                };
        };
};




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1