mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: barebox@lists.infradead.org, Sascha Hauer <s.hauer@pengutronix.de>
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>,
	 Bruno Knittel <bruno.knittel@bruker.com>
Subject: [PATCH 1/2] ARM: socfpga: arria10-reset-manager: release UART0
Date: Fri, 14 Nov 2025 08:23:15 +0100	[thread overview]
Message-ID: <20251114-v2025-11-0-topic-socfpga-arria10-v1-1-e091cddacea5@pengutronix.de> (raw)
In-Reply-To: <20251114-v2025-11-0-topic-socfpga-arria10-v1-0-e091cddacea5@pengutronix.de>

From: Bruno Knittel <bruno.knittel@bruker.com>

UART0 is also a dedictated peripheral. Release from reset to have
earlier serial for debugging.

Signed-off-by: Bruno Knittel <bruno.knittel@bruker.com>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/mach-socfpga/arria10-reset-manager.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-socfpga/arria10-reset-manager.c b/arch/arm/mach-socfpga/arria10-reset-manager.c
index 6f209e7045..01534cd74b 100644
--- a/arch/arm/mach-socfpga/arria10-reset-manager.c
+++ b/arch/arm/mach-socfpga/arria10-reset-manager.c
@@ -86,6 +86,7 @@ void arria10_reset_deassert_dedicated_peripherals(void)
 	mask = ARRIA10_RSTMGR_PER1MODRST_I2C3 |
 	       ARRIA10_RSTMGR_PER1MODRST_I2C4 |
 	       ARRIA10_RSTMGR_PER1MODRST_I2C2 |
+	       ARRIA10_RSTMGR_PER1MODRST_UART0 |
 	       ARRIA10_RSTMGR_PER1MODRST_UART1 |
 	       ARRIA10_RSTMGR_PER1MODRST_GPIO2;
 	clrbits_le32(ARRIA10_RSTMGR_ADDR + ARRIA10_RSTMGR_PER1MODRST, mask);

-- 
2.46.0




  reply	other threads:[~2025-11-14  7:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-14  7:23 [PATCH 0/2] ARM: socfpga: arria10: earlier debug output Steffen Trumtrar
2025-11-14  7:23 ` Steffen Trumtrar [this message]
2025-11-14  7:23 ` [PATCH 2/2] ARM: socfpga: arria10-init: setup uart earlier Steffen Trumtrar
2025-11-17  8:37 ` [PATCH 0/2] ARM: socfpga: arria10: earlier debug output Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251114-v2025-11-0-topic-socfpga-arria10-v1-1-e091cddacea5@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=bruno.knittel@bruker.com \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox