Home
last modified time | relevance | path

Searched +full:mt6370 +full:- +full:indicator (Results 1 – 8 of 8) sorted by relevance

/linux/Documentation/devicetree/bindings/mfd/
H A Dmediatek,mt6370.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/mediatek,mt6370.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT6370 SubPMIC
10 - ChiYuan Huang <cy_huang@richtek.com>
13 MT6370 is a highly-integrated smart power management IC, which includes a
14 single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C &
21 const: mediatek,mt6370
26 wakeup-source: true
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dmediatek,mt6370-indicator.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/mediatek,mt6370-indicator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LED driver for MT6370 PMIC from MediaTek Integrated.
10 - Alice Chen <alice_chen@richtek.com>
13 This module is part of the MT6370 MFD device.
14 Add MT6370 LED driver include 4-channel RGB LED support Register/PWM/Breath Mode
18 const: mediatek,mt6370-indicator
20 "#address-cells":
[all …]
/linux/drivers/mfd/
H A Dmt6370.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include "mt6370.h"
116 .name = "mt6370-irqs",
134 MFD_CELL_OF("mt6370-adc",
135 NULL, NULL, 0, 0, "mediatek,mt6370-adc"),
136 MFD_CELL_OF("mt6370-charger",
137 NULL, NULL, 0, 0, "mediatek,mt6370-charger"),
138 MFD_CELL_OF("mt6370-flashlight",
139 NULL, NULL, 0, 0, "mediatek,mt6370-flashlight"),
140 MFD_CELL_OF("mt6370-indicator",
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
57 tristate "Active-semi ACT8945A"
62 Support for the ACT8945A PMIC from Active-semi. This device
63 features three step-down DC/DC converters and four low-dropout
79 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
82 called sun4i-gpadc.
113 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
144 over at91-usart-serial driver and usart-spi-driver. Only one function
160 tristate "Atmel HLCDC (High-end LCD Controller)"
197 tristate "X-Powers AC100"
[all …]
/linux/drivers/leds/rgb/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
6 tristate "LEDs group multi-color support"
11 different colors are physically grouped in a single multi-color LED
12 and driven by a controller that doesn't have multi-color support.
15 will be called leds-group-multicolor.
27 will be called leds-ktd202x.
38 will be called leds-ncp5623.
41 tristate "PWM driven multi-color LED Support"
48 will be called leds-pwm-multicolor.
63 If compiled as a module, the module will be named leds-qcom-lpg.
[all …]
H A Dleds-mt6370-rgb.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/led-class-multicolor.h>
110 #define MT6370_CHEN_BIT(id) BIT(MT6370_LED_ISNK4 - id)
113 #define MT6370_PWM_DUTY (BIT(5) - 1)
114 #define MT6372_PWM_DUTY (BIT(8) - 1)
119 * - 'LED_COLOR_ID_RGB'
120 * - 'LED_COLOR_ID_MULTI'
236 .reg_rgb_chrind_tr = -1,
260 return regmap_field_write(priv->fields[sel_field], level); in mt6370_set_led_brightness()
270 return regmap_field_read(priv->fields[sel_field], level); in mt6370_get_led_brightness()
[all …]
/linux/Documentation/leds/
H A Dleds-mt6370-rgb.rst1 .. SPDX-License-Identifier: GPL-2.0
4 The device for Mediatek MT6370 RGB LED
8 -----------
10 The MT6370 integrates a four-channel RGB LED driver, designed to provide a
13 a sink current up to 24mA and a CHG_VIN power good indicator LED with sink
22 --------------------------------
24 Specify a hardware breath pattern for a MT6370 RGB LED.
26 The breath pattern is a series of timing pairs, with the hold-time expressed in
34 "0 Tr1 0 Tr2 0 Tf1 0 Tf2 0 Ton 0 Toff" --> '0' for dummy brightness code
43 | --- --- ---
[all …]
/linux/drivers/leds/flash/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
40 of flash, torch and indicator classes.
66 tristate "Flash LED Support for MediaTek MT6370 PMIC"
76 will be called "leds-mt6370-flash".
93 This driver can be built as a module, it will be called "leds-qcom-flash".
115 will be called leds-rt8515.
133 This driver can be built as a module, it will be called "leds-sy7802".