LVGL rounder callback?

I'm in the process of porting a SH8601 display driver from ESP32 to nRF5340. I'm using LVGL, and the display IC needs a rounder callback - but I can't seem to figure out how to register the callback to the driver.

So fare I got the display IC initialization code up and running, and checked it with a logic analyzer and compare to the SPI data from the ESP32 - everything looks good.

But when I when send data, I see 2 different things. Reading into the ESP32 documentations on the SH8601 driver, a rounder callback is needed when using LVGL and I suspect that's my problem.

So how and where do I register a callback for the Zephyr LVGL display driver?

Related