Hi,
We are trying to bring up DPI display(RGB888) on custom am62x board,
facing challenge to get display, not able to display any thing on screen.
any suggestion to solve issue will be helpful.
we are using ehrpwm for backlight pwm, dpi1 port
enabled required driver
modification as below
backlight_dpi: backlight-dpi {
compatible = "pwm-backlight";
pinctrl-names = "default";
pwms = <&epwm0 0 50000 0>;
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <7>;
enable-gpios = <&main_gpio1 13 GPIO_ACTIVE_HIGH>;
};
panel {
compatible = "ampire,am-800480bdtzqw-01h";
backlight = <&backlight_dpi>;
enable-gpios = <&main_gpio0 85 GPIO_ACTIVE_HIGH>;
port {
panel_in: endpoint {
remote-endpoint = <&dpi1_out>;
};
};
};
&epwm0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&ehrpwm0_pins>;
};
&dss {
pinctrl-names = "default";
pinctrl-0 = <&main_dss0_pins_default>;
};
&dss_ports {
/* VP2: DPI Output */
port@1 {
reg = <1>;
dpi1_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
};
some of dmesg/proc entry
sudo dmesg | grep "dss"
[ 0.078797] platform panel: Fixing up cyclic dependency with 30200000.dss
[ 4.119187] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
[ 4.126609] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
sudo dmesg | grep "panel"
[ 0.078797] platform panel: Fixing up cyclic dependency with 30200000.dss
[ 4.108645] panel-simple panel: supply power not found, using dummy regulator
sudo dmesg | grep "backlight"
[ 4.131079] pwm-backlight backlight-dpi: supply power not found, using dummy regulator
cat /sys/kernel/debug/pwm
platform/23000000.pwm, 2 PWM devices
pwm-0 (backlight-dpi ): requested period: 50000 ns duty: 0 ns polarity: normal
pwm-1 (sysfs ): requested period: 0 ns duty: 0 ns polarity: normal
ls -l /dev/dri/card0
crw-rw---- 1 root video 226, 0 Aug 4 04:08 /dev/dri/card0
ls -l /dev/dri/by-path/
total 0
lrwxrwxrwx 1 root root 8 Aug 4 04:08 platform-30200000.dss-card -> ../card0