Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2409366ybg; Thu, 30 Jul 2020 20:54:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpB8Fs7ZK5zwqfPT7r0q8jW4WfMBtGTXSKXVcScC3X15DgylkDx0sRyzl1yvK1nn1AgEiN X-Received: by 2002:a17:906:dbf4:: with SMTP id yd20mr2099443ejb.369.1596167653327; Thu, 30 Jul 2020 20:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596167653; cv=none; d=google.com; s=arc-20160816; b=O+u2VU4MgvdIhLYgq+VonDqgzxHL4wf1msg95ZcrNFmuFhHnIaZHRTHVIB8ZE8Wk1b DomaXTEpjiUKMCAFiiXZ6YSpKZ6NKuVbpUsaTFWTP50Hbv01QfQ2RR/4X1QNXZiLDYo+ 0XsNLu6IW1jaKOLGuQT7Oz/2Up+LIs8jPpir7lXPwvvRunAuCeVpPObN2Ab1Qa8U13uH AbublcAhYjtO6BEdn0oSJMFtoolyy3SNOagJ/4iagwgr8mhshWWihrmlPFpxGyoKTmgA 3cbnpD97rqdb3Cy3i2i+82AH/by7KzJJLiH7sOkiSlu3XL3pvFMcz8mGMkO4jyh7mk8/ SLQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=i91PStIHGdpSg/hrZKabALiR5l+8TCc0jNirJjRqQCY=; b=cYHLXHnqcPrCB032D7BixDYAua4uHg0OqcKsnrINgkaSXKiqVJRsNKEU4ao37QW3gS JdwWiWxU+9A79dLu5EorQueV+zk+LIO1ZF1VZOxGJAkVn8yZd5dWOHD6OpBhl98aZI0p GsTJMhiLomxhjfjEHX6ziBwzehgrKuyxgfYoFw75Gheia2LH4VvGRuPswy8vSakM1CSJ TPjdLakQ7/lNtHcM2LnRSXUcIkSiymo7QIkAJS7qXm6eRwN1QBqJusP+Kelwu0yijHLL aEqcgMipjJovkDDVgzVqmRglApTnHAeaM7+KI3wdPdE8JC+raxw2wbgKsomyTlRWS+1z xGag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OihQDb9S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q4si4447930eds.15.2020.07.30.20.53.46; Thu, 30 Jul 2020 20:54:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OihQDb9S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731303AbgGaDwE (ORCPT + 99 others); Thu, 30 Jul 2020 23:52:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730820AbgGaDwE (ORCPT ); Thu, 30 Jul 2020 23:52:04 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF937C061574; Thu, 30 Jul 2020 20:52:03 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id u10so6658354plr.7; Thu, 30 Jul 2020 20:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=i91PStIHGdpSg/hrZKabALiR5l+8TCc0jNirJjRqQCY=; b=OihQDb9SG/Nmy46pP/bdhWFkINVR/x1COCv40lR7nr/yZ4r+tgFdgZXL1YkfaXts2z Ne0C2v27k+bC+8/pdMQ+iGHxyeKN6zFsjN2nbYgVHAySpHhKhKJSx0ZXrIicJNd0I8fN eToGassd0zeNpZuV7ljB+M9vf8WCNl+CyoAwAUoKsAeylbMBUHL8BAr4m771Mi4j2GYg T6gPvZcGjxf/F0Zl3xxxfFMAnTfZllQO4iPQuWdR3d8hq1zMY901Ix7y0kUzdd9vMlRb JxzXMPqWx4O746hK86Cjzts/emJSSqS7GXnXFsTxyyWp19GDQ1JKjvymzRujv4tqTq4S h3vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=i91PStIHGdpSg/hrZKabALiR5l+8TCc0jNirJjRqQCY=; b=BiVrCEylaGZ+NywVFmEN3T5MTZphBvpz9YIZNBunqrm5Hg0CoRs0pBvNCsGHRw6njw 3J5nALMYRZTdmFWtniSHkRj206jMCxE1xvad6iZxkmGiz+97KvW6W4fUpBSPfJEbLIbS 1nXF+pBKy8yS82LBq/d8J/Qdmf8MUFrF/PntE2HxyMgt3XuQ4FShfgoZkRKso7hwmwDd DyqQYMmBOtU6ex+fFTRKQ4DyE+yIyzxopvxHL8/QTrDJywP/v4PS0wqOHG0EbGV3Cb+b i36idzmlWZ6ufOMk/zvhyYZ/RHvnqqRdsLNyZm3Z2QDEYMuzO9Y/FTIieH1p20Cb6c4m CrfA== X-Gm-Message-State: AOAM53126YkdCz9/fLwMW+E+ItTQi8Bhg6/w9xIkUH1ZW+Vs3U6uWf4/ mwzAi45NqFV5qKnPg9T1k2MkF5E/ X-Received: by 2002:a17:902:7c8b:: with SMTP id y11mr1999380pll.142.1596167522728; Thu, 30 Jul 2020 20:52:02 -0700 (PDT) Received: from [192.168.1.3] (ip68-111-84-250.oc.oc.cox.net. [68.111.84.250]) by smtp.gmail.com with ESMTPSA id n26sm4061830pgl.42.2020.07.30.20.52.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Jul 2020 20:52:01 -0700 (PDT) Subject: Re: [PATCH v2] clk: bcm2835: Do not use prediv with bcm2711's PLLs To: Nicolas Saenz Julienne , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Eric Anholt , Stefan Wahren , Matthias Brugger Cc: pbrobinson@gmail.com, kernel-list@raspberrypi.com, Nathan Chancellor , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20200730182619.23246-1-nsaenzjulienne@suse.de> From: Florian Fainelli Message-ID: Date: Thu, 30 Jul 2020 20:51:59 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200730182619.23246-1-nsaenzjulienne@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/30/2020 11:26 AM, Nicolas Saenz Julienne wrote: > Contrary to previous SoCs, bcm2711 doesn't have a prescaler in the PLL > feedback loop. Bypass it by zeroing fb_prediv_mask when running on > bcm2711. > > Note that, since the prediv configuration bits were re-purposed, this > was triggering miscalculations on all clocks hanging from the VPU clock, > notably the aux UART, making its output unintelligible. > > Fixes: 42de9ad400af ("clk: bcm2835: Add BCM2711_CLOCK_EMMC2 support") > Reported-by: Nathan Chancellor > Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Florian Fainelli -- Florian