Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp642531imm; Mon, 9 Jul 2018 08:07:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdG5oWa5AUnpqxXlyRK8vfb2DHdsHvIzXvZNfcoHzN9X0MyN+lxYjrWe68EuRbW2bqHJ/f2 X-Received: by 2002:a17:902:3124:: with SMTP id w33-v6mr20807676plb.235.1531148831332; Mon, 09 Jul 2018 08:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531148831; cv=none; d=google.com; s=arc-20160816; b=unMTlzozpR7WK7LcmqHM/dxtPFnp7WCJ3Nytj8hBq+KqTVhw26NQyL2ki8dmcp7BoB Q0MSeFc2C2peyVEFXpAHYOtCsUkV3/MUUOtTHFVBvNCUU2ofccH3UsEwy8/7+rgzLhqh dewPE2zewcDHcTRfdTGO9OzlzWKPungW7ilmtwXG1wiOMk6unNEUdLXlzdfcshfeSrUe JVnfBZpYWO7IQpm19tM3YrBY88LLQkOMUHvIVuKbGaoK6JuMjiZVL4kV5w8B3Twvr94q V7vCeH8DI2K12QhCZ2gWr4/TpYuWv9WZlXm7QIWvJovaMyYKyJG0f5TQfsYSoEqW7nZH p0SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=F5zPMxKJspL98ARwlsrq7EzLYjhCW4M551H+ZmzNYEw=; b=gwoaI2VAwzFjIbaqn1zUrbsLJjh1Y1tHgwu1qKH8XMbthBTtxxsf18e3HYlrWcaTEw 4kIuKvO+TX1pFbLTy8S2FQI6ntx6fJptGHvDBv/g+l1xiSUGhxxluo4s7ZVl1xxg+iL1 +XFkZ5uYXzCL9An6qx1gbpkM0KW2fBHE4l1HR3oQe6SBANUgPcPd6C0uhrtdzBVPs7qT dVneY7NWkK1zboEQaCE4siJAEmYJMqbtwZ+hlgaFQLxMYl2rAmKCFDdAz3GcAPtgaGoJ MLnB3ycnDzFmVxMGtnS4+5aaFgZR9DTHdun5KVQcW8Uk97MLYPiRj4B0LBb2kLy76nah abSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bd0c0fMo; 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 m18-v6si13686709pgi.688.2018.07.09.08.06.56; Mon, 09 Jul 2018 08:07:11 -0700 (PDT) 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=bd0c0fMo; 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 S933320AbeGIPGJ (ORCPT + 99 others); Mon, 9 Jul 2018 11:06:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:57810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932994AbeGIPGH (ORCPT ); Mon, 9 Jul 2018 11:06:07 -0400 Received: from localhost (unknown [104.132.1.75]) (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 5AF3D208A2; Mon, 9 Jul 2018 15:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531148766; bh=p5dKY2BpCtaX5cMv5r/3x5jzFXmjZkcsQaewStNujwM=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=bd0c0fMo0Ds/z03MhGaUEfRB5j5XCRTzLxfK1B2nC72fK8Ghp0TKh6aLcSc2RJUyB I2Yt18+ZJZujeznng00riXLjk3djPKdnpjlDP8f5d2hVPBEpPal8JtWd6eFWuUtG1b KhF9g5EBozV4lzr6/QQ+b9iHR9N6FPaZfbbAE8nQ= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Michael Turquette , Taniya Das From: Stephen Boyd In-Reply-To: <288770be-a763-b287-f62a-72ab7616efdb@codeaurora.org> Cc: Andy Gross , David Brown , Rajendra Nayak , Amit Nischal , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <1529763567-13131-1-git-send-email-tdas@codeaurora.org> <1529763567-13131-4-git-send-email-tdas@codeaurora.org> <153109408562.143105.15954380130353645468@swboyd.mtv.corp.google.com> <10f87216-caa2-d523-e134-6cf3acd268a7@codeaurora.org> <153111701079.143105.13387458941681113476@swboyd.mtv.corp.google.com> <436cc6a3-7406-c695-7879-3b9d042262cc@codeaurora.org> <153112184177.143105.15452587215679149679@swboyd.mtv.corp.google.com> <288770be-a763-b287-f62a-72ab7616efdb@codeaurora.org> Message-ID: <153114876561.143105.465317097490450694@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v3 3/3] clk: qcom: Add display clock controller driver for SDM845 Date: Mon, 09 Jul 2018 08:06:05 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Taniya Das (2018-07-09 02:34:07) > = > = > On 7/9/2018 1:07 PM, Stephen Boyd wrote: > > Quoting Taniya Das (2018-07-09 00:07:21) > >> > >> > >> On 7/9/2018 11:46 AM, Stephen Boyd wrote: > >>>> > >>>> > Why is the nocache flag needed? Applies to all clks in this fil= e. > >>>> > > >>>> > >>>> This flag is required for all RCGs whose PLLs are controlled outside= the > >>>> clock controller. The display code would require the recalculated ra= te > >>>> always. > >>> > >>> Right. Why is the PLL controlled outside of the clock controller? The > >>> rate should propagate upward to the PLL from here, so who's going > >>> outside of that? > >>> > >> The DSI0/1 PLL are not part of the display clock controller, but in the > >> display subsystem which are managed by the DRM drivers. When DRM drive= rs > >> query for the rate clock driver should always return the non cached ra= tes. > > = > > Why? Is the DSI PLL changing rate all the time, randomly, without going > > through the clk APIs to do so? > > > = > Hmm, I am afraid I do not have an answer for this, but this was the = > requirement to always return the non cached rates from the clock driver. > = Ok. Who knows about this requirement? Can we add someone from the display driver to understand more?