i2c: uniphier: add suspend / resume support
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 31 Jul 2017 05:53:06 +0000 (14:53 +0900)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 12 Aug 2017 13:38:13 +0000 (15:38 +0200)
commit9f9d6a40108e93b8d913e82cd43eb081885fd9ca
treea96c76eebd6699e34a3ef737537586802b72bbfb
parent8dc0f8c73c54c9d1a7fe8188ef3e70123a960eaf
i2c: uniphier: 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.c