Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9211297rwp; Thu, 20 Jul 2023 01:00:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlHP8Ne4yj62YN2FVrjF+GG6GjakvvH2T+sAvddtv2X+Ojevn9wpAtPuThwNU+9Ycp+y7jCH X-Received: by 2002:a17:906:7491:b0:978:acec:36b1 with SMTP id e17-20020a170906749100b00978acec36b1mr4872006ejl.17.1689840025584; Thu, 20 Jul 2023 01:00:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689840025; cv=none; d=google.com; s=arc-20160816; b=HUNSJLoXbOzD71Uc/fTfo6YGupOY5qVwJcxKaahamwJdAaXD17lhL6VhxqALMWY04o QsCL5KZnO3QLEJjhh5GUzua8TS8+tpjWcezq8UnD6HfbSAmNMNXmKh0UgitN3d/UEr04 O+mR7uqh8BSUl9vlaUubvPVbWVMjet475nokAnmDRvGZKbbEplk4oY9F1pgkgox3vuNJ ED6F+7N238iT3JEvr7dTW3R5Mq55Dp2G5WpenjYBQm2LtzySfPgAhskFdUzrcmu9Ipj+ +/nsews7TOEOkk9Y53g2xSEsOohqKv3rFTUYMrQcCVkoL7x4D1u/OEIpMonnq/JCRbBV TP8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=+Ux1Z+behYqGXiQiTm2S7Xu8bJ99CZo1EKi4B7kVCEg=; fh=cAPOosyYD4QiUOgT5gfTDoZm+bWwrulfAkDZH0j1LBE=; b=eA82JvXS0SgjXE+YVuw0mhA75yPIBozSCmLnBvbbAeicuo8tZ+in7zAEg/6sYYUK8b hGaEsxo2sFbFZu2Jv8/eN0Lb5SDBami84dcaARsBzFQsx7NHMpzxprWdvxFlTC6Ysh01 8tj5Z1E2fA5UqNOCMMi2n617tMqgQwvxGrPKeJjzWLaXTw62opFXOsNYpfYWyMSxxhx6 IEjHeMP/ngR9/+DNMhWpQyRJsr8UA0k9u7HEbsZ9L+oNcoTSIeIbyyqbLRoh+pVsXnT4 og96F/Q8PeDBznRdS5i24m8KlmE6oXJFvkD2aH4xsNAcvB3KnRFCREnY5AvAyvOMv/R9 mJsw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kg27-20020a17090776fb00b00993860a6d40si296106ejc.387.2023.07.20.01.00.01; Thu, 20 Jul 2023 01:00:25 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231389AbjGTG7f (ORCPT + 99 others); Thu, 20 Jul 2023 02:59:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231266AbjGTG7d (ORCPT ); Thu, 20 Jul 2023 02:59:33 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1575DCC; Wed, 19 Jul 2023 23:59:29 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 21FB424E3BF; Thu, 20 Jul 2023 14:59:27 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 20 Jul 2023 14:59:27 +0800 Received: from [192.168.125.127] (113.72.147.86) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 20 Jul 2023 14:59:23 +0800 Message-ID: <5e4d5920-f346-a6ae-8548-f70d9fa911fe@starfivetech.com> Date: Thu, 20 Jul 2023 14:59:21 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v1 1/9] dt-bindings: PCI: Add PLDA XpressRICH PCIe host common properties Content-Language: en-US To: Krzysztof Kozlowski , Daire McNamara , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Emil Renner Berthing CC: , , , , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Mason Huo , Leyfoon Tan , Kevin Xie References: <20230719102057.22329-1-minda.chen@starfivetech.com> <20230719102057.22329-2-minda.chen@starfivetech.com> From: Minda Chen In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [113.72.147.86] X-ClientProxiedBy: EXCAS063.cuchost.com (172.16.6.23) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/7/19 18:52, Krzysztof Kozlowski wrote: > On 19/07/2023 12:20, Minda Chen wrote: >> Add PLDA XpressRICH PCIe host common properties dt-binding doc. >> Microchip PolarFire PCIe host using PLDA IP. >> Extract properties from Microchip PolarFire PCIe host. >> >> Signed-off-by: Minda Chen >> Reviewed-by: Hal Feng >> --- >> .../pci/plda,xpressrich-pcie-common.yaml | 72 +++++++++++++++++++ >> 1 file changed, 72 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-common.yaml > > How is it related with existing plda,xpressrich3-axi? > yes, I just found plda,xpressrich3-axi. It is same IP in ARM juno soc. But it is firmware-initialized while microchip and starfive not. maybe I can rename this file to plda,xpressrich3-axi-common.yaml >> >> diff --git a/Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-common.yaml b/Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-common.yaml >> new file mode 100644 >> index 000000000000..3627a846c5d1 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-common.yaml >> @@ -0,0 +1,72 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/pci/plda,xpressrich-pcie-common.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: PLDA XpressRICH PCIe host common properties >> + >> +maintainers: >> + - Daire McNamara >> + - Minda Chen >> + >> +description: >> + Generic PLDA XpressRICH PCIe host common properties. >> + >> +select: false > > This should not be needed. > ok >> + >> +properties: >> + reg: >> + description: >> + At least host IP register set and configuration space are > > "At least" does not fit here since you do not allow anything else. > I will delete "At least" >> + required for normal controller work. >> + maxItems: 2 >> + >> + reg-names: >> + oneOf: >> + - items: >> + - const: cfg >> + - const: apb >> + - items: >> + - const: host >> + - const: cfg > > Maybe keep similar order, so cfg followed by host? > I will follow cfg, apb > Best regards, > Krzysztof >