]> git.itanic.dy.fi Git - linux-stable/commit
clk: baikal-t1: Add DDR/PCIe directly controlled resets support
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Thu, 29 Sep 2022 22:54:01 +0000 (01:54 +0300)
committerStephen Boyd <sboyd@kernel.org>
Fri, 30 Sep 2022 21:19:41 +0000 (14:19 -0700)
commitfa6bd541d786aa6db93bcddf23cea26fcfa859a3
tree189d7498a0d0be148567abf9757c107656fed7cc
parentc0cd3b1790df76049d1806100d6c744b757fe004
clk: baikal-t1: Add DDR/PCIe directly controlled resets support

Aside with a set of the trigger-like resets Baikal-T1 CCU provides two
additional blocks with directly controlled reset signals. In particular it
concerns DDR full and initial resets and various PCIe sub-domains resets.
Let's add the direct reset assertion/de-assertion of the corresponding
flags support into the Baikal-T1 CCU driver then. It will be required at
least for the PCIe platform driver. Obviously the DDR controller isn't
supposed to be fully reset in the kernel, so the corresponding controls
are added just for the sake of the interface implementation completeness.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20220929225402.9696-8-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/baikal-t1/ccu-rst.c
drivers/clk/baikal-t1/ccu-rst.h