Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp633999pxb; Thu, 14 Jan 2021 14:48:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVZjIyQRKJY31BhJeTNocddJ+vVaAYIBR0WjkOkgsEA2yLFs6YRB2mY0TFybM0Hh5dZfVf X-Received: by 2002:a17:906:d62:: with SMTP id s2mr6890748ejh.61.1610664490742; Thu, 14 Jan 2021 14:48:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610664490; cv=none; d=google.com; s=arc-20160816; b=nTEB5PYNPuQE4ssn7A2yYWK8ZpJioXMCi+iyFpaubEbcbVJOKjI9Llxz1hQ6cov+j5 thdFhiwMolFcXnLwHSxCP3U2zYVLREfIu3uk1lCYbtilX8xTq/YgrVbHwAz4QMcgOGCm q4eMLqVPhThoKj3IC4rVTsPfua1FE2IpwqW5l0S9STd44O26PQKK9bskJDE6HovcZtSU uzSp9P9+jWZNroLB0xBJ4oEAJ0Y+AXaBosy0iImLfpnULw+yEFYSblXhx6gnrTmddett 5t5LUyxfDFfjGgwy5yZbC1uSzOG0wV3R1Pb8AzUmWaak5GNzxU4Tyk8h/yt13EMX1fI6 vXqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pkhyc2t9glEsHQiUVXVw+wftpHcvqftfhtLebN1B4GM=; b=IqqVelk1p0avDzsemEMPMA4FcHeeFUXtQYh5MofS5QB4GIH+03IvT6OQ4+hCzJoFTu Fd1M2DAd8nboaUaUgiYw6n+wUli4PQckZG6BaqvgJffax0WqNEk8gXZain9pXftACfQE 99bP3bNc7TgoiV4uQwo10nMhOQndP55GWUOYFWSDryEn3+uZzcRiLp1Lg/6XAxuXYNjo yrooHjfznkE8n5JRuHzOw3GYG8gNWSZgYzr+/6tgmE9ThP7M3o4Qvusk9k4K1OcoDGZ6 GK0mI3r46NioGTfXigLmpM+NkNWeGFrd2/gDjMd8+TDrY37AceVqGV+Wq2tPtDqtrp6T zTpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aDpVHRhI; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b21si1881536ejk.520.2021.01.14.14.47.47; Thu, 14 Jan 2021 14:48:10 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aDpVHRhI; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730852AbhANWo6 (ORCPT + 99 others); Thu, 14 Jan 2021 17:44:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730835AbhANWo5 (ORCPT ); Thu, 14 Jan 2021 17:44:57 -0500 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 403F5C061575; Thu, 14 Jan 2021 14:44:17 -0800 (PST) Received: by mail-io1-xd34.google.com with SMTP id n4so14482767iow.12; Thu, 14 Jan 2021 14:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pkhyc2t9glEsHQiUVXVw+wftpHcvqftfhtLebN1B4GM=; b=aDpVHRhIa0UQiPZpRGsIZu6jTc74AQlrsVgPq/p7fzooPuQnPybSmezFI0Uo4uptc8 OIOExYULGmcuo30er7nPC4z0fFmqWyMc4q3inwmqv5PQtZ1gOjWDE7ZosukzXSSkqlnh 4zkh58YyElVvTt4Liz26Ex39c3YHlE46COyjYYvPZglJCAVo4HwlgdMz1dfbnUzQxD9P 8I1641COoEaAYF193YHaFmT82roJZU+0vfXxapT1bTorPgDa/gfxVB3vQtWzmaHmLFIF PRwgS8Ml6WXo4Mgsg0WJpahVgTsiFGRyPDFWDjsuq/4wFtWJYSOLBn0vcqtPj0MSzuos cOIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pkhyc2t9glEsHQiUVXVw+wftpHcvqftfhtLebN1B4GM=; b=sTpgTdBj7Is3wc7meUON8FBKTkKgUFQvIbfcAGnTFGeOb4YsO/IvvRSXSZNTOxcYbz S38bprwFyzn0JLIkwkixDF+30g8aN38GPxv8xETBd9jG062M/FNjVhdhMPRFKCMTZ+i2 QvNpUBZKtlVtylq0bBzaNztGAzkS1i0kUSkCYgeck6XSkcLRxJYkAerZLuo5nw28TazR hKWfIFh9jWEkixUD021Mo26+0wtPZigFcFPjfn4QrvaApcSEb3Di5sjXGuoyO9uADO6K sH+tRWrqr40WbbfffwaewR2djSrEacdf/rs3oSOy5HAP+S5m+qQgrrlfXTfQft1i4IEb v4jQ== X-Gm-Message-State: AOAM531RVLB7ZdZ2/MIgn4CVjtRwjt6KdmowSChzDcbRHQexnyFVQALa WbkN1UtHLAE0lwEFyqrwplNID5KY5B+Uov0oqTk= X-Received: by 2002:a5d:83c8:: with SMTP id u8mr6727380ior.160.1610664256671; Thu, 14 Jan 2021 14:44:16 -0800 (PST) MIME-Version: 1.0 References: <20210109134617.146275-1-angelogioacchino.delregno@somainline.org> <20210109134617.146275-2-angelogioacchino.delregno@somainline.org> <9942f98c-c186-5cd0-d6ac-a18a4e20583e@somainline.org> In-Reply-To: From: Jeffrey Hugo Date: Thu, 14 Jan 2021 15:44:05 -0700 Message-ID: Subject: Re: [PATCH 1/9] clk: qcom: gcc-msm8998: Wire up gcc_mmss_gpll0 clock To: AngeloGioacchino Del Regno 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 :)