i2c: uniphier-f: add suspend / resume support
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 31 Jul 2017 05:53:07 +0000 (14:53 +0900)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 12 Aug 2017 13:38:23 +0000 (15:38 +0200)
commit822c8d45a170312e368271c3c8f43d49cac863a2
treec8a5e04f393f302a0364e909bbcb9b69421a991b
parent9f9d6a40108e93b8d913e82cd43eb081885fd9ca
i2c: uniphier-f: add suspend / resume support

When resuming, set up registers that have been lost in the sleep state.
Also, add clock handling in the resume / suspend hooks.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-uniphier-f.c