Home
last modified time | relevance | path

Searched full:rv3032 (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/rtc/
Drtc-rv3032.c3 * RTC driver for the Micro Crystal RV3032
117 static int rv3032_exit_eerd(struct rv3032_data *rv3032, u32 eerd) in rv3032_exit_eerd() argument
122 return regmap_update_bits(rv3032->regmap, RV3032_CTRL1, RV3032_CTRL1_EERD, 0); in rv3032_exit_eerd()
125 static int rv3032_enter_eerd(struct rv3032_data *rv3032, u32 *eerd) in rv3032_enter_eerd() argument
130 ret = regmap_read(rv3032->regmap, RV3032_CTRL1, &ctrl1); in rv3032_enter_eerd()
138 ret = regmap_update_bits(rv3032->regmap, RV3032_CTRL1, in rv3032_enter_eerd()
143 ret = regmap_read_poll_timeout(rv3032->regmap, RV3032_TLSB, status, in rv3032_enter_eerd()
147 rv3032_exit_eerd(rv3032, *eerd); in rv3032_enter_eerd()
155 static int rv3032_update_cfg(struct rv3032_data *rv3032, unsigned int reg, in rv3032_update_cfg() argument
161 ret = rv3032_enter_eerd(rv3032, &eerd); in rv3032_update_cfg()
[all …]
DMakefile144 obj-$(CONFIG_RTC_DRV_RV3032) += rtc-rv3032.o
DKconfig673 tristate "Micro Crystal RV3032"
677 RV3032.
680 will be called rtc-rv3032.
/Linux-v5.10/Documentation/devicetree/bindings/rtc/
Dmicrocrystal,rv3032.yaml4 $id: http://devicetree.org/schemas/rtc/microcrystal,rv3032.yaml#
17 const: microcrystal,rv3032
54 compatible = "microcrystal,rv3032";