Searched +full:mt6360 +full:- +full:regulator (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 8 obj-$(CONFIG_OF) += of_regulator.o 9 obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o 10 obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER) += virtual.o 11 obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o 13 obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o 14 obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o 15 obj-$(CONFIG_REGULATOR_88PM8607) += 88pm8607.o [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 44 tristate "Active-semi ACT8945A" 49 Support for the ACT8945A PMIC from Active-semi. This device 50 features three step-down DC/DC converters and four low-dropout 66 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 69 called sun4i-gpadc. 88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 119 over at91-usart-serial driver and usart-spi-driver. Only one function 135 tristate "Atmel HLCDC (High-end LCD Controller)" 165 voltage regulator, voltage sampling units, GPIO block and [all …]
|