Home
last modified time | relevance | path

Searched refs:ds1307 (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/rtc/
Drtc-ds1307.c106 struct ds1307 { struct
320 struct ds1307 *ds1307 = i2c_get_clientdata(client); in ds1307_irq() local
321 struct mutex *lock = &ds1307->rtc->ops_lock; in ds1307_irq()
340 rtc_update_irq(ds1307->rtc, 1, RTC_AF | RTC_IRQF); in ds1307_irq()
353 struct ds1307 *ds1307 = dev_get_drvdata(dev); in ds1307_get_time() local
357 tmp = ds1307->read_block_data(ds1307->client, in ds1307_get_time()
358 ds1307->offset, 7, ds1307->regs); in ds1307_get_time()
364 dev_dbg(dev, "%s: %7ph\n", "read", ds1307->regs); in ds1307_get_time()
366 t->tm_sec = bcd2bin(ds1307->regs[DS1307_REG_SECS] & 0x7f); in ds1307_get_time()
367 t->tm_min = bcd2bin(ds1307->regs[DS1307_REG_MIN] & 0x7f); in ds1307_get_time()
[all …]
DMakefile50 obj-$(CONFIG_RTC_DRV_DS1307) += rtc-ds1307.o
DKconfig213 will be called rtc-ds1307.
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/
Di2c.txt38 compatible = "dallas,ds1307";
/linux-4.4.14/arch/arm/boot/dts/
Dkirkwood-nas2big.dts109 compatible = "dallas,ds1307";
Dimx6q-tbs2910.dts194 rtc: ds1307@68 {
195 compatible = "dallas,ds1307";
Dam335x-nano.dts233 compatible = "dallas,ds1307";
/linux-4.4.14/arch/powerpc/boot/dts/
Dtqm5200.dts165 compatible = "dallas,ds1307";
Dhotfoot.dts129 compatible = "dallas,ds1307";
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Dtrivial-devices.txt40 dallas,ds1307 64 x 8, Serial, I2C Real-Time Clock