From patchwork Mon Mar 25 10:42:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 161083 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3802892jan; Mon, 25 Mar 2019 03:42:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqymeKratyMpnZ7YkLYLhKuskLC6OxsZwhvLy1kNLTncrcNoVzTxE15wPlQASMfxYGdCLxL1 X-Received: by 2002:a62:1b03:: with SMTP id b3mr19586381pfb.150.1553510566273; Mon, 25 Mar 2019 03:42:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553510566; cv=none; d=google.com; s=arc-20160816; b=vIMCbKZpMh/XrHK6LccikwTROSC4i7FHwDyIVeOwO8HOePLtS77la8sSXvNKJ5ZRTH yay7GhqxQhKP4o6oT2O+CcHmV915udoP7I3SbDVJ1DAFs+2SQdABCdRiVcTH4s3cuRVq JQhNBOxfitrb3J5WlSh2flzx/XxjgzxP7eOUafXklOBJt9oOq/qtaAOSOu1PiixCWBnb MeOOjJHJqkU5B2ow+QXAdjz8GBenRiczEx8CYlX2AEPVMl1WIo8QjVWR5QqCcvWBQ+CY o9kSPUhgLv+oUOTZ/bV4gRCJdKZymoHVllHCOGVkykS4w+bZgbWEn8QiMxuRx2yQS9xj 3Mew== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=X4Cs93Td2ev+3BK1qi4u01I1+1mquQ3LynMHsDaBAJA=; b=VJId1SFCOgLVPjPlTrLad+T0C9CcZJtESpkmEUAreD7ukQA7G5kMSKTp+xEPSJn/lL jSiVl78vOEe2Xp6I0gFysH3Yzj8yDRySfUM8B1baSwHcnYHe+t+IUjkhkB2WR3Fp38wp blcxwfWQLik+X2FN/Eyp8teNf+O4byCrJOtAn/toorO9M6Sp2rzN2eQvXbmh1invBjb8 VkOZcBOIG05A5E/MgKU73ZF9+2fRRiP7EpaKtc93IxEGa/OYjg582QxzaqwWC1WrqCLA /+HbGweBlHqNbwsnrF45Cjf3ytPuQBpwJknKusI0t9rRnbLRrfLOoYCEd1HXFosUoSpx Wn4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=1D0c140l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si13005534pgv.340.2019.03.25.03.42.46; Mon, 25 Mar 2019 03:42:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=1D0c140l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730771AbfCYKmn (ORCPT + 31 others); Mon, 25 Mar 2019 06:42:43 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34395 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730491AbfCYKmn (ORCPT ); Mon, 25 Mar 2019 06:42:43 -0400 Received: by mail-wr1-f66.google.com with SMTP id p10so9525203wrq.1 for ; Mon, 25 Mar 2019 03:42:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X4Cs93Td2ev+3BK1qi4u01I1+1mquQ3LynMHsDaBAJA=; b=1D0c140lZ3TuoOseTpYGn+KepDJTLUGQCx2qD7hQyg2W5oTW5jTPbmwJ1whikF4Dgf PGuC20teMw12a0Tf5eRXGGdhKZUVUlLGm8TaoVd3YI8tcKtmI50du8l3rouAP2aAx24P 6QzhRTSNPNvSLYmlHo4fOmNj/vdb5Q9xwmqcDdYMwLfKFychAWGpDu9etYvhuAxsySBs uBGXmLzZyFPhyR5UcAIM7FWwDPJ4y1bubHNIZG89rJ0JJIaSZGeiNx7FHTsOWONT2ZmX 9JMuyfBZDap3+RBVNZXJr7z7SVZM3UPZNatg44dwETeJ12LfqROtyzcCXB1A2xjEsHVw gC0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X4Cs93Td2ev+3BK1qi4u01I1+1mquQ3LynMHsDaBAJA=; b=fJKGvhg7UG3ygmrpXxgLnt7cAoHN6LC/SoCw4CzJs7VI74ZxwJYf0rPUHTiIlMA6Aa 430dvbHpWfxndGRADUvyvnPzSH7wVm4UkmtiMUpZt7GN/d9Z1ZcmWGe3Fs18wGxqktaz E/+6MrKBbWqcItxCHngSdYYSxuE1iFNQAA4uf4oEOXQHds4ym64nVC2yFqG/VCh+KiD4 7v9th9eIjzk3JcC+b2paQWGBdmJTF2X/V8KDaE44lLVhxQOKQY48i99Gy7WMgIy+lmnx 2srE6YGzqvBSXTbEpvlZ5QfruyDbcbEee2YmPleJjR+ex6XcybE2k8SE3gfW9Ci9q245 UUhg== X-Gm-Message-State: APjAAAVIfzkDxjMVfvUoku3qlFylZkJgp/sXgkx75xkduBhhEg0GpvFb E3sMtS2aLGkwQRnmdGZfsDPSQw== X-Received: by 2002:a05:6000:5:: with SMTP id h5mr14681264wrx.271.1553510561778; Mon, 25 Mar 2019 03:42:41 -0700 (PDT) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id o17sm16760232wrw.73.2019.03.25.03.42.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 03:42:41 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: meson: g12a: fix gp0 and hifi ranges Date: Mon, 25 Mar 2019 11:42:30 +0100 Message-Id: <20190325104230.11245-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, so lets use this value until we have a good reason to put something else. Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller") Signed-off-by: Jerome Brunet --- drivers/clk/meson/g12a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 Acked-by: Neil Armstrong diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c index 0e1ce8c03259..d3f53a9b97dc 100644 --- a/drivers/clk/meson/g12a.c +++ b/drivers/clk/meson/g12a.c @@ -151,7 +151,7 @@ static struct clk_regmap g12a_sys_pll = { }; static const struct pll_mult_range g12a_gp0_pll_mult_range = { - .min = 55, + .min = 60, .max = 255, };