If you are using Armbian, usually adding some config options is enough to enable LCD and touch support...
Code:
Also starting with 5.24 Pine64's own LCD with touchscreen support can simply be activated in /boot/armbianEnv.txt by setting pine64_lcd=on and adding gt9xxf_ts to /etc/modules followed by a reboot.
Come have a chat in the Pine IRC channel >>