Home
last modified time | relevance | path

Searched refs:max77693 (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/drivers/mfd/
Dmax77693.c155 struct max77693_dev *max77693; in max77693_i2c_probe() local
159 max77693 = devm_kzalloc(&i2c->dev, in max77693_i2c_probe()
161 if (max77693 == NULL) in max77693_i2c_probe()
164 i2c_set_clientdata(i2c, max77693); in max77693_i2c_probe()
165 max77693->dev = &i2c->dev; in max77693_i2c_probe()
166 max77693->i2c = i2c; in max77693_i2c_probe()
167 max77693->irq = i2c->irq; in max77693_i2c_probe()
168 max77693->type = id->driver_data; in max77693_i2c_probe()
170 max77693->regmap = devm_regmap_init_i2c(i2c, &max77693_regmap_config); in max77693_i2c_probe()
171 if (IS_ERR(max77693->regmap)) { in max77693_i2c_probe()
[all …]
DMakefile164 obj-$(CONFIG_MFD_MAX77693) += max77693.o
/Linux-v5.4/drivers/power/supply/
Dmax77693_charger.c22 struct max77693_dev *max77693; member
215 struct regmap *regmap = chg->max77693->regmap; in max77693_charger_get_property()
281 ret = regmap_read(chg->max77693->regmap, MAX77693_CHG_REG_CHG_CNFG_01, in fast_charge_timer_show()
328 return regmap_update_bits(chg->max77693->regmap, in max77693_set_fast_charge_timer()
347 ret = regmap_read(chg->max77693->regmap, MAX77693_CHG_REG_CHG_CNFG_03, in top_off_threshold_current_show()
379 return regmap_update_bits(chg->max77693->regmap, in max77693_set_top_off_threshold_current()
398 ret = regmap_read(chg->max77693->regmap, MAX77693_CHG_REG_CHG_CNFG_03, in top_off_timer_show()
422 return regmap_update_bits(chg->max77693->regmap, in max77693_set_top_off_timer()
469 return regmap_update_bits(chg->max77693->regmap, in max77693_set_constant_volt()
491 return regmap_update_bits(chg->max77693->regmap, in max77693_set_min_system_volt()
[all …]
/Linux-v5.4/drivers/extcon/
Dextcon-max77693.c67 struct max77693_dev *max77693; member
230 ret = regmap_write(info->max77693->regmap_muic, in max77693_muic_set_debounce_time()
267 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path()
279 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path()
951 ret = regmap_bulk_read(info->max77693->regmap_muic, in max77693_muic_irq_work()
1024 ret = regmap_bulk_read(info->max77693->regmap_muic, in max77693_muic_detect_accessory()
1069 struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent); in max77693_muic_probe() local
1070 struct max77693_platform_data *pdata = dev_get_platdata(max77693->dev); in max77693_muic_probe()
1087 info->max77693 = max77693; in max77693_muic_probe()
1088 if (info->max77693->regmap_muic) { in max77693_muic_probe()
[all …]
DMakefile18 obj-$(CONFIG_EXTCON_MAX77693) += extcon-max77693.o
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Dmax77693.txt14 - compatible : Must be "maxim,max77693".
19 - regulators : The regulators of max77693 have to be instantiated under subnode
34 - compatible : Must be "maxim,max77693-haptic"
45 - compatible : Must be "maxim,max77693-charger".
86 - compatible : Must be "maxim,max77693-led".
130 - max77693-muic :
133 - compatible : "maxim,max77693-muic"
138 max77693@66 {
139 compatible = "maxim,max77693";
164 compatible = "maxim,max77693-haptic";
[all …]
/Linux-v5.4/drivers/regulator/
Dmax77693-regulator.c105 struct max77693_dev *max77693, in max77693_get_regmap() argument
109 return max77693->regmap; in max77693_get_regmap()
115 return max77693->regmap; in max77693_get_regmap()
117 return max77693->regmap_chg; in max77693_get_regmap()
119 return max77693->regmap; in max77693_get_regmap()
DMakefile74 obj-$(CONFIG_REGULATOR_MAX77693) += max77693-regulator.o
/Linux-v5.4/drivers/input/misc/
Dmax77693-haptic.c295 struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent); in max77693_haptic_probe() local
303 haptic->regmap_pmic = max77693->regmap; in max77693_haptic_probe()
313 haptic->regmap_haptic = max77693->regmap_haptic; in max77693_haptic_probe()
316 haptic->regmap_haptic = max77693->regmap; in max77693_haptic_probe()
DMakefile48 obj-$(CONFIG_INPUT_MAX77693_HAPTIC) += max77693-haptic.o
DKconfig212 module will be called max77693-haptic.
/Linux-v5.4/arch/arm/boot/dts/
Dexynos4412-midas.dtsi139 max77693@66 {
140 compatible = "maxim,max77693";
162 compatible = "maxim,max77693-haptic";
168 compatible = "maxim,max77693-charger";
187 max77693-fuel-gauge@36 {
1037 max77693_irq: max77693-irq {
1042 max77693_fuel_irq: max77693-fuel-irq {
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-power568 What: /sys/class/power_supply/max77693-charger/device/fast_charge_timer
573 This entry shows and sets the maximum time the max77693
582 What: /sys/class/power_supply/max77693-charger/device/top_off_threshold_current
597 What: /sys/class/power_supply/max77693-charger/device/top_off_timer
602 This entry shows and sets the maximum time the max77693
/Linux-v5.4/drivers/leds/
DMakefile66 obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o
/Linux-v5.4/Documentation/leds/
Dleds-class-flash.rst81 Please refer to drivers/leds/leds-max77693.c for an exemplary usage of the
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dcommon.txt137 compatible = "maxim,max77693-led";
/Linux-v5.4/include/
DKbuild327 header-test- += linux/mfd/max77693.h
/Linux-v5.4/
DMAINTAINERS9943 F: drivers/*/max77693*.c
9945 F: drivers/extcon/extcon-max77693.c
9950 F: Documentation/devicetree/bindings/mfd/max77693.txt
9954 F: include/linux/mfd/max77693*.h