• Dylan Howey's avatar
    rtc: pcf2123: port to regmap · 790d0339
    Dylan Howey authored
    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: default avatarDylan Howey <Dylan.Howey@tennantco.com>
    Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
    790d0339
rtc-pcf2123.c 9.92 KB