Re: [PATCH 6/7] rtc: davinci: add driver model support

2021-05-27 Thread Lokesh Vutla
On 07/05/21 9:45 am, Dario Binacchi wrote: > Update the driver to support the device tree and the driver model. > The read / write helpers in rtc_ops allow access to scratch registers > only. The offset parameter is added to the address of the scratch0 > register. > > Signed-off-by: Dario

[PATCH 6/7] rtc: davinci: add driver model support

2021-05-06 Thread Dario Binacchi
Update the driver to support the device tree and the driver model. The read / write helpers in rtc_ops allow access to scratch registers only. The offset parameter is added to the address of the scratch0 register. Signed-off-by: Dario Binacchi --- drivers/rtc/davinci.c | 373