[{"id":1769762,"web_url":"http://patchwork.ozlabs.org/comment/1769762/","msgid":"<CAPnjgZ0Ko77OVgUqXYVce2F4ZdKKuKtzPYK5PBD0==sg+q108A@mail.gmail.com>","list_archive_url":null,"date":"2017-09-17T17:53:06","subject":"Re: [U-Boot] [PATCH v2 2/9] serial: stm32x7: add STM32H7 support","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 13 September 2017 at 10:00,  <patrice.chotard@st.com> wrote:\n> From: Patrice Chotard <patrice.chotard@st.com>\n>\n> STM32F7 and STM32H7 shares the same UART block, add\n> STM32H7 compatible string.\n>\n> Signed-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(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>","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>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"H88yv4bo\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"Os/VmT4M\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwJ5K15yVz9s06\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 04:46:44 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 6C9FAC21CB6; Sun, 17 Sep 2017 18:46:43 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 00EEFC21E10;\n\tSun, 17 Sep 2017 17:55:33 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 6D711C21E0E; Sun, 17 Sep 2017 17:55:31 +0000 (UTC)","from mail-qt0-f169.google.com (mail-qt0-f169.google.com\n\t[209.85.216.169])\n\tby lists.denx.de (Postfix) with ESMTPS id 07156C21D63\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 17:53:29 +0000 (UTC)","by mail-qt0-f169.google.com with SMTP id f24so5770538qte.6\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 10:53:28 -0700 (PDT)","by 10.200.37.200 with HTTP; Sun, 17 Sep 2017 10:53:06 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=vSz2eVQx1EeB44vNUTN5buFx9gs2PIC3QN64m5WVALU=;\n\tb=H88yv4boQ9BPxW2RL+St5jfFbmRP5A3HagxGzCzz1Ngppaq0l+Dg1kSH4VEicmBPpr\n\traISY8hYUCwOU2HpLcQdHHHxVDWdAx0IPKP1CrFqrCoS40XZV5a1kS2rwyayTyvExZJ+\n\t3RxLGGiOhgX0hB9MezOtvV/08Y6FICaKfmWTnQkimLasefazWh8WM0tmfjobEsTBPavn\n\ttcdGawtuKJJStjy03xG0Ii9GPjn5k0/4Tem1ywWs092LqEEq2AfldHuLmLSu6uicNGjG\n\tr/vvsiPRp8fdvZJc/zA4FCeuaQeVmBoTkxmQZql1uLZv8rxjJR30gg+FDZq3pchKA7lA\n\tN3cA==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=vSz2eVQx1EeB44vNUTN5buFx9gs2PIC3QN64m5WVALU=;\n\tb=Os/VmT4M1OfrNuJePwWIpuxAVskCf1sV1aFyd7nbh+LArHfhIaYrM4MfsW6rj8OYBe\n\timubhb6TLJv2ZFRgJfInRcV245nPSebxQlpcIhseX/dE7vGAeNgyB+eF0XRkncZ4Ve8b\n\ta7C38Fh85xB95sOyaKHX0sQ6xzqGDm2O1wveU="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=vSz2eVQx1EeB44vNUTN5buFx9gs2PIC3QN64m5WVALU=;\n\tb=UVs5tsASDOn+0U/QkMvpRkl/xoLV6VXxRGVPfx+gMPlToOcwBgtj3x6rFZRutoZebW\n\tv0zXQry20yVgQLt1F0vm6nyzQx9b9/b06FMETpkuGoroonIBeP3TnSm8fqciQdTAEXIe\n\tuAVMPU8Rz5iDXoXdnO4VltBa0o0tp1bE+AD1B9T3Ds2vK5TeBhuobrUZFXU7ZLbrYH0t\n\tpfM/lK3hzk3FgoQlj8N7rl987bFzoyLqQvuWJV9AALw4PaXp0BecLaZQwGFYcvSudaSg\n\teNem17NUm7/eqzPnI49xuftlVfKxUpBcaLF0272EGf7cIST08FTMdbfSWMrR2Me/A/f5\n\tRLpw==","X-Gm-Message-State":"AHPjjUiZ63SYhWRZmG+R05K8niTF8uTPHbCKv6dSkMEpua+LL5qKMbeW\n\t/DShSxBAG2IY1fysd8+DgRh20EGC587/zkoLECi/bw==","X-Google-Smtp-Source":"AOwi7QAXhPThLLm2Bdupbc1DALu0GqlZEqZYjZlSKs85nCe2Pzczeftb7b2k0FaK9ejOZ8azrGYiFZoBaqZhacYZTu4=","X-Received":"by 10.200.5.132 with SMTP id a4mr47817707qth.318.1505670807785; \n\tSun, 17 Sep 2017 10:53:27 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1505318412-27121-3-git-send-email-patrice.chotard@st.com>","References":"<1505318412-27121-1-git-send-email-patrice.chotard@st.com>\n\t<1505318412-27121-3-git-send-email-patrice.chotard@st.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Sun, 17 Sep 2017 11:53:06 -0600","X-Google-Sender-Auth":"cgsEvCxdMP9Wax7Qwhd9DSvxyS8","Message-ID":"<CAPnjgZ0Ko77OVgUqXYVce2F4ZdKKuKtzPYK5PBD0==sg+q108A@mail.gmail.com>","To":"Patrice Chotard <patrice.chotard@st.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>,\n\tAlbert ARIBAUD <albert.u.boot@aribaud.net>","Subject":"Re: [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>"}},{"id":1770570,"web_url":"http://patchwork.ozlabs.org/comment/1770570/","msgid":"<d96fd564-db56-8fe9-e12c-8e1986f8990d@st.com>","list_archive_url":null,"date":"2017-09-18T22:40:02","subject":"Re: [U-Boot] [PATCH v2 2/9] serial: stm32x7: add STM32H7 support","submitter":{"id":64678,"url":"http://patchwork.ozlabs.org/api/people/64678/","name":"Vikas MANOCHA","email":"vikas.manocha@st.com"},"content":"Hi Patrice,\n\nOn 09/13/2017 09:00 AM, patrice.chotard@st.com wrote:\n> From: Patrice Chotard <patrice.chotard@st.com>\n> \n> STM32F7 and STM32H7 shares the same UART block, add\n> STM32H7 compatible string.\n> \n> Signed-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(-)\n> \n> diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig\n> index 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\"\n> diff --git a/drivers/serial/serial_stm32x7.c b/drivers/serial/serial_stm32x7.c\n> index 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\ntwo compatibles are consuming space & time without adding any value.\n\nCheers,\nVikas\n\n>  \t{}\n>  };\n>  \n>","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 3xx1ll5pm5z9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 09:04:03 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 7F615C21D57; Mon, 18 Sep 2017 23:03:56 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 52FBBC21C3F;\n\tMon, 18 Sep 2017 23:03:54 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid C65F3C21C3F; Mon, 18 Sep 2017 23:03:53 +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 83195C21C34\n\tfor <u-boot@lists.denx.de>; Mon, 18 Sep 2017 23:03:53 +0000 (UTC)","from pps.filterd (m0046660.ppops.net [127.0.0.1])\n\tby mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8IMxVTN011338; Tue, 19 Sep 2017 01:03:49 +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 2d23sb5th0-1\n\t(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);\n\tTue, 19 Sep 2017 01:03:49 +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 85E7131;\n\tMon, 18 Sep 2017 23:03:48 +0000 (GMT)","from Webmail-eu.st.com (sfhdag7node3.st.com [10.75.127.21])\n\tby zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 71B07F20;\n\tMon, 18 Sep 2017 23:03:48 +0000 (GMT)","from [10.41.39.36] (10.75.127.51) by SFHDAG7NODE3.st.com\n\t(10.75.127.21) with Microsoft SMTP Server (TLS) id 15.0.1178.4;\n\tTue, 19 Sep 2017 01:03:46 +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","To":"<patrice.chotard@st.com>, <u-boot@lists.denx.de>,\n\t<albert.u.boot@aribaud.net>, <sjg@chromium.org>","References":"<1505318412-27121-1-git-send-email-patrice.chotard@st.com>\n\t<1505318412-27121-3-git-send-email-patrice.chotard@st.com>","From":"Vikas Manocha <vikas.manocha@st.com>","Message-ID":"<d96fd564-db56-8fe9-e12c-8e1986f8990d@st.com>","Date":"Mon, 18 Sep 2017 15:40:02 -0700","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101\n\tThunderbird/45.3.0","MIME-Version":"1.0","In-Reply-To":"<1505318412-27121-3-git-send-email-patrice.chotard@st.com>","X-Originating-IP":"[10.75.127.51]","X-ClientProxiedBy":"SFHDAG7NODE2.st.com (10.75.127.20) To SFHDAG7NODE3.st.com\n\t(10.75.127.21)","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-18_11:, , signatures=0","Subject":"Re: [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>"}},{"id":1773673,"web_url":"http://patchwork.ozlabs.org/comment/1773673/","msgid":"<20170922141911.GJ30205@bill-the-cat>","list_archive_url":null,"date":"2017-09-22T14:19:11","subject":"Re: [U-Boot] [U-Boot,v2,2/9] serial: stm32x7: add STM32H7 support","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Wed, Sep 13, 2017 at 06:00:05PM +0200, patrice.chotard@st.com wrote:\n\n> From: Patrice Chotard <patrice.chotard@st.com>\n> \n> STM32F7 and STM32H7 shares the same UART block, add\n> STM32H7 compatible string.\n> \n> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>\n> Reviewed-by: Simon Glass <sjg@chromium.org>\n\nApplied to u-boot/master, thanks!","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>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"kP0YepTs\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xzGKp1DvTz9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 00:37:50 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid EBA38C220C8; Fri, 22 Sep 2017 14:23:42 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 1F4A9C2208E;\n\tFri, 22 Sep 2017 14:23:40 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 99CF2C22077; Fri, 22 Sep 2017 14:19:15 +0000 (UTC)","from mail-yw0-f169.google.com (mail-yw0-f169.google.com\n\t[209.85.161.169])\n\tby lists.denx.de (Postfix) with ESMTPS id D7EF3C22078\n\tfor <u-boot@lists.denx.de>; Fri, 22 Sep 2017 14:19:11 +0000 (UTC)","by mail-yw0-f169.google.com with SMTP id i6so833445ywc.9\n\tfor <u-boot@lists.denx.de>; Fri, 22 Sep 2017 07:19:11 -0700 (PDT)","from bill-the-cat ([2606:a000:1401:811b:5d8f:7fe1:3da9:ee9d])\n\tby smtp.gmail.com with ESMTPSA id\n\tg65sm1497469ywd.101.2017.09.22.07.19.09\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tFri, 22 Sep 2017 07:19:10 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=dGhKv3239H9Q1CmxF9HSLFiZJWjQt2pP9c5YYzGIiVY=;\n\tb=kP0YepTsvPhNyqUjbBr1qcnSJCJC+WBBCv6Sh6OwrWmstR5TVX3kC00iRjG0bEXVaM\n\tjePbh+Ehz0U7vdx2UaBN8xV0prMaoitt0Fs5ubBUaNDoBjmmv0BTYPdgHDt4AsE9SV0V\n\t8wLFzXvxjr3J85DAmJqginjcuYOQRDNsz+tOs=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=dGhKv3239H9Q1CmxF9HSLFiZJWjQt2pP9c5YYzGIiVY=;\n\tb=uO4cB00MOa4QpZdyPPUcNkIm2YH2p5afYlW82uHYVaf8kP7Dh+RnC//oE9pyNCarHn\n\td9Ppq3xx3Dr01vNupV6+7TlMng+0d4yUEOf+5rujC0LzT/K5sTr90ZM2jeyabNk7n0vE\n\tBY+2Kyxhi5vwLcZX+D+5tOyTPCpHGll+UMKovdAQUDIzVP0OnwgfsTbNp1Kb6jb+WQOB\n\tGvWhdy1/8PBKvslzRgUY/ovaYTL8uoq8ybDrsOmKEmtF+eAsLFWUzJyQMuH0euNCiHWm\n\tOO3jtXqUo4RM8Xoh4iWhD7yArQp25hXJoLCBVfsQsmgNZhGabHQxucOc8ddYKHHXeLzb\n\tH0Mg==","X-Gm-Message-State":"AHPjjUihqVktk2E6UniOoBkzJWifj9bW8BH8bzt3rn9ndMDWVCzF9unF\n\t7d6fdcE1I5YCBfdq+jXIQjMrBXZagFI=","X-Google-Smtp-Source":"AOwi7QD+k1kPu53YLM5CchYZMfTFWFu1RwWrjL1PlPHNhARWRgccdBc1axrTDKySNWTQaKAh+0XP1w==","X-Received":"by 10.37.61.134 with SMTP id k128mr3884519yba.171.1506089950621; \n\tFri, 22 Sep 2017 07:19:10 -0700 (PDT)","Date":"Fri, 22 Sep 2017 10:19:11 -0400","From":"Tom Rini <trini@konsulko.com>","To":"patrice.chotard@st.com","Message-ID":"<20170922141911.GJ30205@bill-the-cat>","References":"<1505318412-27121-3-git-send-email-patrice.chotard@st.com>","MIME-Version":"1.0","In-Reply-To":"<1505318412-27121-3-git-send-email-patrice.chotard@st.com>","User-Agent":"Mutt/1.5.21 (2010-09-15)","Cc":"u-boot@lists.denx.de","Subject":"Re: [U-Boot] [U-Boot,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":"multipart/mixed;\n\tboundary=\"===============4613662179822718509==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1774487,"web_url":"http://patchwork.ozlabs.org/comment/1774487/","msgid":"<bc53c332-ea3c-0f81-6ab2-dc268d77f6a8@st.com>","list_archive_url":null,"date":"2017-09-25T07:48:05","subject":"Re: [U-Boot] [PATCH v2 2/9] serial: stm32x7: add STM32H7 support","submitter":{"id":63958,"url":"http://patchwork.ozlabs.org/api/people/63958/","name":"Patrice CHOTARD","email":"patrice.chotard@st.com"},"content":"Hi Vikas\n\nOn 09/19/2017 12:40 AM, Vikas Manocha wrote:\n> Hi Patrice,\n> \n> On 09/13/2017 09:00 AM, patrice.chotard@st.com wrote:\n>> From: Patrice Chotard <patrice.chotard@st.com>\n>>\n>> STM32F7 and STM32H7 shares the same UART block, add\n>> STM32H7 compatible string.\n>>\n>> Signed-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(-)\n>>\n>> diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig\n>> index 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\"\n>> diff --git a/drivers/serial/serial_stm32x7.c b/drivers/serial/serial_stm32x7.c\n>> index 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> \n> two compatibles are consuming space & time without adding any value.\n\nAgree, i will send a series to remove the \"usart\" compatible as this \nseries has been already merged in u-boot/master\n\nThanks\n\nPatrice\n\n> \n> Cheers,\n> Vikas\n> \n>>   \t{}\n>>   };\n>>   \n>>","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 3y0x5x51khz9t1G\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 17:48:20 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid E1159C21D78; Mon, 25 Sep 2017 07:48:16 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E1093C21C50;\n\tMon, 25 Sep 2017 07:48:13 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 027A6C21C50; Mon, 25 Sep 2017 07:48:11 +0000 (UTC)","from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com\n\t[62.209.51.94]) by lists.denx.de (Postfix) with ESMTPS id 3CCADC21C2B\n\tfor <u-boot@lists.denx.de>; Mon, 25 Sep 2017 07:48:09 +0000 (UTC)","from pps.filterd (m0046668.ppops.net [127.0.0.1])\n\tby mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8P7iSoJ028728; Mon, 25 Sep 2017 09:48:06 +0200","from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])\n\tby mx07-00178001.pphosted.com with ESMTP id 2d5d2w9jp0-1\n\t(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);\n\tMon, 25 Sep 2017 09:48:06 +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 07FF23A;\n\tMon, 25 Sep 2017 07:48:05 +0000 (GMT)","from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17])\n\tby zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CBC3D142B;\n\tMon, 25 Sep 2017 07:48:05 +0000 (GMT)","from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG6NODE2.st.com\n\t(10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1178.4;\n\tMon, 25 Sep 2017 09:48:05 +0200","from SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6]) by\n\tSFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6%20]) with mapi id\n\t15.00.1178.000; Mon, 25 Sep 2017 09:48:05 +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 <patrice.chotard@st.com>","To":"Vikas MANOCHA <vikas.manocha@st.com>, \"u-boot@lists.denx.de\"\n\t<u-boot@lists.denx.de>, \"albert.u.boot@aribaud.net\"\n\t<albert.u.boot@aribaud.net>, \"sjg@chromium.org\" <sjg@chromium.org>","Thread-Topic":"[PATCH v2 2/9] serial: stm32x7: add STM32H7 support","Thread-Index":"AQHTLKllZOBAFLmD2UaaUxfjWnoCWKK7I0cAgAoHGwA=","Date":"Mon, 25 Sep 2017 07:48:05 +0000","Message-ID":"<bc53c332-ea3c-0f81-6ab2-dc268d77f6a8@st.com>","References":"<1505318412-27121-1-git-send-email-patrice.chotard@st.com>\n\t<1505318412-27121-3-git-send-email-patrice.chotard@st.com>\n\t<d96fd564-db56-8fe9-e12c-8e1986f8990d@st.com>","In-Reply-To":"<d96fd564-db56-8fe9-e12c-8e1986f8990d@st.com>","Accept-Language":"fr-FR, en-US","Content-Language":"en-US","X-MS-Has-Attach":"","X-MS-TNEF-Correlator":"","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","x-ms-exchange-messagesentrepresentingtype":"1","x-ms-exchange-transport-fromentityheader":"Hosted","x-originating-ip":"[10.75.127.50]","Content-ID":"<81339BD59561224C86DA49CE53EC1180@st.com>","MIME-Version":"1.0","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-25_03:, , signatures=0","Subject":"Re: [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>"}}]