Home
last modified time | relevance | path

Searched refs:pcf2123 (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/rtc/
Drtc-pcf2123.c122 struct pcf2123_data *pcf2123 = dev_get_drvdata(dev); in pcf2123_read_offset() local
126 ret = regmap_read(pcf2123->map, PCF2123_REG_OFFSET, &reg); in pcf2123_read_offset()
152 struct pcf2123_data *pcf2123 = dev_get_drvdata(dev); in pcf2123_set_offset() local
172 return regmap_write(pcf2123->map, PCF2123_REG_OFFSET, (unsigned int)reg); in pcf2123_set_offset()
177 struct pcf2123_data *pcf2123 = dev_get_drvdata(dev); in pcf2123_rtc_read_time() local
181 ret = regmap_bulk_read(pcf2123->map, PCF2123_REG_SC, rxbuf, in pcf2123_rtc_read_time()
206 struct pcf2123_data *pcf2123 = dev_get_drvdata(dev); in pcf2123_rtc_set_time() local
213 ret = regmap_write(pcf2123->map, PCF2123_REG_CTRL1, CTRL1_STOP); in pcf2123_rtc_set_time()
226 ret = regmap_bulk_write(pcf2123->map, PCF2123_REG_SC, txbuf, in pcf2123_rtc_set_time()
232 ret = regmap_write(pcf2123->map, PCF2123_REG_CTRL1, CTRL1_CLEAR); in pcf2123_rtc_set_time()
[all …]
DMakefile122 obj-$(CONFIG_RTC_DRV_PCF2123) += rtc-pcf2123.o
DKconfig861 will be called rtc-pcf2123.
/linux-6.1.9/Documentation/devicetree/bindings/rtc/
Dnxp,rtc-2123.txt4 - compatible: should be: "nxp,pcf2123"
13 pcf2123: rtc@3 {
14 compatible = "nxp,pcf2123"
/linux-6.1.9/arch/arm/boot/dts/
Dimx6q-evi.dts137 compatible = "nxp,rtc-pcf2123";