{"id":813496,"url":"http://patchwork.ozlabs.org/api/patches/813496/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1505318412-27121-3-git-send-email-patrice.chotard@st.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1505318412-27121-3-git-send-email-patrice.chotard@st.com>","list_archive_url":null,"date":"2017-09-13T16:00:05","name":"[U-Boot,v2,2/9] serial: stm32x7: add STM32H7 support","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"766ad1ef9b5117984c356f6bd11235b743d1fa30","submitter":{"id":63958,"url":"http://patchwork.ozlabs.org/api/people/63958/?format=json","name":"Patrice CHOTARD","email":"patrice.chotard@st.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1505318412-27121-3-git-send-email-patrice.chotard@st.com/mbox/","series":[{"id":2943,"url":"http://patchwork.ozlabs.org/api/series/2943/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2943","date":"2017-09-13T16:00:03","name":"Add STM32H7 SoC, Discovery and Evaluation board support","version":2,"mbox":"http://patchwork.ozlabs.org/series/2943/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/813496/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/813496/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsmc20163z9sBW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 14 Sep 2017 02:01:05 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid A8352C2249F; Wed, 13 Sep 2017 16:00:46 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 824B3C2237E;\n\tWed, 13 Sep 2017 16:00:22 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 06644C21EF4; Wed, 13 Sep 2017 16:00:19 +0000 (UTC)","from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com\n\t[91.207.212.93])\n\tby lists.denx.de (Postfix) with ESMTPS id B6194C21F0C\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 16:00:19 +0000 (UTC)","from pps.filterd (m0046661.ppops.net [127.0.0.1])\n\tby mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8DFwf3A017936; Wed, 13 Sep 2017 18:00:18 +0200","from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])\n\tby mx08-00178001.pphosted.com with ESMTP id 2cy58vgvun-1\n\t(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);\n\tWed, 13 Sep 2017 18:00:18 +0200","from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9])\n\tby beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 53C4631;\n\tWed, 13 Sep 2017 16:00:18 +0000 (GMT)","from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18])\n\tby zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 322132B2F;\n\tWed, 13 Sep 2017 16:00:18 +0000 (GMT)","from localhost (10.75.127.51) by SFHDAG6NODE3.st.com (10.75.127.18)\n\twith Microsoft SMTP Server (TLS) id 15.0.1178.4;\n\tWed, 13 Sep 2017 18:00:17 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"<patrice.chotard@st.com>","To":"<u-boot@lists.denx.de>, <albert.u.boot@aribaud.net>, <sjg@chromium.org>, \n\t<vikas.manocha@st.com>","Date":"Wed, 13 Sep 2017 18:00:05 +0200","Message-ID":"<1505318412-27121-3-git-send-email-patrice.chotard@st.com>","X-Mailer":"git-send-email 1.9.1","In-Reply-To":"<1505318412-27121-1-git-send-email-patrice.chotard@st.com>","References":"<1505318412-27121-1-git-send-email-patrice.chotard@st.com>","MIME-Version":"1.0","X-Originating-IP":"[10.75.127.51]","X-ClientProxiedBy":"SFHDAG7NODE2.st.com (10.75.127.20) To SFHDAG6NODE3.st.com\n\t(10.75.127.18)","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-13_04:, , signatures=0","Subject":"[U-Boot] [PATCH v2 2/9] serial: stm32x7: add STM32H7 support","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"From: Patrice Chotard <patrice.chotard@st.com>\n\nSTM32F7 and STM32H7 shares the same UART block, add\nSTM32H7 compatible string.\n\nSigned-off-by: Patrice Chotard <patrice.chotard@st.com>\n---\n drivers/serial/Kconfig          | 7 ++++---\n drivers/serial/serial_stm32x7.c | 2 ++\n 2 files changed, 6 insertions(+), 3 deletions(-)","diff":"diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig\nindex aeed538..0775d95 100644\n--- a/drivers/serial/Kconfig\n+++ b/drivers/serial/Kconfig\n@@ -524,10 +524,11 @@ config STI_ASC_SERIAL\n \n config STM32X7_SERIAL\n \tbool \"STMicroelectronics STM32 SoCs on-chip UART\"\n-\tdepends on DM_SERIAL && STM32F7\n+\tdepends on DM_SERIAL && (STM32F7 || STM32H7)\n \thelp\n-\t  If you have a machine based on a STM32 F7 you can enable its\n-\t  onboard serial ports, say Y to this option. If unsure, say N.\n+\t  If you have a machine based on a STM32 F7 or H7 SoC you can\n+\t  enable its onboard serial ports, say Y to this option.\n+\t  If unsure, say N.\n \n config MPC8XX_CONS\n \tbool \"Console driver for MPC8XX\"\ndiff --git a/drivers/serial/serial_stm32x7.c b/drivers/serial/serial_stm32x7.c\nindex bf118a7..2f4eafa 100644\n--- a/drivers/serial/serial_stm32x7.c\n+++ b/drivers/serial/serial_stm32x7.c\n@@ -112,6 +112,8 @@ static int stm32_serial_probe(struct udevice *dev)\n static const struct udevice_id stm32_serial_id[] = {\n \t{.compatible = \"st,stm32f7-usart\"},\n \t{.compatible = \"st,stm32f7-uart\"},\n+\t{.compatible = \"st,stm32h7-usart\"},\n+\t{.compatible = \"st,stm32h7-uart\"},\n \t{}\n };\n \n","prefixes":["U-Boot","v2","2/9"]}