Re: Adding LCD display (none lvds) in Linux 5.4 fslc?
Philippe Schenker
On Thu, 2020-08-13 at 03:28 -0700, Wouter Vanhauwaert wrote:
How do you correctly put a parallel lcd display in linux 5.4? Yes this has completely changed, look at NXP's MEK devicetrees to figure that out, at least I was once able to figure it out like that. On Colibri-iMX8X I once had it running with something like this: &dpu_disp1_lcdif { remote-endpoint = <&lcd_display_in>; status = "okay"; }; This points to: panel { compatible = "logictechno,lt161010-2nhc"; backlight = <&backlight>; status = "okay"; port { lcd_panel_in: endpoint { remote-endpoint = <&lcd_display_out>; }; }; }; display@disp1 { compatible = "fsl,imx-lcdif-mux-display"; #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcdif>; clocks = <&clk IMX_SC_R_LCD_0 IMX_SC_PM_CLK_BYPASS>, <&clk IMX_SC_R_LCD_0 IMX_SC_PM_CLK_MISC0>; clock-names = "bypass_div", "pixel"; assigned-clocks = <&clk IMX_SC_R_LCD_0 IMX_SC_PM_CLK_MISC0>; assigned-clock-parents = <&clk IMX_SC_R_LCD_0 IMX_SC_PM_CLK_BYPASS>; fsl,lcdif-mux-regs = <&lcdif_mux_regs>; fsl,interface-pix-fmt = "bgr666"; power-domains = <&pd IMX_SC_R_LCD_0>; status = "okay"; port@0 { reg = <0>; lcd_display_in: endpoint { remote-endpoint = <&dpu_disp1_lcdif>; }; }; port@1 { reg = <1>; lcd_display_out: endpoint { remote-endpoint = <&lcd_panel_in>; }; }; }; Hope this helps, Philippe |
|