I would like to write a special driver that extends A-to-D functions of an external chip. This chip will be connected to the Am335x PRU units. Ultimately, I want to be able to get-set-and-check programs to the PRU and read-write data to the A-to-D chip. I've been able to write a driver but getting it to connect to the PRU has not been a pleasant experience [yes, I'm using device tree].
I'd like to get the uio_pruss.c driver to to be the go-between the processor and the PRU and my device driver would be the go-between the PRU and the external A-to-D processor.
Anyone have any tips on how I should approach this?