Home
last modified time | relevance | path

Searched +full:mt6360 +full:- +full:regulator (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/mfd/
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-v6.1/Documentation/devicetree/bindings/regulator/
Dmt6360-regulator.yaml1 # 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-v6.1/arch/arm64/boot/dts/mediatek/
Dmt8195-demo.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
14 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
18 compatible = "mediatek,mt8195-demo", "mediatek,mt8195";
25 stdout-path = "serial0:921600n8";
30 compatible = "linaro,optee-tz";
35 gpio-keys {
[all …]
Dmt8195-cherry.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
26 stdout-path = "serial0:115200n8";
35 pp3300_z5: regulator-pp3300-ldo-z5 {
36 compatible = "regulator-fixed";
37 regulator-name = "pp3300_ldo_z5";
38 regulator-always-on;
39 regulator-boot-on;
40 regulator-min-microvolt = <3300000>;
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
Dmt6360_charger.yaml1 # 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-v6.1/drivers/regulator/
Dmt6360-regulator.c1 // 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 …]
DKconfig1 # 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 …]
DMakefile1 # 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_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 …]
/Linux-v6.1/drivers/mfd/
Dmt6360-core.c1 // SPDX-License-Identifier: GPL-2.0
78 /* reg 0 -> 0 ~ 7 */
83 /* REG 1 -> 8 ~ 15 */
90 /* REG 2 -> 16 ~ 23 */
91 /* REG 3 -> 24 ~ 31 */
98 /* REG 4 -> 32 ~ 39 */
106 /* REG 5 -> 40 ~ 47 */
115 /* REG 6 -> 48 ~ 55 */
123 /* REG 7 -> 56 ~ 63 */
132 /* REG 8 -> 64 ~ 71 */
[all …]
DKconfig1 # 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 …]
/Linux-v6.1/drivers/power/supply/
Dmt6360_charger.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/devm-helpers.h>
17 #include <linux/regulator/driver.h>
173 ret = regmap_read(mci->regmap, MT6360_PMU_FOD_STAT, &regval); in mt6360_get_chrdet_ext_stat()
189 val->intval = pwr_rdy ? true : false; in mt6360_charger_get_online()
208 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, &regval); in mt6360_charger_get_status()
224 ret = -EIO; in mt6360_charger_get_status()
228 val->intval = status; in mt6360_charger_get_status()
239 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, &regval); in mt6360_charger_get_charge_type()
259 val->intval = type; in mt6360_charger_get_charge_type()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
113 tristate "Active-semi ACT8945A charger driver"
117 Active-semi ActivePath ACT8945A charger.
167 tristate "DS2782/DS2786 standalone gas-gauge"
171 gas-gauge.
199 tristate "Sharp SL-6000 (tosa) battery"
203 SL-6000 (tosa) models.
206 tristate "Sharp SL-5500 (collie) battery"
210 SL-5500 (collie) models.
221 called ingenic-battery.
[all …]
/Linux-v6.1/drivers/iio/adc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
29 Say yes here to build support for Analog Devices AD7091R-5 ADC.
32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
111 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI"
137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
148 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
159 Say yes here to build support for Analog Devices AD7766, AD7766-1,
160 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters.
[all …]