| /linux/Documentation/leds/ |
| H A D | leds-lm3556.rst | 16 There are 3 functions in LM3556, Flash, Torch and Indicator. 47 Torch Mode 50 In Torch Mode, the current source(LED) is programmed via the CURRENT CONTROL 51 REGISTER(0x09).Torch Mode is activated by the ENABLE REGISTER(0x0A) or by the 52 hardware TORCH input. 54 LM3556 torch can be controlled through /sys/class/leds/torch/brightness file. 55 * if TORCH pin is enabled, below example control brightness only, 56 and ON / OFF will be controlled by TORCH pin. 58 Torch Example: 62 #echo 0 > /sys/class/leds/torch/brightness [all …]
|
| H A D | leds-class-flash.rst | 5 Some LED devices provide two modes - torch and flash. In the LED subsystem 7 and LED Flash class respectively. The torch mode related features are enabled 68 constraints for the LED in TORCH mode
|
| /linux/Documentation/devicetree/bindings/leds/ |
| H A D | richtek,rt8515.yaml | 14 supports driving a white LED in flash or torch mode. The maximum 28 description: A connection to the 'ENT' (enable torch) pin. 43 resistors limits the maximum torch current. This must be set 44 for the property torch-max-microamp to work, the RTS resistor 46 torch LED. 70 description: The maximum current for torch mode
|
| H A D | mediatek,mt6370-flashlight.yaml | 14 Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode.
|
| H A D | leds-rt4505.yaml | 14 torch and flash mode, respectively.
|
| H A D | leds-sgm3140.yaml | 14 levels for Flash and Torch modes.
|
| H A D | leds-lm3601x.txt | 16 1 - Indicates a Torch (white LED) mode
|
| H A D | silergy,sy7802.yaml | 14 levels for Flash and Torch modes.
|
| H A D | ti,tps61310.yaml | 17 In torch mode, each sink (LED1, LED2, LED3) supports currents up to 175mA.
|
| H A D | leds-mt6360.yaml | 15 Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode,
|
| /linux/drivers/leds/trigger/ |
| H A D | ledtrig-camera.c | 3 * Camera Flash and Torch On/Off Trigger 39 led_trigger_register_simple("torch", &ledtrig_torch); in ledtrig_camera_init() 51 MODULE_DESCRIPTION("LED Trigger for Camera Flash/Torch Control");
|
| H A D | Kconfig | 110 tristate "LED Camera Flash/Torch Trigger" 112 This allows LEDs to be controlled as a camera flash/torch device. 113 This enables direct flash/torch on/off by the driver, kernel space.
|
| /linux/drivers/leds/flash/ |
| H A D | leds-rt8515.c | 3 * LED driver for Richtek RT8515 flash/torch white LEDs 15 * RTS (resistance torch setting?) is 39 kOhm 39 /* The maximum intensity is 1-16 for flash and 1-100 for torch */ 88 /* This is setting the torch light level */ 104 /* Max torch brightness requested */ in rt8515_led_brightness_set() 135 /* After this the torch LED will be disabled */ in rt8515_led_flash_strobe_set() 300 /* ENT - Enable Torch line */ in rt8515_probe() 304 "cannot get ENT (enable torch) GPIO\n"); in rt8515_probe()
|
| H A D | leds-max77693.c | 42 TORCH, enumerator 83 /* maximum torch current values for FLED outputs */ 162 * Enable hw triggering also for torch mode, as some in max77693_set_mode_reg() 163 * camera sensors use torch led to fathom ambient light in max77693_set_mode_reg() 212 * strobing on each subsequent torch mode setting. in max77693_add_mode() 273 max77693_distribute_currents(led, fled_id, TORCH, micro_amp, in max77693_set_torch_current() 399 * Initialize only flash current. Torch current doesn't in max77693_setup() 475 "Failed to clear torch mode (%d)\n", in max77693_led_brightness_set() 483 "Failed to set torch current (%d)\n", in max77693_led_brightness_set() 491 "Failed to set torch mode (%d)\n", in max77693_led_brightness_set()
|
| H A D | leds-sy7802.c | 123 dev_warn(chip->dev, "Cannot set torch brightness whilst strobe is enabled\n"); in sy7802_torch_brightness_set() 141 /* Disable torch to apply brightness */ in sy7802_torch_brightness_set() 207 dev_warn(chip->dev, "Cannot set strobe brightness whilst torch is enabled\n"); in sy7802_strobe_set()
|
| H A D | leds-mt6370-flash.c | 125 * torch current will be averaged output from both channels. in mt6370_torch_brightness_set() 211 * There is only one set of flash control logic, and this flag is used to check if 'torch' in mt6370_strobe_set() 215 dev_warn(lcdev->dev, "Please disable torch first [0x%x]\n", priv->fled_torch_used); in mt6370_strobe_set()
|
| H A D | leds-mt6360.c | 251 * with the flow of turning on LED torch mode in V4L2. in mt6360_strobe_set() 259 * Only one set of flash control logic, use the flag to avoid torch is in mt6360_strobe_set() 263 dev_warn(lcdev->dev, "Please disable torch first [0x%x]\n", in mt6360_strobe_set()
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-flash-led-class.c | 50 * Indicator LEDs, unlike torch LEDs, are turned on/off basing on in __intensity_to_led_brightness() 65 * Indicator LEDs, unlike torch LEDs, are turned on/off basing on in __led_brightness_to_intensity() 68 * indicator LED as it may equal 0. For torch LEDs this function in __led_brightness_to_intensity() 71 * V4L2_FLASH_LED_MODE_NONE the cached torch intensity value is used. in __led_brightness_to_intensity() 131 * Update torch brightness only if in TORCH_MODE. In other modes in v4l2_flash_update_led_brightness() 132 * torch led is turned off, which would spuriously inform the in v4l2_flash_update_led_brightness() 240 /* Turn the torch LED off */ in v4l2_flash_s_ctrl() 272 * affect torch mode. Therefore, if not in the flash mode, in v4l2_flash_s_ctrl() 547 * torch mode. Synchronize strobe source setting only if not in torch in __sync_device_with_v4l2_controls() 548 * mode. For torch mode case it will get synchronized upon switching in __sync_device_with_v4l2_controls()
|
| /linux/include/media/i2c/ |
| H A D | lm3646.h | 30 /* TOTAL TORCH Brightness Max 50 /* LED1 TORCH Brightness 74 * @led1_torch_brt: led1 torch mode brightness, uA
|
| H A D | adp1653.h | 90 u32 max_torch_intensity; /* led intensity, torch mode, mA */
|
| /linux/drivers/leds/ |
| H A D | leds-tps6105x.c | 44 /* This instance is not set for torch mode so bail out */ in tps6105x_led_probe() 47 "chip not in torch mode, exit probe"); in tps6105x_led_probe() 63 init_data.default_label = ":torch"; in tps6105x_led_probe()
|
| /linux/include/linux/platform_data/ |
| H A D | leds-lm355x.h | 48 * lm3554-tx1/torch/gpio1 49 * lm3556-torch
|
| /linux/drivers/staging/greybus/ |
| H A D | light.c | 140 /* If the channel is flash we need to get the attached torch channel */ in __gb_lights_flash_brightness_set() 730 /* we can only attach torch to a flash channel */ in __gb_lights_channel_torch_attach() 734 /* Move torch brightness to the destination */ in __gb_lights_channel_torch_attach() 778 * If light have torch mode channel, this channel will be the led in __gb_lights_flash_led_register() 826 * Intensity constraints for flash related modes: flash, torch, in gb_lights_channel_flash_config() 892 * flash classdev, torch will be led classdev of the flash classdev. in gb_lights_channel_register() 974 * If it is not a flash related channel (flash, torch or indicator) we in gb_lights_channel_config()
|
| /linux/drivers/media/i2c/ |
| H A D | lm3560.c | 94 * @max_torch_brt: torch mode led brightness 386 /* torch brt */ in lm3560_init_controls()
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8926-htc-memul.dts | 195 /* TPS61310 Flash/Torch @ 33 */
|