Home
last modified time | relevance | path

Searched refs:bd70528 (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.10/drivers/watchdog/
Dbd70528_wdt.c47 struct bd70528_data *bd70528 = container_of(data, struct bd70528_data, in bd70528_wdt_set() local
52 ret = regmap_read(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, &tmp); in bd70528_wdt_set()
79 ret = regmap_write(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, in bd70528_wdt_set()
85 ret = regmap_read(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, &tmp); in bd70528_wdt_set()
87 dev_err(bd70528->chip.dev, in bd70528_wdt_set()
107 struct bd70528_data *bd70528 = container_of(data, struct bd70528_data, in bd70528_wdt_lock() local
110 mutex_lock(&bd70528->rtc_timer_lock); in bd70528_wdt_lock()
124 struct bd70528_data *bd70528 = container_of(data, struct bd70528_data, in bd70528_wdt_unlock() local
127 mutex_unlock(&bd70528->rtc_timer_lock); in bd70528_wdt_unlock()
226 struct rohm_regmap_dev *bd70528; in bd70528_wdt_probe() local
[all …]
/Linux-v5.10/drivers/mfd/
Drohm-bd70528.c222 struct bd70528_data *bd70528; in bd70528_i2c_probe() local
231 bd70528 = devm_kzalloc(&i2c->dev, sizeof(*bd70528), GFP_KERNEL); in bd70528_i2c_probe()
232 if (!bd70528) in bd70528_i2c_probe()
235 mutex_init(&bd70528->rtc_timer_lock); in bd70528_i2c_probe()
237 dev_set_drvdata(&i2c->dev, &bd70528->chip); in bd70528_i2c_probe()
239 bd70528->chip.regmap = devm_regmap_init_i2c(i2c, &bd70528_regmap); in bd70528_i2c_probe()
240 if (IS_ERR(bd70528->chip.regmap)) { in bd70528_i2c_probe()
242 return PTR_ERR(bd70528->chip.regmap); in bd70528_i2c_probe()
266 ret = devm_regmap_add_irq_chip(&i2c->dev, bd70528->chip.regmap, in bd70528_i2c_probe()
282 ret = regmap_update_bits(bd70528->chip.regmap, in bd70528_i2c_probe()
DMakefile261 obj-$(CONFIG_MFD_ROHM_BD70528) += rohm-bd70528.o
/Linux-v5.10/drivers/gpio/
Dgpio-bd70528.c184 struct rohm_regmap_dev *bd70528; in bd70528_probe() local
187 bd70528 = dev_get_drvdata(pdev->dev.parent); in bd70528_probe()
188 if (!bd70528) { in bd70528_probe()
213 bdgpio->chip.regmap = bd70528->regmap; in bd70528_probe()
DMakefile41 obj-$(CONFIG_GPIO_BD70528) += gpio-bd70528.o
DKconfig1073 will be called gpio-bd70528.
/Linux-v5.10/Documentation/devicetree/bindings/mfd/
Drohm,bd70528-pmic.txt12 - compatible : Should be "rohm,bd70528"
24 Please see ../regulator/rohm,bd70528-regulator.txt
39 compatible = "rohm,bd70528";
45 clock-output-names = "bd70528-32k-out";
/Linux-v5.10/drivers/regulator/
Dbd70528-regulator.c247 struct rohm_regmap_dev *bd70528; in bd70528_probe() local
253 bd70528 = dev_get_drvdata(pdev->dev.parent); in bd70528_probe()
254 if (!bd70528) { in bd70528_probe()
259 config.regmap = bd70528->regmap; in bd70528_probe()
DMakefile31 obj-$(CONFIG_REGULATOR_BD70528) += bd70528-regulator.o
DKconfig197 will be called bd70528-regulator.
/Linux-v5.10/drivers/rtc/
Drtc-bd70528.c60 static int bd70528_set_wake(struct rohm_regmap_dev *bd70528, in bd70528_set_wake() argument
66 ret = regmap_read(bd70528->regmap, BD70528_REG_WAKE_EN, &ctrl_reg); in bd70528_set_wake()
85 return regmap_write(bd70528->regmap, BD70528_REG_WAKE_EN, in bd70528_set_wake()
89 static int bd70528_set_elapsed_tmr(struct rohm_regmap_dev *bd70528, in bd70528_set_elapsed_tmr() argument
107 ret = regmap_read(bd70528->regmap, BD70528_REG_ELAPSED_TIMER_EN, in bd70528_set_elapsed_tmr()
127 return regmap_write(bd70528->regmap, BD70528_REG_ELAPSED_TIMER_EN, in bd70528_set_elapsed_tmr()
DMakefile36 obj-$(CONFIG_RTC_DRV_BD70528) += rtc-bd70528.o
DKconfig511 will be called rtc-bd70528.
/Linux-v5.10/Documentation/devicetree/bindings/regulator/
Drohm,bd70528-regulator.txt9 Documentation/devicetree/bindings/mfd/rohm,bd70528-pmic.txt
/Linux-v5.10/drivers/power/supply/
DMakefile97 obj-$(CONFIG_CHARGER_BD70528) += bd70528-charger.o
DKconfig743 tristate "ROHM bd70528 charger driver"
/Linux-v5.10/
DMAINTAINERS15101 F: Documentation/devicetree/bindings/mfd/rohm,bd70528-pmic.txt
15102 F: Documentation/devicetree/bindings/regulator/rohm,bd70528-regulator.txt
15104 F: drivers/gpio/gpio-bd70528.c
15106 F: drivers/mfd/rohm-bd70528.c
15109 F: drivers/power/supply/bd70528-charger.c
15110 F: drivers/regulator/bd70528-regulator.c
15114 F: drivers/rtc/rtc-bd70528.c
15116 F: include/linux/mfd/rohm-bd70528.h