Repository navigation
Conversation
gechdcb
commented
Mar 24, 2022
- Allow switch the HCG/LCG mode at runtime via module parameter.
- Add an optional dtoverlay parameter to set the max gain as the maximum analogue gain of the imx290 and imx327 is slightly different
1. Allow switch the HCG/LCG mode at runtime via module parameter. 2. Add a optional dtoverlay parameter to set the max gain as the maximum analogue gain of the imx290 and imx327 is slightly different
|
Thanks for the PR. The changes adding HCG mode are fine, however as this is a mainline Linux driver, we do ask that all commits follow the Linux coding standards. There's an automatic coding style checker in scripts/checkpatch.pl. For media subsystem patches you need to run it with --strict. Commit message title should start with The change to maximum gain is moot - IMX327 supports 29.4dB in 0.3dB steps for max 98, vs IMX290 supporting 30dB in 0.3dB steps for a max of 100. If you really want to distinguish between the two, then do so by adding an extra compatible string and adjusting the gain range based on that, not by creating a non-standard (and un-documented) device tree property. |
|
Closing as 5.15 is obsolete. Superceded by #5859 on 6.6 as well. |