Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3869625ybl; Mon, 3 Feb 2020 08:04:53 -0800 (PST) X-Google-Smtp-Source: APXvYqxp9fzpwl2WrrWSE3kzRR87hk8M16kTt/aOVUMv1bf+vx90tUwETJdth/Fon/pk+Vurn9DG X-Received: by 2002:a05:6808:ab1:: with SMTP id r17mr14458563oij.141.1580745892957; Mon, 03 Feb 2020 08:04:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580745892; cv=none; d=google.com; s=arc-20160816; b=jHQxJRNkUZmJRQrufNjkUiX6QRQ87anRkPROLwUjtHANwilXrE32mIQkATT0srWaRX vSugckm2dsJlPdS52tyLptbGMnq/YdA0PJmADPZi+wB6+jBfAEUcduyEWRZ2gOc8/rRE W72Zad43REwVtWXcGKyQjcJkDyfCJSdvIu/x875stNZf+wTDlDjAq+xW/DkKM1vBfGIu IRAib2PI6RVugqVMxzMPh0c/Mi57TydI2HMe1LQcAwYSXX1xfYQuMF0GZ6GFIK8Dsda6 LhduqmjktDW5+IixSMPCabDTVd8YiYrBeNCaq/Erb0scPizBdArrfWvd+CY9PrBctJ48 OxUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=ViJ0uu31Mf4rs+Bz45YQEc14NjEainPuHcdaoA+GRO4=; b=OtQw+/XORgsXRk5H3QD2sx66VcMQe+iQ4C3aLBdGsDFyKRbl+XHX+OmCLMPv3cCoVd WFnPokh7DpSA3sQW58Yq+5+EMCSGTmWWN1p2OAWo2ANxvMkqF5u8hWxalCzHPHixRXxy mbQBIPWKD6a+JNSiFeHQ2IgQ6nFYTJaCKn0XSS/W4nOVhqpnGTGjwvEKZsIOxNvpvxT5 HnXyc+fWf5qBvotHIHosnAePUw0qsWKgARy/9D8d2w/IGdRHzfcE25RWFkSMYgyoIzCS lzxYk9WBkQYXAHr+G00HpWPLft6n6ecs+AvpZHUkY09tPhEhBf1hZWOLTkq0foe4PYXK 2Cig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=0YacjzIe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p14si10371362ota.71.2020.02.03.08.04.34; Mon, 03 Feb 2020 08:04:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=0YacjzIe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727662AbgBCOEz (ORCPT + 99 others); Mon, 3 Feb 2020 09:04:55 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:53139 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbgBCOEz (ORCPT ); Mon, 3 Feb 2020 09:04:55 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 013E3d10002251; Mon, 3 Feb 2020 15:04:32 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=ViJ0uu31Mf4rs+Bz45YQEc14NjEainPuHcdaoA+GRO4=; b=0YacjzIe6zCCjUB2MyzaOi3+IXuy4ZVr/AWweXpdov01B6iZsdvGGzcf+kaTybgERuLy +jxfZrTRRfGH3Dt99maMvOTjlrxuVcuASmQRD9HHFeERmQvfKveoF3ZPdTGvvzwq9wtw v3Py/VuKT1H2GuV/r54AKb+6g5h9kcY3BelnGBRyBLAVEV2qztLMWzhvvFCmZ+Gxc5Te ub1tGgphpwXLgDc89YyWxRco9HXS4JjQZbwvxZSmR07Gepd9VkcX2wVwipBP9tuR0OYL PGdk5L2gHLkOCTihO5/XHjWuk4une+vPcW+INKJhD2WS7VhUOpWECF65KLJoKGlLuq/K iw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2xw0011ftw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Feb 2020 15:04:32 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1F9EA10002A; Mon, 3 Feb 2020 15:04:30 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 247DE2AAB7A; Mon, 3 Feb 2020 15:04:30 +0100 (CET) Received: from localhost (10.75.127.46) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 3 Feb 2020 15:04:29 +0100 From: Erwan Le Ray To: Russell King , Maxime Coquelin , Alexandre Torgue , Arnd Bergmann , Linus Walleij , Olof Johansson CC: , , , Sascha Hauer , Geert Uytterhoeven , Nathan Huckleberry , Gerald Baeza , Erwan Le Ray , Clement Peron , Fabrice Gasnier Subject: [PATCH v3 0/4] STM32 early console Date: Mon, 3 Feb 2020 15:04:21 +0100 Message-ID: <20200203140425.26579-1-erwan.leray@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG3NODE1.st.com (10.75.127.7) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-02-03_04:2020-02-02,2020-02-03 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add UART instance configuration to STM32 F4 and F7 early console. Add STM32 H7 and MP1 early console support. Changes in v3: - fix a missing condition for STM32MP1 Changes in v2: - split "[PATCH] ARM: debug: stm32: add UART early console configuration" into separate patches as suggested by Clement into [1] [1] https://lkml.org/lkml/2019/4/10/199 Erwan Le Ray (4): ARM: debug: stm32: add UART early console configuration for STM32F4 ARM: debug: stm32: add UART early console configuration for STM32F7 ARM: debug: stm32: add UART early console support for STM32H7 ARM: debug: stm32: add UART early console support for STM32MP1 arch/arm/Kconfig.debug | 42 +++++++++++++++++++++++++++++----- arch/arm/include/debug/stm32.S | 9 ++++---- 2 files changed, 40 insertions(+), 11 deletions(-) -- 2.17.1