Message ID | 20230306153222.157667-14-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1921631wrd; Mon, 6 Mar 2023 08:02:12 -0800 (PST) X-Google-Smtp-Source: AK7set+k9bCEA8ilUT2e+/33t//tGDqDlzOlgPpGcIwnH6Lw3YBjjcNs1DfOrervlHBcG0zFD7bv X-Received: by 2002:a17:907:7f18:b0:878:683c:f0d1 with SMTP id qf24-20020a1709077f1800b00878683cf0d1mr13745119ejc.38.1678118532169; Mon, 06 Mar 2023 08:02:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678118532; cv=none; d=google.com; s=arc-20160816; b=pudNfNPxm5DEl40wtFOOHZh4IGISJhCwIp0PEESyVbI0M0Flte6KgkNgCnFaNpXZ9f NeG30f7ayMTVkwJEHB/ZioCaPENTtLtK67ge3+IWhU8alkUSwHq2UaXoLRj8Qc/amASD bv5VPCJG6lomUdJ7gAgb85Gomq/4/ZQTPjrqxkT2k6EslPOwridkZpn5mjxxUxGXJi+Y GX+8txiuKYvoTihUZ6q96UQ3dHQ44qfVfvD+0phi3yRHXT5Mceku+Ip8feHEQC28zlbV bEd1JKblOC7Ptiy6PS2w4Thlo8xin2w0MMGxXEOlVbU8xtd9PQZZReK1fIUNfdZsUoZH bVFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xOXj9qXaJS4g+fALdy49YGqe1mwntIry9f6pr0EizBs=; b=RFJoe68k714/CC87zWepV9Nlcsqip4r3azq2TzQ5N0moxbLTw7Tjz/cTwiLkcoN6Au oKhEys0opK/nb3ABUPkiA5iTwVsE8C5/9wpiuG4W8IBMP8ev2wWM0ovsASVBcPgG4Dsb CiLd9JC9W70DK3ADoDXZUY/AJzjJxAFoVNAFuUqZeUBrQotJvK1zQwz9cEdhSBtKarX8 /beNshaEw/Ggt+9iHfoqCz4vCKcSQV6qZGomdxNp0G7cWm3fKLzNKqGwwauMqsVaJuHb 7HPU0LUKTQpWVWffjpaLhy8qXTE5jhiHLyLykhWdk2vmN3zCxqOdcdRX124gMIwp1G83 pvCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O5bjJSoi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x19-20020a170906805300b008e416a5f36bsi20233ejw.515.2023.03.06.08.01.48; Mon, 06 Mar 2023 08:02:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O5bjJSoi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231298AbjCFPeg (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 6 Mar 2023 10:34:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229981AbjCFPeT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Mar 2023 10:34:19 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E36C54EFC for <linux-kernel@vger.kernel.org>; Mon, 6 Mar 2023 07:33:38 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id i5so10798814pla.2 for <linux-kernel@vger.kernel.org>; Mon, 06 Mar 2023 07:33:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678116815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xOXj9qXaJS4g+fALdy49YGqe1mwntIry9f6pr0EizBs=; b=O5bjJSoiFmcJzY9G0N/Mt3gXgh6Gp8IMpLyQOrBxHgq5nzAPNZYW/y9HHvHxjcr2Gr Sx+ZNkwM11QaoSe2KDWc24V+acgw0X/hJTcOYWMW5KwitR59DIR0qGDU1GTAAXL/xwUr rEVYcwUV1RiMLy/dBgdugHpDm/QGmA7TONkMIFsytsqaCOdHOde9KI0qkWZDHR58+tUT GEudD6rIbUqX1rQqJA7DtGnPDZe6XJQczXpbbcIyEe+C6dmnxXaRF6IzINzsXJbEvm7o C5/We/I/sPE5B0lIAqFCuqLORl9Za9zm5/BANRCfVFlCMXsdKto3GrcJ01bF6C3cyNPI v51w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678116815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xOXj9qXaJS4g+fALdy49YGqe1mwntIry9f6pr0EizBs=; b=CQuEXNWM3HcJQChNBunIw0+cZdmQXbg8dxECKkhAWIbLxN4ILRQyRNM74nlPQcD9vL 9j8+VJ5y1fgq+nHJ+iPNcmejj2ggibSJ7p++AUNeZOnRcVkGBLnZsrUhGDXRNYsAx4KY mA9JYSo5ORUmwNrAB0+yfK8GQd0LHiPBtpG7zKzExKlmhZzb+Vj0h8zA5E0KmeglyRvo 7n0TZv410mYsfj4BiGzCSXP651uPm4dxyB5TzYOX9eNkQimzlcR1O47XbegKWdOqkGu6 kOmjAUDoWd0gYlwRD+vqT71y37R3pvXd4IVCzSDHSUYSw8NZ7MSuJLEAPqCXZDf1cINg Gymg== X-Gm-Message-State: AO0yUKUDzc1VXCUwB0wR4RhY18QKg7tj6usnT7vGwqteIAgdEOAMACRU Yzc5POTNupmIfzzAu2DpA95V X-Received: by 2002:a17:903:2290:b0:19c:dbce:dce8 with SMTP id b16-20020a170903229000b0019cdbcedce8mr14292691plh.15.1678116815512; Mon, 06 Mar 2023 07:33:35 -0800 (PST) Received: from localhost.localdomain ([59.97.52.140]) by smtp.gmail.com with ESMTPSA id kl4-20020a170903074400b0019a7c890c61sm6837430plb.252.2023.03.06.07.33.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 07:33:35 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: andersson@kernel.org, lpieralisi@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, robh@kernel.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, quic_srichara@quicinc.com, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH 13/19] dt-bindings: PCI: qcom-ep: Rename "mmio" region to "mhi" Date: Mon, 6 Mar 2023 21:02:16 +0530 Message-Id: <20230306153222.157667-14-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230306153222.157667-1-manivannan.sadhasivam@linaro.org> References: <20230306153222.157667-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759634818223712062?= X-GMAIL-MSGID: =?utf-8?q?1759634818223712062?= |
Series |
Qcom PCIe cleanups and improvements
|
|
Commit Message
Manivannan Sadhasivam
March 6, 2023, 3:32 p.m. UTC
As per Qualcomm's internal documentation, the name of the region is "mhi"
and not "mmio". So let's rename it to follow the convention.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On Mon, 06 Mar 2023 21:02:16 +0530, Manivannan Sadhasivam wrote: > As per Qualcomm's internal documentation, the name of the region is "mhi" > and not "mmio". So let's rename it to follow the convention. > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > --- > Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230306153222.157667-14-manivannan.sadhasivam@linaro.org pcie-ep@40000000: reg-names:5: 'mhi' was expected arch/arm/boot/dts/qcom-sdx55-mtp.dtb arch/arm/boot/dts/qcom-sdx55-t55.dtb arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dtb pcie-ep@40000000: Unevaluated properties are not allowed ('reg-names' was unexpected) arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dtb
On 06/03/2023 16:32, Manivannan Sadhasivam wrote: > As per Qualcomm's internal documentation, the name of the region is "mhi" > and not "mmio". So let's rename it to follow the convention. > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > --- > Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > index 89cfdee4b89f..c2d50f42cb4c 100644 > --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > @@ -22,7 +22,7 @@ properties: > - description: External local bus interface registers > - description: Address Translation Unit (ATU) registers > - description: Memory region used to map remote RC address space > - - description: BAR memory region > + - description: MHI register region used as BAR > > reg-names: > items: > @@ -31,7 +31,7 @@ properties: > - const: elbi > - const: atu > - const: addr_space > - - const: mmio > + - const: mhi That literally breaks ABI just for convention. I don't think it's right approach. Best regards, Krzysztof
On Tue, Mar 07, 2023 at 09:18:41AM +0100, Krzysztof Kozlowski wrote: > On 06/03/2023 16:32, Manivannan Sadhasivam wrote: > > As per Qualcomm's internal documentation, the name of the region is "mhi" > > and not "mmio". So let's rename it to follow the convention. > > > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > > --- > > Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > > index 89cfdee4b89f..c2d50f42cb4c 100644 > > --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > > @@ -22,7 +22,7 @@ properties: > > - description: External local bus interface registers > > - description: Address Translation Unit (ATU) registers > > - description: Memory region used to map remote RC address space > > - - description: BAR memory region > > + - description: MHI register region used as BAR > > > > reg-names: > > items: > > @@ -31,7 +31,7 @@ properties: > > - const: elbi > > - const: atu > > - const: addr_space > > - - const: mmio > > + - const: mhi > > That literally breaks ABI just for convention. I don't think it's right > approach. > Hmm. I'll drop these two patches in next revision. Thanks, Mani > Best regards, > Krzysztof >
diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml index 89cfdee4b89f..c2d50f42cb4c 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml @@ -22,7 +22,7 @@ properties: - description: External local bus interface registers - description: Address Translation Unit (ATU) registers - description: Memory region used to map remote RC address space - - description: BAR memory region + - description: MHI register region used as BAR reg-names: items: @@ -31,7 +31,7 @@ properties: - const: elbi - const: atu - const: addr_space - - const: mmio + - const: mhi clocks: minItems: 7 @@ -175,7 +175,7 @@ examples: <0x40002000 0x1000>, <0x01c03000 0x3000>; reg-names = "parf", "dbi", "elbi", "atu", "addr_space", - "mmio"; + "mhi"; clocks = <&gcc GCC_PCIE_AUX_CLK>, <&gcc GCC_PCIE_CFG_AHB_CLK>,