/linux-6.12.1/drivers/mfd/ |
D | max14577.c | 3 // max14577.c - mfd core driver for the Maxim 14577/77836 17 #include <linux/mfd/max14577.h> 18 #include <linux/mfd/max14577-private.h> 103 .name = "max14577-muic", 104 .of_compatible = "maxim,max14577-muic", 107 .name = "max14577-regulator", 108 .of_compatible = "maxim,max14577-regulator", 111 .name = "max14577-charger", 112 .of_compatible = "maxim,max14577-charger", 137 .compatible = "maxim,max14577", [all …]
|
D | Makefile | 164 obj-$(CONFIG_MFD_MAX14577) += max14577.o
|
D | Kconfig | 822 tristate "Maxim Semiconductor MAX14577/77836 MUIC + Charger Support" 829 Say yes here to add support for Maxim Semiconductor MAX14577 and
|
/linux-6.12.1/drivers/regulator/ |
D | max14577-regulator.c | 3 // 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 …]
|
D | Makefile | 72 obj-$(CONFIG_REGULATOR_MAX14577) += max14577-regulator.o
|
D | Kconfig | 573 This driver controls a Maxim MAX14577/77836 regulator via I2C bus. 574 The MAX14577 regulators include safeout LDO and charger current
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | maxim,max14577.yaml | 4 $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 …]
|
/linux-6.12.1/include/linux/mfd/ |
D | max14577-private.h | 3 * 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 …]
|
D | max14577.h | 3 * 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.
|
/linux-6.12.1/drivers/power/supply/ |
D | max14577_charger.c | 11 #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 …]
|
D | Kconfig | 547 tristate "Maxim MAX14577/77836 battery charger driver" 551 platform data of MAX14577/77836 MUICs.
|
/linux-6.12.1/drivers/extcon/ |
D | extcon-max14577.c | 3 // 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 …]
|
D | Kconfig | 90 tristate "Maxim MAX14577/77836 EXTCON Support" 96 Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
|
D | Makefile | 16 obj-$(CONFIG_EXTCON_MAX14577) += extcon-max14577.o
|
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/ |
D | maxim,max14577.yaml | 4 $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
|
/linux-6.12.1/Documentation/devicetree/bindings/regulator/ |
D | maxim,max14577.yaml | 4 $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
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-power | 645 What: /sys/class/power_supply/max14577-charger/device/fast_charge_timer 650 This entry shows and sets the maximum time the max14577
|
/linux-6.12.1/ |
D | MAINTAINERS | 14018 F: Documentation/devicetree/bindings/power/supply/maxim,max14577.yaml 14029 F: Documentation/devicetree/bindings/*/maxim,max14577.yaml 14035 F: drivers/*/max14577*.c 14039 F: drivers/extcon/extcon-max14577.c 14042 F: include/linux/mfd/max14577*.h
|