Lines Matching full:rn5t618
3 * Watchdog driver for Ricoh RN5T618 PMIC
9 #include <linux/mfd/rn5t618.h>
14 #define DRIVER_NAME "rn5t618-wdt"
28 struct rn5t618 *rn5t618; member
61 ret = regmap_update_bits(wdt->rn5t618->regmap, RN5T618_WATCHDOG, in rn5t618_wdt_set_timeout()
80 ret = regmap_update_bits(wdt->rn5t618->regmap, RN5T618_REPCNT, in rn5t618_wdt_start()
87 ret = regmap_update_bits(wdt->rn5t618->regmap, RN5T618_WATCHDOG, in rn5t618_wdt_start()
94 return regmap_update_bits(wdt->rn5t618->regmap, RN5T618_PWRIREN, in rn5t618_wdt_start()
103 return regmap_update_bits(wdt->rn5t618->regmap, RN5T618_WATCHDOG, in rn5t618_wdt_stop()
114 ret = regmap_read(wdt->rn5t618->regmap, RN5T618_WATCHDOG, &val); in rn5t618_wdt_ping()
118 ret = regmap_write(wdt->rn5t618->regmap, RN5T618_WATCHDOG, val); in rn5t618_wdt_ping()
123 return regmap_update_bits(wdt->rn5t618->regmap, RN5T618_PWRIRQ, in rn5t618_wdt_ping()
144 struct rn5t618 *rn5t618 = dev_get_drvdata(dev->parent); in rn5t618_wdt_probe() local
157 wdt->rn5t618 = rn5t618; in rn5t618_wdt_probe()
166 ret = regmap_read(wdt->rn5t618->regmap, RN5T618_POFFHIS, &val); in rn5t618_wdt_probe()
193 MODULE_ALIAS("platform:rn5t618-wdt");
195 MODULE_DESCRIPTION("RN5T618 watchdog driver");