[{"id":1769764,"web_url":"http://patchwork.ozlabs.org/comment/1769764/","msgid":"<CAPnjgZ2oH7HmHFhn+=57+wye4664cUMaw1GaAgUvpKYAKy-D4Q@mail.gmail.com>","list_archive_url":null,"date":"2017-09-17T17:53:16","subject":"Re: [U-Boot] [PATCH v2 4/9] dm: reset: add stm32 reset driver","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 driver is adapted from linux drivers/reset/reset-stm32.c\n> It's compatible with STM32 F4/F7/H7 SoCs.\n>\n> This driver doesn't implement .of_match as it's binded\n> by MFD RCC driver.\n>\n> To add support for each SoC family, a SoC's specific\n> include/dt-binfings/mfd/stm32xx-rcc.h file must be added.\n>\n> This patch only includes stm32h7-rcc.h dedicated for STM32H7 SoCs.\n> Other SoCs support will be added in the future.\n>\n> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>\n> ---\n>  doc/device-tree-bindings/reset/st,stm32-rcc.txt |   6 ++\n>  drivers/reset/Kconfig                           |   7 ++\n>  drivers/reset/Makefile                          |   1 +\n>  drivers/reset/stm32-reset.c                     |  80 ++++++++++++++\n>  include/dt-bindings/mfd/stm32h7-rcc.h           | 138 ++++++++++++++++++++++++\n>  5 files changed, 232 insertions(+)\n>  create mode 100644 doc/device-tree-bindings/reset/st,stm32-rcc.txt\n>  create mode 100644 drivers/reset/stm32-reset.c\n>  create mode 100644 include/dt-bindings/mfd/stm32h7-rcc.h\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=\"s1ZE2eJP\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"RL4mk96M\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwJLr1xVCz9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 04:58:26 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid B0C2CC21DAA; Sun, 17 Sep 2017 18:58:22 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id F328BC21E27;\n\tSun, 17 Sep 2017 17:55:35 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid E67C0C21E0C; Sun, 17 Sep 2017 17:55:33 +0000 (UTC)","from mail-qk0-f169.google.com (mail-qk0-f169.google.com\n\t[209.85.220.169])\n\tby lists.denx.de (Postfix) with ESMTPS id F3D64C21D80\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 17:53:38 +0000 (UTC)","by mail-qk0-f169.google.com with SMTP id u73so5528422qkl.12\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 10:53:38 -0700 (PDT)","by 10.200.37.200 with HTTP; Sun, 17 Sep 2017 10:53:16 -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=eVAu1M6SXB+rq1uL7JNn4W9BU9mpO3CUmgtonMKXKPs=;\n\tb=s1ZE2eJPk9wrebNAplymXvt8D2uW29EDnhD/TkagdGUO/JKWPmK/lHqje9NbexNHdL\n\t0Yg7RwQlW8ZM+Rbi/HqoQ5GR5On1M3JvlYY+NoWiViSluuA9ugMOjAx9QXsrw8vf8rti\n\tR798Zju9gZ5hHRA1QsBtPUicC4RhZZMPVbbU27TQ69zJhjSTTyKXUErNXDMIZsjyHAKJ\n\tPOkJXPENYUAKD+nXDVGGUR42kl0sJ9r2XwmlLkJArPR4kesBHwwwOtHNUJ9/qmnqoRq4\n\tTgae+FzU3jqevQIZC7HIP3ykWxYSfJYpjda5KtvS5JtHhFJqLucP2O5S/AQiov/aQ4eh\n\tBbZg==","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=eVAu1M6SXB+rq1uL7JNn4W9BU9mpO3CUmgtonMKXKPs=;\n\tb=RL4mk96MbhHfzkQr6mXrvGXtwYYCPl4LrCK44qKlQtJ8BRBgC3et3LM6x0iuv+VN/c\n\tqYWpnyBbaX2hZtKMc5t5MgXJB+I0Cubfq8bDx7V6G1cioQSA/hgcDb5X28BZYvoa4ojF\n\t/ICDqwjBE6tEmdYzmtHL5238pjzcp92y+WWu4="],"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=eVAu1M6SXB+rq1uL7JNn4W9BU9mpO3CUmgtonMKXKPs=;\n\tb=RjYSMWZYDkqOoYvIByPfP1HkxxRNry3DFSfEB3EiXqU8wC3wOv4+Y0Lj+umaWR2tRB\n\tt5oakyHa4C/P6+6Arotig9OMx/u6D9CqqJdT+ZtmZdkf23KZK8Y+RQCaFvQqpknlhtR1\n\t7Lq329tINrg5fj+3MrvHMSyC0Mme9EM4tN4mYD6v9tEnJ3tLbyplDkFmFBf+J8L4pc6u\n\tb/O7L9zsqTm8/a8FKLRqFo0cG8I+2ZbkF2+aE3lLF8PYiCZL+wIOjdG5Rttcq+GiG/Ud\n\td1hxSLal0XT2Jx+SKjHduaPmo4ANfxUqEQODkKiZ7OCFAMelcXL5nGJedtzFOcc9IkzV\n\tiadg==","X-Gm-Message-State":"AHPjjUgwl2TVfidOrcz+LL11zhoaye45n0fjW+hXobwuTQlJJYPIikFI\n\tTuD9wOLuueY53Bz5geGLmRnoKybt0r53NOP8SzELhg==","X-Google-Smtp-Source":"AOwi7QCOwgEeXkEoPanKKu55GZvVKhGh+GkcmxNiog8x2IecBWG1pjDuud9MB1MYJlosSuoENciTBqAzV7OhIC4WYbU=","X-Received":"by 10.55.17.207 with SMTP id 76mr16322965qkr.178.1505670817708; \n\tSun, 17 Sep 2017 10:53:37 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1505318412-27121-5-git-send-email-patrice.chotard@st.com>","References":"<1505318412-27121-1-git-send-email-patrice.chotard@st.com>\n\t<1505318412-27121-5-git-send-email-patrice.chotard@st.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Sun, 17 Sep 2017 11:53:16 -0600","X-Google-Sender-Auth":"yPujofLYhsmHL9BCgCAVmWqAL7w","Message-ID":"<CAPnjgZ2oH7HmHFhn+=57+wye4664cUMaw1GaAgUvpKYAKy-D4Q@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 4/9] dm: reset: add stm32 reset driver","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":1773678,"web_url":"http://patchwork.ozlabs.org/comment/1773678/","msgid":"<20170922141924.GL30205@bill-the-cat>","list_archive_url":null,"date":"2017-09-22T14:19:24","subject":"Re: [U-Boot] [U-Boot,v2,4/9] dm: reset: add stm32 reset driver","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:07PM +0200, patrice.chotard@st.com wrote:\n\n> From: Patrice Chotard <patrice.chotard@st.com>\n> \n> This driver is adapted from linux drivers/reset/reset-stm32.c\n> It's compatible with STM32 F4/F7/H7 SoCs.\n> \n> This driver doesn't implement .of_match as it's binded\n> by MFD RCC driver.\n> \n> To add support for each SoC family, a SoC's specific\n> include/dt-binfings/mfd/stm32xx-rcc.h file must be added.\n> \n> This patch only includes stm32h7-rcc.h dedicated for STM32H7 SoCs.\n> Other SoCs support will be added in the future.\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=\"CsLHadVg\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xzGNp4ZDZz9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 00:40:26 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 55B50C2212E; Fri, 22 Sep 2017 14:33:49 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 29762C22094;\n\tFri, 22 Sep 2017 14:33:47 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid DF590C220DB; Fri, 22 Sep 2017 14:19:28 +0000 (UTC)","from mail-yw0-f174.google.com (mail-yw0-f174.google.com\n\t[209.85.161.174])\n\tby lists.denx.de (Postfix) with ESMTPS id 277C5C22071\n\tfor <u-boot@lists.denx.de>; Fri, 22 Sep 2017 14:19:25 +0000 (UTC)","by mail-yw0-f174.google.com with SMTP id u11so837705ywh.7\n\tfor <u-boot@lists.denx.de>; Fri, 22 Sep 2017 07:19:25 -0700 (PDT)","from bill-the-cat ([2606:a000:1401:811b:5d8f:7fe1:3da9:ee9d])\n\tby smtp.gmail.com with ESMTPSA id\n\tp205sm1556729ywc.60.2017.09.22.07.19.23\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tFri, 22 Sep 2017 07:19:23 -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=y129S0UFoo1W89Xfw9KX+yU7DEkGOm0deHzUdgiOrRo=;\n\tb=CsLHadVgUyoubvyWAHcICSjr4Eo0D2ZzL71FDZNvs5rprXH3ibFeF3lsZbk1Qryozl\n\tmgkEN/pe3UHSw+zAejl1jpSrp+JkbCR2x1bLbLawbNmwCgZx0x2188xsolokAIdkfF1k\n\tTWak6mnNeeGBZwYTt2vVEI+bRGvIROzO/9j4Y=","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=y129S0UFoo1W89Xfw9KX+yU7DEkGOm0deHzUdgiOrRo=;\n\tb=G8ZZpPzSRWj46f9Am1YZhiPsfec5hIe2iFDxp1BedG1ATgSMLYM6gx1FAMaVSarUFr\n\to6iBGZOi2VnVCnY5Kz3wCScDSnp9XHp37jYnBNNEJIvT7CloXyJPfqUSRfviDvV0VW4+\n\tUIH1lUXyeRsRX8yW/dsgr9aE54xEcbNSsbJaLBFNlrQTV27AlstkpWeG9RMTEqmfc/FH\n\t6+DK5m5BqOdhBxFSrDAn+qxK29h9s9A9M9dzm4/0C6lkZaXh/gi5NccYrii2K2FR4gfi\n\tZ7jh7M0Ki4/NWKdV/tOefFiIKTSkq6PZ2NJsEw3QGFjJYpD8I3t2/RHtt+v5uuJormGf\n\tVjOA==","X-Gm-Message-State":"AHPjjUjrw/dGfbcaHCeJfF3g9fQUyF3D+LqJHD45V+65dOTgcbAVXDAd\n\t/ZwZLHM1/cTOKJmRhKXKFqrIcA==","X-Google-Smtp-Source":"AOwi7QC3zHeU47yHJ9dfWFrx2YLBL66LjlYP72YdKZ3VX6u/2TbiWGfKl4xVUvZWqmc2P6h/g63J9g==","X-Received":"by 10.129.56.196 with SMTP id f187mr2625525ywa.409.1506089964033;\n\tFri, 22 Sep 2017 07:19:24 -0700 (PDT)","Date":"Fri, 22 Sep 2017 10:19:24 -0400","From":"Tom Rini <trini@konsulko.com>","To":"patrice.chotard@st.com","Message-ID":"<20170922141924.GL30205@bill-the-cat>","References":"<1505318412-27121-5-git-send-email-patrice.chotard@st.com>","MIME-Version":"1.0","In-Reply-To":"<1505318412-27121-5-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,4/9] dm: reset: add stm32 reset driver","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=\"===============5805773331608058369==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]