Home
last modified time | relevance | path

Searched +full:mt6370 +full:- +full:charger (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dmediatek,mt6370.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/mediatek,mt6370.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT6370 SubPMIC
10 - ChiYuan Huang <cy_huang@richtek.com>
13 MT6370 is a highly-integrated smart power management IC, which includes a
14 single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C &
21 const: mediatek,mt6370
26 wakeup-source: true
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
Dmediatek,mt6370-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/mediatek,mt6370-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT6370 Battery Charger
10 - ChiaEn Wu <chiaen_wu@richtek.com>
13 This module is part of the MT6370 MFD device.
14 Provides Battery Charger, Boost for OTG devices and BC1.2 detection.
18 const: mediatek,mt6370-charger
22 Specify what irqs are needed to be handled by MT6370 Charger driver.
[all …]
/Linux-v6.1/drivers/mfd/
Dmt6370.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include "mt6370.h"
116 .name = "mt6370-irqs",
134 MFD_CELL_OF("mt6370-adc",
135 NULL, NULL, 0, 0, "mediatek,mt6370-adc"),
136 MFD_CELL_OF("mt6370-charger",
137 NULL, NULL, 0, 0, "mediatek,mt6370-charger"),
138 MFD_CELL_OF("mt6370-flashlight",
139 NULL, NULL, 0, 0, "mediatek,mt6370-flashlight"),
140 MFD_CELL_OF("mt6370-indicator",
[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
52 charger.
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)"
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/usb/
Dmediatek,mt6370-tcpc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/usb/mediatek,mt6370-tcpc.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: MediatTek MT6370 Type-C Port Switch and Power Delivery controller
10 - ChiYuan Huang <cy_huang@richtek.com>
13 MediaTek MT6370 is a multi-functional device.
14 It integrates charger, ADC, flash, RGB indicators,
16 This document only describes MT6370 Type-C Port Switch and
22 - mediatek,mt6370-tcpc
[all …]
/Linux-v6.1/drivers/power/supply/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 backup batteries, and optional builtin charger.
60 which include a battery charger and a boost converter.
63 tristate "MAX8925 battery charger support"
66 Say Y here to enable support for the battery charger in the Maxim
70 tristate "WM831X backup battery charger support"
73 Say Y here to enable support for the backup battery charger
102 tristate "ADP5061 battery charger driver"
107 charger.
113 tristate "Active-semi ACT8945A charger driver"
[all …]
Dmt6370-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/devm-helpers.h>
184 ret = regmap_field_read(priv->rmap_fields[fd], &reg_val); in mt6370_chg_field_get()
210 val = r->max_sel; in mt6370_chg_field_set()
216 return regmap_field_write(priv->rmap_fields[fd], val); in mt6370_chg_field_set()
238 struct mt6370_priv *priv = rcfg->driver_data; in mt6370_chg_otg_of_parse_cb()
240 rcfg->ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(of), in mt6370_chg_otg_of_parse_cb()
243 rdesc->name); in mt6370_chg_otg_of_parse_cb()
244 if (IS_ERR(rcfg->ena_gpiod)) { in mt6370_chg_otg_of_parse_cb()
245 rcfg->ena_gpiod = NULL; in mt6370_chg_otg_of_parse_cb()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 subdir-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG
4 power_supply-y := power_supply_core.o
5 power_supply-$(CONFIG_SYSFS) += power_supply_sysfs.o
6 power_supply-$(CONFIG_LEDS_TRIGGERS) += power_supply_leds.o
8 obj-$(CONFIG_POWER_SUPPLY) += power_supply.o
9 obj-$(CONFIG_POWER_SUPPLY_HWMON) += power_supply_hwmon.o
10 obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o
12 obj-$(CONFIG_PDA_POWER) += pda_power.o
13 obj-$(CONFIG_APM_POWER) += apm_power.o
[all …]
/Linux-v6.1/drivers/regulator/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 managed regulators and simple non-configurable regulators.
65 They provide two I2C-controlled DC/DC step-down converters with
85 tristate "Active-semi act8865 voltage regulator"
90 This driver controls a active-semi act8865 voltage output
94 tristate "Active-semi ACT8945A voltage regulator"
97 This driver controls a active-semi ACT8945A voltage regulator
98 via I2C bus. The ACT8945A features three step-down DC/DC converters
99 and four low-dropout linear regulators, along with a ActivePath
100 battery charger.
[all …]