]> 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)
commita2147b7f12b3bafd086c202fd3fd40d29f66b392
tree189d7498a0d0be148567abf9757c107656fed7cc
parenta39c8aec009108b45225315b73a20d3b97d68637
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