cancel
Showing results for 
Search instead for 
Did you mean: 

ltdc-simple panel- parallel DRM mode fail

Ara.1
Senior

Hi

i have a ltdc tft display RGB parallel display connected to stm32mp15 series,

unable t0 get drm link to DPI connector, the code flow is breaking at following files,

using

DISTRO              = "openstlinux-weston"

i have no idea where to start to debug

linux-4.19.49/drivers/gpu/drm/drm_modes.c

       if (mode->flags & ~DRM_MODE_FLAG_ALL)

               return MODE_BAD;--- failing here not moving further

DTS:

   panel_rgb: panel-rgb {

      compatible = "okaya,rs800480t-7x0gp";

   status = "okay";

   dvdd-gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;

   avdd-gpios = <&gpiod 7 GPIO_ACTIVE_HIGH>;

   cs-gpios = <&gpioa 12 GPIO_ACTIVE_HIGH>;

   pinctrl-names = "default", "sleep";

   pinctrl-0 = <&ltdc_mp1som_pins_a>;

   pinctrl-1 = <&ltdc_mp1som_sleep_pins_a>;

      port {

         panel_in_rgb: endpoint {

            remote-endpoint = <&ltdc_out_rgb>;

         };

      };

   };

&ltdc {

   status = "okay";

   port {

      #address-cells = <1>;

      #size-cells = <0>;

      ltdc_out_rgb: endpoint@0 {

         reg = <0>;

         remote-endpoint = <&panel_in_rgb>;

      };

   };

};

weston.ini:

[output]

name=HDMI-A-1

mode=1280x720

# DSI connector

[output]

name=DSI-1

mode=preferred

transform=270

attached is the drm log

1 REPLY 1
Ara.1
Senior

as a update , when i remove the validation check, i could able to see a continious RGB and black white test pattern is seen on the LCD tft