Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2001290imu; Sat, 22 Dec 2018 09:52:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/VDeSzF7VTMtv0ZV6ejmzIeiUI1+OZjwptRiXI9i7laMkZx6ccqp0kJyDlQxrY4nkxJPfWJ X-Received: by 2002:a62:5910:: with SMTP id n16mr7213635pfb.128.1545501162510; Sat, 22 Dec 2018 09:52:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545501162; cv=none; d=google.com; s=arc-20160816; b=PWp/xq10cB//c0XXqnhbZyogI9LBKQEXRB8W6L73XBOd6SwXGAreO5MMbtjG5eLrzm QwHil0TT5zMVONZc5vf6c6a9TZmeGBwXtHkYmmkWvIVlbTp2vcrkNxwXYIOMa+BbSh0O RWcb/Lee0UZJabSr2E4hCby02MUOclf16JkmhNuqwfKHcfAKuRwEEDON1Z379+etf8cG zb+C7Z4Zyguxl2ZBkZ/NTxe0mERj9HS6+ZswOX73VbEQR9NdfPw1JQzycYYmMYCFtKvz +G33fjSGFO12Hr0RFlB4K5V+Y1eX4ZXqckHeL23Eqw52kwYnvjueOWMRB0NtR8S9qwTM aNHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=IPvxWyDGn40AW/ybwE+RF5uPIUCl8L1WOlqQ8THFUlQ=; b=YLvKyNio4RFWdOqUccnjsHkDyuCE91Y3KHjio8zQd2V6DoX5kSL7qPAE/bCfXWtgkZ V9mCDq9aTdmsDRce2uOLO6YTEFpptbbY6LzlFK8c1q3yEvUzze9j81WcOHBHFpQjgzES lpjmQ5sjCuyclijW+IHh+Eh0SFwRPh1gYm+druOLbpemgV6DUBJVUecmjsopf5TSmnto iBIWcBNdBolhRfB3XTlpvbLcCZsWLpYuSbc0J0JafWqHc7hyGcoBeYr48EB3B4Zn+2uE s6wfwHKWMhMgOTnkpbYiHD7PiG3AoYmDkKHLztQnkZnwsgIitBf0CAE7wRNPFj9BbTK/ acVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MnM0HfTd; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si24522242pfj.183.2018.12.22.09.52.27; Sat, 22 Dec 2018 09:52:42 -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=@linaro.org header.s=google header.b=MnM0HfTd; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392004AbeLUVpq (ORCPT + 99 others); Fri, 21 Dec 2018 16:45:46 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:44057 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390834AbeLUVpq (ORCPT ); Fri, 21 Dec 2018 16:45:46 -0500 Received: by mail-wr1-f68.google.com with SMTP id z5so6639726wrt.11 for ; Fri, 21 Dec 2018 13:45:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=IPvxWyDGn40AW/ybwE+RF5uPIUCl8L1WOlqQ8THFUlQ=; b=MnM0HfTd74e7qQ66LwmA+S82wJWAJ4yv+6y73Wio2bLQ5CVdwGt32PgqJcjH+7S2XB Y3VFlfe4U74b8aqAlqiK1lKHniWk+xHHdrVjRTSC8D62h0yQTvGpA7a5QfRjeNaSW6ua nxhIJioRS/33gNC70NRq3mJvjghJTRUF4nFiU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=IPvxWyDGn40AW/ybwE+RF5uPIUCl8L1WOlqQ8THFUlQ=; b=GzSLuWHdy1UCB7365y2jEgNIe/suiAw+kG83leys+EamSkMTIp0UwPHsSHkdjVYSgy 6KWVxR0i1RzZKjR5778sZTkTYJfMAXg7M6N1fSYD02/19Zs1NjQV3r5NTWJsb7zMl59Q pB+iAR+xahb/OHNNk81/LH4zx7dwEwslbEcoAbarl4rWTh4LA4z4o82iC1fEJngd1DJO Yki+k1OLYDlLwEBgibWmus1pESeBI1Lr0UWNEEl4Gv4uU94aVOYEpk1h0XvRRGa39xII NfwMWenMiuvuer6slSGcJIJfu4OxKy/bREkoc6RL1+9xqFmXeT8Wl7zB5ggFXJfe/MhK L3nw== X-Gm-Message-State: AJcUukevEamFJ50QXPDYaPsx0yvfAnKyUviJ/lgFNMeLa7z8xy7ERSAb 8Ju+/o0go0+ojO6I79yhW/u5vg== X-Received: by 2002:adf:8b83:: with SMTP id o3mr4338977wra.81.1545428744225; Fri, 21 Dec 2018 13:45:44 -0800 (PST) Received: from [192.168.1.2] (119.red-79-146-81.dynamicip.rima-tde.net. [79.146.81.119]) by smtp.gmail.com with ESMTPSA id o5sm20036921wmg.25.2018.12.21.13.45.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Dec 2018 13:45:43 -0800 (PST) Subject: Re: [PATCH 01/13] clk: qcom: gcc: limit GPLL0_AO_OUT operating frequency To: Stephen Boyd , Bjorn Andersson , Taniya Das 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 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> <154542841268.13075.13095552962351570142@swboyd.mtv.corp.google.com> From: Jorge Ramirez Message-ID: <914bd56c-4470-4f78-75ac-f7bedd83d7c0@linaro.org> Date: Fri, 21 Dec 2018 22:45:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <154542841268.13075.13095552962351570142@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/21/18 22:40, Stephen Boyd wrote: > 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? >> the initialization for this particular PLL on this particular platform >> is wrong >> as the interface does not apply to the platform needs even though it is an >> alpha_pll >> >> if the VCO is not an option -even though it reflects the platform >> constrains- >> I would suggest nullifying the alpha_pll_ops that do not apply to this >> platform: >> ie: set_rate, round_rate set to null in the probe. >> >> allowing the interface calls (ops) to go through to later on make them fail >> based on some setting would be fundamentally wrong IMO >> > We have clk_alpha_pll_postdiv_ro_ops so maybe just add another set of > those for the alpha_pll itself? > > something like 
clk_alpha_pll_fixed_ops?