2019-09-20 12:18 AM
I have been trying to port touchscreen with Stm32mp157c-dk2 without success. Actually, touchscreen has 15 pins but Stm32 has 20 pins and I handled the unmatched pins on Stm in logical way. Rest of the pins match but no screen seen. Do I have to make adjustment in the SW side?
Best regards,
Halil
Solved! Go to Solution.
2019-09-30 07:44 AM
I think the display you mention is this one
https://www.raspberrypi.org/products/raspberry-pi-touch-display/
I never used it, so the information below are not fully verified.
From HW side you need to connect several wires: GND, +3V3, +5V, I2C_SCL/SDA and the 6 wires for DSI CK,D0,D1 N and P.
Then you need to modify the device tree accordingly to
and recompile the kernel adding the configuration option CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
2019-09-30 07:44 AM
I think the display you mention is this one
https://www.raspberrypi.org/products/raspberry-pi-touch-display/
I never used it, so the information below are not fully verified.
From HW side you need to connect several wires: GND, +3V3, +5V, I2C_SCL/SDA and the 6 wires for DSI CK,D0,D1 N and P.
Then you need to modify the device tree accordingly to
and recompile the kernel adding the configuration option CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
2019-10-02 01:34 AM
Dear Antonio,
Thank you very much. I will try it and then give a feedback.
2019-10-03 05:39 AM
2020-06-10 12:46 AM
Hi Halil,
I know your Question is a couple of months old but:
Have you solved the Problem and if so, how?
We've run into the same problem, but we solved the problem with the backlight Control:
You have to add these lines into the &i2c1 block:
&i2c1 {
#address-cells = <1>;
#size-cells = <0>;
lcd@45 {
compatible = "raspberrypi,7inch-touchscreen-panel";
reg = <0x45>;
status="okay";
port {
panel_in: endpoint {
remote-endpoint = <&dsi_out>;
};
};
};
[...SOME OTHER STUFF ...]
}
Comment out the Panel@0 block in &dsi to avoid compiling Errors due to the "dsi_out" port.
When the system boots up, the backlight of the display is activated - but there are just vertical lines and no proper screen output...
2020-10-09 07:42 AM
Hi All,
any development on this topic? I'm interested too.
Thanks,
Aldo
2025-02-20 02:21 AM
Did you ever get this working? I've spent the past few weeks trying to even get the backlight to turn on. Tried using both the example DTS given by ST and the configuration you've posted but no luck.