Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2709391pxv; Sun, 11 Jul 2021 23:25:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzChoSGjudOC8dJr289UvXHDNJ5dVkR9gGjwaQDd3Tl5GNw0MtBTYp7ypgBjQaQ9WafuFf5 X-Received: by 2002:a05:6638:3882:: with SMTP id b2mr31264124jav.15.1626071148701; Sun, 11 Jul 2021 23:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626071148; cv=none; d=google.com; s=arc-20160816; b=mqHOG/M/tG2H1KoxZ06i9WH+e/GvZrhqmOjp4IY7ZDye439OlSDhOlKucQgle4Yu+/ CK1nFVPBtE1zbd2T/dkTJb5g3fSURmXEoWp858SrNjRQ80zAy58ZuxhzHTT8AXegfuoe KN1ntYaMtknp+FPmdOS6KpXri9k0qZF3AJ6+tv7x0DLDHULV/2voCaNaQMccfygIVuSj HRM73ZQJIuBRiahP6IpmXWQ3+5A3uQs3pYapNgNldDKs0jPp8FYCIDtbYLQVhSWKsax5 O/4050VfzZVgrjj67W+yJJThFp0wAA5eJIpJyx8OUeTFrnpelm59d9QRurGSeaP0XRmc ayTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=aIpdBQJi99SM2xuO8IEYq9Xj/NpNsajJQKTVCARbOZI=; b=R4/wx1qCIBULTLzeQOMYKuLsFjn4JTJphaFuYuqFgd9rvWqFatcaFswa6R8OPnsjoE OhUkVnp75zlyqNUEJFlJoMjJi9WRSul6Zj9YGmJgr6kFx6h9eHm0trqisjya3C7YWKcz C+QHx4eUfVRQHFu3BWiXAidje+G7s7GghMDt+MJaur9QemTs+F2z5ERoQhbN2gJPbAWr qWFIBx24pWZ4EjbSXUTO5GzpgoKJYuxg7AesC60J/5sUVhVMVhbWalpmLlvEjXlRwYX4 UYnx1NCBZN0qVfP7+nOzeMIgAEikhmPXNd2MAcr4hN/98uk3dZ1Lkl1nhBwrmwvg7JcZ 2jYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="cE/esfjp"; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s13si15744732ioj.45.2021.07.11.23.25.37; Sun, 11 Jul 2021 23:25:48 -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=@linuxfoundation.org header.s=korg header.b="cE/esfjp"; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232852AbhGLG1l (ORCPT + 99 others); Mon, 12 Jul 2021 02:27:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:41280 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235244AbhGLGYh (ORCPT ); Mon, 12 Jul 2021 02:24:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1B55E6112D; Mon, 12 Jul 2021 06:21:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626070903; bh=FhnN1XQCTvm1+21zvR3i9hSTgDVOL8eTTguF8dgaDtc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cE/esfjpkf2KvhIWFxPg4JqaWarCji40nv68CGpcyqfbQ1FMHCC6qRjh+cZDPbO60 yq5lTm6iejRqdWhvvIBlUHAi1W/NCmECmYXPxqt3QjecUPloA5Eo+eurn3t9C0mHXk 4fWGsg+vwT9Y2adEFJkM5LbFUE4FfMfpvcrnuzWQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jerome Brunet , Neil Armstrong , Sasha Levin Subject: [PATCH 5.4 190/348] clk: meson: g12a: fix gp0 and hifi ranges Date: Mon, 12 Jul 2021 08:09:34 +0200 Message-Id: <20210712060726.230277110@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210712060659.886176320@linuxfoundation.org> References: <20210712060659.886176320@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet [ Upstream commit bc794f8c56abddf709f1f84fcb2a3c9e7d9cc9b4 ] While some SoC samples are able to lock with a PLL factor of 55, others samples can't. ATM, a minimum of 60 appears to work on all the samples I have tried. Even with 60, it sometimes takes a long time for the PLL to eventually lock. The documentation says that the minimum rate of these PLLs DCO should be 3GHz, a factor of 125. Let's use that to be on the safe side. With factor range changed, the PLL seems to lock quickly (enough) so far. It is still unclear if the range was the only reason for the delay. Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller") Signed-off-by: Jerome Brunet Acked-by: Neil Armstrong Link: https://lore.kernel.org/r/20210429090325.60970-1-jbrunet@baylibre.com Signed-off-by: Sasha Levin --- drivers/clk/meson/g12a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c index 3143e16065de..a55b22ebf103 100644 --- a/drivers/clk/meson/g12a.c +++ b/drivers/clk/meson/g12a.c @@ -1602,7 +1602,7 @@ static struct clk_regmap g12b_cpub_clk_trace = { }; static const struct pll_mult_range g12a_gp0_pll_mult_range = { - .min = 55, + .min = 125, .max = 255, }; -- 2.30.2