Home
last modified time | relevance | path

Searched full:torch (Results 1 – 25 of 30) sorted by relevance

12

/linux/Documentation/leds/
H A Dleds-lm3556.rst16 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 Dleds-class-flash.rst5 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 Drichtek,rt8515.yaml14 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 Dmediatek,mt6370-flashlight.yaml14 Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode.
H A Dleds-rt4505.yaml14 torch and flash mode, respectively.
H A Dleds-sgm3140.yaml14 levels for Flash and Torch modes.
H A Dleds-lm3601x.txt16 1 - Indicates a Torch (white LED) mode
H A Dsilergy,sy7802.yaml14 levels for Flash and Torch modes.
H A Dti,tps61310.yaml17 In torch mode, each sink (LED1, LED2, LED3) supports currents up to 175mA.
H A Dleds-mt6360.yaml15 Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode,
/linux/drivers/leds/trigger/
H A Dledtrig-camera.c3 * 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 DKconfig110 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 Dleds-rt8515.c3 * 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 Dleds-max77693.c42 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 Dleds-sy7802.c123 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 Dleds-mt6370-flash.c125 * 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 Dleds-mt6360.c251 * 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 Dv4l2-flash-led-class.c50 * 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 Dlm3646.h30 /* TOTAL TORCH Brightness Max
50 /* LED1 TORCH Brightness
74 * @led1_torch_brt: led1 torch mode brightness, uA
H A Dadp1653.h90 u32 max_torch_intensity; /* led intensity, torch mode, mA */
/linux/drivers/leds/
H A Dleds-tps6105x.c44 /* 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 Dleds-lm355x.h48 * lm3554-tx1/torch/gpio1
49 * lm3556-torch
/linux/drivers/staging/greybus/
H A Dlight.c140 /* 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 Dlm3560.c94 * @max_torch_brt: torch mode led brightness
386 /* torch brt */ in lm3560_init_controls()
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8926-htc-memul.dts195 /* TPS61310 Flash/Torch @ 33 */

12