See https://github.com/adameus03/uart_cam_driver for the corresponding driver program. You can see the abstraction layer provided by that program in tmpfs by visiting the README.md of the driver repo