Lens shading correction for V4L2 driver IMX219

  1. Where did you get the camera module(s)?
    from RPishop.cz

  2. Model number of the product(s)?
    B0180 - Arducam 8Mpx IMX219 drop-in 175° Camera Module

  3. What hardware/platform were you working on?
    Raspberry Pi Zero 2W

  4. Instructions you have followed. (link/manual/etc.)
    Pi Camera Lens Shading Calibration (Fix the Red Tint After Swapping Lens) - Arducam

I want to use Raspberry Pi Zero 2W with IMX219 Wide angle lens module to capture video.
I have compiled raspivid with lens shading correction and it is working well, however, a V4L2 interface would be much more useful to me. The modification of raspicam sources was pretty simple so I wonder is there any possibility to make similar modifications to the V4L2 driver in order to change the lens correction?