Home
last modified time | relevance | path

Searched full:max14577 (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/mfd/
Dmax14577.c3 // max14577.c - mfd core driver for the Maxim 14577/77836
16 #include <linux/mfd/max14577.h>
17 #include <linux/mfd/max14577-private.h>
102 .name = "max14577-muic",
103 .of_compatible = "maxim,max14577-muic",
106 .name = "max14577-regulator",
107 .of_compatible = "maxim,max14577-regulator",
110 .name = "max14577-charger",
111 .of_compatible = "maxim,max14577-charger",
136 .compatible = "maxim,max14577",
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dmax14577.c3 // max14577.c - mfd core driver for the Maxim 14577/77836
16 #include <linux/mfd/max14577.h>
17 #include <linux/mfd/max14577-private.h>
102 .name = "max14577-muic",
103 .of_compatible = "maxim,max14577-muic",
106 .name = "max14577-regulator",
107 .of_compatible = "maxim,max14577-regulator",
110 .name = "max14577-charger",
111 .of_compatible = "maxim,max14577-charger",
136 .compatible = "maxim,max14577",
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmax14577.txt1 Maxim MAX14577/77836 Multi-Function Device
3 MAX14577 is a Multi-Function Device with Micro-USB Interface Circuit, Li+
13 - compatible : Must be "maxim,max14577" or "maxim,max77836".
14 - reg : I2C slave address for the max14577 chip (0x25 for max14577/max77836)
22 - compatible : "maxim,max14577-charger"
26 - for max14577: 90000 - 950000;
30 - for max14577: 50000 - 200000;
43 - max14577-muic/max77836-muic :
46 - compatible : "maxim,max14577-muic" or "maxim,max77836-muic"
50 - compatible : "maxim,max14577-regulator"
[all …]
/kernel/linux/linux-6.6/drivers/regulator/
Dmax14577-regulator.c3 // max14577.c - Regulator driver for the Maxim 14577/77836
11 #include <linux/mfd/max14577.h>
12 #include <linux/mfd/max14577-private.h>
40 struct max14577 *max14577 = rdev_get_drvdata(rdev); in max14577_reg_get_current_limit() local
42 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit()
65 struct max14577 *max14577 = rdev_get_drvdata(rdev); in max14577_reg_set_current_limit() local
67 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_set_current_limit()
167 static struct regmap *max14577_get_regmap(struct max14577 *max14577, in max14577_get_regmap() argument
170 switch (max14577->dev_type) { in max14577_get_regmap()
174 return max14577->regmap; in max14577_get_regmap()
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dmax14577-regulator.c3 // max14577.c - Regulator driver for the Maxim 14577/77836
11 #include <linux/mfd/max14577.h>
12 #include <linux/mfd/max14577-private.h>
40 struct max14577 *max14577 = rdev_get_drvdata(rdev); in max14577_reg_get_current_limit() local
42 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit()
62 struct max14577 *max14577 = rdev_get_drvdata(rdev); in max14577_reg_set_current_limit() local
64 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_set_current_limit()
164 static struct regmap *max14577_get_regmap(struct max14577 *max14577, in max14577_get_regmap() argument
167 switch (max14577->dev_type) { in max14577_get_regmap()
171 return max14577->regmap; in max14577_get_regmap()
[all …]
DMakefile65 obj-$(CONFIG_REGULATOR_MAX14577) += max14577-regulator.o
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dmaxim,max14577.yaml4 $id: http://devicetree.org/schemas/mfd/maxim,max14577.yaml#
7 title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC
13 This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB
16 The Maxim MAX14577 is a MicroUSB and Companion Power Management IC which
26 - maxim,max14577
38 $ref: /schemas/power/supply/maxim,max14577.yaml
46 - maxim,max14577-muic
53 $ref: /schemas/regulator/maxim,max14577.yaml
66 const: maxim,max14577
72 const: maxim,max14577-charger
[all …]
/kernel/linux/linux-6.6/include/linux/mfd/
Dmax14577-private.h3 * max14577-private.h - Common API for the Maxim 14577/77836 internal sub chip
67 * Combined charger types for max14577 and max77836.
69 * On max14577 three lower bits map to STATUS2/CHGTYP field.
82 /* max14577: reserved, used on max77836 */
84 /* max14577: dead-battery charing with maximum current 100mA */
95 /* MAX14577 interrupts */
113 /* MAX14577 DEVICE ID register */
119 /* MAX14577 STATUS1 register */
129 /* MAX14577 STATUS2 register */
145 /* MAX14577 CONTROL1 register */
[all …]
Dmax14577.h3 * max14577.h - Driver for the Maxim 14577/77836
11 * MAX14577 has MUIC, Charger devices.
24 /* MAX14577 regulator IDs */
56 * MAX14577 MFD platform data
76 * Valid limits of current for max14577 and max77836 chargers.
/kernel/linux/linux-5.10/include/linux/mfd/
Dmax14577-private.h3 * max14577-private.h - Common API for the Maxim 14577/77836 internal sub chip
67 * Combined charger types for max14577 and max77836.
69 * On max14577 three lower bits map to STATUS2/CHGTYP field.
82 /* max14577: reserved, used on max77836 */
84 /* max14577: dead-battery charing with maximum current 100mA */
95 /* MAX14577 interrupts */
113 /* MAX14577 DEVICE ID register */
119 /* MAX14577 STATUS1 register */
129 /* MAX14577 STATUS2 register */
145 /* MAX14577 CONTROL1 register */
[all …]
Dmax14577.h3 * max14577.h - Driver for the Maxim 14577/77836
11 * MAX14577 has MUIC, Charger devices.
24 /* MAX14577 regulator IDs */
56 * MAX14577 MFD platform data
76 * Valid limits of current for max14577 and max77836 chargers.
/kernel/linux/linux-5.10/drivers/power/supply/
Dmax14577_charger.c11 #include <linux/mfd/max14577-private.h>
12 #include <linux/mfd/max14577.h>
16 struct max14577 *max14577; member
23 * Helper function for mapping values of STATUS2/CHGTYP register on max14577
42 WARN_ONCE(1, "max14577: Unsupported chgtyp register value 0x%02x", val); in maxim_get_charger_type()
49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state()
123 struct regmap *rmap = chg->max14577->regmap; in max14577_get_online()
133 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_online()
162 struct regmap *rmap = chg->max14577->regmap; in max14577_get_battery_health()
172 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_battery_health()
[all …]
DKconfig518 tristate "Maxim MAX14577/77836 battery charger driver"
522 platform data of MAX14577/77836 MUICs.
/kernel/linux/linux-6.6/drivers/power/supply/
Dmax14577_charger.c11 #include <linux/mfd/max14577-private.h>
12 #include <linux/mfd/max14577.h>
16 struct max14577 *max14577; member
23 * Helper function for mapping values of STATUS2/CHGTYP register on max14577
42 WARN_ONCE(1, "max14577: Unsupported chgtyp register value 0x%02x", val); in maxim_get_charger_type()
49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state()
123 struct regmap *rmap = chg->max14577->regmap; in max14577_get_online()
133 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_online()
162 struct regmap *rmap = chg->max14577->regmap; in max14577_get_battery_health()
172 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_battery_health()
[all …]
DKconfig526 tristate "Maxim MAX14577/77836 battery charger driver"
530 platform data of MAX14577/77836 MUICs.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Dmaxim,max14577.yaml4 $id: http://devicetree.org/schemas/power/supply/maxim,max14577.yaml#
7 title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC Charger
13 This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB
16 See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for
22 - maxim,max14577-charger
35 MAX14577: 50000-20000
42 MAX14577: 90000-950000
65 const: maxim,max14577-charger
/kernel/linux/linux-5.10/drivers/extcon/
Dextcon-max14577.c3 // extcon-max14577.c - MAX14577/77836 extcon driver to support MUIC
14 #include <linux/mfd/max14577.h>
15 #include <linux/mfd/max14577-private.h>
71 struct max14577 *max14577; member
154 * @info: the instance including private data of max14577 MUIC
167 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_debounce_time()
186 * @info: the instance including private data of max14577 MUIC
190 * The max14577 MUIC device share outside H/W line among a varity of cables
201 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path()
214 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path()
[all …]
DKconfig84 tristate "Maxim MAX14577/77836 EXTCON Support"
90 Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
DMakefile16 obj-$(CONFIG_EXTCON_MAX14577) += extcon-max14577.o
/kernel/linux/linux-6.6/drivers/extcon/
Dextcon-max14577.c3 // extcon-max14577.c - MAX14577/77836 extcon driver to support MUIC
15 #include <linux/mfd/max14577.h>
16 #include <linux/mfd/max14577-private.h>
72 struct max14577 *max14577; member
155 * @info: the instance including private data of max14577 MUIC
168 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_debounce_time()
187 * @info: the instance including private data of max14577 MUIC
191 * The max14577 MUIC device share outside H/W line among a varity of cables
202 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path()
215 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path()
[all …]
DKconfig79 tristate "Maxim MAX14577/77836 EXTCON Support"
85 Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
DMakefile15 obj-$(CONFIG_EXTCON_MAX14577) += extcon-max14577.o
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dmaxim,max14577.yaml4 $id: http://devicetree.org/schemas/regulator/maxim,max14577.yaml#
7 title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC regulators
13 This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB
16 See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for
22 - maxim,max14577-regulator
72 const: maxim,max14577-regulator
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-power588 What: /sys/class/power_supply/max14577-charger/device/fast_charge_timer
593 This entry shows and sets the maximum time the max14577
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-class-power624 What: /sys/class/power_supply/max14577-charger/device/fast_charge_timer
629 This entry shows and sets the maximum time the max14577

12