Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp347484rwl; Thu, 6 Apr 2023 20:50:43 -0700 (PDT) X-Google-Smtp-Source: AKy350Yi6yWFLPy+Nxe/UpZiJCaKLKu0RYfZIOIwjgNSIPcZChTNr3PQxZzNKT59apQVUDMngjHg X-Received: by 2002:a17:90b:4a83:b0:236:99c4:6096 with SMTP id lp3-20020a17090b4a8300b0023699c46096mr868170pjb.35.1680839442882; Thu, 06 Apr 2023 20:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680839442; cv=none; d=google.com; s=arc-20160816; b=AC0nid5w2Gpx05XMItv6Dz8le0BeULnyi+9onmbvWkjbSEoFZDEQgzPABHeHr04CYN tVs+NtuOUYCrMN8duNo1K9NiZrJMF/jMEf6LzykF1pgAmbVmMEkhZh63q1FMxTe40s0n dqk3xi6ATinJIFNWvn5TDr2UPZldiJKwdZB5Vsc3LfThoD9zuZGtDlKSr9tMRwQ3+txN a5z8GdiEJlRp6N/dhGnHHf8EFsWwC/q0dxU5bAtK3+yEUX+wrA1sy8fq9f3S+Iz7evzi nlWhGH2Ku6Xl2TbgENBK2/m2ToUVpsvm7ZezfJfyeFJgfYk+e0M7YSE2rQ7dLryUOYA7 Pb4w== 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=Jes9O1gRFvlo7X9WxqeTNd6NNyiCf8ZQCs55slUyI6c=; b=z2j46rpmeMiQdW0cubVeYT+FnI3fkAQgPKEXWLb96KUipBoSOzNm0n5zfvhjQdTbJr 1yHVPbTQManN16Pc54sqk6uvt8OtEmu/Gnfu6Sh4to2yLjmJdhojI5zAtjOIF5Mx9rJ9 3pul06MiC89GbYhkKSX49NTHGJCBa8hEecj/X4S/xwHQuvG74lRefXUcAXJjD22AqvOQ MLE7HjnZs11YmUvXmcc5GbwTNfhLyPm/7BNzEjpS+34PCNhPAxnC/lNradbeCO3aWls+ jczmh4UdJjsgDvIYESfZgPAL07LQiGLm286Z9LTlAWA/cAWfLl8bTNQKIrZ9dw26tvHe NiSQ== 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 7-20020a17090a1a4700b0023a717403f2si5093064pjl.105.2023.04.06.20.50.31; Thu, 06 Apr 2023 20:50:42 -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 S232848AbjDGDp6 (ORCPT + 99 others); Thu, 6 Apr 2023 23:45:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjDGDpz (ORCPT ); Thu, 6 Apr 2023 23:45:55 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60FCCE63; Thu, 6 Apr 2023 20:45:51 -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 fd01.gateway.ufhost.com (Postfix) with ESMTP id 761F524E1B6; Fri, 7 Apr 2023 11:45:39 +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; Fri, 7 Apr 2023 11:45:39 +0800 Received: from [192.168.125.108] (183.27.97.179) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 7 Apr 2023 11:45:38 +0800 Message-ID: <548b4d0f-447a-23a9-0e58-3d6c80cb8e3b@starfivetech.com> Date: Fri, 7 Apr 2023 11:45:37 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v1 1/3] dt-binding: pci: add JH7110 PCIe dt-binding documents. Content-Language: en-US To: Conor Dooley , Krzysztof Kozlowski CC: Emil Renner Berthing , Rob Herring , Bjorn Helgaas , "Krzysztof Kozlowski" , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , , , , , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Mason Huo , Leyfoon Tan , Kevin Xie References: <20230406111142.74410-1-minda.chen@starfivetech.com> <20230406111142.74410-2-minda.chen@starfivetech.com> <38bc48bf-7d8c-8ddd-861f-3b7f3d2edce6@linaro.org> <20230406-revisit-patchy-a0063d964070@spud> From: Minda Chen In-Reply-To: <20230406-revisit-patchy-a0063d964070@spud> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.97.179] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.2 required=5.0 tests=NICE_REPLY_A, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/4/7 2:35, Conor Dooley wrote: > On Thu, Apr 06, 2023 at 08:24:55PM +0200, Krzysztof Kozlowski wrote: >> On 06/04/2023 13:11, Minda Chen wrote: >> > + >> > + interrupt-controller: >> > + type: object >> > + properties: >> > + '#address-cells': >> > + const: 0 >> > + >> > + '#interrupt-cells': >> > + const: 1 >> > + >> > + interrupt-controller: true >> > + >> > + required: >> > + - '#address-cells' >> > + - '#interrupt-cells' >> > + - interrupt-controller >> > + >> > + additionalProperties: false >> > + >> > +required: >> > + - reg >> > + - reg-names >> > + - "#interrupt-cells" >> >> Keep consistent quotes - either ' or " >> >> Are you sure this is correct? You have interrupt controller as child node. > > I know existing stuff in-tree is far from a guarantee that it'll be > right, but this does at least follow what we've got for PolarFire SoC: > Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml > > Both PLDA and both RISC-V w/ a PLIC as the interrupt controller, so in > similar waters. > This note existed in the original text form binding of the Microchip > PCI controller: > | +NOTE: > | +The core provides a single interrupt for both INTx/MSI messages. So, > | +create an interrupt controller node to support 'interrupt-map' DT > | +functionality. The driver will create an IRQ domain for this map, decode > | +the four INTx interrupts in ISR and route them to this domain. > > Given the similarities, I figure the same requirement applies here too. > Minda? > > Cheers, > Conor. Yes, Thanks very much.