From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0622258AC4 for ; Fri, 13 Sep 2024 13:36:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726234601; cv=none; b=OYo3nA8PBkud6tNGciNYKxKrPMC/Eqnexz8+7gOR6TDk3Ygcraj/8hukeas3bc8cABnTl3rPBkjLkdZ8s2o0ipcKgIUeu6ec4/qZnOMSCBnTkdvUIKGAhkArZhq6sldSIt7K46zmq53KYnvEdd6y4xQ/RVx9yOBxwIVAVHZThn0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726234601; c=relaxed/simple; bh=gwqedYauqRzar7MyUCIVwmQgQHMRuUMD8QN6HVT/PRQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UIsxOobrNRXZbI4HWAkk3NPFhDepEZxj4IUo/q7efaMtB9vs/tFbvZroSCFcNIom58ulVxb5xbTwubWx/l+JQFn9eTWZetFbPCrSGa/rihBA1HXHujwnmUwhcnivzzDwXC7BgVTGEXonBiM9nBjay3CAzIbtPeviCzSWXnKAY/8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=l/B65dM4; arc=none smtp.client-ip=209.85.215.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="l/B65dM4" Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-7d4f8a1626cso700610a12.3 for ; Fri, 13 Sep 2024 06:36:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726234598; x=1726839398; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=yV+qXor6MhUiKRp/uAsEkmn8ZDHW0/20wv7wV43QfmY=; b=l/B65dM4vZuyC+9GL++JH0LppWBKVS9zNSzpWPAHzpeXsdS4sjndbZzJWqdZYl/nLF g2krccT986RqciDROT68bKmNfubBEypjv+LSwZO05PbyJ4eSHg/OacmJ4zwZhZoYqXSL TSqwZ7M1w7TXosssXBlKWpKSCZOVPen5rwaeKwLmgVpMoLzKgsc9WflONsAfJQH9af88 ne/EbhoP7xis2jrQ4VsuInzxkwibaPr2JMyX7vrMVIrh4pPrLDrUp407TvxbyhjcHghV pzOSTetUuITP4xQNxmRxefYaPTHHJShEE0C0bQg1oy1JKQl4ZZS5SE4FpfzvNYdu51nM 0Dqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726234598; x=1726839398; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yV+qXor6MhUiKRp/uAsEkmn8ZDHW0/20wv7wV43QfmY=; b=A18sLHz+RWXEDSToB15xbrbbKpgb+oSBmpt213xJHl524e2Igtp7lF2VH+LeJt9a4Q 5/Kja4Q36y3+dy0c2MxWjgvn1UcToh5NWhIJAL1lxzCqKGwo9sHSvsho0BbVtO7uuYWy +K2fZCCMghqxVSKSgTyXDwbdJ+90zJYAyoYpvBfL7Cztp3qYgwW+DUiGtZOOYmu64zPV 2Fl9WITWOgO8VFSYMMLi2eAJ0K4to6DEAShcETt71QB43x2lQ4/RywNGNwk/6YQvt7a4 hXAeV4qBpBniW/V2H5aBM9iZiTok/ndzqs9rlEvvLf79SkRKTwxGkKxOS9vWKDPzC9Ox NWyg== X-Forwarded-Encrypted: i=1; AJvYcCWjrABsmTN9vtk0+t+fBxpZqXmMGRK7yG8CbdKYZKz2oIxcJWJMlxD/Gl03Be8xKNfkpgd+Ep/G+v0=@vger.kernel.org X-Gm-Message-State: AOJu0YyqHI6GA07N+fF3xYC2QqZvf4NfOl2DeJqi9++xPWI15VdtI6gK KY9l6hbgdzD2slP2aA+LVCDGj/TGOhLpN8dWB9d3U7Pd3QNY0sgEuBP4SEVfVg== X-Google-Smtp-Source: AGHT+IFcp2jTl5mrKJuFCPH6264r7HZB1RvFjZQoHrVr3k/nmvKN3GCesQlgt2QE0HCgz4564DsufA== X-Received: by 2002:a05:6a21:6481:b0:1cf:539c:56f0 with SMTP id adf61e73a8af0-1d112eaf2eemr4459577637.47.1726234598009; Fri, 13 Sep 2024 06:36:38 -0700 (PDT) Received: from thinkpad ([120.60.66.60]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7190909226fsm6286989b3a.98.2024.09.13.06.36.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2024 06:36:37 -0700 (PDT) Date: Fri, 13 Sep 2024 19:06:19 +0530 From: Manivannan Sadhasivam To: Dmitry Baryshkov Cc: Qiang Yu , vkoul@kernel.org, kishon@kernel.org, robh@kernel.org, andersson@kernel.org, konradybcio@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, abel.vesa@linaro.org, quic_msarkar@quicinc.com, quic_devipriy@quicinc.com, kw@linux.com, lpieralisi@kernel.org, neil.armstrong@linaro.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v2 2/5] dt-bindings: PCI: qcom: Add OPP table for X1E80100 Message-ID: <20240913133619.z7cc4whhpvs2uecb@thinkpad> References: <20240913083724.1217691-1-quic_qianyu@quicinc.com> <20240913083724.1217691-3-quic_qianyu@quicinc.com> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Sep 13, 2024 at 03:30:59PM +0300, Dmitry Baryshkov wrote: > On Fri, Sep 13, 2024 at 01:37:21AM GMT, Qiang Yu wrote: > > Add OPP table so that PCIe is able to adjust power domain performance > > state and ICC peak bw according to PCIe gen speed and link width. > > > > Signed-off-by: Qiang Yu > > --- > > Documentation/devicetree/bindings/pci/qcom,pcie-x1e80100.yaml | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-x1e80100.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-x1e80100.yaml > > index a9db0a231563..e2d6719ca54d 100644 > > --- a/Documentation/devicetree/bindings/pci/qcom,pcie-x1e80100.yaml > > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-x1e80100.yaml > > @@ -70,6 +70,10 @@ properties: > > - const: pci # PCIe core reset > > - const: link_down # PCIe link down reset > > > > + operating-points-v2: true > > + opp-table: > > + type: object > > I think these properties are generic enough and we might want to have > them for most if not all platforms. Maybe we should move them to > qcom,pcie-common.yaml? > Agree. It should be moved to qcom,pcie-common.yaml. - Mani > Krzysztof, Mani, WDYT? > > > + > > allOf: > > - $ref: qcom,pcie-common.yaml# > > > > -- > > 2.34.1 > > > > > > -- > > linux-phy mailing list > > linux-phy@lists.infradead.org > > https://lists.infradead.org/mailman/listinfo/linux-phy > > -- > With best wishes > Dmitry -- மணிவண்ணன் சதாசிவம்