Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2392967imu; Thu, 24 Jan 2019 12:00:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN6j5SS5UhyX6coKHKXJEtLhWPRxrU9niLUvOooo7OQ8CzsrAXU/m/yF9PVkA5gA/QQV7l9w X-Received: by 2002:a63:2222:: with SMTP id i34mr6654295pgi.83.1548360041508; Thu, 24 Jan 2019 12:00:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548360041; cv=none; d=google.com; s=arc-20160816; b=EeJRmsaMNZzGv5W+mRBolb/aGapThVls1Si1RrGNuvSYe+ck3bQ8wUJq3I+qrsDaRv KxLcxYnk36Hz8LOyf8zRGSWYHRTmsb5s/iziN0kabX8DKPx8Tqn+X2Pfx3vlghSKmZuw HET7ygVgzl0hTpclxfMBz5Wa2U8XjBQb6JiKb0whYwnIbsabvlbTamxVHD8N3jBwk2tk olz1Pi/wojyY7tsOEYtkthqCn/Ezur/kNuWBa9B/9iw7AChIRa5FhJ0KHTxiUH9z+MeR sS8Yny+Viru3NemPcLNzu4vI467HAravNii2+yZgZlHtY5ZJsDRwkL0XaEDp/9RvWTtB +jOA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MUFV3EbRWTylHEUKUIeOqSoI6gTTKiS0hGHS2pg+s1g=; b=fKRuEYZFm8Ad0ONuX8Grm2RcrdI3YHRbLqZ2UPkJCu83RmI4BJfkLgyCy8kbI1O1JM lnF9/sAxltmjCH4mSAPN2UrTG6aav/xqhY9pYMsgJq5zUJw+D22GtvKXU2cOQ+XDSTRA xGhXTB4GA4UciG8rLc2bR66iGMSE+bW9nCt/ggsxjG2YnUbJTGWySYgn5u1He0Lr1Xvm PcOIi3kiQPQtT1/TZbcD3i/CPuViauVKTcPmksgX9opNd/3RmAPh+LY0hM+TU8v9aGH0 I2VMtQIx9+VZKaw8/5DPnXGfom6R+RKTbjyzb9PFeG6cKcglBbaONG32dKLgCdLbA3v1 Stag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kYXku2+U; 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 c32si23918032plj.38.2019.01.24.12.00.25; Thu, 24 Jan 2019 12:00:41 -0800 (PST) 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=@amarulasolutions.com header.s=google header.b=kYXku2+U; 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 S1732285AbfAXUAU (ORCPT + 99 others); Thu, 24 Jan 2019 15:00:20 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:44322 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732111AbfAXUAS (ORCPT ); Thu, 24 Jan 2019 15:00:18 -0500 Received: by mail-pf1-f194.google.com with SMTP id u6so3510612pfh.11 for ; Thu, 24 Jan 2019 12:00:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MUFV3EbRWTylHEUKUIeOqSoI6gTTKiS0hGHS2pg+s1g=; b=kYXku2+URiPTdGUN0CnytsHS0hqAI82ylfs+dKmCWQEKJ+BdxgbLh8PPphfZPGNePq /96+rmiOaEGSTphtezeUvV1cBmZLCTvSe8ZnniWkfWch6nY6PK715P0JCMiHKchP0yFq XLJ8t7+p4LPR665DNVYy0yxzgsbmTfwwiQJkk= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=MUFV3EbRWTylHEUKUIeOqSoI6gTTKiS0hGHS2pg+s1g=; b=OQRe3p3McRxBcGWj66r6rYG5tbtQr55sgjJT1yTPHtHZb2D0mbtOfy5GtXIpE6PtrK 7Oygj5Awr7vGA1X5wWkdKqtU6JocMeIDbQcltryCpNIokoCNNIc3/gjTRD6UxShhh7bK KTNKXo17b7bXaalkKS5QhH6M/qDCqe0Xpu/pTguF/4UoeKpdky0UL4WIOSRIwCGbe5H0 svnPYB5snFATJpmYjnRVD+1OVHlrROFXFUHNb3FZbfFjCBv9m8s3dSmnQE8VMRirFSEA AW4LhSup1bTcZqZoXSApEPjjj31liKhb4kgFLYclHmhm2/EvTOz6B2SWZZmV5c9p8kGs p5lQ== X-Gm-Message-State: AJcUukcE1VLaF1UoYihrr2/GUjE/AZ8OudlzhLLfwJpdqfk9O+sUFEbM utT6dqU4ygMFUwZIGj8tzz467w== X-Received: by 2002:a63:e950:: with SMTP id q16mr7211887pgj.138.1548360017678; Thu, 24 Jan 2019 12:00:17 -0800 (PST) Received: from localhost.localdomain ([115.97.179.75]) by smtp.gmail.com with ESMTPSA id x11sm61637003pfe.72.2019.01.24.12.00.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 12:00:17 -0800 (PST) From: Jagan Teki To: Maxime Ripard , David Airlie , Daniel Vetter , Chen-Yu Tsai , Michael Turquette , Rob Herring , Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Michael Trimarchi , linux-amarula@amarulasolutions.com, linux-sunxi@googlegroups.com, Jagan Teki Subject: [PATCH v6 11/22] clk: sunxi-ng: a64: Add minimum rate for PLL_MIPI Date: Fri, 25 Jan 2019 01:28:49 +0530 Message-Id: <20190124195900.22620-12-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190124195900.22620-1-jagan@amarulasolutions.com> References: <20190124195900.22620-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Minimum PLL used for MIPI is 500MHz, as per manual, but lowering the min rate by 300MHz can result proper working nkms divider with the help of desired dclock rate from panel driver. Signed-off-by: Jagan Teki Acked-by: Stephen Boyd --- drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c b/drivers/clk/sunxi-ng/ccu-sun50i-a64.c index 932836d26e2b..296d489aad6e 100644 --- a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c +++ b/drivers/clk/sunxi-ng/ccu-sun50i-a64.c @@ -183,6 +183,7 @@ static struct ccu_nkm pll_mipi_clk = { .n = _SUNXI_CCU_MULT(8, 4), .k = _SUNXI_CCU_MULT_MIN(4, 2, 2), .m = _SUNXI_CCU_DIV(0, 4), + .min_rate = 300000000, .common = { .reg = 0x040, .hw.init = CLK_HW_INIT("pll-mipi", "pll-video0", -- 2.18.0.321.gffc6fa0e3