[{"id":1768904,"web_url":"http://patchwork.ozlabs.org/comment/1768904/","msgid":"<20170915004754.GG4560@bill-the-cat>","list_archive_url":null,"date":"2017-09-15T00:47:54","subject":"Re: [U-Boot] [U-Boot, v6,\n\t4/9] ARM: at91: spl: Add mck function to lower rate while switching","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 02:58:49PM +0800, Wenyou Yang wrote:\n\n> Refer to the commit 70f8c8316ad(PMC: add new mck function to lower\n> rate while switching) from AT91Bootstrap.\n> \n> While switching to a lower clock source, we must switch the clock\n> source first instead of last. Otherwise, we could end up with\n> too high frequency on internal bus and peripherals.\n> This happens on SAMA5D2 as exitting from the ROM code.\n> \n> Add a function pmc_mck_init_down() to allow this sequence.\n> \n> Signed-off-by: Wenyou Yang <wenyou.yang@microchip.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=\"OvUmfFRp\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xtcSW0b5nz9sPr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Sep 2017 10:57:31 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid DC568C21F22; Fri, 15 Sep 2017 00:52:13 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 45218C21F99;\n\tFri, 15 Sep 2017 00:48:24 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 16E6AC21F94; Fri, 15 Sep 2017 00:48:09 +0000 (UTC)","from mail-yw0-f171.google.com (mail-yw0-f171.google.com\n\t[209.85.161.171])\n\tby lists.denx.de (Postfix) with ESMTPS id 921D1C21F71\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 00:47:58 +0000 (UTC)","by mail-yw0-f171.google.com with SMTP id r85so609583ywg.1\n\tfor <u-boot@lists.denx.de>; Thu, 14 Sep 2017 17:47:58 -0700 (PDT)","from bill-the-cat ([2606:a000:140b:dc:6c83:3e5c:b483:9b27])\n\tby smtp.gmail.com with ESMTPSA id\n\tz145sm6113329ywa.21.2017.09.14.17.47.56\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tThu, 14 Sep 2017 17:47:56 -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=qhRbmEeLM4kvvzVKQQEVzFyUrvtjhlrC3MOM+XkwSXE=;\n\tb=OvUmfFRpEDa2vNJvIX0TSKA/F1ytVZVZ4ypVpDvPBPsUGRY2yuPQCZR/esrBQOLWYD\n\tjmS87rd5opyjqC4MK1GyL/ZxfnEGYtX7IxfpgcZktWysBIMV8TJLmDaVd6ejQQukQHQB\n\t9PTNJIl5Hi7L1+T2V130oC94buZ+GotfSXVrM=","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=qhRbmEeLM4kvvzVKQQEVzFyUrvtjhlrC3MOM+XkwSXE=;\n\tb=XCf17lYGSlfekYT57CH0f7Fp8pm0Qtx9/tcWLlWEYFRUaWDhcegVmFyT4QTAJDMYYu\n\th1SVmmRwJmtmv26luWzMphGw+qlMeJNCj3mlHUCOsmvftQ+XrR91HgSZB2c8HuOFFyK9\n\tdUynAAiFWPWiVMrhLde9wLfYvfNtUpYrCxRttBiliqsiXas8soa5vnh/kyDyTzwChCuv\n\tUnbpnwRD/xSPM2kJmwi1W+KN7QGVbHVGyBy7lGKyzK6N3fPdqO5uOl+sl5qBo/9VZPFM\n\tbVsCoa0oEMDUwSghwLLFjYy96kxdzF6rIYq64WnQzehEvqijNetkG/zvRtSs9byFWRp1\n\tfyYg==","X-Gm-Message-State":"AHPjjUjTrMsYNa5ToPy8Z4xsIXFgG5dnM+94LOjhbyjjRd+yGnjpLZGb\n\ttCLhLcUAqLhjd3dCVg8oow==","X-Google-Smtp-Source":"ADKCNb7vCQhSVWRYu58rCIhIR766bdOaL41E4qycWU+K6otkAcLOdIpYc5xHR+OLMo6uQY9rowdJDQ==","X-Received":"by 10.129.157.197 with SMTP id\n\tu188mr19299340ywg.237.1505436477507; \n\tThu, 14 Sep 2017 17:47:57 -0700 (PDT)","Date":"Thu, 14 Sep 2017 20:47:54 -0400","From":"Tom Rini <trini@konsulko.com>","To":"Wenyou Yang <wenyou.yang@microchip.com>","Message-ID":"<20170915004754.GG4560@bill-the-cat>","References":"<20170913065854.26134-5-wenyou.yang@microchip.com>","MIME-Version":"1.0","In-Reply-To":"<20170913065854.26134-5-wenyou.yang@microchip.com>","User-Agent":"Mutt/1.5.21 (2010-09-15)","Cc":"Marek Vasut <marex@denx.de>, U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [U-Boot, v6,\n\t4/9] ARM: at91: spl: Add mck function to lower rate while switching","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=\"===============4798005721302030837==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]