What the driver does should be clear from the driver source - https://github.com/raspberrypi/linux/bl ... mipi-dbi.c
Sorry, will not google for your display data sheet!
You must be looking at another driver or I have missed the 'rotate' property
https://github.com/raspberrypi/linux/bl ... i-spi.yaml
If you want to rotate you can achieve that from the TCON register settings (example given here viewtopic.php?t=355870&hilit=St7789&start=25#p2145763) or simply use screen configuration editor
Why don't you know the size of your active area? Strange ... Because https://github.com/raspberrypi/linux/bl ... i.yaml#L83
Use a dedicated name for your display .bin file! Overwriting the default may cause you issues! There is an override for that! Replace 'myfreakypanel' with the name of your .bin file
so if your bin file is called 4in.bin this translates to
Sorry, will not google for your display data sheet!
You must be looking at another driver or I have missed the 'rotate' property
https://github.com/raspberrypi/linux/bl ... i-spi.yaml
If you want to rotate you can achieve that from the TCON register settings (example given here viewtopic.php?t=355870&hilit=St7789&start=25#p2145763) or simply use screen configuration editor
Why don't you know the size of your active area? Strange ... Because https://github.com/raspberrypi/linux/bl ... i.yaml#L83
Use a dedicated name for your display .bin file! Overwriting the default may cause you issues! There is an override for that! Replace 'myfreakypanel' with the name of your .bin file
Code:
dtparam=compatible=myfreakypanel\0panel-mipi-dbi-spi
Code:
dtparam=compatible=4in\0panel-mipi-dbi-spi
Statistics: Posted by aBUGSworstnightmare — Tue Jan 16, 2024 6:44 am