I have modified the imx477.c kernel driver in my Raspberry Pi 5 / High Quality Camera system to be able to get more options for frame rate vs resolution. In particular I was keen to get as close to the full 60fps the Sony datasheet describes for 4k.
Within the bounds of my knowledge, the limitations of the CSI 2-lane implementation between the Camera and the Pi5 interface, I have succeeded in getting a stable 2440x1600 8-bit RGB888 at 53.02 frames per second.
I am of course having to rmmod and re-attach the driver at every reboot as re-compiling the kernel is beyond my knowledge. Is this the forum to propose/adopt these improvements to this kernel driver, or does that belong to libcamera/picamera maintainers?
Hi,
Thanks for sharing your work and the results you’ve achieved with the modified IMX477 driver.
Since your changes involve the imx477.c kernel driver used by Raspberry Pi OS, we recommend reaching out to the Raspberry Pi engineering team through their official forums or GitHub repositories.
They would be in the best position to review your modifications, advise on the appropriate contribution process, and determine whether the improvements could be incorporated into the official Raspberry Pi kernel driver.