Lines Matching +full:led +full:- +full:controller
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/qcom,spmi-flash-led.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Flash LED device inside Qualcomm Technologies, Inc. PMICs
10 - Fenglin Wu <[email protected]>
13 Flash LED controller is present inside some Qualcomm Technologies, Inc. PMICs.
14 The flash LED module can have different number of LED channels supported
24 - enum:
25 - qcom,pm6150l-flash-led
26 - qcom,pm660l-flash-led
27 - qcom,pm8150c-flash-led
28 - qcom,pm8150l-flash-led
29 - qcom,pm8350c-flash-led
30 - qcom,pm8550-flash-led
31 - qcom,pmi8998-flash-led
32 - const: qcom,spmi-flash-led
38 "^led-[0-3]$":
43 Represents the physical LED components which are connected to the
44 flash LED channels' output.
47 led-sources:
49 The HW indices of the flash LED channels that connect to the
50 physical LED
52 - minItems: 1
57 led-max-microamp:
59 - minimum: 5000
62 - minimum: 10000
66 flash-max-microamp:
68 - minimum: 12500
71 - minimum: 25000
75 flash-max-timeout-us:
81 - led-sources
82 - led-max-microamp
85 - compatible
86 - reg
91 - |
92 #include <dt-bindings/leds/common.h>
95 #address-cells = <1>;
96 #size-cells = <0>;
98 led-controller@ee00 {
99 compatible = "qcom,pm8350c-flash-led", "qcom,spmi-flash-led";
102 led-0 {
105 led-sources = <1>, <4>;
106 led-max-microamp = <300000>;
107 flash-max-microamp = <2000000>;
108 flash-max-timeout-us = <1280000>;
109 function-enumerator = <0>;
112 led-1 {
115 led-sources = <2>, <3>;
116 led-max-microamp = <300000>;
117 flash-max-microamp = <2000000>;
118 flash-max-timeout-us = <1280000>;
119 function-enumerator = <1>;