€•.\Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ)/translations/zh_CN/leds/leds-class-flash”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/zh_TW/leds/leds-class-flash”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/it_IT/leds/leds-class-flash”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/ja_JP/leds/leds-class-flash”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/ko_KR/leds/leds-class-flash”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/pt_BR/leds/leds-class-flash”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/sp_SP/leds/leds-class-flash”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒFlash LED handling under Linux”h]”hŒFlash LED handling under Linux”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒC/var/lib/git/docbuild/linux/Documentation/leds/leds-class-flash.rst”h´KubhŒ paragraph”“”)”}”(hXESome LED devices provide two modes - torch and flash. In the LED subsystem those modes are supported by LED class (see Documentation/leds/leds-class.rst) and LED Flash class respectively. The torch mode related features are enabled by default and the flash ones only if a driver declares it by setting LED_DEV_CAP_FLASH flag.”h]”hXESome LED devices provide two modes - torch and flash. In the LED subsystem those modes are supported by LED class (see Documentation/leds/leds-class.rst) and LED Flash class respectively. The torch mode related features are enabled by default and the flash ones only if a driver declares it by setting LED_DEV_CAP_FLASH flag.”…””}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hŒÞIn order to enable the support for flash LEDs CONFIG_LEDS_CLASS_FLASH symbol must be defined in the kernel config. A LED Flash class driver must be registered in the LED subsystem with led_classdev_flash_register function.”h]”hŒÞIn order to enable the support for flash LEDs CONFIG_LEDS_CLASS_FLASH symbol must be defined in the kernel config. A LED Flash class driver must be registered in the LED subsystem with led_classdev_flash_register function.”…””}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hh·h²hubhÌ)”}”(hŒFollowing sysfs attributes are exposed for controlling flash LED devices: (see Documentation/ABI/testing/sysfs-class-led-flash)”h]”hŒFollowing sysfs attributes are exposed for controlling flash LED devices: (see Documentation/ABI/testing/sysfs-class-led-flash)”…””}”(hhéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhŒ block_quote”“”)”}”(hŒl- flash_brightness - max_flash_brightness - flash_timeout - max_flash_timeout - flash_strobe - flash_fault ”h]”hŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒflash_brightness”h]”hÌ)”}”(hjh]”hŒflash_brightness”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿubj)”}”(hŒmax_flash_brightness”h]”hÌ)”}”(hjh]”hŒmax_flash_brightness”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿubj)”}”(hŒ flash_timeout”h]”hÌ)”}”(hj4h]”hŒ flash_timeout”…””}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿubj)”}”(hŒmax_flash_timeout”h]”hÌ)”}”(hjKh]”hŒmax_flash_timeout”…””}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjIubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿubj)”}”(hŒ flash_strobe”h]”hÌ)”}”(hjbh]”hŒ flash_strobe”…””}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿubj)”}”(hŒ flash_fault ”h]”hÌ)”}”(hŒ flash_fault”h]”hŒ flash_fault”…””}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjwubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1hýh³hÊh´Khhùubah}”(h]”h ]”h"]”h$]”h&]”uh1h÷h³hÊh´Khh·h²hubh¶)”}”(hhh]”(h»)”}”(hŒ!V4L2 flash wrapper for flash LEDs”h]”hŒ!V4L2 flash wrapper for flash LEDs”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´KubhÌ)”}”(hŒ¼A LED subsystem driver can be controlled also from the level of VideoForLinux2 subsystem. In order to enable this CONFIG_V4L2_FLASH_LED_CLASS symbol has to be defined in the kernel config.”h]”hŒ¼A LED subsystem driver can be controlled also from the level of VideoForLinux2 subsystem. In order to enable this CONFIG_V4L2_FLASH_LED_CLASS symbol has to be defined in the kernel config.”…””}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjh²hubhÌ)”}”(hŒ|The driver must call the v4l2_flash_init function to get registered in the V4L2 subsystem. The function takes six arguments:”h]”hŒ|The driver must call the v4l2_flash_init function to get registered in the V4L2 subsystem. The function takes six arguments:”…””}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K!hjh²hubhþ)”}”(hhh]”(j)”}”(hŒ+dev: flash device, e.g. an I2C device”h]”hŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hŒ%dev: flash device, e.g. an I2C device”h]”(hŒterm”“”)”}”(hŒdev:”h]”hŒdev:”…””}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´K$hjØubhŒ definition”“”)”}”(hhh]”hÌ)”}”(hŒ flash device, e.g. an I2C device”h]”hŒ flash device, e.g. an I2C device”…””}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K%hjîubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhjØubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´K$hjÓubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjÍubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÊh²hh³Nh´Nubj)”}”(hŒFof_node: of_node of the LED, may be NULL if the same as device's”h]”jÒ)”}”(hhh]”j×)”}”(hŒ@of_node: of_node of the LED, may be NULL if the same as device's”h]”(jÝ)”}”(hŒof_node:”h]”hŒof_node:”…””}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´K&hjubjí)”}”(hhh]”hÌ)”}”(hŒ7of_node of the LED, may be NULL if the same as device's”h]”hŒ9of_node of the LED, may be NULL if the same as device’s”…””}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K'hj0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´K&hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÊh²hh³Nh´Nubj)”}”(hŒ/fled_cdev: LED flash class device to wrap”h]”jÒ)”}”(hhh]”j×)”}”(hŒ)fled_cdev: LED flash class device to wrap”h]”(jÝ)”}”(hŒ fled_cdev:”h]”hŒ fled_cdev:”…””}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´K(hj`ubjí)”}”(hhh]”hÌ)”}”(hŒLED flash class device to wrap”h]”hŒLED flash class device to wrap”…””}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K)hjrubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhj`ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´K(hj]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjYubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÊh²hh³Nh´Nubj)”}”(hŒoiled_cdev: LED flash class device representing indicator LED associated with fled_cdev, may be NULL”h]”jÒ)”}”(hhh]”j×)”}”(hŒciled_cdev: LED flash class device representing indicator LED associated with fled_cdev, may be NULL”h]”(jÝ)”}”(hŒ iled_cdev:”h]”hŒ iled_cdev:”…””}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´K+hj¢ubjí)”}”(hhh]”hÌ)”}”(hŒXLED flash class device representing indicator LED associated with fled_cdev, may be NULL”h]”hŒXLED flash class device representing indicator LED associated with fled_cdev, may be NULL”…””}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K+hj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhj¢ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´K+hjŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÊh²hh³Nh´Nubj)”}”(hXKops: V4L2 specific ops * external_strobe_set defines the source of the flash LED strobe - V4L2_CID_FLASH_STROBE control or external source, typically a sensor, which makes it possible to synchronise the flash strobe start with exposure start, * intensity_to_led_brightness and led_brightness_to_intensity perform enum led_brightness <-> V4L2 intensity conversion in a device specific manner - they can be used for devices with non-linear LED current scale.”h]”jÒ)”}”(hhh]”j×)”}”(hX ops: V4L2 specific ops * external_strobe_set defines the source of the flash LED strobe - V4L2_CID_FLASH_STROBE control or external source, typically a sensor, which makes it possible to synchronise the flash strobe start with exposure start, * intensity_to_led_brightness and led_brightness_to_intensity perform enum led_brightness <-> V4L2 intensity conversion in a device specific manner - they can be used for devices with non-linear LED current scale.”h]”(jÝ)”}”(hŒops:”h]”hŒops:”…””}”(hjèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´K8hjäubjí)”}”(hhh]”(hÌ)”}”(hŒV4L2 specific ops”h]”hŒV4L2 specific ops”…””}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K.hjöubhþ)”}”(hhh]”(j)”}”(hŒñexternal_strobe_set defines the source of the flash LED strobe - V4L2_CID_FLASH_STROBE control or external source, typically a sensor, which makes it possible to synchronise the flash strobe start with exposure start,”h]”jÒ)”}”(hhh]”j×)”}”(hŒÙexternal_strobe_set defines the source of the flash LED strobe - V4L2_CID_FLASH_STROBE control or external source, typically a sensor, which makes it possible to synchronise the flash strobe start with exposure start,”h]”(jÝ)”}”(hŒexternal_strobe_set”h]”hŒexternal_strobe_set”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´K3hjubjí)”}”(hhh]”hÌ)”}”(hŒÅdefines the source of the flash LED strobe - V4L2_CID_FLASH_STROBE control or external source, typically a sensor, which makes it possible to synchronise the flash strobe start with exposure start,”h]”hŒÅdefines the source of the flash LED strobe - V4L2_CID_FLASH_STROBE control or external source, typically a sensor, which makes it possible to synchronise the flash strobe start with exposure start,”…””}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K1hj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´K3hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hŒëintensity_to_led_brightness and led_brightness_to_intensity perform enum led_brightness <-> V4L2 intensity conversion in a device specific manner - they can be used for devices with non-linear LED current scale.”h]”jÒ)”}”(hhh]”j×)”}”(hŒÓintensity_to_led_brightness and led_brightness_to_intensity perform enum led_brightness <-> V4L2 intensity conversion in a device specific manner - they can be used for devices with non-linear LED current scale.”h]”(jÝ)”}”(hŒ;intensity_to_led_brightness and led_brightness_to_intensity”h]”hŒ;intensity_to_led_brightness and led_brightness_to_intensity”…””}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´K8hjSubjí)”}”(hhh]”hÌ)”}”(hŒ—perform enum led_brightness <-> V4L2 intensity conversion in a device specific manner - they can be used for devices with non-linear LED current scale.”h]”hŒ—perform enum led_brightness <-> V4L2 intensity conversion in a device specific manner - they can be used for devices with non-linear LED current scale.”…””}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K6hjeubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhjSubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´K8hjPubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjLubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”j•Œ*”uh1hýh³hÊh´K0hjöubeh}”(h]”h ]”h"]”h$]”h&]”uh1jìhjäubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´K8hjáubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÊh²hh³Nh´Nubj)”}”(hX¸config: configuration for V4L2 Flash sub-device * dev_name the name of the media entity, unique in the system, * flash_faults bitmask of flash faults that the LED flash class device can report; corresponding LED_FAULT* bit definitions are available in , * torch_intensity constraints for the LED in TORCH mode in microamperes, * indicator_intensity constraints for the indicator LED in microamperes, * has_external_strobe determines whether the flash strobe source can be switched to external, ”h]”jÒ)”}”(hhh]”j×)”}”(hXXconfig: configuration for V4L2 Flash sub-device * dev_name the name of the media entity, unique in the system, * flash_faults bitmask of flash faults that the LED flash class device can report; corresponding LED_FAULT* bit definitions are available in , * torch_intensity constraints for the LED in TORCH mode in microamperes, * indicator_intensity constraints for the indicator LED in microamperes, * has_external_strobe determines whether the flash strobe source can be switched to external, ”h]”(jÝ)”}”(hŒconfig:”h]”hŒconfig:”…””}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´KKhj´ubjí)”}”(hhh]”(hÌ)”}”(hŒ'configuration for V4L2 Flash sub-device”h]”hŒ'configuration for V4L2 Flash sub-device”…””}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K;hjÆubhþ)”}”(hhh]”(j)”}”(hŒBdev_name the name of the media entity, unique in the system,”h]”jÒ)”}”(hhh]”j×)”}”(hŒhjóubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhjáubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´K=hjÞubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj×ubj)”}”(hŒ·flash_faults bitmask of flash faults that the LED flash class device can report; corresponding LED_FAULT* bit definitions are available in ,”h]”jÒ)”}”(hhh]”j×)”}”(hŒ¥flash_faults bitmask of flash faults that the LED flash class device can report; corresponding LED_FAULT* bit definitions are available in ,”h]”(jÝ)”}”(hŒ flash_faults”h]”hŒ flash_faults”…””}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´KAhj#ubjí)”}”(hhh]”hÌ)”}”(hŒ˜bitmask of flash faults that the LED flash class device can report; corresponding LED_FAULT* bit definitions are available in ,”h]”hŒ˜bitmask of flash faults that the LED flash class device can report; corresponding LED_FAULT* bit definitions are available in ,”…””}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K@hj5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhj#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´KAhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj×ubj)”}”(hŒRtorch_intensity constraints for the LED in TORCH mode in microamperes,”h]”jÒ)”}”(hhh]”j×)”}”(hŒFtorch_intensity constraints for the LED in TORCH mode in microamperes,”h]”(jÝ)”}”(hŒtorch_intensity”h]”hŒtorch_intensity”…””}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´KDhjeubjí)”}”(hhh]”hÌ)”}”(hŒ6constraints for the LED in TORCH mode in microamperes,”h]”hŒ6constraints for the LED in TORCH mode in microamperes,”…””}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KDhjwubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhjeubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´KDhjbubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj×ubj)”}”(hŒRindicator_intensity constraints for the indicator LED in microamperes,”h]”jÒ)”}”(hhh]”j×)”}”(hŒFindicator_intensity constraints for the indicator LED in microamperes,”h]”(jÝ)”}”(hŒindicator_intensity”h]”hŒindicator_intensity”…””}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´KGhj§ubjí)”}”(hhh]”hÌ)”}”(hŒ2constraints for the indicator LED in microamperes,”h]”hŒ2constraints for the indicator LED in microamperes,”…””}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KGhj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhj§ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´KGhj¤ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj×ubj)”}”(hŒhhas_external_strobe determines whether the flash strobe source can be switched to external, ”h]”jÒ)”}”(hhh]”j×)”}”(hŒ\has_external_strobe determines whether the flash strobe source can be switched to external, ”h]”(jÝ)”}”(hŒhas_external_strobe”h]”hŒhas_external_strobe”…””}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÜh³hÊh´KKhjéubjí)”}”(hhh]”hÌ)”}”(hŒGdetermines whether the flash strobe source can be switched to external,”h]”hŒGdetermines whether the flash strobe source can be switched to external,”…””}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KJhjûubah}”(h]”h ]”h"]”h$]”h&]”uh1jìhjéubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´KKhjæubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjâubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj×ubeh}”(h]”h ]”h"]”h$]”h&]”j•j”uh1hýh³hÊh´K=hjÆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jìhj´ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´KKhj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÊh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j•j–uh1hýh³hÊh´K$hjh²hubhÌ)”}”(hŒàOn remove the v4l2_flash_release function has to be called, which takes one argument - struct v4l2_flash pointer returned previously by v4l2_flash_init. This function can be safely called with NULL or error pointer argument.”h]”hŒàOn remove the v4l2_flash_release function has to be called, which takes one argument - struct v4l2_flash pointer returned previously by v4l2_flash_init. This function can be safely called with NULL or error pointer argument.”…””}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KMhjh²hubhÌ)”}”(hŒ^Please refer to drivers/leds/leds-max77693.c for an exemplary usage of the v4l2 flash wrapper.”h]”hŒ^Please refer to drivers/leds/leds-max77693.c for an exemplary usage of the v4l2 flash wrapper.”…””}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KQhjh²hubhÌ)”}”(hŒâOnce the V4L2 sub-device is registered by the driver which created the Media controller device, the sub-device node acts just as a node of a native V4L2 flash API device would. The calls are simply routed to the LED flash API.”h]”hŒâOnce the V4L2 sub-device is registered by the driver which created the Media controller device, the sub-device node acts just as a node of a native V4L2 flash API device would. The calls are simply routed to the LED flash API.”…””}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KThjh²hubhÌ)”}”(hŒOpening the V4L2 flash sub-device makes the LED subsystem sysfs interface unavailable. The interface is re-enabled after the V4L2 flash sub-device is closed.”h]”hŒOpening the V4L2 flash sub-device makes the LED subsystem sysfs interface unavailable. The interface is re-enabled after the V4L2 flash sub-device is closed.”…””}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KXhjh²hubeh}”(h]”Œ!v4l2-flash-wrapper-for-flash-leds”ah ]”h"]”Œ!v4l2 flash wrapper for flash leds”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubeh}”(h]”Œflash-led-handling-under-linux”ah ]”h"]”Œflash led handling under linux”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j³Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jjŠj…j‚uŒ nametypes”}”(j‰j…‰uh}”(jŠh·j‚juŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.