Home
last modified time | relevance | path

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

/linux/drivers/mfd/
H A Dmax8907.c176 static struct max8907 *max8907_pm_off;
185 struct max8907 *max8907; in max8907_i2c_probe() local
196 max8907 = devm_kzalloc(&i2c->dev, sizeof(struct max8907), GFP_KERNEL); in max8907_i2c_probe()
197 if (!max8907) { in max8907_i2c_probe()
202 max8907->dev = &i2c->dev; in max8907_i2c_probe()
203 max8907->i2c_gen = i2c; in max8907_i2c_probe()
204 i2c_set_clientdata(i2c, max8907); in max8907_i2c_probe()
205 max8907->regmap_gen = devm_regmap_init_i2c(i2c, in max8907_i2c_probe()
207 if (IS_ERR(max8907->regmap_gen)) { in max8907_i2c_probe()
208 ret = PTR_ERR(max8907->regmap_gen); in max8907_i2c_probe()
[all …]
H A DMakefile173 obj-$(CONFIG_MFD_MAX8907) += max8907.o
/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 DMakefile100 obj-$(CONFIG_RTC_DRV_MAX8907) += rtc-max8907.o
H A DKconfig354 will be called rtc-max8907.
/linux/Documentation/devicetree/bindings/regulator/
H A Dmax8907.txt4 - compatible: "maxim,max8907"
32 max8907@3c {
33 compatible = "maxim,max8907";
/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 DMakefile82 obj-$(CONFIG_REGULATOR_MAX8907) += max8907-regulator.o
/linux/include/linux/mfd/
H A Dmax8907.h237 struct max8907 { struct