RK3288 LVDS mainline kernel not working

Mohammed Subair msubair at hotmail.com
Mon Jun 7 00:08:05 PDT 2021


Hi

I was trying to use latest mainline kernel ( 5.13.0-rc1-00062-g7bb4870abf84)  for RK3288 with LVDS LCD and it is throwing following error, 

root at 3288:~# dmesg | grep lvds
[    0.069518] platform ff96c000.lvds: Fixing up cyclic dependency with ff940000.vop
[    0.091485] platform lvds-panel: Fixing up cyclic dependency with ff96c000.lvds
[    6.797029] rockchip-lvds ff96c000.lvds: [drm:rockchip_lvds_bind [rockchipdrm]] *ERROR* can't found port point, please init lvds panel port!
[    6.797113] rockchip-drm display-subsystem: failed to bind ff96c000.lvds (ops rockchip_lvds_component_ops [rockchipdrm]): -22
root at 3288:~# dmesg | grep drm
[    6.785616] rockchip-drm display-subsystem: bound ff930000.vop (ops vop_component_ops [rockchipdrm])
[    6.796897] rockchip-drm display-subsystem: bound ff940000.vop (ops vop_component_ops [rockchipdrm])
[    6.797029] rockchip-lvds ff96c000.lvds: [drm:rockchip_lvds_bind [rockchipdrm]] *ERROR* can't found port point, please init lvds panel port!
[    6.797113] rockchip-drm display-subsystem: failed to bind ff96c000.lvds (ops rockchip_lvds_component_ops [rockchipdrm]): -22
[    6.797425] rockchip-drm display-subsystem: master bind failed: -22
[    6.797463] rockchip-drm: probe of display-subsystem failed with error -22
[    6.950807] [drm] Initialized panfrost 1.1.0 20180908 for ffa30000.gpu on minor 0

The configuration is exactly as shown in the documentation on the kernel.

while the display works without any issue son kernel 4.4.194

see below configuration,

	lvds_panel: lvds-panel {
		compatible = "auo,b101ean01";
		status = "okay";
		//enable-gpios = <&gpio7 21 GPIO_ACTIVE_HIGH>;
		enable-gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
		data-mapping = "vesa-18";

		port {
			panel_in_lvds: endpoint {
				remote-endpoint = <&lvds_out_panel>;
			};
		};
	};

&lvds {
	status = "okay";
	lvds_out: port at 1 {
				reg = <1>;

				lvds_out_panel: endpoint {
					remote-endpoint = <&panel_in_lvds>;
				};
			};
};

Any help appreciated.

Subair




More information about the Linux-rockchip mailing list