]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: omap: Support scratch registers
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 31 Oct 2017 16:27:31 +0000 (17:27 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 8 Nov 2017 06:52:15 +0000 (07:52 +0100)
commit05f1e268c78c0fef1215a8d355d8c69a81908e81
tree64ac32053e7ec187752e19e92e6b86ef897d1de9
parent0b661c45dd6f318e5d42ce51d3a9b90e76a6b5de
rtc: omap: Support scratch registers

Register an nvmem device to expose the 3 scratch registers (total of 12
bytes) to both userspace and kernel space.

Reviewed-by: Sekhar Nori <nsekhar@ti.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-omap.c