Part Number: AM5728
Hi all,
I have connected two parallel (DPI) LCDs to the AM5728 processor running a customized Linux RT SDK, but I am only seeing one fbdev node: /dev/fb0 - this framebuffer is being utilised by both displays.
My question is, how do I modify the device tree (or driver?) to initialise an additional fbdev node (/dev/fb1) for the second display?
PS: I have been investigating omapdrm and I guess that when omap_modeset_init enumerates over "connected" dss devices, it only finds one "registered" dss device... but then, it's obviously initialising a second DRM connector for the second LCD under that dss device and also ultimately renders the content of fb0.
I'm confused.
lcd1: display@0 { compatible = "panel-dpi"; label = "disp1"; backlight = <&lcd_bl1>; //enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* Not yet sure how to convert the units from the data sheet to "in pixels" requested by the display-timing.txt docs */ panel-timing { clock-frequency = <12000000>; hactive = <480>; vactive = <128>; hfront-porch = <4 5 65>; hback-porch = <36 40 255>; hsync-len = <30>; vback-porch = <3 8 31>; vfront-porch = <2 8 93>; vsync-len = <13>; hsync-active = <0>; vsync-active = <0>; de-active = <1>; pixelclk-active = <1>; }; port { lcd0_in: endpoint { remote-endpoint = <&dpi0__out>; }; }; }; lcd2: display@2 { compatible = "panel-dpi"; label = "disp2"; backlight = <&lcd_bl2>; //enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* Not yet sure how to convert the units from the data sheet to "in pixels" requested by the display-timing.txt docs */ panel-timing { clock-frequency = <12000000>; hactive = <480>; vactive = <128>; hfront-porch = <4 5 65>; hback-porch = <36 40 255>; hsync-len = <30>; vback-porch = <3 8 31>; vfront-porch = <2 8 93>; vsync-len = <13>; hsync-active = <0>; vsync-active = <0>; de-active = <1>; pixelclk-active = <1>; }; port { lcd2_in: endpoint { remote-endpoint = <&dpi2__out>; }; }; }; &dss { ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; dpi0__out: endpoint { remote-endpoint = <&lcd0_in>; data-lines = <24>; }; }; port@2 { reg = <0>; dpi2__out: endpoint { remote-endpoint = <&lcd2_in>; data-lines = <24>; }; }; }; };