Unfortunately, we don't have specific document on how to porting the driver.
We provide the example and help document in Github along with the API codes which you are able to refering to.
Your understanding about the bus read and write are correct. In the API, we only give an interface for bus read and write, you need to rewrite them with your platform bus communication function.
In the API layer, we only consider device address, register address, read_write_length, content buffer and device structure with function point.
In the lower layer, you can re-write the interface code to access the physical bus and stored the return value properly.
... View more