Home
last modified time | relevance | path

Searched +full:flash +full:- +full:max +full:- +full:timeout +full:- +full:us (Results 1 – 25 of 167) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/
H A Dsgm3784.txt1 * SGM3784 dual flash driver support
4 - compatible: Must contain "sgmicro,gsm3784"
5 - reg: I2C slave address
6 - enable-gpios: Specifier of the GPIO connected to EN pin
7 - strobe-gpio: Specifier of the GPIO connected to STROBE pin
8 - torch-gpio: Specifier of the GPIO connected to GPIO pin,
13 node - see Documentation/devicetree/bindings/leds/common.txt.
16 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
17 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
18 - flash-max-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
[all …]
H A Dadp1653.txt1 * Analog Devices ADP1653 flash LED driver
5 - compatible: Must contain "adi,adp1653"
7 - reg: I2C slave address
9 - enable-gpios: Specifier of the GPIO connected to EN pin
11 There are two LED outputs available - flash and indicator. One LED is
12 represented by one child node, nodes need to be named "flash" and "indicator".
15 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
17 Required properties of the flash LED child node:
19 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
20 - flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
[all …]
H A Daw36518.txt1 * AW36518 flash driver support
4 - compatible: Must contain "awinic,aw36518"
5 - reg: I2C slave address
6 - enable-gpios: Specifier of the GPIO connected to strobe/torch EN pin
7 this pin is for hardware flash/torch mode, if not, will using i2c control.
8 - tx-gpio: Specifier of the GPIO connected to TX pin
13 node - see Documentation/devicetree/bindings/leds/common.txt.
16 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
17 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
18 - flash-max-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/
H A Dleds-ktd2692.txt1 * Kinetic Technologies - KTD2692 Flash LED Driver
3 KTD2692 is the ideal power solution for high-power flash LEDs.
4 It uses ExpressWire single-wire programming for maximum flexibility.
7 enable/disable the IC, Movie(max 1/3 of Flash current) / Flash mode current,
8 Flash timeout, LVP(low voltage protection).
11 LED current will be ramped up to the flash-mode current level.
14 - compatible : Should be "kinetic,ktd2692".
15 - ctrl-gpios : Specifier of the GPIO connected to CTRL pin.
16 - aux-gpios : Specifier of the GPIO connected to AUX pin.
19 - vin-supply : "vin" LED supply (2.7V to 5.5V).
[all …]
H A Dleds-aat1290.txt1 * Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs
4 asserted high, enable flash strobe and movie mode (max 1/2 of flash current)
7 of the flash chip. The switch is controlled with pin control.
11 - compatible : Must be "skyworks,aat1290".
12 - flen-gpios : Must be device tree identifier of the flash device FL_EN pin.
13 - enset-gpios : Must be device tree identifier of the flash device EN_SET pin.
16 - pinctrl-names : Must contain entries: "default", "host", "isp". Entries
23 node - see Documentation/devicetree/bindings/leds/common.txt.
26 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
27 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
[all …]
H A Dleds-rgb13h.txt2 gpio asserted high, enable flash strobe.
6 - compatible : Must be "led,rgb13h".
7 - enable-gpios : Must be device tree identifier of the flash device enable pin.
10 node - see Documentation/devicetree/bindings/leds/common.txt.
13 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
14 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
15 - flash-max-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
18 - label : see Documentation/devicetree/bindings/leds/common.txt
21 - rockchip,camera-module-index : indicate which camera the flash belongs to.
22 - rockchip,camera-module-facing : indicate the camera facing.
[all …]
H A Dams,as3645a.txt3 The AS3645A flash LED controller can drive two LEDs, one high current
4 flash LED and one indicator LED. The high current flash LED can be
18 #address-cells : 1
19 #size-cells : 0
22 Required properties of the flash child node (0)
26 flash-timeout-us: Flash timeout in microseconds. The value must be in
28 flash-max-microamp: Maximum flash current in microamperes. Has to be
31 led-max-microamp: Maximum torch (assist) current in microamperes. The
34 ams,input-max-microamp: Maximum flash controller input current. The
39 Optional properties of the flash child node
[all …]
H A Dleds-lm3601x.txt1 * Texas Instruments - lm3601x Single-LED Flash Driver
3 The LM3601X are ultra-small LED flash drivers that
7 - compatible : Can be one of the following
10 - reg : I2C slave address
11 - #address-cells : 1
12 - #size-cells : 0
15 - reg : 0 - Indicates a IR mode
16 1 - Indicates a Torch (white LED) mode
18 Required properties for flash LED child nodes:
20 - flash-max-microamp : Range from 11mA - 1.5A
[all …]
H A Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
14 LED and flash LED devices provide the same basic functionality as current
15 regulators, but extended with LED and flash LED specific features like
16 blinking patterns, flash timeout, flash faults and external flash strobe mode.
25 led-sources:
30 $ref: /schemas/types.yaml#definitions/uint32-array
[all …]
H A Dleds-sgm3140.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-sgm3140.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Luca Weiss <luca@z3ntu.xyz>
13 The SGM3140 is a current-regulated charge pump which can regulate two current
14 levels for Flash and Torch modes.
17 http://www.sg-micro.com/uploads/soft/20190626/1561535688.pdf
23 enable-gpios:
27 flash-gpios:
[all …]
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-sgm3140.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/led-class-flash.h>
10 #include <media/v4l2-flash-led-class.h>
27 /* current timeout in us */
28 u32 timeout; member
29 /* maximum timeout in us */
43 if (priv->enabled == state) in sgm3140_strobe_set()
47 ret = regulator_enable(priv->vin_regulator); in sgm3140_strobe_set()
49 dev_err(fled_cdev->led_cdev.dev, in sgm3140_strobe_set()
53 gpiod_set_value_cansleep(priv->flash_gpio, 1); in sgm3140_strobe_set()
[all …]
H A Dleds-ktd2692.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * LED driver : leds-ktd2692.c
12 #include <linux/led-class-flash.h>
24 /* Value related the flash mode */
29 /* Macro for getting offset of flash timeout */
30 #define GET_TIMEOUT_OFFSET(timeout, step) ((timeout) / (step)) argument
56 /* Movie / Flash Mode Control */
66 /* maximum LED current in flash mode */
68 /* maximum flash timeout */
70 /* max LED brightness level */
[all …]
H A Dleds-aat1290.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * LED Flash class driver for the AAT1290
4 * 1.5A Step-Up Current Regulator for Flash LEDs
12 #include <linux/led-class-flash.h>
20 #include <media/v4l2-flash-led-class.h>
51 /* maximum LED current in flash mode */
53 /* maximum flash timeout */
57 /* max LED brightness level */
67 /* corresponding LED Flash class device */
69 /* V4L2 Flash device */
[all …]
H A Dleds-as3645a.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/leds/leds-as3645a.c - AS3645A and LM3555 flash controllers driver
5 * Copyright (C) 2008-2011 Nokia Corporation
16 #include <linux/led-class-flash.h>
23 #include <media/v4l2-flash-led-class.h>
25 #define AS_TIMER_US_TO_CODE(t) (((t) / 1000 - 100) / 50)
30 /* Read-only Design info register: Reset state: xxxx 0001 */
35 /* Read-only Version control register: Reset state: 0000 0000
86 #define AS_FLASH_TIMEOUT_MIN 100000 /* us */
105 ((min_t(u32, AS_PEAK_mA_MAX, a) - 1250) / 250)
[all …]
H A Dleds-rgb13h.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <media/v4l2-ctrls.h>
7 #include <media/v4l2-subdev.h>
10 #include <linux/led-class-flash.h>
17 #include <linux/rk-camera-module.h>
18 #include <linux/rk-led-flash.h>
40 /* maximum LED current in flash mode */
42 /* maximum flash timeout */
49 /* assures led-triggers compatibility */
54 u32 timeout; member
[all …]
H A Dleds-lm3601x.c1 // SPDX-License-Identifier: GPL-2.0
2 // Flash and torch driver for Texas Instruments LM3601X LED
3 // Flash driver chip family
4 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
9 #include <linux/led-class-flash.h>
73 * struct lm3601x_led -
74 * @fled_cdev: flash LED class device pointer
79 * @flash_timeout: the timeout for the flash
82 * @flash_current_max: maximum current for the flash
83 * @max_flash_timeout: maximum timeout for the flash
[all …]
H A Dleds-max77693.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * LED Flash class driver for the flash cell of max77693 mfd.
11 #include <linux/led-class-flash.h>
13 #include <linux/mfd/max77693-common.h>
14 #include <linux/mfd/max77693-private.h>
20 #include <media/v4l2-flash-led-class.h>
41 FLASH, enumerator
59 /* corresponding LED Flash class device */
61 /* V4L2 Flash device */
66 /* flash timeout cache */
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3288-evb-android-rk808-edp-avb.dts4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include "rk3288-evb-android-rk808-edp.dtsi"
12 compatible = "rockchip,rk3288-evb-android-rk808-edp", "rockchip,rk3288";
20 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core", "clk_cabac";
21 rockchip,normal-rates = <300000000>, <0>, <200000000>, <200000000>;
22 rockchip,advanced-rates = <600000000>, <0>, <500000000>, <500000000>;
28 dvp-supply = <&vcc_18>;
39 #address-cells = <1>;
40 #size-cells = <0>;
[all …]
H A Dexynos4412-galaxy-s3.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include "exynos4412-midas.dtsi"
20 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
21 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
23 pinctrl-names = "default", "host", "isp";
24 pinctrl-0 = <&camera_flash_host>;
25 pinctrl-1 = <&camera_flash_host>;
26 pinctrl-2 = <&camera_flash_isp>;
28 flash-led {
[all …]
H A Drv1126-38x38-v10-spi-nor.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "rv1126-ipc.dtsi"
9 #include <dt-bindings/input/input.h>
13 compatible = "rockchip,rv1126-38x38-v10-spi-nor", "rockchip,rv1126";
19 /delete-node/ vdd-npu;
20 /delete-node/ vdd-vepu;
22 vcc_1v8: vcc-1v8 {
23 compatible = "regulator-fixed";
24 regulator-name = "vcc_1v8";
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Dmax77693.txt1 Maxim MAX77693 multi-function device
4 - PMIC,
5 - CHARGER,
6 - LED,
7 - MUIC,
8 - HAPTIC
14 - compatible : Must be "maxim,max77693".
15 - reg : Specifies the i2c slave address of PMIC block.
16 - interrupts : This i2c device has an IRQ line connected to the main SoC.
19 - regulators : The regulators of max77693 have to be instantiated under subnode
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3399-evb-ind-lpddr4-android-avb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "rk3399-evb-ind.dtsi"
9 #include "rk3399-android.dtsi"
13 compatible = "rockchip,android", "rockchip,rk3399-evb-ind-lpddr4-android", "rockchip,rk3399";
19 compatible = "mmio-sram";
23 vcc_lcd: vcc-lcd {
24 compatible = "regulator-fixed";
25 regulator-name = "vcc_lcd";
26 startup-delay-us = <20000>;
[all …]
H A Drk3399-evb-ind-lpddr4-v13-android-avb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "rk3399-evb-ind.dtsi"
9 #include "rk3399-android.dtsi"
13 compatible = "rockchip,android", "rockchip,rk3399-evb-ind-v13-lpddr4-android", "rockchip,rk3399";
19 compatible = "mmio-sram";
24 compatible = "regulator-fixed";
25 enable-active-high;
27 regulator-name = "hub_reset";
28 regulator-always-on;
[all …]
H A Drk3399-sapphire-excavator-edp.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include "rk3399-excavator-sapphire.dtsi"
10 #include "rk3399-android.dtsi"
11 #include "rk3399-vop-clk-set.dtsi"
15 compatible = "pwm-backlight";
16 brightness-levels = <
49 default-brightness-level = <200>;
51 enable-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
54 vcc_lcd: vcc-lcd {
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Daw36518.c1 // SPDX-License-Identifier: GPL-2.0
3 * General device driver for awinic aw36518, FLASH LED Driver
18 #include <linux/rk-camera-module.h>
19 #include <linux/rk-led-flash.h>
22 #include <media/v4l2-ctrls.h>
23 #include <media/v4l2-device.h>
52 /* FLASH Brightness
53 * min 2940uA, step 5870uA, max 1500000uA
61 (((a) - AW36518_MIN_FLASH_INTENSITY) / AW36518_FLASH_INTENSITY_STEP))
66 * min 750uA, step 1510uA, max 3860000uA
[all …]

1234567