Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2514543imu; Sun, 23 Dec 2018 01:17:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN7MY5QxWazxRmRo3BgOyoEMSnDN/FHDSKMmii99B51GD1U8b0K+7HA4rhvwLmxcYEa4/gdT X-Received: by 2002:a63:1e17:: with SMTP id e23mr8557845pge.130.1545556637591; Sun, 23 Dec 2018 01:17:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545556637; cv=none; d=google.com; s=arc-20160816; b=Ru8Zu4vTK2v98XVKm45TQTRxhlm+n08SRGGm66oXyip8ahsdQOgvbJDJd8rwCVl2tE 51yEl0cncGTeETztZJgWSsbFwO/g8oUg7WLpnbDFwzh87dp48hHfn5hetogncT205qq2 EyykgfLQfeMx4PHLrnAPKVFUkB+e+ivd2kKMLWXquKMSCh4sKUSbKOAAx3LalfikYbP7 mbsPHJ7HYYwjkGpmsjvtgmP6Q23a2Z0M75p9u0DSx4tr8QAbvwdlAl1Y5JM9R3GWV0e0 dGfl/PY96qq4BlvZ34eBd3eFgsY04RZuZjuRbQ+9trY0+++lnOgATn25Dn+7SSv5U4qb Vu0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:references:user-agent :in-reply-to:from:to:cc:subject:content-transfer-encoding :mime-version:dkim-signature; bh=hynrE5OrFjQ3nV3qTSBh0BJ5Job7ybFJw0px9idDxFY=; b=Hmy4XpTmqlAehfa5DbOpFFH45pQOWD3eQGPxfn31xo/Uc+VgejGHuW4H6vALzZj4xz oyjBHFu2P4swHpl+Mxc5Zg790FFqRcfPb0l0GqdZmCuLB3e7thw3mI2O4JlO3jOVAgOy o9Rqif38H9MWWnMf9DLR+xNc9//IAfmqdB+ztq6wfmOr8N3SRfLR7zCuctdNFJ/4wk9V 8eXGXo59Xth+XDj9HZ4OeTVhKlNNrugcyj7sS2yRpnNVKkjKraSeT3cwf6wB/6FbMpoh 32rPBQ8cpFZbxGPdvePY/QnMGqd3Jw7WHTm/16SL7IWw1SRnOtUM2T52sTAHAj+IugRT XdCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oUn8FI27; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y29si24245592pgk.376.2018.12.23.01.17.02; Sun, 23 Dec 2018 01:17:17 -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=@kernel.org header.s=default header.b=oUn8FI27; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390551AbeLUVkO (ORCPT + 99 others); Fri, 21 Dec 2018 16:40:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:40450 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733050AbeLUVkO (ORCPT ); Fri, 21 Dec 2018 16:40:14 -0500 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 96DF621920; Fri, 21 Dec 2018 21:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545428413; bh=hynrE5OrFjQ3nV3qTSBh0BJ5Job7ybFJw0px9idDxFY=; h=Subject:Cc:To:From:In-Reply-To:References:Date:From; b=oUn8FI27tZekiibrHxHLuiNDXnJYWggEiiIiibygl9qAqBTcOYwz+SOJTpId+kJIw /4EP8gtwMKknlSlEwhaXyWoae068b0Ysg4/QOnBsb48HMhvOMQ4JNFoqbT+czTOtOU zDwiHTv7RcMAk9X+rR/m2+cgzBP9/Men5VfzY81g= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH 01/13] clk: qcom: gcc: limit GPLL0_AO_OUT operating frequency Cc: robh+dt@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org, david.brown@linaro.org, will.deacon@arm.com, mturquette@baylibre.com, jassisinghbrar@gmail.com, vkoul@kernel.org, niklas.cassel@linaro.org, sibis@codeaurora.org, georgi.djakov@linaro.org, arnd@arndb.de, horms+renesas@verge.net.au, heiko@sntech.de, enric.balletbo@collabora.com, jagan@amarulasolutions.com, olof@lixom.net, amit.kucheria@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org To: Bjorn Andersson , Jorge Ramirez , Taniya Das From: Stephen Boyd In-Reply-To: <94b12f58-b586-6b4b-6c0c-b4adad80d7b0@linaro.org> User-Agent: alot/0.8 References: <1545039990-19984-1-git-send-email-jorge.ramirez-ortiz@linaro.org> <1545039990-19984-2-git-send-email-jorge.ramirez-ortiz@linaro.org> <6814777f-1e5f-bd99-db63-a0050dcdd930@linaro.org> <874ce15d-67f5-8e55-8b62-73071fe6ae06@codeaurora.org> <20181221192823.GA9704@minitux> <94b12f58-b586-6b4b-6c0c-b4adad80d7b0@linaro.org> Message-ID: <154542841268.13075.13095552962351570142@swboyd.mtv.corp.google.com> Date: Fri, 21 Dec 2018 13:40:12 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jorge Ramirez (2018-12-21 11:45:28) > On 12/21/18 20:28, Bjorn Andersson wrote: > > > > Perhaps there's a better way to define that this particular clock > > hardware can change rate, but in this implementation it must not? >=20 > the initialization for this particular PLL on this particular platform=20 > is wrong > as the interface does not apply to the platform needs even though it is an > alpha_pll >=20 > if the VCO is not an option -even though it reflects the platform=20 > constrains- > I would suggest nullifying the alpha_pll_ops that do not apply to this=20 > platform: > ie: set_rate, round_rate set to null in the probe. >=20 > allowing the interface calls (ops) to go through to later on make them fa= il > based on some setting would be fundamentally wrong IMO >=20 We have clk_alpha_pll_postdiv_ro_ops so maybe just add another set of those for the alpha_pll itself?=20