clk: mediatek: Register clock gate with device
authorWeiyi Lu <weiyi.lu@mediatek.com>
Mon, 2 Sep 2019 09:00:57 +0000 (17:00 +0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 17 Sep 2019 17:22:49 +0000 (10:22 -0700)
commite4c23e19aa2a611c2068f7c55487d2cbfea690ef
tree888003f6b330c012dc74a14c4fc43c4efbcdb078
parentf9e55ac22ce9246c085e1c97ddda93608ce17eaf
clk: mediatek: Register clock gate with device

Allow those clocks under a power domain to do the runtime pm operation
by forwarding the struct device pointer from clock provider.

Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
Link: https://lkml.kernel.org/r/1567414859-3244-2-git-send-email-weiyi.lu@mediatek.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-gate.c
drivers/clk/mediatek/clk-gate.h
drivers/clk/mediatek/clk-mtk.c
drivers/clk/mediatek/clk-mtk.h