Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp332633imm; Mon, 9 Jul 2018 02:36:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfNOuxvEU0GwKG7P34cGBPNqsqldbArJ3sNaE+MmAre0IkBZR7HjhEkn3d6+/3Rjd/HQFP9 X-Received: by 2002:a17:902:822:: with SMTP id 31-v6mr19685973plk.172.1531128963790; Mon, 09 Jul 2018 02:36:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531128963; cv=none; d=google.com; s=arc-20160816; b=v1uNwRMOQKRmQIuFv2IWyvruUJmm8RGNhRLU9kvbNW8uY2U570ja6zU1ENLfFbCbA9 ZuuYOt1TeEBLA+09m+yNtH7jHYr+eFPmWsyFZllz5QLJNT7FgY6YiKe77RQlFjhG1HTK i73WA8quJmShSK2NPC7BcBE1tt/XPHi6EBjB/pSER91cPiHMdgtAlQZBhOyHDIAP5O+w fWNIByTzIqE7Ndn5Rps4QZ3yrDrBcP5vCNTEYJwJffN47UnvX6UJMywnjdPpxw+HOw2t jz+mnFUoU9yGu1+RuT6KMNYqqhNWSF8FV3dKwU4+GqneIY0Zk9sDIhp+hEvHEjvVdV0U TJEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=/y4LLe75vDqAv7gkD3LXxxDKxqU7Gynar96OQxx4sCk=; b=FXGhGHOApf2Sd0egXgxEefOWBPb62Yjbx2/Vav7MV6/I4upcCC3YWHAUXPbvZHlvsz Y44aJNBI4MV2kNdaR6oY50o2pjNsGeyEgq6RZma5E84tsq4huJqrfVXgKCgkQQCqb5oa 95uU7vSPcl16nHErd3FtsiD9SjzfF39KFBbbRuXP/q5+8pcT6C2PzC/DDc1MsVbEXybz JhBQcy1kawtWd1tc1Xwvw5kaNKG9EB1mACS+0XKcz17q7tRsMYUqAQEyUWjc+57SQ48Y kFet4OPigwbpTZNbQk3VMNml21ZYULRFRKRfxMJFeIiFXMR7HjX3p7myNyQOKUOKpJ31 a84g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=kk8vrNvZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=i4PLtvuX; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5-v6si12942738pgr.436.2018.07.09.02.35.48; Mon, 09 Jul 2018 02:36:03 -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=@codeaurora.org header.s=default header.b=kk8vrNvZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=i4PLtvuX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932609AbeGIJeS (ORCPT + 99 others); Mon, 9 Jul 2018 05:34:18 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:39046 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932366AbeGIJeP (ORCPT ); Mon, 9 Jul 2018 05:34:15 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3A499602AE; Mon, 9 Jul 2018 09:34:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1531128855; bh=LVZcKDVZRURUYXmo7D59nFQS+yOIj566mfjlEW2WF4g=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=kk8vrNvZPTjD2t8YzwZPfMACOTv9u7JlYZYgQIhv5QgVlqELrotYnKnTHHc4zoFW1 iMdNb4kjRyGMJjCj8fUyMpT4HdkC1ZmPpmJMIak1ZR7tjyUoylpo8MAieYMs0kQp0i 2+wBesyhT7z3hS6zFYYe7buJ6qL8P+o6n4BEt8r4= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.79.165.52] (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tdas@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B13E660591; Mon, 9 Jul 2018 09:34:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1531128854; bh=LVZcKDVZRURUYXmo7D59nFQS+yOIj566mfjlEW2WF4g=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=i4PLtvuXn2O88i0jcLIfR7/tarqDJ0hMaOkn1C91vgJxu+tVGUucvhihgsAIpONs9 k8DHXObd0n7nWsMxJVCrI6OpWH/1t7vRWBwK0k75JxueGM/+9635YhaXEFsOqlhm9n b1f7g9lFmdmKylaSn4q7Qy3GXK2bFr91VYNFTRMY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B13E660591 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=tdas@codeaurora.org Subject: Re: [PATCH v3 3/3] clk: qcom: Add display clock controller driver for SDM845 To: Stephen Boyd , Michael Turquette 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> From: Taniya Das Message-ID: <288770be-a763-b287-f62a-72ab7616efdb@codeaurora.org> Date: Mon, 9 Jul 2018 15:04:07 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: <153112184177.143105.15452587215679149679@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 file. >>>> > >>>> >>>> This flag is required for all RCGs whose PLLs are controlled outside the >>>> clock controller. The display code would require the recalculated rate >>>> 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 drivers >> query for the rate clock driver should always return the non cached rates. > > 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. > -- > To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation. --