]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf2123: port to regmap
authorDylan Howey <Dylan.Howey@tennantco.com>
Fri, 3 May 2019 19:52:10 +0000 (19:52 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 19 Jun 2019 14:20:22 +0000 (16:20 +0200)
commitfe1376c8ba47e570f5f73d3b39180c12ee54c122
treebbafe0675abef89a2cb6e952c33ea51b38f45994
parent882360a02dc9b983286339207409be12ec571a5a
rtc: pcf2123: port to regmap

Also remove pcf2123_delay_trec. This claimed to add a 30ns delay to SPI
writes, but I could not see any reference to this requirement in the
datasheet. Closest thing I could find to a requirement are timings for the
SPI chip enable line, which cannot be controlled by this driver (the ndelay
came after the call to spi_write_then_read, which means it would sleep
after CE has already gone inactive). Things seem to work fine without it.

Signed-off-by: Dylan Howey <Dylan.Howey@tennantco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf2123.c