On Tue, Jul 19, 2016 at 05:13:14PM +0200, Alexandre Belloni wrote: > Ok, seeing that, now I'm thinking that switching the ds1302 driver to > spi was a mistake and bitbanging in the driver was the right thing to > do. > What you introduced are two drivers instead of one and the abstraction > is actually getting worse. > So I'm thinking the best solution is to write a proper driver bitbanging > microwire (maybe in the SPI subsystem) that everybody could use, > including old architectures. That seems to make sense to me. We could probably accomodate in SPI, the programming model should be very similar so the microwire bit could be hidden in the driver.
Attachment:
signature.asc
Description: PGP signature