Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1933180pxj; Fri, 18 Jun 2021 21:10:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwf0senzeEgOtiZ6iTJ9PPMGSnHeuBpbSXMEGER91NH3uLWt3xKnf/qGu7GXoqfh6FpOCau X-Received: by 2002:a6b:8ec2:: with SMTP id q185mr10482648iod.22.1624075850219; Fri, 18 Jun 2021 21:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624075850; cv=none; d=google.com; s=arc-20160816; b=U0QPd1HbIMKKaX+x9ohXYx75qgiK/1gglCqDGgZSta1p6jDo2P47vcSqyCR4gLV+tI 8kDERBluUWIoaoIq+CaHNooAzJp5oTWnUXQXo4/ohoq0g610XuyKXcPntyK3cp/UvKOw Yp06ATVJyTvqCheQG7HmqYAq5KGLYq3caT98NH0zqF9mix61yU/YIyqGAzIvjGgsuNWy +gfVJ7zOEfgk2UboWVoaUgjLO20KHG3w+ixfQqL8MK6ySMbJgbq5Fx1Mjn1rqwGgWCQy 1U4JJFbeCdp68ujCY7NHaqPUqOHLxm3nbB46DolX1c7GpC6vqKRRQ/fKjNyNvHj5JlzT Ibxg== 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:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=+oLF+0y8D03kq1ljHTaiFTX3oW0ul23QTjCdRgRqCow=; b=pIlvAdMbpuQlWS6tlp8M6AjQpQ4Eb78qcM9lB0INrMr4a5I3Du+C/Py/sylElKPnGv aJ3X06IJ4DmrSXHkkjPHR953ocnG5aXbA4CdKxCDoaeVHFWhVGAL7QDnYf7JULhNO/qN bF1bKuEc5PT2ULXmHUrd2srvbRRITa5PkSuGjvt3C9pQELxwO51/RXD6UvqRGUkVIy9z BlZ25gyVpaYYY0C5eJmMELkc5hM+Te+FSmU8JO8oBXqs0pjkGhqiAj8voRfR94yEm7o8 knm0z2Q6X+Vm6X90L2r+eqaqRUiktV+BIWpSPsWmGsLCYq1UD5Tcwb0JG9Ds59m7L/Id 7eew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=CeAachcW; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c8si10282434jag.82.2021.06.18.21.10.37; Fri, 18 Jun 2021 21:10:50 -0700 (PDT) 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=@chromium.org header.s=google header.b=CeAachcW; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233461AbhFRUvr (ORCPT + 99 others); Fri, 18 Jun 2021 16:51:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234095AbhFRUvr (ORCPT ); Fri, 18 Jun 2021 16:51:47 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBB88C06175F for ; Fri, 18 Jun 2021 13:49:36 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id v22-20020a0568301416b029044e2d8e855eso1767623otp.8 for ; Fri, 18 Jun 2021 13:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=+oLF+0y8D03kq1ljHTaiFTX3oW0ul23QTjCdRgRqCow=; b=CeAachcWpT6uB+4FTIdJRCj9tyRHmQWcuzvtygJGAiFVjW1uv5cFOsgffy7cvhCZyM 4v3Pn2Zv4lsYe6XG4fjdrDtFDwgQ4MnMlT+6QreBF/Cs4F3M/yiPjPPktq7KcqBX6cdR D7dqGEP3/Ved9TXnS0JDwkxtpItWZO+HXK/kw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=+oLF+0y8D03kq1ljHTaiFTX3oW0ul23QTjCdRgRqCow=; b=DfNo2JfTiB4J8+owiJWcH20H2rM8k/Cw5DuFldzYbHlW8tyWVz+1NWmLdsFo0P6qiy BB6bFWN3EvxxoO1tNMLgQUELBfaxeyHZ7jYK2JLJiiii7Sk0tcjy6+CNbyGJ03avPIuV uznPa4UQnEtdsAk4YB/0u11iyTuZTjyAtsTJgkKdLIRh0tqqElQ2P/fOR9HSyL1a2+B1 wdyaIui4Ka8hTZCFnpgKeG1NNtGZjcJBd622vrfZsJKR0Al4PV38Z2alI+vnOniX18dT IILp0L7I/yvCTaJR9A491pbTwbNz1gMotS4nT/dtpZC9ZiHZu2eiVGFXax/A/QC/lV9I lDJA== X-Gm-Message-State: AOAM5331nX1O0+CyRk8CXfhNEcOOarzsM+KcVquwOH+Vmtp/jERUhCZn kQA068O//gelTbUpQowRdNBlaRy0DBLXwUlWXmaFNA== X-Received: by 2002:a9d:624d:: with SMTP id i13mr2752232otk.34.1624049376379; Fri, 18 Jun 2021 13:49:36 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 18 Jun 2021 13:49:35 -0700 MIME-Version: 1.0 In-Reply-To: <21dc5c9fc2efdc1a0ba924354bfd9d75@codeaurora.org> References: <21dc5c9fc2efdc1a0ba924354bfd9d75@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Fri, 18 Jun 2021 13:49:35 -0700 Message-ID: Subject: Re: [PATCH v2] arm64/dts/qcom/sc7180: Add Display Port dt node To: Bjorn Andersson , khsieh@codeaurora.org Cc: robdclark@gmail.com, sean@poorly.run, vkoul@kernel.org, agross@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, abhinavk@codeaurora.org, aravindh@codeaurora.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting khsieh@codeaurora.org (2021-06-10 09:54:05) > On 2021-06-08 16:10, Bjorn Andersson wrote: > > On Tue 08 Jun 17:44 CDT 2021, Stephen Boyd wrote: > > > >> Honestly I suspect the DP PHY is _not_ in the CX domain as CX is for > >> digital logic. Probably the PLL is the hardware that has some minimum > >> CX > >> requirement, and that flows down into the various display clks like > >> the > >> link clk that actually clock the DP controller hardware. The mdss_gdsc > >> probably gates CX for the display subsystem (mdss) so if we had proper > >> corner aggregation logic we could indicate that mdss_gdsc is a child > >> of > >> the CX domain and then make requests from the DP driver for particular > >> link frequencies on the mdss_gdsc and then have that bubble up to CX > >> appropriately. I don't think any of that sort of code is in place > >> though, right? > > > > I haven't checked sc7180, but I'm guessing that it's following the > > other > > modern platforms, where all the MDSS related pieces (including e.g. > > dispcc) lives in the MMCX domain, which is separate from CX. > > > > So the parent of MDSS_GDSC should be MMCX, while Kuogee's answer (and > > the dp-opp-table) tells us that the PLL lives in the CX domain. Isn't MMCX a "child" of CX? At least my understanding is that MMCX is basically a GDSC that clamps all of multimedia hardware block power logic so that the leakage is minimized when multimedia isn't in use, i.e. the device is suspended. In terms of bumping up the voltage we have to pin that on CX though as far as I know because that's the only power domain that can actually change voltage, while MMCX merely gates that voltage for multimedia. > > > > > > PS. While this goes for the QMPs the DSI and eDP/DP PHYs (and PLLs) > > seems to live in MMCX. > > > > Regards, > > Bjorn > > Dp link clock rate is sourced from phy/pll (vco). However it is possible > that different link clock rate > are sourced from same vco (phy/pll) rate. Therefore I think CX rail > voltage level is more proper to > be decided base on link clock rate. >