Waveshare touchscreen 4inch_HDMI_LCD_(H) on Rock 3A

I connect https://www.waveshare.com/wiki/4inch_HDMI_LCD_(H) to Rock 3A

When configure spi boot good and screen image fine, but touchscreen not working.
Can i configure touch with ads7846 drivers with IRQ on Pin 22?

Yes. Check the GPIO table, pin#22 can be used for IRQ.

https://wiki.radxa.com/Rock3/hardware/3a/gpio

Do I need to rebuild the kernel to support ads7846 or can I configure the drivers from the package?

can you share the dts file for ads7846 ?