Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp89317lqr; Tue, 4 Jun 2024 22:49:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVRXG5KpV65idaFfqYhWXkx8k74LSN2OVHl/X8/bRtDkJunc2jI2tV0Ke4xKvRw6WUxcNf45hJ0Ngcpz8ezQ4XlA4Q3mPXRcIXcxgdVGw== X-Google-Smtp-Source: AGHT+IHi5196Lg+nkkTbHRvTj7UefYW5j+b2OpCuXn5yd3uM6PcJAe66tNzjpqS2Z9114pZBRw4y X-Received: by 2002:a05:6a00:1795:b0:6ea:74d4:a01c with SMTP id d2e1a72fcca58-703e598df5emr1841738b3a.14.1717566594416; Tue, 04 Jun 2024 22:49:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717566594; cv=pass; d=google.com; s=arc-20160816; b=Lnt638xkVQlxxBLkM89KdSnVBjaTwHJavGW+TC9RLP8D4aCZNOQky1TGk2KwJ6RkaA dmuO3Tw+VfQFiZF92DgeWXkkatpO9ka6yvMipC0FCy2JDcWMnmZf6B34/BuVmx8Yuqqs FUkwJBuLrLlnyK5ftSHsiXI8yhA7ZO0dC3oojY9TWwcYINk7RY8toQFJSPP//OrXn9J+ J1nQTlwezcIqP4qSgJNDBKzUMUKUwk//uqj641jftDYOObE868BAzRszk+Z1RRV+QFDw 5W67REe7DBLqwEgr5uM1sFWyH8eL4dMcKKTf6AhOIyuOqSJZoaKe+Tp3bFDcZrtPeIVH Zwng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+dM5+k2xQ90bwK2u/6F8dSzOK+d/yGXOElnGPg/eOmg=; fh=KNvzJx3o+D8FREcEeTA3Gz19fWFPiq06dzKgsHaDe8g=; b=P4cuh59kzHzS0HYjtlhjs3JD4uk+xH9oOi23u6efCTVdGFwbPiT4KsXCuBg18dIsy4 fdvIsrJRUQHn27ag7az7qhIyZNBNLLbzH1CcofbA8cvlnv38fmASfyL/C/8P18KpZKBy 9LON4tPs0vNdODxIVL27xEUjKibr615EkKEVl5BLUlCxmI6KBOuKaYKv7BSzSqBY3+sl mdl8XM91Lsw2mCsHdY5v/ag1YM/OH2kOZlptVUfJAVf0PlXRBbqtqrRVdCi4V7gW19Qi LVh4tLvZb6zaic8Qy6+/f40YgujyGIimoYDwtXf3ywJh2epZL+CBYYWeYWViyUOxh2ll rvyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F7BXUwSV; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-201782-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35b40be62si3168780a12.506.2024.06.04.22.49.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 22:49:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201782-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F7BXUwSV; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-201782-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 05D1C284069 for ; Wed, 5 Jun 2024 05:49:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C7FF21C184; Wed, 5 Jun 2024 05:49:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="F7BXUwSV" Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (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 974A621C164 for ; Wed, 5 Jun 2024 05:49:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717566584; cv=none; b=K+//QhnZNr7bBMbbuhVNnBVJsPExKp10AIStyF0NreteQA0wJk8FL4KyoeZ6yMDVAZq6U8Jwo8ye5qYeVYRlwn65YAEcrvwt8ruYjzprFLSflxDTDMm6tE6TLYIA9zGzgcCMo8ON5WFG8x+yApdOY7FszfJwB6tqgDfHgXnCBeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717566584; c=relaxed/simple; bh=Beh2wlkRe7Eug/7DYljw55OLT0VJDjN+N9ltnUnhZMs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TwvJGFZ5mqaMevfCHdaUPGQ9SIDHvarM+Toy2PKJcQQPXV2Ro5ZaJBM3HtiL1qBjV/D2Yi+qI6IhN3CUYKyB8cEh4wmL0HPsoHeR+npOJesyDWljPwQrMUW6DxU16REMWkyqL9EPs3542jUuNQpFPz6Uuw63lp7zygnP+ne1bTo= 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=F7BXUwSV; arc=none smtp.client-ip=209.85.214.176 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 Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1f47f07acd3so16264525ad.0 for ; Tue, 04 Jun 2024 22:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717566581; x=1718171381; 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=+dM5+k2xQ90bwK2u/6F8dSzOK+d/yGXOElnGPg/eOmg=; b=F7BXUwSVaWxsDPfg/N4kEFbQep/g/8n3NSjTTNKnhqQDepcUgdFONF7bAA98X465ve DuIwZsmpm9/aneSxDATZxIy3dlkZ0lS6xJQtWVCcADBEHfg4JfCusyYq1Yx6aYaHSb/J g1EohOWBBGqlRJgmqUpn2yfqaQtllX49SO2yMzN1sofMHpcvDOw/+0E+ZAA18zIpSy2x BZZj0dDqNs+efBeBbOno+6yMJxKYc1seXwqZLMSMhFb7mm/Sg8C7JPiam/q5mfrO8rqC QLZt0oAh8DpUmnxUuiLJN7sD6WKZIplTIqklnOlo94Rt2RBEHVuM/5ruogYdo3uqLLMz GOCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717566581; x=1718171381; 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=+dM5+k2xQ90bwK2u/6F8dSzOK+d/yGXOElnGPg/eOmg=; b=m9ehsKkBB2xJrMtgcvsMrmJ/oRe3fWYETKpKu4Y2qObqESdyian7FNSMRUa5fjALAW r75lckfN9Drq18JArDeaZe8clyWRaRUo+qA667PeHEo6r92VMBAZvK8WyLVn2+NBDgor KZX6SfPjJFN1eR0fjWyQvQzawJsQi8lA/EJk3qrpos6bxi5EEfOhusQrGFYR/LsJWWeZ oNuxnXvs9r1miMRU5ovOb4NUdxLmhCkKAP6qRaKfhSRrv1TkS30YaoOGznPKAIjQqBxP auG7T11KbF9TJsgeJWT6bAqThIUSN4S2E3oA7OyPSWst9/9pbA/4buO7g5TtlpQtj3/L 21qA== X-Forwarded-Encrypted: i=1; AJvYcCWZ1YF7Q44bsFuqvLeuzc0KlP3l12YIrwKuFZEbtsFBlUn/eV19F5O1FFHbuitdDZdEvZ0a5n6bTaBFxtMFojU7CXDSO+bc1BGHHeC9 X-Gm-Message-State: AOJu0YwFhQ9S4zl+9Jz4bqgiAZCDIm9ocrTidFW269u+qizzQwHaQY+0 MZPmBvP8+WkHDgLYQiR4EE3hK2jTC5aVcTdoS2hc2aYy+hOSA62JksX/Nc5rFQ== X-Received: by 2002:a17:902:db0a:b0:1f6:7ee8:8942 with SMTP id d9443c01a7336-1f6a5a290ffmr21801795ad.40.1717566580772; Tue, 04 Jun 2024 22:49:40 -0700 (PDT) Received: from thinkpad ([120.60.137.11]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6323ddac9sm95544525ad.173.2024.06.04.22.49.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 22:49:40 -0700 (PDT) Date: Wed, 5 Jun 2024 11:19:28 +0530 From: Manivannan Sadhasivam To: Rob Herring Cc: Abel Vesa , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: PCI: qcom: Fix register maps items and add 3.3V supply Message-ID: <20240605054928.GB2417@thinkpad> References: <20240604-x1e80100-pci-bindings-fix-v1-1-f4e20251b3d0@linaro.org> <20240604235806.GA1903493-robh@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240604235806.GA1903493-robh@kernel.org> On Tue, Jun 04, 2024 at 05:58:06PM -0600, Rob Herring wrote: > On Tue, Jun 04, 2024 at 07:05:12PM +0300, Abel Vesa wrote: > > All PCIe controllers found on X1E80100 have MHI register region and > > VDDPE supplies. Add them to the schema as well. > > > > Fixes: 692eadd51698 ("dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller") > > Signed-off-by: Abel Vesa > > --- > > This patchset fixes the following warning: > > https://lore.kernel.org/all/171751454535.785265.18156799252281879515.robh@kernel.org/ > > > > Also fixes a MHI reg region warning that will be triggered by the following patch: > > https://lore.kernel.org/all/20240604-x1e80100-dts-fixes-pcie6a-v2-1-0b4d8c6256e5@linaro.org/ > > --- > > Documentation/devicetree/bindings/pci/qcom,pcie-x1e80100.yaml | 6 ++++-- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-x1e80100.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-x1e80100.yaml > > index 1074310a8e7a..7ceba32c4cf9 100644 > > --- a/Documentation/devicetree/bindings/pci/qcom,pcie-x1e80100.yaml > > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-x1e80100.yaml > > @@ -19,11 +19,10 @@ properties: > > const: qcom,pcie-x1e80100 > > > > reg: > > - minItems: 5 > > + minItems: 6 > > maxItems: 6 > > > > reg-names: > > - minItems: 5 > > items: > > - const: parf # Qualcomm specific registers > > - const: dbi # DesignWare PCIe registers > > @@ -71,6 +70,9 @@ properties: > > - const: pci # PCIe core reset > > - const: link_down # PCIe link down reset > > > > + vddpe-3v3-supply: > > + description: A phandle to the PCIe endpoint power supply > > TBC, this is a rail on the host side provided to a card? If so, we have > standard properties for standard PCI voltage rails. There is a 'vpcie3v3-supply' property and it should satisfy the requirement. But 'vddpe-3v3-supply' is already used on multiple Qcom SoCs. So changing the name in dts warrants the driver to support both supplies for backwards compatibility, but that should be fine. > It is also preferred that you put them in a root port node rather than the > host bridge. Even though the resource split between root port and host bridge is not clear in Qcom SoCs, I think from logical stand point it makes sense. - Mani -- மணிவண்ணன் சதாசிவம்