devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] arm64: dts: stratix10: use "altr,stratix10-rst-mgr" binding
@ 2018-11-05 20:05 Dinh Nguyen
  2018-11-05 20:05 ` [PATCHv3 2/3] reset: socfpga: add an early reset driver for SoCFPGA Dinh Nguyen
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dinh Nguyen @ 2018-11-05 20:05 UTC (permalink / raw)
  To: p.zabel
  Cc: dinguyen, robh+dt, mark.rutland, devicetree, linux-kernel,
	Dinh Nguyen

From: Dinh Nguyen <dinh.nguyen@intel.com>

The standard reset-simple driver the uses the "altr,rst-mgr" binding is
not getting initialized early enough in the boot process, so timers
that the kernel needs are still left in reset. Thus an early
reset driver was created. This early reset driver is only for the
SoCFPGA 32-bit platform.

The Stratix10 platform does not need any of the timers that in reset to
boot, thus we don't need to early reset driver. Therefore, use the
"altr,stratix10-rst-mgr" binding for the reset-simple platform driver on
the Stratix10 platform.

Also remove the "altr,modrst-offset" property because the driver no
longer needs it.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index 8253a1a9e985..5f0b18ae5007 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -308,9 +308,8 @@
 
 		rst: rstmgr@ffd11000 {
 			#reset-cells = <1>;
-			compatible = "altr,rst-mgr";
+			compatible = "altr,stratix10-rst-mgr", "altr,rst-mgr";
 			reg = <0xffd11000 0x1000>;
-			altr,modrst-offset = <0x20>;
 		};
 
 		spi0: spi@ffda4000 {
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-11-15 14:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-05 20:05 [PATCH 1/3] arm64: dts: stratix10: use "altr,stratix10-rst-mgr" binding Dinh Nguyen
2018-11-05 20:05 ` [PATCHv3 2/3] reset: socfpga: add an early reset driver for SoCFPGA Dinh Nguyen
2018-11-13 14:02   ` Philipp Zabel
2018-11-05 20:05 ` [PATCH 3/3] ARM: socfpga: dts: document "altr,stratix10-rst-mgr" binding Dinh Nguyen
2018-11-15  9:32   ` Philipp Zabel
2018-11-15 14:34     ` Dinh Nguyen
2018-11-15  9:33 ` [PATCH 1/3] arm64: dts: stratix10: use " Philipp Zabel
2018-11-15 14:35   ` Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).