Home
last modified time | relevance | path

Searched +full:mt6360 +full:- +full:chg (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/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:
32 - compatible
[all …]
/Linux-v6.6/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.6/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 …]
/Linux-v6.6/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 …]
/Linux-v6.6/drivers/power/supply/
Dmt6360_charger.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/devm-helpers.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()
266 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL7, &sel); in mt6360_charger_get_ichg()
[all …]