Home
last modified time | relevance | path

Searched +full:max8997 +full:- +full:pmic (Results 1 – 25 of 49) sorted by relevance

12

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dmaxim,max8997.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/regulator/maxim,max8997.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX8997 Power Management IC
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 The Maxim MAX8997 is a Power Management IC which includes voltage and current
15 motor driver, flash LED driver and Micro-USB Interface Controller.
22 const: maxim,max8997-pmic
24 charger-supply:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dmax8997-regulator.txt1 * Maxim MAX8997 Voltage and Current Regulator
3 The Maxim MAX8997 is a multi-function device which includes voltage and
4 current regulators, rtc, charger controller and other sub-blocks. It is
5 interfaced to the host controller using a i2c interface. Each sub-block is
7 describes the bindings for 'pmic' sub-block of max8997.
10 - compatible: Should be "maxim,max8997-pmic".
11 - reg: Specifies the i2c slave address of the pmic block. It should be 0x66.
13 - max8997,pmic-buck1-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
17 - max8997,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
21 - max8997,pmic-buck5-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dmax8997-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max8997.c - Regulator driver for the Maxim 8997/8966
19 #include <linux/mfd/max8997.h>
20 #include <linux/mfd/max8997-private.h>
49 static inline void max8997_set_gpio(struct max8997_data *max8997) in max8997_set_gpio() argument
51 int set3 = (max8997->buck125_gpioindex) & 0x1; in max8997_set_gpio()
52 int set2 = ((max8997->buck125_gpioindex) >> 1) & 0x1; in max8997_set_gpio()
53 int set1 = ((max8997->buck125_gpioindex) >> 2) & 0x1; in max8997_set_gpio()
55 gpio_set_value(max8997->buck125_gpios[0], set1); in max8997_set_gpio()
56 gpio_set_value(max8997->buck125_gpios[1], set2); in max8997_set_gpio()
[all …]
/kernel/linux/linux-6.6/drivers/regulator/
Dmax8997-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max8997.c - Regulator driver for the Maxim 8997/8966
19 #include <linux/mfd/max8997.h>
20 #include <linux/mfd/max8997-private.h>
49 static inline void max8997_set_gpio(struct max8997_data *max8997) in max8997_set_gpio() argument
51 int set3 = (max8997->buck125_gpioindex) & 0x1; in max8997_set_gpio()
52 int set2 = ((max8997->buck125_gpioindex) >> 1) & 0x1; in max8997_set_gpio()
53 int set1 = ((max8997->buck125_gpioindex) >> 2) & 0x1; in max8997_set_gpio()
55 gpio_set_value(max8997->buck125_gpios[0], set1); in max8997_set_gpio()
56 gpio_set_value(max8997->buck125_gpios[1], set2); in max8997_set_gpio()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dexynos4210-trats.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
30 stdout-path = "serial2:115200n8";
33 vemmc_reg: regulator-0 {
34 compatible = "regulator-fixed";
35 regulator-name = "VMEM_VDD_2.8V";
36 regulator-min-microvolt = <2800000>;
37 regulator-max-microvolt = <2800000>;
39 enable-active-high;
[all …]
Dexynos4210-i9100.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree
11 /dts-v1/;
13 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/linux-event-codes.h>
19 model = "Samsung Galaxy S2 (GT-I9100)";
28 stdout-path = "serial2:115200n8";
31 vemmc_reg: regulator-0 {
32 compatible = "regulator-fixed";
[all …]
Dexynos4210-origen.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
7 * Copyright (c) 2010-2011 Linaro Ltd.
14 /dts-v1/;
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
18 #include "exynos-mfc-reserved-memory.dtsi"
34 stdout-path = "serial2:115200n8";
37 mmc_reg: voltage-regulator {
38 compatible = "regulator-fixed";
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dmax8997.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max8997.c - mfd core driver for the Maxim 8966 and 8997
20 #include <linux/mfd/max8997.h>
21 #include <linux/mfd/max8997-private.h>
30 { .name = "max8997-pmic", },
31 { .name = "max8997-rtc", },
32 { .name = "max8997-battery", },
33 { .name = "max8997-haptic", },
34 { .name = "max8997-muic", },
35 { .name = "max8997-led", .id = 1 },
[all …]
Dmax8997-irq.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max8997-irq.c - Interrupt controller support for MAX8997
8 // This driver is based on max8998-irq.c
13 #include <linux/mfd/max8997.h>
14 #include <linux/mfd/max8997-private.h>
30 static struct i2c_client *get_i2c(struct max8997_dev *max8997, in get_i2c() argument
35 return max8997->i2c; in get_i2c()
39 return max8997->muic; in get_i2c()
41 return max8997->i2c; in get_i2c()
43 return max8997->i2c; in get_i2c()
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Dmax8997.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max8997.c - mfd core driver for the Maxim 8966 and 8997
20 #include <linux/mfd/max8997.h>
21 #include <linux/mfd/max8997-private.h>
30 { .name = "max8997-pmic", },
31 { .name = "max8997-rtc", },
32 { .name = "max8997-battery", },
33 { .name = "max8997-haptic", },
34 { .name = "max8997-muic", },
35 { .name = "max8997-led", .id = 1 },
[all …]
Dmax8997-irq.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max8997-irq.c - Interrupt controller support for MAX8997
8 // This driver is based on max8998-irq.c
13 #include <linux/mfd/max8997.h>
14 #include <linux/mfd/max8997-private.h>
30 static struct i2c_client *get_i2c(struct max8997_dev *max8997, in get_i2c() argument
35 return max8997->i2c; in get_i2c()
39 return max8997->muic; in get_i2c()
41 return max8997->i2c; in get_i2c()
43 return max8997->i2c; in get_i2c()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/
Dexynos4210-trats.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
19 chassis-type = "handset";
37 stdout-path = "serial2:115200n8";
40 vemmc_reg: regulator-0 {
41 compatible = "regulator-fixed";
42 regulator-name = "VMEM_VDD_2.8V";
43 regulator-min-microvolt = <2800000>;
44 regulator-max-microvolt = <2800000>;
[all …]
Dexynos4210-origen.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
7 * Copyright (c) 2010-2011 Linaro Ltd.
14 /dts-v1/;
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/leds/common.h>
19 #include "exynos-mfc-reserved-memory.dtsi"
40 stdout-path = "serial2:115200n8";
43 mmc_reg: voltage-regulator {
[all …]
Dexynos4210-i9100.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree
11 /dts-v1/;
13 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/linux-event-codes.h>
19 model = "Samsung Galaxy S2 (GT-I9100)";
21 chassis-type = "handset";
35 stdout-path = "serial2:115200n8";
38 vemmc_reg: regulator-0 {
[all …]
/kernel/linux/linux-6.6/drivers/extcon/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 host USB ports. Many of 30-pin connectors including PDMI are
25 tristate "X-Power AXP288 EXTCON support"
30 and USB MUX switching by X-Power AXP288 PMIC.
62 tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver"
69 on the Intel Cherrytrail Whiskey Cove PMIC.
72 tristate "Intel Merrifield Basin Cove PMIC extcon driver"
76 on the Intel Merrifield Basin Cove PMIC.
94 enable a system with an integrated USB OTG dual-role transceiver to
95 function as an USB OTG dual-role device.
[all …]
Dextcon-max8997.c1 // SPDX-License-Identifier: GPL-2.0+
3 // extcon-max8997.c - MAX8997 extcon driver to support MAX8997 MUIC
8 #include <linux/devm-helpers.h>
17 #include <linux/mfd/max8997.h>
18 #include <linux/mfd/max8997-private.h>
19 #include <linux/extcon-provider.h>
22 #define DEV_NAME "max8997-muic"
39 { MAX8997_MUICIRQ_ADCError, "muic-ADCERROR" },
40 { MAX8997_MUICIRQ_ADCLow, "muic-ADCLOW" },
41 { MAX8997_MUICIRQ_ADC, "muic-ADC" },
[all …]
/kernel/linux/linux-5.10/drivers/extcon/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 host USB ports. Many of 30-pin connectors including PDMI are
33 tristate "X-Power AXP288 EXTCON support"
38 and USB MUX switching by X-Power AXP288 PMIC.
70 tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver"
74 on the Intel Cherrytrail Whiskey Cove PMIC.
77 tristate "Intel Merrifield Basin Cove PMIC extcon driver"
81 on the Intel Merrifield Basin Cove PMIC.
99 enable a system with an integrated USB OTG dual-role transceiver to
100 function as an USB OTG dual-role device.
[all …]
/kernel/linux/linux-6.6/include/linux/mfd/
Dmax8997.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max8997.h - Driver for the Maxim 8997/8966
5 * Copyright (C) 2009-2010 Samsung Electrnoics
10 * MAX8997 has PMIC, MUIC, HAPTIC, RTC, FLASH, and Fuel Gauge devices.
22 /* MAX8997/8966 regulator IDs */
76 * used for initializing registers of MAX8997 MUIC device
121 * [0 - 3]: valid pattern number
124 * [0 - 15]: available cycles
126 * [0 - 255]: available period
150 * The number of LED devices for MAX8997 is two
[all …]
Dmax8997-private.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max8997-private.h - Voltage regulator driver for the Maxim 8997
184 /* MAX8997-MUIC STATUS1 register */
192 /* MAX8997-MUIC STATUS2 register */
204 /* MAX8997-MUIC STATUS3 register */
208 /* MAX8997-MUIC CONTROL1 register */
371 struct i2c_client *i2c; /* 0xcc / PMIC, Battery Control, and FLASH */
399 extern int max8997_irq_init(struct max8997_dev *max8997);
400 extern void max8997_irq_exit(struct max8997_dev *max8997);
401 extern int max8997_irq_resume(struct max8997_dev *max8997);
Dmax77693.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max77693.h - Driver for the Maxim 77693
10 * This driver is based on max8997.h
12 * MAX77693 has PMIC, Charger, Flash LED, Haptic, MUIC devices.
/kernel/linux/linux-5.10/include/linux/mfd/
Dmax8997.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max8997.h - Driver for the Maxim 8997/8966
5 * Copyright (C) 2009-2010 Samsung Electrnoics
10 * MAX8997 has PMIC, MUIC, HAPTIC, RTC, FLASH, and Fuel Gauge devices.
22 /* MAX8997/8966 regulator IDs */
76 * used for initializing registers of MAX8997 MUIC device
123 * [0 - 3]: valid pattern number
126 * [0 - 15]: available cycles
128 * [0 - 255]: available period
153 * The number of LED devices for MAX8997 is two
[all …]
Dmax8997-private.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max8997-private.h - Voltage regulator driver for the Maxim 8997
184 /* MAX8997-MUIC STATUS1 register */
192 /* MAX8997-MUIC STATUS2 register */
204 /* MAX8997-MUIC STATUS3 register */
208 /* MAX8997-MUIC CONTROL1 register */
371 struct i2c_client *i2c; /* 0xcc / PMIC, Battery Control, and FLASH */
399 extern int max8997_irq_init(struct max8997_dev *max8997);
400 extern void max8997_irq_exit(struct max8997_dev *max8997);
401 extern int max8997_irq_resume(struct max8997_dev *max8997);
Dmax77686.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max77686.h - Driver for the Maxim 77686/802
8 * This driver is based on max8997.h
10 * MAX77686 has PMIC, RTC devices.
/kernel/linux/linux-6.6/drivers/power/supply/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
58 MAX8925 PMIC.
79 provided by the Wolfson Microelectronics WM8350 PMIC.
104 tristate "Active-semi ACT8945A charger driver"
108 Active-semi ActivePath ACT8945A charger.
111 tristate "Motorola CPCAP PMIC battery driver"
158 tristate "DS2782/DS2786 standalone gas-gauge"
162 gas-gauge.
178 tristate "Qualcomm PMIC GLINK battery manager support"
182 Say Y here to enable the Qualcomm PMIC GLINK power supply driver,
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
59 MAX8925 PMIC.
80 provided by the Wolfson Microelectronics WM8350 PMIC.
105 tristate "Active-semi ACT8945A charger driver"
109 Active-semi ActivePath ACT8945A charger.
112 tristate "Motorola CPCAP PMIC battery driver"
159 tristate "DS2782/DS2786 standalone gas-gauge"
163 gas-gauge.
185 tristate "Sharp SL-6000 (tosa) battery"
189 SL-6000 (tosa) models.
[all …]

12