• Home
  • Raw
  • Download

Lines Matching full:max77693

3 // extcon-max77693.c - MAX77693 extcon driver to support MAX77693 MUIC
16 #include <linux/mfd/max77693.h>
17 #include <linux/mfd/max77693-common.h>
18 #include <linux/mfd/max77693-private.h>
23 #define DEV_NAME "max77693-muic"
27 * Default value of MAX77693 register to bring up MUIC device.
29 * extcon-max77693 driver use 'default_init_data' to bring up base operation
30 * of MAX77693 MUIC device.
67 struct max77693_dev *max77693; member
194 * MAX77693 MUIC device support below list of accessories(external connector)
212 * @info: the instance including private data of max77693 MUIC
230 ret = regmap_write(info->max77693->regmap_muic, in max77693_muic_set_debounce_time()
248 * @info: the instance including private data of max77693 MUIC
252 * The max77693 MUIC device share outside H/W line among a varity of cables
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()
297 * @info: the instance including private data of max77693 MUIC
689 * The MAX77693 MUIC device can detect total 34 cable type in max77693_muic_adc_handler()
708 * The MAX77693 MUIC device can detect total 34 cable type in max77693_muic_adc_handler()
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()
1091 info->max77693->regmap_muic = devm_regmap_init_i2c( in max77693_muic_probe()
1092 info->max77693->i2c_muic, in max77693_muic_probe()
1094 if (IS_ERR(info->max77693->regmap_muic)) { in max77693_muic_probe()
1095 ret = PTR_ERR(info->max77693->regmap_muic); in max77693_muic_probe()
1096 dev_err(max77693->dev, in max77693_muic_probe()
1108 info->dock->name = "max77693-muic/dock"; in max77693_muic_probe()
1109 info->dock->phys = "max77693-muic/extcon"; in max77693_muic_probe()
1132 /* Support irq domain for MAX77693 MUIC device */ in max77693_muic_probe()
1137 virq = regmap_irq_get_virq(max77693->irq_data_muic, in max77693_muic_probe()
1179 regmap_write(info->max77693->regmap_muic, in max77693_muic_probe()
1218 ret = regmap_bulk_read(info->max77693->regmap_muic, in max77693_muic_probe()
1231 ret = regmap_read(info->max77693->regmap_muic, in max77693_muic_probe()
1277 MODULE_DESCRIPTION("Maxim MAX77693 Extcon driver");
1280 MODULE_ALIAS("platform:max77693-muic");