Home
last modified time | relevance | path

Searched refs:max8907 (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Dmax8907.c185 struct max8907 *max8907; in max8907_i2c_probe() local
197 if (!max8907) { in max8907_i2c_probe()
218 i2c_set_clientdata(max8907->i2c_rtc, max8907); in max8907_i2c_probe()
219 max8907->regmap_rtc = devm_regmap_init_i2c(max8907->i2c_rtc, in max8907_i2c_probe()
267 regmap_del_irq_chip(max8907->i2c_gen->irq, max8907->irqc_rtc); in max8907_i2c_probe()
269 regmap_del_irq_chip(max8907->i2c_gen->irq, max8907->irqc_on_off); in max8907_i2c_probe()
271 regmap_del_irq_chip(max8907->i2c_gen->irq, max8907->irqc_chg); in max8907_i2c_probe()
283 struct max8907 *max8907 = i2c_get_clientdata(i2c); in max8907_i2c_remove() local
287 regmap_del_irq_chip(max8907->i2c_gen->irq, max8907->irqc_rtc); in max8907_i2c_remove()
288 regmap_del_irq_chip(max8907->i2c_gen->irq, max8907->irqc_on_off); in max8907_i2c_remove()
[all …]
H A DMakefile167 obj-$(CONFIG_MFD_MAX8907) += max8907.o
/openbmc/linux/drivers/rtc/
H A Drtc-max8907.c40 struct max8907 *max8907; member
176 struct max8907 *max8907 = dev_get_drvdata(pdev->dev.parent); in max8907_rtc_probe() local
185 rtc->max8907 = max8907; in max8907_rtc_probe()
186 rtc->regmap = max8907->regmap_rtc; in max8907_rtc_probe()
196 rtc->irq = regmap_irq_get_virq(max8907->irqc_rtc, in max8907_rtc_probe()
H A DMakefile95 obj-$(CONFIG_RTC_DRV_MAX8907) += rtc-max8907.o
H A DKconfig344 will be called rtc-max8907.
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dmax8907.txt4 - compatible: "maxim,max8907"
32 max8907@3c {
33 compatible = "maxim,max8907";
/openbmc/linux/drivers/regulator/
H A Dmax8907-regulator.c276 struct max8907 *max8907 = dev_get_drvdata(pdev->dev.parent); in max8907_regulator_probe() local
277 struct max8907_platform_data *pdata = dev_get_platdata(max8907->dev); in max8907_regulator_probe()
299 ret = regmap_read(max8907->regmap_gen, MAX8907_REG_II2RR, &val); in max8907_regulator_probe()
321 config.regmap = max8907->regmap_gen; in max8907_regulator_probe()
H A DMakefile78 obj-$(CONFIG_REGULATOR_MAX8907) += max8907-regulator.o
/openbmc/linux/include/linux/mfd/
H A Dmax8907.h237 struct max8907 { struct