Home
last modified time | relevance | path

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

/openbmc/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 …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A 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 …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A 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 …]
H A 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>
25 backlight_lcd0: backlight-lcd0 {
26 compatible = "pwm-backlight";
27 brightness-levels = <0 1023>;
28 default-brightness-level = <576>;
29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>;
30 num-interpolated-steps = <1023>;
32 power-supply = <&ppvar_sys>;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A 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 …]
/openbmc/linux/drivers/regulator/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/mfd/
H A 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 …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
45 tristate "Active-semi ACT8945A"
50 Support for the ACT8945A PMIC from Active-semi. This device
51 features three step-down DC/DC converters and four low-dropout
67 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
70 called sun4i-gpadc.
101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
132 over at91-usart-serial driver and usart-spi-driver. Only one function
148 tristate "Atmel HLCDC (High-end LCD Controller)"
178 voltage regulator, voltage sampling units, GPIO block and
[all …]
/openbmc/linux/drivers/power/supply/
H A Dmt6360_charger.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/devm-helpers.h>
17 #include <linux/regulator/driver.h>
170 ret = regmap_read(mci->regmap, MT6360_PMU_FOD_STAT, &regval); in mt6360_get_chrdet_ext_stat()
186 val->intval = pwr_rdy ? true : false; in mt6360_charger_get_online()
205 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, &regval); in mt6360_charger_get_status()
221 ret = -EIO; in mt6360_charger_get_status()
225 val->intval = status; in mt6360_charger_get_status()
236 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, &regval); in mt6360_charger_get_charge_type()
256 val->intval = type; in mt6360_charger_get_charge_type()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
104 tristate "Active-semi ACT8945A charger driver"
108 Active-semi ActivePath ACT8945A charger.
158 tristate "DS2782/DS2786 standalone gas-gauge"
162 gas-gauge.
199 tristate "Sharp SL-5500 (collie) battery"
203 SL-5500 (collie) models.
214 called ingenic-battery.
233 Say Y to include support for SBS battery driver for SBS-compliant
255 called sbs-manager.
[all …]
/openbmc/linux/drivers/iio/adc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
33 Say yes here to build support for Analog Devices AD4130-8 SPI analog
44 Say yes here to build support for Analog Devices AD7091R-5 ADC.
47 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
51 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
126 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI"
152 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
163 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
174 Say yes here to build support for Analog Devices AD7766, AD7766-1,
[all …]
/openbmc/linux/
H A Dopengrok1.0.log1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c'
2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms)
3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa
[all...]
H A Dopengrok2.0.log1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms)
2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c'
3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms)
4 2024-1
[all...]
H A Dopengrok0.0.log1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz'
2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz'
3 2024-12-2
[all...]