Hi Ahmad! On Wed, 3 Nov 2021 at 20:39, Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> wrote: > > Hello Antony, > > On 03.11.21 18:35, Antony Pavlov wrote: > > Hi! > > > > I have made draft version of pcf85363 i2c rtc driver for barebox. > > I used drivers/rtc/rtc-pcf85363.c from linux kernel as a prototype. > > The linux driver uses REGMAP_I2C linux feature. Barebox has regmap > > framework, but no special i2c regmap features. > > There is d827f61e149b ("regmap: implement regmap_init_i2c") > since barebox v2021.07.0. What extra functionality are you missing? Many thanks for pointing on d827f61e149b, I have missed it in the maillist! At the moment I use v2021.06.0 as the base of my production branch. I'll try to upgrade my pcf85363 driver to use regmap_init_i2c and test it in a several days. -- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox