Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp636088pxb; Thu, 14 Jan 2021 14:52:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVT9Cu1iACfyck5LrpNOeV8nLE6IaKqpT/8uF7BOFODTi34AbFkoqW+0a/DB9R6yt8IHwH X-Received: by 2002:a17:906:1e87:: with SMTP id e7mr1089006ejj.322.1610664760956; Thu, 14 Jan 2021 14:52:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610664760; cv=none; d=google.com; s=arc-20160816; b=dbYopJG22BafhYCKYSrYfIFONpyqjaesqUXf1l2rwCHgashw8hJIzk1MiDf/Exq1hD 8fYgtep+6vaUwzq36q8JESzmEhniym6xibSuOGpjBC3hmKwQPgnkIDR1CCfEc41gu+xx GQn9qdsisVBf8ycLjhZ6Jhxtg4UxF7AkAxzoPJgOTrbw3DJS9Gx2LE8yIHGgs4U+F5FE pn4D8hLao4fOJ9uWUut2pFos/UEMV9DBrUL8wH2EeIpMHAlvHQQt4xTjXLQRGRDA8AVl OTH96WyQ6wPTNsY6RVuawqGE+RcM8BFDIuG/cxOFbMnBKAe8eoerQkpQF5ZHfo5GB1gI KF0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=b8Y4+MkUNaVHhyWjmqWmkikRxktaVJ1Z3j9u7pLI6X0=; b=D90wbnY1xjuvt+lfY5dN87rGK3YxjlwMjnGw43hjI0QIBIoRi5nCX/u595fXhGsu86 OeDMGBXYyQ+LBjm4vSuYb8pg6ak3uQmaBzgjmEwJAriuZhhX13GPRMCRlrJB/5m+T1dO ayBQLEkckKl9lVIIZBpDkLK+m1u0WA/+bluPhN0odIlmlulqkERJW73oEP9w/oBe1+WT V7rNXDVv7SIUGKMhwGemefbgX6+Fen12EBDranjdyM408nDC4e+c09yo8wbIBM9Nx/8O YyAYQWRtB5NqKgMVc0HGEB95rz1volj/9wCpARfw1xfSxQvejeynmK9KAWRUt609kRen H/EA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt21si3581293edb.569.2021.01.14.14.52.18; Thu, 14 Jan 2021 14:52:40 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730949AbhANWuE (ORCPT + 99 others); Thu, 14 Jan 2021 17:50:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730782AbhANWuE (ORCPT ); Thu, 14 Jan 2021 17:50:04 -0500 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [IPv6:2001:4b7a:2000:18::166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7994C061575; Thu, 14 Jan 2021 14:49:23 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (unknown [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 517DF3EFD5; Thu, 14 Jan 2021 23:49:22 +0100 (CET) Subject: Re: [PATCH 1/9] clk: qcom: gcc-msm8998: Wire up gcc_mmss_gpll0 clock To: Jeffrey Hugo Cc: MSM , konrad.dybcio@somainline.org, marijn.suijten@somainline.org, martin.botka@somainline.org, phone-devel@vger.kernel.org, lkml , Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , linux-clk@vger.kernel.org, DTML References: <20210109134617.146275-1-angelogioacchino.delregno@somainline.org> <20210109134617.146275-2-angelogioacchino.delregno@somainline.org> <9942f98c-c186-5cd0-d6ac-a18a4e20583e@somainline.org> From: AngeloGioacchino Del Regno Message-ID: Date: Thu, 14 Jan 2021 23:49:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 14/01/21 23:44, Jeffrey Hugo ha scritto: > On Thu, Jan 14, 2021 at 3:40 PM AngeloGioacchino Del Regno > wrote: >> >> Il 14/01/21 23:33, Jeffrey Hugo ha scritto: >>> On Thu, Jan 14, 2021 at 3:13 PM AngeloGioacchino Del Regno >>> wrote: >>>> >>>> Il 14/01/21 23:12, Jeffrey Hugo ha scritto: >>>>> On Sat, Jan 9, 2021 at 6:47 AM AngeloGioacchino Del Regno >>>>> wrote: >>>>>> >>>>>> This clock enables the GPLL0 output to the multimedia subsystem >>>>>> clock controller. >>>>>> >>>>>> Signed-off-by: AngeloGioacchino Del Regno >>>>> >>>>> Any reason why you are not also adding the div_clk? >>>>> >>>> >>>> Yes, just one: I haven't tested it... and my devices worked without. >>>> Perhaps we can add it whenever we find out if something really needs it? >>> >>> I'm mildly surprised you need to turn on the gate to the PLL0 out, but >>> not the div_out. The div_out/div_clk is also fed into every RCG that >>> exists in the MMCC. >>> >>> Per the frequency plan the following RCGs require it - >>> >>> cci >>> cpp >>> fd_core >>> camss_gp[0-1] >>> jpeg0 >>> mclk[0-3] >>> csi[0-2]phytimer >>> dp_gtc >>> maxi >>> axi >>> ahb >>> >>> Also, I'm very interested in all things 8998, and would generally >>> appreciate being added to the to: list. >>> >> >> To be honest, I was surprised as well because.. yes, I know that these >> RCGs seem to need it, but then their clock tables don't contain any >> reference to the gpll0 divider, hence it's never getting used - and that >> works great, for now. >> >> I am aware of the fact that the clocks that you've mentioned are using >> the divider to reduce jitter, but I haven't done any camera test on my >> devices yet: that's definitely in my plans and I really can't wait to do >> that (as I successfully did for SDM630/660), but... we have more than >> 100 patches in our trees. >> We need to get upstream in the same working order as what we have here, >> so that we don't diverge that much and our work is kept in a >> maintainable state (avoiding to lose pieces around). >> >> I'm sure that I'll send a commit adding the gpll0 divider branch as soon >> as I will start the camera work: I feel it, it's going to give me issues >> without, in that field. >> >> By the way, noted. I'll make sure to add you in the to/cc for all of the >> next series regarding 8998 that I'll send. >> >> Meanwhile, you may want to check out all the recent patches that I've >> sent, as like 90% are MSM8998-centric... :)) > > I noticed, and I'm excited to see additional work since I've had a > lack of spare time, although I think you've monopolized my backlog :) > I just... had some time... and passion about it :))) P.S.: I'm not done yet!! :)