Home
last modified time | relevance | path

Searched +full:mt6360 +full:- +full:led (Results 1 – 5 of 5) sorted by relevance

/linux/Documentation/devicetree/bindings/mfd/
H A Dmediatek,mt6360.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/mediatek,mt6360.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MT6360 PMIC from MediaTek Integrated
10 - Gene Chen <gene_chen@richtek.com>
13 MT6360 is a PMIC device with the following sub modules.
20 const: mediatek,mt6360
25 wakeup-source: true
30 interrupt-names:
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dleds-mt6360.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-mt6360.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LED driver for MT6360 PMIC from MediaTek Integrated.
10 - Gene Chen <gene_chen@richtek.com>
13 This module is part of the MT6360 MFD device.
14 see Documentation/devicetree/bindings/mfd/mediatek,mt6360.yaml
15 Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode,
16 and 4-channel RGB LED support Register/Flash/Breath Mode
[all …]
/linux/drivers/leds/flash/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
6 tristate "LED support for the AAT1290"
15 tristate "AS3645A and LM3555 LED flash controllers support"
19 Enable LED flash class support for AS3645A LED flash
24 tristate "LED support for Kinetic KTD2692 flash LED controller"
29 This option enables support for Kinetic KTD2692 LED flash connected
35 tristate "LED support for LM3601x Chips"
43 tristate "LED support for MAX77693 Flash"
53 tristate "LED Support for Mediatek MT6360 PMIC"
60 This option enables support for dual Flash LED drivers found on
[all …]
H A Dleds-mt6360.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/led-class-flash.h>
9 #include <linux/led-class-multicolor.h>
15 #include <media/v4l2-flash-led-class.h>
29 #define MT6360_ISNK_ENMASK(_led_no) BIT(7 - (_led_no))
39 #define MT6360_REG_FLEDBASE(_id) (0x372 + 4 * (_id - MT6360_LED_FLASH1))
49 #define MT6360_FLCSEN_MASK(_id) BIT(MT6360_LED_FLASH2 - _id)
101 struct mt6360_led *led = container_of(mccdev, struct mt6360_led, mc); in mt6360_mc_brightness_set() local
102 struct mt6360_priv *priv = led->priv; in mt6360_mc_brightness_set()
106 mutex_lock(&priv->lock); in mt6360_mc_brightness_set()
[all …]
/linux/drivers/mfd/
H A Dmt6360-core.c1 // SPDX-License-Identifier: GPL-2.0
79 /* reg 0 -> 0 ~ 7 */
84 /* REG 1 -> 8 ~ 15 */
91 /* REG 2 -> 16 ~ 23 */
92 /* REG 3 -> 24 ~ 31 */
99 /* REG 4 -> 32 ~ 39 */
107 /* REG 5 -> 40 ~ 47 */
116 /* REG 6 -> 48 ~ 55 */
124 /* REG 7 -> 56 ~ 63 */
133 /* REG 8 -> 64 ~ 71 */
[all …]