Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-pcf2123.c3 * An SPI driver for the Philips PCF2123 RTC
20 * .modalias = "rtc-pcf2123",
122 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()
[all …]
H A DMakefile127 obj-$(CONFIG_RTC_DRV_PCF2123) += rtc-pcf2123.o
H A DKconfig904 tristate "NXP PCF2123"
907 If you say yes here you get support for the NXP PCF2123
911 will be called rtc-pcf2123.
/linux/Documentation/devicetree/bindings/rtc/
H A Dnxp,pcf2123.yaml4 $id: http://devicetree.org/schemas/rtc/nxp,pcf2123.yaml#
7 title: NXP PCF2123 SPI Real Time Clock
19 - nxp,pcf2123
41 compatible = "nxp,pcf2123";
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6q-evi.dts137 compatible = "nxp,rtc-pcf2123";