bus: sunxi-rsb: Implement runtime power management
authorSamuel Holland <samuel@sholland.org>
Sun, 3 Jan 2021 11:06:35 +0000 (05:06 -0600)
committerChen-Yu Tsai <wens@csie.org>
Wed, 6 Jan 2021 11:34:06 +0000 (19:34 +0800)
commit4a0dbc12e61823ece7172df953c3333c8f5f9222
treeb73d605db58d86e166b3afec3d46e877ab8b37f6
parent843107498f91e57d1d4b22cd8787112726fdaeb4
bus: sunxi-rsb: Implement runtime power management

Gate the clock to save power while the controller is idle.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/bus/sunxi-rsb.c