Lines Matching full:max77693
3 // extcon-max77693.c - MAX77693 extcon driver to support MAX77693 MUIC
17 #include <linux/mfd/max77693.h>
18 #include <linux/mfd/max77693-common.h>
19 #include <linux/mfd/max77693-private.h>
24 #define DEV_NAME "max77693-muic"
28 * Default value of MAX77693 register to bring up MUIC device.
30 * extcon-max77693 driver use 'default_init_data' to bring up base operation
31 * of MAX77693 MUIC device.
68 struct max77693_dev *max77693; member
195 * MAX77693 MUIC device support below list of accessories(external connector)
213 * @info: the instance including private data of max77693 MUIC
231 ret = regmap_write(info->max77693->regmap_muic, in max77693_muic_set_debounce_time()
249 * @info: the instance including private data of max77693 MUIC
253 * The max77693 MUIC device share outside H/W line among a varity of cables
268 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path()
280 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path()
298 * @info: the instance including private data of max77693 MUIC
690 * The MAX77693 MUIC device can detect total 34 cable type in max77693_muic_adc_handler()
709 * The MAX77693 MUIC device can detect total 34 cable type in max77693_muic_adc_handler()
952 ret = regmap_bulk_read(info->max77693->regmap_muic, in max77693_muic_irq_work()
1025 ret = regmap_bulk_read(info->max77693->regmap_muic, in max77693_muic_detect_accessory()
1070 struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent); in max77693_muic_probe() local
1071 struct max77693_platform_data *pdata = dev_get_platdata(max77693->dev); in max77693_muic_probe()
1088 info->max77693 = max77693; in max77693_muic_probe()
1089 if (info->max77693->regmap_muic) { in max77693_muic_probe()
1092 info->max77693->regmap_muic = devm_regmap_init_i2c( in max77693_muic_probe()
1093 info->max77693->i2c_muic, in max77693_muic_probe()
1095 if (IS_ERR(info->max77693->regmap_muic)) { in max77693_muic_probe()
1096 ret = PTR_ERR(info->max77693->regmap_muic); in max77693_muic_probe()
1097 dev_err(max77693->dev, in max77693_muic_probe()
1109 info->dock->name = "max77693-muic/dock"; in max77693_muic_probe()
1110 info->dock->phys = "max77693-muic/extcon"; in max77693_muic_probe()
1136 /* Support irq domain for MAX77693 MUIC device */ in max77693_muic_probe()
1141 virq = regmap_irq_get_virq(max77693->irq_data_muic, in max77693_muic_probe()
1183 regmap_write(info->max77693->regmap_muic, in max77693_muic_probe()
1222 ret = regmap_bulk_read(info->max77693->regmap_muic, in max77693_muic_probe()
1235 ret = regmap_read(info->max77693->regmap_muic, in max77693_muic_probe()
1262 { .compatible = "maxim,max77693-muic", },
1277 MODULE_DESCRIPTION("Maxim MAX77693 Extcon driver");
1280 MODULE_ALIAS("platform:max77693-muic");