Setting fps for IMX219 camera

I have Rock3C. When I run gstreamer command from /dev/video0 (RADXA 8M camera connected over MIPI), the framerate settings is ignored. I can use videorate element to drop some frames and it works but wouldn’t it be better if videorate is set in camera driver? It would consume less resources (packets wouldn’t have to be dropped at the upper layer after ISP) and sensor would have more time for exposure.

Have you been able to limit frame rate directly with your camera?