]> git.baikalelectronics.ru Git - kernel.git/commit
clk: baikal-t1: Add DDR/PCIe directly controlled resets support
authorBaikal Electronics <support@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)
commit9d9117e9ac5db1a18afb179e623eb9796a80a8b9
tree189d7498a0d0be148567abf9757c107656fed7cc
parentd0f534422585ab48252346d90c41e467268c729c
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