Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mfd/
Dmax77693.c166 struct max77693_dev *max77693; in max77693_i2c_probe() local
170 max77693 = devm_kzalloc(&i2c->dev, in max77693_i2c_probe()
172 if (max77693 == NULL) in max77693_i2c_probe()
175 i2c_set_clientdata(i2c, max77693); in max77693_i2c_probe()
176 max77693->dev = &i2c->dev; in max77693_i2c_probe()
177 max77693->i2c = i2c; in max77693_i2c_probe()
178 max77693->irq = i2c->irq; in max77693_i2c_probe()
179 max77693->type = id->driver_data; in max77693_i2c_probe()
181 max77693->regmap = devm_regmap_init_i2c(i2c, &max77693_regmap_config); in max77693_i2c_probe()
182 if (IS_ERR(max77693->regmap)) { in max77693_i2c_probe()
[all …]
DMakefile123 obj-$(CONFIG_MFD_MAX77693) += max77693.o
/linux-4.4.14/drivers/power/
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-4.4.14/drivers/extcon/
Dextcon-max77693.c77 struct max77693_dev *max77693; member
237 ret = regmap_write(info->max77693->regmap_muic, in max77693_muic_set_debounce_time()
274 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path()
286 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path()
950 ret = regmap_bulk_read(info->max77693->regmap_muic, in max77693_muic_irq_work()
1021 ret = regmap_bulk_read(info->max77693->regmap_muic, in max77693_muic_detect_accessory()
1066 struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent); in max77693_muic_probe() local
1067 struct max77693_platform_data *pdata = dev_get_platdata(max77693->dev); in max77693_muic_probe()
1082 info->max77693 = max77693; in max77693_muic_probe()
1083 if (info->max77693->regmap_muic) { in max77693_muic_probe()
[all …]
DMakefile11 obj-$(CONFIG_EXTCON_MAX77693) += extcon-max77693.o
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dmax77693.txt14 - compatible : Must be "maxim,max77693".
20 - regulators : The regulators of max77693 have to be instantiated under subnod
35 - compatible : Must be "maxim,max77693-hpatic"
46 - compatible : Must be "maxim,max77693-charger".
87 - compatible : Must be "maxim,max77693-led".
133 max77693@66 {
134 compatible = "maxim,max77693";
159 compatible = "maxim,max77693-haptic";
166 compatible = "maxim,max77693-charger";
175 compatible = "maxim,max77693-led";
[all …]
/linux-4.4.14/drivers/regulator/
Dmax77693.c119 struct max77693_dev *max77693, in max77693_get_regmap() argument
123 return max77693->regmap; in max77693_get_regmap()
129 return max77693->regmap; in max77693_get_regmap()
131 return max77693->regmap_chg; in max77693_get_regmap()
133 return max77693->regmap; in max77693_get_regmap()
DMakefile57 obj-$(CONFIG_REGULATOR_MAX77693) += max77693.o
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-power36 What: /sys/class/power_supply/max77693-charger/device/fast_charge_timer
41 This entry shows and sets the maximum time the max77693
50 What: /sys/class/power_supply/max77693-charger/device/top_off_threshold_current
65 What: /sys/class/power_supply/max77693-charger/device/top_off_timer
70 This entry shows and sets the maximum time the max77693
/linux-4.4.14/drivers/input/misc/
Dmax77693-haptic.c294 struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent); in max77693_haptic_probe() local
302 haptic->regmap_pmic = max77693->regmap; in max77693_haptic_probe()
312 haptic->regmap_haptic = max77693->regmap_haptic; in max77693_haptic_probe()
315 haptic->regmap_haptic = max77693->regmap; in max77693_haptic_probe()
DMakefile43 obj-$(CONFIG_INPUT_MAX77693_HAPTIC) += max77693-haptic.o
DKconfig178 module will be called max77693-haptic.
/linux-4.4.14/drivers/leds/
DMakefile59 obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o
/linux-4.4.14/arch/arm/boot/dts/
Dexynos4412-trats2.dts142 max77693@66 {
143 compatible = "maxim,max77693";
163 compatible = "maxim,max77693-haptic";
169 compatible = "maxim,max77693-charger";
188 max77693-fuel-gauge@36 {
/linux-4.4.14/Documentation/leds/
Dleds-class-flash.txt64 Please refer to drivers/leds/leds-max77693.c for an exemplary usage of the
/linux-4.4.14/
DMAINTAINERS6802 F: drivers/*/max77693.c
6804 F: drivers/extcon/extcon-max77693.c
6809 F: Documentation/devicetree/bindings/mfd/max77693.txt
6813 F: include/linux/mfd/max77693*.h