2019-10-08 02:04 AM
For enabling Raspberry Pi 7 inch touchscreen I configured device tree according to the binding. However, when I compile it it gives me syntax error and FATAL ERROR: Unable to parse input tree. I have read many pages of website about device tree but got no result. You can view my device tree and display's binding in the attachment. May you direct me to a correct way?
Halil
2019-10-11 07:01 AM
Hi arslanhalil331.567665195518651E12 (as),
I managed to parse the device tree and compile it by putting the example given by the raspberry touchscreen documentation (the one that you've given) into the soc part of the file stm32mp157c.dtsi as described in the wiki https://wiki.st.com/stm32mpu/wiki/DSI_device_tree_configuration and https://wiki.st.com/stm32mpu/wiki/I2C_device_tree_configuration.
BR,
Calvin
2019-10-12 02:51 AM
Hi calvin.ageneau1.569917709859113E12 ,
I applied what you have said me, I compiled the device tree succesfully. Then I connected the 15 pin ribbon cable of Raspberry pi to the 20 pin one of the Stm32mp157c-dk2. However, there is still nothing on the screen I do not know why. Even the backlight of the screen does not get activated. I checked the connection with multimeter everything seems correct in terms of physical connection. I activated the touchscreen in kernel config as well. I attached my stm32mp157c.dsi file in case you want to check it. I am so grateful for your help.
Best regards,
Halil