Lines Matching +full:flash +full:- +full:max +full:- +full:timeout +full:- +full:us
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
15 asserted high, enable flash strobe and movie mode (max 1/2 of flash current)
18 independent of the flash chip. The switch is controlled with pin control.
24 enset-gpios:
28 flen-gpios:
37 led-max-microamp: true
39 flash-max-microamp:
41 Maximum flash LED supply current can be calculated using following
44 flash-max-timeout-us:
46 Maximum flash timeout can be calculated using following formula::
50 - flash-max-microamp
51 - flash-max-timeout-us
52 - led-max-microamp
54 pinctrl-names:
56 - const: default
57 - const: host
58 - const: isp
60 pinctrl-0: true
61 pinctrl-1: true
62 pinctrl-2: true
65 - compatible
66 - enset-gpios
67 - flen-gpios
68 - led
73 - |
74 #include <dt-bindings/gpio/gpio.h>
75 #include <dt-bindings/leds/common.h>
78 led-controller {
80 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
81 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
83 pinctrl-names = "default", "host", "isp";
84 pinctrl-0 = <&camera_flash_host>;
85 pinctrl-1 = <&camera_flash_host>;
86 pinctrl-2 = <&camera_flash_isp>;
91 led-max-microamp = <520833>;
92 flash-max-microamp = <1012500>;
93 flash-max-timeout-us = <1940000>;