Searched +full:mt6360 +full:- +full:led (Results 1 – 5 of 5) sorted by relevance
1 # 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 Integrated10 - Gene Chen <gene_chen@richtek.com>13 MT6360 is a PMIC device with the following sub modules.20 const: mediatek,mt636025 wakeup-source: true30 interrupt-names:[all …]
1 # 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.yaml15 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 …]
1 # SPDX-License-Identifier: GPL-2.06 tristate "LED support for the AAT1290"15 tristate "AS3645A and LM3555 LED flash controllers support"19 Enable LED flash class support for AS3645A LED flash24 tristate "LED support for Kinetic KTD2692 flash LED controller"29 This option enables support for Kinetic KTD2692 LED flash connected35 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 …]
1 // SPDX-License-Identifier: GPL-2.0-only8 #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() local102 struct mt6360_priv *priv = led->priv; in mt6360_mc_brightness_set()106 mutex_lock(&priv->lock); in mt6360_mc_brightness_set()[all …]
1 // SPDX-License-Identifier: GPL-2.079 /* 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 …]