[{"id":1769769,"web_url":"http://patchwork.ozlabs.org/comment/1769769/","msgid":"<CAPnjgZ2-96_9WPLu=t2KyNo6eYz7MbQcH29nvKg_n+3E=FYwTw@mail.gmail.com>","list_archive_url":null,"date":"2017-09-17T17:53:32","subject":"Re: [U-Boot] [PATCH v2 8/9] ARM: DTS: stm32: adapt stm32h7 dts\n\tfiles for U-boot","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> This patch adapts stm32h743 disco and eval dts files to match\n> with U-boot requirements or add features wich are not yet\n\nU-Boot (and below)\n\n> upstreamed on kernel side :\n>\n> _ Add RCC clock driver node and update all clocks phandle\n>   accordingly.\n>\n>   By default, on kernel side, all clocks was temporarly\n>   configured as a phandle to timer_clk waiting for a RCC\n>   clock driver to be available.\n>   On U-boot side, we now have a dedicated RCC clock driver, we\n>   can configured all clocks as phandle to this driver.\n>\n>   All this binding update will be available soon in a kernel tag,\n>   as all the bindings have been acked by Rob Herring [1].\n>\n>   [1] http://lkml.iu.edu/hypermail/linux/kernel/1704.0/00935.html\n>\n> _ Align STM32H7 serial compatible string with the one which will be\n>   available in next kernel tag. The bindings has been acked by\n>   Rob Herring [2].\n>   This compatible string will be usefull to add stm32h7 specific\n>   feature for this serial driver.\n>\n>   [2] https://lkml.org/lkml/2017/7/17/739\n>\n> _ Add gpio compatible and aliases for stm32h743\n>\n> _ Add FMC sdram node with associated new bindings value to\n>   manage second bank (ie bank 1).\n>\n> _ Add missing HSI and CSI oscillators nodes needed\n>   by STM32H7 RCC clock driver.\n>\n>   Clock sources could be:\n>         _ HSE (High Speed External)\n>         _ HSI (High Speed Internal)\n>         _ CSI (Low Power Internal)\n>\n>   These clocks can be used as clocksource in some configuration.\n>   By default, HSE is selected as clock source.\n>\n> _ Set HSE to 25Mhz for stm32h743i-disco and eval board\n>\n>   By default, the external oscillator frequency is defined at\n>   25 Mhz in SoC stm32h743.dtsi file.\n>   It has been set at 125 Mhz in kernel DT temporarly waiting for\n>   RCC clock driver becomes available.\n>\n>   As in U-boot we got a RCC clock driver, the real value of HSE\n>   clock can be used.\n>\n> _ Add \"u-boot,dm-pre-reloc\" for rcc, fmc, fixed-clock, pinctrl,\n>   pwrcfg and gpio nodes.\n>\n> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>\n> ---\n>  arch/arm/dts/stm32h7-u-boot.dtsi         |  88 ++++++++++++++++++++++++++\n>  arch/arm/dts/stm32h743-pinctrl.dtsi      | 102 +++++++++++++++++++++++++++----\n>  arch/arm/dts/stm32h743.dtsi              |  56 ++++++++++++++---\n>  arch/arm/dts/stm32h743i-disco.dts        |  35 +++++++++--\n>  arch/arm/dts/stm32h743i-eval.dts         |  34 +++++++++--\n>  include/dt-bindings/memory/stm32-sdram.h |   7 +++\n>  6 files changed, 294 insertions(+), 28 deletions(-)\n>  create mode 100644 arch/arm/dts/stm32h7-u-boot.dtsi\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=\"jP0H2Dvn\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"Oi3jE/3n\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwK4L57Lzz9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 05:30:57 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid D842AC21DA2; Sun, 17 Sep 2017 19:21:12 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 2ECD7C21E4C;\n\tSun, 17 Sep 2017 17:55:45 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 08BAAC21DEB; Sun, 17 Sep 2017 17:55:43 +0000 (UTC)","from mail-qk0-f182.google.com (mail-qk0-f182.google.com\n\t[209.85.220.182])\n\tby lists.denx.de (Postfix) with ESMTPS id 3B68CC21D8C\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 17:53:54 +0000 (UTC)","by mail-qk0-f182.google.com with SMTP id a128so5602136qkc.5\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 10:53:54 -0700 (PDT)","by 10.200.37.200 with HTTP; Sun, 17 Sep 2017 10:53:32 -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=VgZaqw4dJqEBOLoTtoRbh61CV5Rq15HESqgPAuk1Lbs=;\n\tb=jP0H2DvnhTKiGRuoS4shgQTaX10gYQ2ikeNVEUaL9J1W4U+4us5U6ozmvLn0IvOOrh\n\tUbis1i/6+DQgnyCpWhLx/EM4q6tVwtlOGa1iwfuYY/4vIwocMeuUrqN3YRDvbNAXetR+\n\tvC4lFQ564rUaa0Eg42i5e5NzTj/1QIdhsxGioEcKu91CfyYWUQg7q18E+SLjcQC8N9RT\n\tAw/ZtWQCS75A73eVgnfHEWRgSVfbfavjsoJ1diY6BN3j9xj3bq14vZvkRzQIWcmGpYxS\n\tDOcC83D/iej0qtqZsqEAMgohwFWor5YQTnfdhxZG0kkqOWQWJloOIjZHdEG5FCzTfejw\n\tnksA==","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=VgZaqw4dJqEBOLoTtoRbh61CV5Rq15HESqgPAuk1Lbs=;\n\tb=Oi3jE/3nbIoTjTe8LKxZ0rxxkKSfM7AP6PhPUxpXcBTSHjR9tPZL3x0E39BcyH1tzI\n\tEj6JkfH7LNMmlOwg+Tqd2V6BZs9f0oKEQG3gg5kUvlpicPJ2hKQIrV6emNw1DakB2pA+\n\tu2YRNbPizWOYKua+momhsNAVHSVDamxK9lu8c="],"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=VgZaqw4dJqEBOLoTtoRbh61CV5Rq15HESqgPAuk1Lbs=;\n\tb=rWHlsXNtt/xROV4TVvB2JDTyCWBNoGPWjzUJcxKchkde6FMJGcifhx0h3xCLJvc0V/\n\taMSeua6tRd53Ga/Ub8jxOoKDQtJTCR6Io2qkq/shK4djDSsO27WrDuPmNdKVeOcnnhrE\n\tBTLLbKUPTk5dITiS4mGxURF2jkDI0KvG8kc3bpB+N49H07OB0ZN6uBegwrW/azh3x6l5\n\tdRFwI1ObOCtQHUCKiDFtiK/Z49R4m4XrqXweDOdpVGMw21dUAkJ+zjQ30yR0fKqkn2ZL\n\tfv0YPpiYBUiqTtGJL1SRFbiB2iBBtjejAE3XgCeZ0FWbwn2/1xzTzMhrb+Tory6Y+7Ne\n\ts6bQ==","X-Gm-Message-State":"AHPjjUgTEsHHwPNfOMX4902I/TTTG+rprYl8DtDNW/bc+pJ9aya7VUBL\n\tH7FEyrY6jmHWwA2hnGki6i/NF7ODWPG0koc5cnrTaw==","X-Google-Smtp-Source":"AOwi7QCbGSGvTx1CVnEost9mwrWkCQGPz0uMQAm2Uo+VmjgV3NaHzsqHloo54MBeqLz+E6w1uafJLZ6B0kCFp7HhRXA=","X-Received":"by 10.55.33.216 with SMTP id f85mr17451797qki.176.1505670832874; \n\tSun, 17 Sep 2017 10:53:52 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1505318412-27121-9-git-send-email-patrice.chotard@st.com>","References":"<1505318412-27121-1-git-send-email-patrice.chotard@st.com>\n\t<1505318412-27121-9-git-send-email-patrice.chotard@st.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Sun, 17 Sep 2017 11:53:32 -0600","X-Google-Sender-Auth":"OA9YXKDtMiFxbpZAWUKo3uxT5rk","Message-ID":"<CAPnjgZ2-96_9WPLu=t2KyNo6eYz7MbQcH29nvKg_n+3E=FYwTw@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 8/9] ARM: DTS: stm32: adapt stm32h7 dts\n\tfiles for U-boot","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":1773651,"web_url":"http://patchwork.ozlabs.org/comment/1773651/","msgid":"<20170922141940.GP30205@bill-the-cat>","list_archive_url":null,"date":"2017-09-22T14:19:40","subject":"Re: [U-Boot] [U-Boot, v2,\n\t8/9] ARM: DTS: stm32: adapt stm32h7 dts files for U-boot","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:11PM +0200, patrice.chotard@st.com wrote:\n\n> From: Patrice Chotard <patrice.chotard@st.com>\n> \n> This patch adapts stm32h743 disco and eval dts files to match\n> with U-boot requirements or add features wich are not yet\n> upstreamed on kernel side :\n> \n> _ Add RCC clock driver node and update all clocks phandle\n>   accordingly.\n> \n>   By default, on kernel side, all clocks was temporarly\n>   configured as a phandle to timer_clk waiting for a RCC\n>   clock driver to be available.\n>   On U-boot side, we now have a dedicated RCC clock driver, we\n>   can configured all clocks as phandle to this driver.\n> \n>   All this binding update will be available soon in a kernel tag,\n>   as all the bindings have been acked by Rob Herring [1].\n> \n>   [1] http://lkml.iu.edu/hypermail/linux/kernel/1704.0/00935.html\n> \n> _ Align STM32H7 serial compatible string with the one which will be\n>   available in next kernel tag. The bindings has been acked by\n>   Rob Herring [2].\n>   This compatible string will be usefull to add stm32h7 specific\n>   feature for this serial driver.\n> \n>   [2] https://lkml.org/lkml/2017/7/17/739\n> \n> _ Add gpio compatible and aliases for stm32h743\n> \n> _ Add FMC sdram node with associated new bindings value to\n>   manage second bank (ie bank 1).\n> \n> _ Add missing HSI and CSI oscillators nodes needed\n>   by STM32H7 RCC clock driver.\n> \n>   Clock sources could be:\n> \t_ HSE (High Speed External)\n> \t_ HSI (High Speed Internal)\n> \t_ CSI (Low Power Internal)\n> \n>   These clocks can be used as clocksource in some configuration.\n>   By default, HSE is selected as clock source.\n> \n> _ Set HSE to 25Mhz for stm32h743i-disco and eval board\n> \n>   By default, the external oscillator frequency is defined at\n>   25 Mhz in SoC stm32h743.dtsi file.\n>   It has been set at 125 Mhz in kernel DT temporarly waiting for\n>   RCC clock driver becomes available.\n> \n>   As in U-boot we got a RCC clock driver, the real value of HSE\n>   clock can be used.\n> \n> _ Add \"u-boot,dm-pre-reloc\" for rcc, fmc, fixed-clock, pinctrl,\n>   pwrcfg and gpio nodes.\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=\"KOEEGuMP\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xzG5z4qj3z9t16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 00:27:35 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 3922FC22088; Fri, 22 Sep 2017 14:26:24 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BC56CC2209C;\n\tFri, 22 Sep 2017 14:26:19 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid A7759C22074; Fri, 22 Sep 2017 14:19:46 +0000 (UTC)","from mail-yw0-f177.google.com (mail-yw0-f177.google.com\n\t[209.85.161.177])\n\tby lists.denx.de (Postfix) with ESMTPS id 543F5C21D56\n\tfor <u-boot@lists.denx.de>; Fri, 22 Sep 2017 14:19:41 +0000 (UTC)","by mail-yw0-f177.google.com with SMTP id s62so838652ywg.0\n\tfor <u-boot@lists.denx.de>; Fri, 22 Sep 2017 07:19:41 -0700 (PDT)","from bill-the-cat ([2606:a000:1401:811b:5d8f:7fe1:3da9:ee9d])\n\tby smtp.gmail.com with ESMTPSA id\n\td127sm1568957ywe.13.2017.09.22.07.19.39\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tFri, 22 Sep 2017 07:19:39 -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=nBBlaGH81S9+AJZASdA8XrhxHiiC/wE4Y3Oqx7m8xQw=;\n\tb=KOEEGuMP+bxxcxziOqxbTzrRGOFDJJcGKzgmbEYOSbjiNR0a2HngTWv2sc2iPEClJB\n\tkSpW4DbuNQPrO3RIBuET46E0d2Y0V0UE7E9oxKpO0lp2GAatMxmzQr6Wdm0X+42RkFok\n\tv5Qd9RJ89CGC37hfEFAehj17YRDW+vfmjtvtQ=","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=nBBlaGH81S9+AJZASdA8XrhxHiiC/wE4Y3Oqx7m8xQw=;\n\tb=gH3fRkFzgMGHZz3UHNvSxPzqM+bkg56Ewlep+jfnqygWLTvicLuh7H7msrCIMY/oSB\n\taOa2oNyyUijHQM2XXuE6SFYyHzIy3rgjVLlcDDvrSOjeb9wlDnal3MnEaR0qA/9rQ4jD\n\t1vH3rT8Pug/nc0O29pUJbDurGW0VpvR2QuwWfoviAj0B8QrXTUB/w5EsXqiWjxg13iNG\n\tyjVMZIrRWrN8d4Xh0C4/6TE5WVoPDClHWvgItqq+P7eI7pdzDaATRGf1tYI9V4TSoITC\n\tuC2wycJ8yJB3nsEX0qA63Nyet4EjEQ0F/I041WFPHM3gcfU/Rb1ne/Ca8JmJbSAKMJN1\n\t0b8w==","X-Gm-Message-State":"AHPjjUgNXCNFEqvC0l98HoLZcPUV9TYsVveRi0WvUs9aqa07GvdKYh5B\n\t21fKR4E9qbwmaDhT2Fl0zGSegY6KA1U=","X-Google-Smtp-Source":"AOwi7QCrCi9KBV2YYleIXTkteb9CI8uYYJVAIrEPjnKO2Z3WeNcQEsl9buX7TFSjU40g0dyeY0XN3A==","X-Received":"by 10.129.159.17 with SMTP id w17mr3848324ywg.22.1506089980201; \n\tFri, 22 Sep 2017 07:19:40 -0700 (PDT)","Date":"Fri, 22 Sep 2017 10:19:40 -0400","From":"Tom Rini <trini@konsulko.com>","To":"patrice.chotard@st.com","Message-ID":"<20170922141940.GP30205@bill-the-cat>","References":"<1505318412-27121-9-git-send-email-patrice.chotard@st.com>","MIME-Version":"1.0","In-Reply-To":"<1505318412-27121-9-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,\n\t8/9] ARM: DTS: stm32: adapt stm32h7 dts files for U-boot","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=\"===============6464362134321836845==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]