Hi Support team,
We are using one of the sitronix SPI controller ST7789V based LCD with Qualcomm410 platform. and Kernel version is 4.14.15 We are using SPI-LCD driver (drivers/gpu/drm/panel/panel-sitronix-st7789v.c) to enabling it. We need your help to bring up LCD with Linux.
driver probed successfully. below are dmesg short logs. A detailed log file is attached.
[ 1.541250] ## DEBUG : func : st7789v_probe line : 390
[ 1.548451] st7789v spi0.0: spi0.0 supply power not found, using dummy regulator
[ 1.553683] ## DEBUG : func : st7789v_probe line : 424
Below changes we have applied in apq8016-sbc.dtsi: We refer Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt document.
spi@78b9000 {
/ On Low speed expansion /
label = “LS-SPI0”;
status = “okay”;
ports {
port@1 {
reg = <1>;
spi_out: endpoint {
remote-endpoint = <&truly_in>;
};
};
};panel@0 {
label = “reset_gpios”;
compatible = “sitronix,st7789v”;
reg = <0>;
backlight = <&backlight>;
reset-gpio = <&msmgpio 10 GPIO_ACTIVE_LOW>;
spi-max-frequency = <100000>;
spi-cpol;
spi-cpha;
port {
truly_in: endpoint {
remote-endpoint = <&spi_out>;
};
};
};
};
Configuration:
CONFIG_DRM_PANEL_SITRONIX_ST7789V = y
HAS_IOMEM [=y] && DRM [=y] && DRM_PANEL [=y] && OF [=y] && SPI [=y] && BACKLIGHT_CLASS_DEVICE [=y]
We are suspecting at DRM subsystem call. DRM entry not registered in the /sys/class/DRM. No DRM calls called after probing like st7789v_enable, st7789v_get_modes, st7789v_prepare.
Can you please guide us here, what could be the missing part to enable the DRM subsystem for SPI based LCD? Because we have successfully enabled the with MIPI - DSI based LCD with Q410 platform.
We are waiting for your response.
Regards,
Arjun Salariya