Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2370540ybg; Thu, 30 Jul 2020 19:06:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG+DO8W7sgefGFdQDyuuW+oqXedTF+TGZV7CNpeB9wXEFGAPaNSjMXcVh/5LNRlfeq/61X X-Received: by 2002:a17:906:774d:: with SMTP id o13mr1831033ejn.373.1596161202426; Thu, 30 Jul 2020 19:06:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596161202; cv=none; d=google.com; s=arc-20160816; b=nWjMYLqIw0hNVOlue021EdM+dRe7/hkrUUMJ2OjJFTmonz/NMZEMBUKyRCk1mLbxHT FbepOXuoUcDKHC3ACJYluYHT3KXhxUSLjc0c01TfjGxS1EFgPLZqziknG92a6x0zC6nT mUEv3dfZuMWI05jy3rMDhpGtS4UuAxrBU3+m9cRkviPVuvnu+sR8EjNs5T5SdCY/eEdN xN3tsnW7mBgsUQCQECxhgZzfYNFaTeGirCiQOPCWTX8gtMGTsLLW3Iq8iPxIckr4Qari /gFrLRAKfcDt2l5fi/DYTfDXnevwUkhxS3Z0H7E1Wl1ZNohleXLYkgSz5z/Fa7GM8H5w 4dyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=i1QyVPNifl3QjxH5nvaDLQ3b4H6Y0SRuASS7QiD7pvY=; b=FJW87lb1x2gOsjxsqVmjoibObnoCJzTDKG2X+Rk0rtvzk1F1JH/jT1dUYgVsZacG9I 4k+NSFny9aAPaEJ5eG7G7RlseHGXv3r4B2232WiSk9QmPl3BkBFcY3h3e509uQTn5ifJ GYT52qMmwXrpijwNiahM94bX8FO8pLsIpLCL6cRc0fmrRf3Jbxob2Etrzz0UenZzv6vy pTMAuES5qSUNO6k9cmIswZvzinj7KtIkzAYetWFIQK0zm3AObb0TYPJdSOAwYGbZUTmu 21bEzgvRdHHHZK9QczyAZdn08Y7M48Q60NOBq3tIYd+5tcZg67SOMs25oee7tDIrfMma YxVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jBa+2bim; 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 bw6si4320503ejb.653.2020.07.30.19.06.16; Thu, 30 Jul 2020 19:06:42 -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=jBa+2bim; 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 S1731085AbgGaCF5 (ORCPT + 99 others); Thu, 30 Jul 2020 22:05:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730904AbgGaCF5 (ORCPT ); Thu, 30 Jul 2020 22:05:57 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA624C061574; Thu, 30 Jul 2020 19:05:56 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id 2so23435040qkf.10; Thu, 30 Jul 2020 19:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=i1QyVPNifl3QjxH5nvaDLQ3b4H6Y0SRuASS7QiD7pvY=; b=jBa+2bimj10N2QUadnPQoQbL5Xkp1Fa+6vvOGfuCTrl/RJMXjx449rzMWAsrlnNv8T 3f7Gj8FroRaQPjBYT2Vito0ySIHeYaHPKRKH2XYRsv2aGLa5PWC87iCR35zjxyEWmWEi FQrZ4vko9kA6cBRxFXbZf31TirTtrhO1rdw3pyWs8AhmrnGvul+BKDP/YCEaur4l5M7x dT1xRMV2toaYPDn7TWMqsPa2Vt5rHDH1ERBIqBegE48K0dyZK9WrTKGPt+p5juKNcpsH /LlN5il62Oiafmjcrl2NuUbWIVAPA5cfMBG2gjUqtjvdnGOjEjXhJwvmVqgPE3Ia/wos Jr6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=i1QyVPNifl3QjxH5nvaDLQ3b4H6Y0SRuASS7QiD7pvY=; b=Aj2pD9u22x5XpglN23GS5c/Wro6eNPn7l0b9KnEMLRiP9mQUJPOL8KIiAcHpo0eJDN qRmCDD1r19BEglqKUtLMs7ilchT4T7sPrCvGEFzsMFQQsFCgAUkavdOsTYlpegxVbj7Z eNv9D/hROBMBSt0kcvbRg4SnzoFZFjKPEo5y1F0SEKhwMUKgNYeMpp72BGIHUXy+x4YD 7U2aDaL9zDhP5ITsHzQ9wUAcAdoHWo5BzU5H8ffnkc/p+Z2dX5pjjazP0RcQonZDzMNh 2LODzPPEJO19fD4u/2TelKXumAmbdcwrrVOz7SxeICiaER1rUo6M/As3MMhAbEmtTOmA KhRg== X-Gm-Message-State: AOAM5307SEhX5iVbdSq7VfUNZFQkNNmRvFZPYDU3EaNk2qRsNsudRs1X 4HHHF8svXgr7YZ5vRCZrTfU= X-Received: by 2002:a37:aa56:: with SMTP id t83mr1993883qke.150.1596161155820; Thu, 30 Jul 2020 19:05:55 -0700 (PDT) Received: from ubuntu-n2-xlarge-x86 ([2604:1380:45d1:2600::1]) by smtp.gmail.com with ESMTPSA id c5sm3349233qtp.62.2020.07.30.19.05.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2020 19:05:55 -0700 (PDT) Date: Thu, 30 Jul 2020 19:05:53 -0700 From: Nathan Chancellor To: Nicolas Saenz Julienne Cc: Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Eric Anholt , Stefan Wahren , Matthias Brugger , pbrobinson@gmail.com, kernel-list@raspberrypi.com, 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 Subject: Re: [PATCH v2] clk: bcm2835: Do not use prediv with bcm2711's PLLs Message-ID: <20200731020553.GA3762310@ubuntu-n2-xlarge-x86> References: <20200730182619.23246-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200730182619.23246-1-nsaenzjulienne@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 30, 2020 at 08:26:19PM +0200, 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 I updated to the latest version of the firmware (668419cb9876474053574b2b1dc20ca996e14cc8) and my serial console works :) thank you for the quick fix! Tested-by: Nathan Chancellor