From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0B7230BF66 for ; Thu, 11 Jun 2026 19:43:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781207026; cv=none; b=TU8gS69YE8BgtF9RuVpmB+L7Rnh4RtP5q/D/jheroNN8+9/DE1R0n3JJzF5EM4neIe1+nfDhj2ePHRts/IbupfupmZ69QGcxOv9UazAuwRtqO/oIcUYKVZWeIYtmQ8wVazmR2r4nCtB3uav1X0WRHo2/SEhjrg+BJ+Pbl5h/3ZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781207026; c=relaxed/simple; bh=QjleCp4VyO35ivHHlQ0g5fkQ9JB1AsJoAloO8C5+uUg=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DwJUvFtVro8w6ei9YY71aifmoKZ/gMzZagesooC1n6O+URZFNr1vNu2Nycg9uFcNt0LnBMMIiLfvV+VZ/apaTtA83eM9tKAlhgin077VQMxaUWCAXhOJ4hALKMYbcXVkTXFvfk9TEUElaeO89k1vOs3gKkT4UOsHRLuMxtefRqI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=sF9SEcdj; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sF9SEcdj" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-45eee266c6cso161468f8f.1 for ; Thu, 11 Jun 2026 12:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781207023; x=1781811823; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=r1KQdWvhqEfny/utP9buNkNl2/nWXIxFcbLtKnInfxQ=; b=sF9SEcdjThrps97RL1+ivPFCGl3dxnEvfA6w9xR+ISPFzHGkee2cYyN0KCgCh1wJj5 CfyrgPveEGhBwMgWumBWPK3aWHy/yEEa+7UdctR4KlW2SAvD1oC4rH3yw5v8oCVcFd7K RH3BG3g3fyNhWhwgKPMwA9JvPAJHgt5Z1Sro3S9gYcB5/9juONgHO0QTBYXsgKUGoNj8 nQD2ntsBWswOYf4iZOqeL4xoHoQzOKYPD2o28uVb/XZjPgCBU289iaJpJ8bssDoon0yK bO+ixZ2M5EFdPUVAxfNHHkThTUfbuAKUjyvXclp2OrVmQ7xtn8Yu7y4+rz55YSPW60K0 /x0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781207023; x=1781811823; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=r1KQdWvhqEfny/utP9buNkNl2/nWXIxFcbLtKnInfxQ=; b=jo2FCsmgjjGwekHsp/CiBXF7UMfw9ETkLgwzOctnjWXMswAvi/kUj30ThM+UFqlAQh xkwFUQf8iOdheOW2x2ZW+uAd/MX5VKUIxTiXeS1FcrHvKdQtO6Dp17fMCtbWyEFhBQ33 DVswvfUwfo6i+M8Qu/9N4bTYDDyu6hP9newlOK5unrr/f2ZXFRTxClJLlWKhFPMhJH/d aXSVLx15hbrhYpB8PAtap59DWQsq8Hz1ot5ZYa5dhL2a1Y3tUgGr1muKWy/4t1Bkm2vY zLRBqfG/EJNwP9C7WDKmv+IFOGG7vkPy2egzfDa1T7bvKsalNN9cSsg2nOiasCW1Gl8W bpgw== X-Forwarded-Encrypted: i=1; AFNElJ90nUY5sUJno1F55Ib7vIxl8UlRG11v8DYwxZM6jj7fmRbBpslvbMdnVrjE2ijuPKi40slCmjTlLyrFWIU=@vger.kernel.org X-Gm-Message-State: AOJu0YwFfYDucgdrnJWaf54t21H3+AQiIkewbhbVCYCdtxsYKd7OD2dU YNExINfd2fPPkX5Tj+tlU5/NV5CJHDolPxqZOjobtkypPnoMj2fgmHo6 X-Gm-Gg: Acq92OEcZOBy5HcixbBBJ3YS5U/gXQpzZylmGQoxrlHonSotxarW7Ba8v6wm/sE3zI6 5X5HyihLr0HcS7LmoxfT+2OD/gnS5mgxIfWEbJYRzJgj9HadxfQwtbh4nzWoTTt5DZnhJb9NjSX ogLS116An48GNjQCE2jTiX+3HVzxo+y1lE/tmXYyrp6nj3tgcKOul6SBk/gkdflf4EYOENcYpfn TB9xTf0IHICdaC7f/GIxWWDuA4tI0xsuVXO1fUMpwmoMY9ElZa6/2GYxmANFYS0M2iVpjvsTE7+ 1gZvVQZQP2dMcR9k7XO139ocVnAA9HHwiR9rfSffx+YtfTnwvA8g9CMtLwgJeE3YARX01jDJFGH L5RK1K0DE/uR/hymLDyrALamAZ4WAkfozXej24jREotK1QMeWAD5/JD30nYgoE5wpXQ9LxAFDf4 IaSBBUYku/2rRpZj0tIPz5zULityEOUs+e5Kfr/jAwzTVOshbUvYW+L3OG44mL X-Received: by 2002:a05:6000:2911:b0:45e:eec6:5023 with SMTP id ffacd0b85a97d-460677ed2f4mr6812673f8f.37.1781207023291; Thu, 11 Jun 2026 12:43:43 -0700 (PDT) Received: from pumpkin (82-69-66-36.dsl.in-addr.zen.co.uk. [82.69.66.36]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4606c0f5164sm1211937f8f.21.2026.06.11.12.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2026 12:43:43 -0700 (PDT) Date: Thu, 11 Jun 2026 20:43:41 +0100 From: David Laight To: Ahmad Fatoum Cc: Alexandre Torgue , Maxime Coquelin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Leonard =?UTF-8?B?R8O2aHJz?= , Marc Kleine-Budde , Alexandre Torgue , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH 0/3] ARM: dts: stm32: lxa: change stdout-path baud rate from 9600 to 115200 Message-ID: <20260611204341.147f1afb@pumpkin> In-Reply-To: <20260611-lxa-stdout-path-baudrate-v1-0-59b60a5069ff@pengutronix.de> References: <20260611-lxa-stdout-path-baudrate-v1-0-59b60a5069ff@pengutronix.de> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; arm-unknown-linux-gnueabihf) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 11 Jun 2026 20:12:32 +0200 Ahmad Fatoum wrote: > The LXA boards are the only STM32 boards that set stdout-path = &uart* > instead of explicitly specifying a baud rate. > > This would mean the default of 9600 is used, but it goes unnoticed when > booting normally as barebox fixes up a console= line that includes a > baud rate. > > When EFI booting GRUB however, GRUB will not pass along the console= > line and thus the board ends up with a 9600 baud Linux console, > confusing users. Is it possible to determine the current baud rate (by reading the hardware register) and default to that value. Then if grub has initialised the uart the kernel will use the same baud rate. David > > This series fixes this. As the device trees were added at different > times, they are fixed each in a separate commit with its own Fixes: tag. > > --- > Ahmad Fatoum (3): > ARM: dts: stm32: lxa-mc1: change stdout-path baud rate from 9600 to 115200 > ARM: dts: stm32: lxa-tac: change stdout-path baud rate from 9600 to 115200 > ARM: dts: stm32: fairytux2: change stdout-path baud rate from 9600 to 115200 > > arch/arm/boot/dts/st/stm32mp153c-lxa-fairytux2.dtsi | 2 +- > arch/arm/boot/dts/st/stm32mp157c-lxa-mc1.dts | 2 +- > arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > --- > base-commit: 4549871118cf616eecdd2d939f78e3b9e1dddc48 > change-id: 20260611-lxa-stdout-path-baudrate-7cf454cdae07 > > Best regards, > -- > Ahmad Fatoum > >