]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sifive: Use reset-simple in prci driver for PCIe driver
authorGreentime Hu <greentime.hu@sifive.com>
Tue, 4 May 2021 10:59:36 +0000 (18:59 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 4 May 2021 11:26:09 +0000 (12:26 +0100)
commit1d1e75dd4905a19aebaa75625366107937142c9b
treebae18efe298c9840623027e754f2485213db5ef1
parentba4379ff8376708afa99720a5fcf78dae5dd2ef7
clk: sifive: Use reset-simple in prci driver for PCIe driver

We use reset-simple in this patch so that pcie driver can use
devm_reset_control_get() to get this reset data structure and use
reset_control_deassert() to deassert pcie_power_up_rst_n.

Link: https://lore.kernel.org/r/20210504105940.100004-3-greentime.hu@sifive.com
Signed-off-by: Greentime Hu <greentime.hu@sifive.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sifive/Kconfig
drivers/clk/sifive/sifive-prci.c
drivers/clk/sifive/sifive-prci.h
drivers/reset/Kconfig