Hello, Agenda ====================================================================== I faced to the absence of the mode of v4l2 focus for a couple of years. While dealing with some few mobile camera sensors, the focus modes are needed more than the current v4l2 focus mode, e.g. a Macro & Continuous mode. The M-5MOLS camera sensor I dealt with, also support these 2 modes. So, I'm going to suggest supports of more detailed v4l2 focus mode. Version ====================================================================== This is second version patch about auto focus mode. The second version changes are below: 1. switch enumeration value between V4L2_FOCUS_AUTO and V4L2_FOCUS_MACRO, for maintaing previous auto focus mode value. 2. add documentations about the changes of auto focus mode. 3. There are a little of changes since the second version submission, but it's not big changes as considering the patch version is up. So, this patch keep the previous version 2. This RFC series of patch adds new auto focus modes, and documents it. The first patch the boolean type of V4L2_CID_FOCUS_AUTO to menu type, and insert menus 4 enumerations: V4L2_FOCUS_MANUAL, V4L2_FOCUS_AUTO, V4L2_FOCUS_MACRO, V4L2_FOCUS_CONTINUOUS The recent mobile camera sensors with ISP supports Macro & Continuous Auto Focus aka CAF mode, of course normal AUTO mode, even Continuous mode. Changing the type of V4L2_CID_FOCUS_MODE, is able to define more exact focusing mode of camera sensor. The second patch let the uvc driver using V4L2_CID_FOCUS_AUTO by boolean type, be able to use the type of menu. The third patch documentation about changes of the auto focus mode. Thanks for reading this, and I hope any ideas and any comments. Regards, Heungjun Kim -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html