Hi Alexandre, Il 08/05/2018 21:19, Alexandre Belloni ha scritto:
Hi, There is a sysfs interface for calibration, please use it. this is especially useful since the calibration value probably depend on temperature so it has to be updated dynamically to be really useful. See https://elixir.bootlin.com/linux/v4.16.7/source/Documentation/ABI/testing/sysfs-class-rtc#L68 and https://elixir.bootlin.com/linux/v4.16.7/source/drivers/rtc/interface.c#L999
Used sysfs now and just submitted V2 patchset. Thanks for pointing me those links. -- Giulio Benetti CTO MICRONOVA SRL Sede: Via A. Niedda 3 - 35010 Vigonza (PD) Tel. 049/8931563 - Fax 049/8931346 Cod.Fiscale - P.IVA 02663420285 Capitale Sociale € 26.000 i.v. Iscritta al Reg. Imprese di Padova N. 02663420285 Numero R.E.A. 258642 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html