Hi,
I was trying to read scratch registers from rtc_omap platform driver by adding the ioctl call for scratch0 register read; and write a userspace program to get value from scratch0 register.
But, I always get the value as 0. Can you kindly provide me some hints by which I can read the rtc scratch registers from userspace ?
P.S: sysfs entries for scratch registers are not available from kernel 4.15 iirc.