rtc: Add read8 and write8 support to isl1208 driver
authorTrent Piepho <tpiepho@impinj.com>
Thu, 31 May 2018 18:14:44 +0000 (11:14 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 8 Oct 2018 18:45:02 +0000 (14:45 -0400)
commit4a094725b4b1b51f67c526606dc4745c446fe4ea
tree222d9eeabc42bf83a0bc8098898f9041b1abee50
parent0a60a81ba3860946551cb79aa6486aa076e357f3
rtc: Add read8 and write8 support to isl1208 driver

This can be used for device register access from board code.

This allows access to capabilities in the RTC chip not abstracted in
U-Boot's RTC class.  E.g., device NVRAM or a tamper detection circuit.

Cc: Klaus Goger <klaus.goger@theobroma-systems.com>
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/rtc/isl1208.c