Other Parts Discussed in Thread: SN75LVDS83B
Hello,
I am trying to port LCD ( Bolymin BTZ070H-CFC$ ) on AM5728 based bare custom board and I also have one AM5728 evaluation board on which LCD OSD_OSD101T2587_53TS is connected.
On EVM, in .config CONFIG_DRM_PANEL_SIMPLE & CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS, CONFIG_DRM_MIPI_DSI are enabled.
As per our understanding, LCD is connected through MIPI_DSI interface on SoC and the driver functionality is present in drivers/gpu/drm/panel/panel-simple.c file.
Following changes have been done to port LCD. Please verify:
1. In our custom board, LCD is connected to LVDS interface, hence, the driver functionality shall be provided through drivers/gpu/drm/panel/panel-lvds.c file. Am I right?
2. We have modified the .config file,
CONFIG_DRM_PANEL_SIMPLE & CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS, CONFIG_DRM_MIPI_DSI are disabled.
CONFIG_DRM_LVDS is enabled. Is this correct?
Issue Facing:
1. Probe function present in the LVDS driver (panel-lvds.c) is not getting called. Why this is happening?
Regards
Sahil Kalra
(Note: In DTS Entries, the panel-timing structure is provided by the vendor to us)
lcd0: display { compatible = "panel-lvds"; backlight = <&lcd_bl>; enable-gpios = <&gpio5 12 GPIO_ACTIVE_HIGH>; label = "lcd"; panel-timing { clock-frequency = <51200000>; de-active = <1>; hactive = <1024>; hback-porch = <12>; hfront-porch = <85>; hsync-active = <0>; hsync-len = <8>; pixelclk-active = <1>; vactive = <600>; vback-porch = <12>; vfront-porch = <12>; vsync-active = <0>; vsync-len = <8>; }; port { lcd_in: endpoint { remote-endpoint = <&dpi_out>; }; }; }; lcd_bl: backlight { compatible = "pwm-backlight"; brightness-levels = <0 243 245 247 249 251 252 253 255>; default-brightness-level = <8>; pwms = <&ehrpwm1 0 50000 0>; };