Searched +full:mt6360 +full:- +full:regulator (Results 1 – 9 of 9) sorted by relevance
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | mediatek,mt6360.yaml | 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 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/regulator/ |
H A D | mt6360-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/mt6360-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MT6360 Regulator from MediaTek Integrated 10 - Gene Chen <gene_chen@richtek.com> 18 const: mediatek,mt6360-regulator 20 LDO_VIN1-supply: 22 LDO_VIN2-supply: 24 LDO_VIN3-supply: [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | mt6360_charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Battery charger driver for MT6360 PMIC from MediaTek Integrated. 10 - Gene Chen <gene_chen@richtek.com> 13 This module is part of the MT6360 MFD device. 18 const: mediatek,mt6360-chg 20 richtek,vinovp-microvolt: 25 usb-otg-vbus-regulator: 27 description: OTG boost regulator. [all …]
|
/linux/drivers/regulator/ |
H A D | mt6360-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/regulator/driver.h> 14 #include <linux/regulator/machine.h> 16 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 223 const struct mt6360_regulator_desc *rdesc = (struct mt6360_regulator_desc *)rdev->desc; in mt6360_regulator_set_mode() 225 int shift = ffs(rdesc->mode_mask) - 1; in mt6360_regulator_set_mode() 240 return -EINVAL; in mt6360_regulator_set_mode() 243 ret = regmap_update_bits(regmap, rdesc->mode_reg, rdesc->mode_mask, val << shift); in mt6360_regulator_set_mode() 245 dev_err(&rdev->dev, "%s: fail (%d)\n", __func__, ret); in mt6360_regulator_set_mode() 254 const struct mt6360_regulator_desc *rdesc = (struct mt6360_regulator_desc *)rdev->desc; in mt6360_regulator_get_mode() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menuconfig REGULATOR config 3 bool "Voltage and Current Regulator Support" 6 Generic Voltage and Current Regulator support. 14 The intention is to allow systems to dynamically control regulator 26 if REGULATOR 29 bool "Regulator debug support" 34 tristate "Fixed voltage regulator support" 38 managed regulators and simple non-configurable regulators. 41 tristate "Virtual regulator consumer support" [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for regulator drivers. 7 obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o devres.o irq_helpers.o 8 obj-$(CONFIG_REGULATOR_NETLINK_EVENTS) += event.o 9 obj-$(CONFIG_OF) += of_regulator.o 10 obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o 11 obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER) += virtual.o 12 obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o 14 obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o 15 obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o [all …]
|
/linux/drivers/mfd/ |
H A D | mt6360-core.c | 1 // 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 …]
|
/linux/drivers/power/supply/ |
H A D | mt6360_charger.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/devm-helpers.h> 17 #include <linux/regulator/driver.h> 163 ret = regmap_read(mci->regmap, MT6360_PMU_FOD_STAT, ®val); in mt6360_get_chrdet_ext_stat() 179 val->intval = pwr_rdy ? true : false; in mt6360_charger_get_online() 198 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, ®val); in mt6360_charger_get_status() 214 ret = -EIO; in mt6360_charger_get_status() 218 val->intval = status; in mt6360_charger_get_status() 229 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, ®val); in mt6360_charger_get_charge_type() 249 val->intval = type; in mt6360_charger_get_charge_type() [all …]
|
/linux/drivers/iio/adc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 45 Say yes here to build support for Analog Devices AD4130-8 SPI analog 73 Say yes here to build support for Analog Devices AD7091R-5 ADC. 81 Say yes here to build support for Analog Devices AD7091R-2, AD7091R-4, 82 and AD7091R-8 ADC. 88 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 92 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 107 - AD7172-2 108 - AD7173-8 [all …]
|