Home
last modified time | relevance | path

Searched refs:max14577 (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/mfd/
Dmax14577.c261 static void max14577_print_dev_type(struct max14577 *max14577) in max14577_print_dev_type() argument
266 ret = max14577_read_reg(max14577->regmap, MAX14577_REG_DEVICEID, in max14577_print_dev_type()
269 dev_err(max14577->dev, in max14577_print_dev_type()
279 dev_info(max14577->dev, "Device type: %u (ID: 0x%x, vendor: 0x%x)\n", in max14577_print_dev_type()
280 max14577->dev_type, device_id, vendor_id); in max14577_print_dev_type()
292 static int max77836_init(struct max14577 *max14577) in max77836_init() argument
297 max14577->i2c_pmic = i2c_new_dummy_device(max14577->i2c->adapter, in max77836_init()
299 if (IS_ERR(max14577->i2c_pmic)) { in max77836_init()
300 dev_err(max14577->dev, "Failed to register PMIC I2C device\n"); in max77836_init()
301 return PTR_ERR(max14577->i2c_pmic); in max77836_init()
[all …]
DMakefile159 obj-$(CONFIG_MFD_MAX14577) += max14577.o
/linux-6.6.21/drivers/regulator/
Dmax14577-regulator.c40 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()
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
[all …]
DMakefile69 obj-$(CONFIG_REGULATOR_MAX14577) += max14577-regulator.o
/linux-6.6.21/Documentation/devicetree/bindings/mfd/
Dmaxim,max14577.yaml4 $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.6.21/drivers/power/supply/
Dmax14577_charger.c16 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()
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()
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()
[all …]
/linux-6.6.21/drivers/extcon/
Dextcon-max14577.c72 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()
613 ret = max14577_bulk_read(info->max14577->regmap, in max14577_muic_detect_accessory()
658 struct max14577 *max14577 = dev_get_drvdata(pdev->dev.parent); in max14577_muic_probe() local
672 info->max14577 = max14577; in max14577_muic_probe()
[all …]
DMakefile15 obj-$(CONFIG_EXTCON_MAX14577) += extcon-max14577.o
/linux-6.6.21/Documentation/devicetree/bindings/regulator/
Dmaxim,max14577.yaml4 $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.6.21/Documentation/devicetree/bindings/power/supply/
Dmaxim,max14577.yaml4 $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.6.21/include/linux/mfd/
Dmax14577-private.h427 struct max14577 { struct
/linux-6.6.21/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
/linux-6.6.21/
DMAINTAINERS12953 F: Documentation/devicetree/bindings/power/supply/maxim,max14577.yaml
12964 F: Documentation/devicetree/bindings/*/maxim,max14577.yaml
12970 F: drivers/*/max14577*.c
12974 F: drivers/extcon/extcon-max14577.c
12977 F: include/linux/mfd/max14577*.h