| /linux-6.15/drivers/mfd/ |
| H A D | max14577.c | 294 static int max77836_init(struct max14577 *max14577) in max77836_init() argument 305 i2c_set_clientdata(max14577->i2c_pmic, max14577); in max77836_init() 354 static void max77836_remove(struct max14577 *max14577) in max77836_remove() argument 362 struct max14577 *max14577; in max14577_i2c_probe() local 384 if (!max14577) in max14577_i2c_probe() 421 ret = regmap_add_irq_chip(max14577->regmap, max14577->irq, in max14577_i2c_probe() 450 regmap_del_irq_chip(max14577->irq, max14577->irq_data); in max14577_i2c_probe() 457 struct max14577 *max14577 = i2c_get_clientdata(i2c); in max14577_i2c_remove() local 460 regmap_del_irq_chip(max14577->irq, max14577->irq_data); in max14577_i2c_remove() 475 struct max14577 *max14577 = i2c_get_clientdata(i2c); in max14577_suspend() local [all …]
|
| H A D | Makefile | 164 obj-$(CONFIG_MFD_MAX14577) += max14577.o
|
| /linux-6.15/drivers/regulator/ |
| H A D | max14577-regulator.c | 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 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() 174 return max14577->regmap_pmic; in max14577_get_regmap() 179 return max14577->regmap; in max14577_get_regmap() 185 struct max14577 *max14577 = dev_get_drvdata(pdev->dev.parent); in max14577_regulator_probe() local 204 config.dev = max14577->dev; in max14577_regulator_probe() [all …]
|
| H A D | Makefile | 72 obj-$(CONFIG_REGULATOR_MAX14577) += max14577-regulator.o
|
| /linux-6.15/Documentation/devicetree/bindings/mfd/ |
| H A D | maxim,max14577.yaml | 4 $id: http://devicetree.org/schemas/mfd/maxim,max14577.yaml# 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 76 const: maxim,max14577-muic 80 const: maxim,max14577-regulator 107 compatible = "maxim,max14577"; [all …]
|
| /linux-6.15/drivers/power/supply/ |
| H A D | max14577_charger.c | 16 struct max14577 *max14577; member 49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state() 123 struct regmap *rmap = chg->max14577->regmap; in max14577_get_online() 162 struct regmap *rmap = chg->max14577->regmap; in max14577_get_battery_health() 226 return max14577_update_reg(chg->max14577->regmap, in max14577_set_fast_charge_timer() 257 return max14577_write_reg(chg->max14577->regmap, in max14577_init_constant_voltage() 267 switch (chg->max14577->dev_type) { in max14577_init_eoc() 296 return max14577_update_reg(chg->max14577->regmap, in max14577_init_eoc() 328 struct regmap *rmap = chg->max14577->regmap; in max14577_charger_reg_init() 563 struct max14577 *max14577 = dev_get_drvdata(pdev->dev.parent); in max14577_charger_probe() local [all …]
|
| /linux-6.15/drivers/extcon/ |
| H A D | extcon-max14577.c | 72 struct max14577 *max14577; member 168 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_debounce_time() 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() 228 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path() 492 ret = max14577_bulk_read(info->max14577->regmap, in max14577_muic_irq_work() 583 switch (info->max14577->dev_type) { in max14577_muic_irq_handler() 658 struct max14577 *max14577 = dev_get_drvdata(pdev->dev.parent); in max14577_muic_probe() local 672 info->max14577 = max14577; in max14577_muic_probe() 682 switch (max14577->dev_type) { in max14577_muic_probe() [all …]
|
| H A D | Makefile | 16 obj-$(CONFIG_EXTCON_MAX14577) += extcon-max14577.o
|
| /linux-6.15/Documentation/devicetree/bindings/regulator/ |
| H A D | maxim,max14577.yaml | 4 $id: http://devicetree.org/schemas/regulator/maxim,max14577.yaml# 16 See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for 22 - maxim,max14577-regulator 72 const: maxim,max14577-regulator
|
| /linux-6.15/Documentation/devicetree/bindings/power/supply/ |
| H A D | maxim,max14577.yaml | 4 $id: http://devicetree.org/schemas/power/supply/maxim,max14577.yaml# 16 See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for 22 - maxim,max14577-charger 65 const: maxim,max14577-charger
|
| /linux-6.15/include/linux/mfd/ |
| H A D | max14577-private.h | 427 struct max14577 { struct
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-class-power | 665 What: /sys/class/power_supply/max14577-charger/device/fast_charge_timer 670 This entry shows and sets the maximum time the max14577
|
| /linux-6.15/ |
| H A D | MAINTAINERS | 14635 F: Documentation/devicetree/bindings/power/supply/maxim,max14577.yaml 14646 F: Documentation/devicetree/bindings/*/maxim,max14577.yaml 14654 F: drivers/*/max14577*.c 14659 F: drivers/extcon/extcon-max14577.c 14662 F: include/linux/mfd/max14577*.h
|