Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mfd/
Dmax77693.c169 struct max77693_dev *max77693; in max77693_i2c_probe() local
173 max77693 = devm_kzalloc(&i2c->dev, in max77693_i2c_probe()
175 if (max77693 == NULL) in max77693_i2c_probe()
178 i2c_set_clientdata(i2c, max77693); in max77693_i2c_probe()
179 max77693->dev = &i2c->dev; in max77693_i2c_probe()
180 max77693->i2c = i2c; in max77693_i2c_probe()
181 max77693->irq = i2c->irq; in max77693_i2c_probe()
182 max77693->type = id->driver_data; in max77693_i2c_probe()
184 max77693->regmap = devm_regmap_init_i2c(i2c, &max77693_regmap_config); in max77693_i2c_probe()
185 if (IS_ERR(max77693->regmap)) { in max77693_i2c_probe()
[all …]
DMakefile155 obj-$(CONFIG_MFD_MAX77693) += max77693.o
/Linux-v4.19/drivers/power/supply/
Dmax77693_charger.c32 struct max77693_dev *max77693; member
225 struct regmap *regmap = chg->max77693->regmap; in max77693_charger_get_property()
291 ret = regmap_read(chg->max77693->regmap, MAX77693_CHG_REG_CHG_CNFG_01, in fast_charge_timer_show()
338 return regmap_update_bits(chg->max77693->regmap, in max77693_set_fast_charge_timer()
357 ret = regmap_read(chg->max77693->regmap, MAX77693_CHG_REG_CHG_CNFG_03, in top_off_threshold_current_show()
389 return regmap_update_bits(chg->max77693->regmap, in max77693_set_top_off_threshold_current()
408 ret = regmap_read(chg->max77693->regmap, MAX77693_CHG_REG_CHG_CNFG_03, in top_off_timer_show()
432 return regmap_update_bits(chg->max77693->regmap, in max77693_set_top_off_timer()
479 return regmap_update_bits(chg->max77693->regmap, in max77693_set_constant_volt()
501 return regmap_update_bits(chg->max77693->regmap, in max77693_set_min_system_volt()
[all …]
/Linux-v4.19/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-v4.19/drivers/extcon/
Dextcon-max77693.c77 struct max77693_dev *max77693; member
240 ret = regmap_write(info->max77693->regmap_muic, in max77693_muic_set_debounce_time()
277 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path()
289 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path()
961 ret = regmap_bulk_read(info->max77693->regmap_muic, in max77693_muic_irq_work()
1034 ret = regmap_bulk_read(info->max77693->regmap_muic, in max77693_muic_detect_accessory()
1079 struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent); in max77693_muic_probe() local
1080 struct max77693_platform_data *pdata = dev_get_platdata(max77693->dev); in max77693_muic_probe()
1095 info->max77693 = max77693; in max77693_muic_probe()
1096 if (info->max77693->regmap_muic) { in max77693_muic_probe()
[all …]
DMakefile16 obj-$(CONFIG_EXTCON_MAX77693) += extcon-max77693.o
/Linux-v4.19/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()
DMakefile71 obj-$(CONFIG_REGULATOR_MAX77693) += max77693-regulator.o
/Linux-v4.19/drivers/input/misc/
Dmax77693-haptic.c299 struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent); in max77693_haptic_probe() local
307 haptic->regmap_pmic = max77693->regmap; in max77693_haptic_probe()
317 haptic->regmap_haptic = max77693->regmap_haptic; in max77693_haptic_probe()
320 haptic->regmap_haptic = max77693->regmap; in max77693_haptic_probe()
DMakefile46 obj-$(CONFIG_INPUT_MAX77693_HAPTIC) += max77693-haptic.o
DKconfig192 module will be called max77693-haptic.
/Linux-v4.19/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 {
1028 max77693_irq: max77693-irq {
1033 max77693_fuel_irq: max77693-fuel-irq {
/Linux-v4.19/Documentation/devicetree/bindings/leds/
Dcommon.txt105 max77693-led {
106 compatible = "maxim,max77693-led";
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-power491 What: /sys/class/power_supply/max77693-charger/device/fast_charge_timer
496 This entry shows and sets the maximum time the max77693
505 What: /sys/class/power_supply/max77693-charger/device/top_off_threshold_current
520 What: /sys/class/power_supply/max77693-charger/device/top_off_timer
525 This entry shows and sets the maximum time the max77693
/Linux-v4.19/drivers/leds/
DMakefile63 obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o
/Linux-v4.19/Documentation/leds/
Dleds-class-flash.txt64 Please refer to drivers/leds/leds-max77693.c for an exemplary usage of the
/Linux-v4.19/
DMAINTAINERS8926 F: drivers/*/max77693*.c
8928 F: drivers/extcon/extcon-max77693.c
8933 F: Documentation/devicetree/bindings/mfd/max77693.txt
8937 F: include/linux/mfd/max77693*.h