Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2535583rwl; Thu, 6 Apr 2023 11:36:25 -0700 (PDT) X-Google-Smtp-Source: AKy350Yo5cr8RaF5/3KVxxsPHkyvi4pkYs8DzXc7OkXLiTb8+QTj42xbB2Hb2ARAUdt9VUwzeKf/ X-Received: by 2002:a05:6402:12ce:b0:4fd:298a:62cb with SMTP id k14-20020a05640212ce00b004fd298a62cbmr4774915edx.21.1680806184621; Thu, 06 Apr 2023 11:36:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680806184; cv=none; d=google.com; s=arc-20160816; b=Tt6XZsHQ0QCxbPwLEnulOGCkuE0Fp9nTFj60zs+uPgf5gg1HWe01lpgq1znwfYpe0a IuYyGCXusfHatYWxb+XGi36RuK1/JuyHolQ/8fnEfIAzhf2O4yFxxqSmyvlUM6/78x3C I8H6rJK0yJLGKR9fALyZ3OrrS5eChxqMoJ1lMRkvIUkj14cgeMIEfNusAUn4JXlZVFFS UTkGqM2Q4TbYd/neBpiEq6FLQAFkfvEh1t8Y5BxBJWrj2aI9Qy2UbVwqKxegvtXoUZ3j 9tAA9aQBDV03dxYXRestWUSORbzllr5gYiSe2s3FUEu+L568e6z0nZbR70toqmeMCJaO Y0fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N2tl+nE1DzQXl0UGRH1yekIVBZGh8qiPaFToBxVAvUg=; b=ioLGWTbUA1dBVEwjSZ8UHWitVj6SfHeV7TivxLFkVRF/9dnG8zOO+Oz5R577sqKIDT VEx4erc5dUhoss6BoKxEmqITN1iPg/cyNV4AA9e2cU1veqoXyvoH36cRLE4qiCoG1LXU xA6JDXKu961ikLh2X1bgdfqP8fLvgAP25QyFCqBMKn8NkzUmjGGOY56F/A5f1qI2RKOj GFvGi4vulpGyinJC38c2eHKFZ/HhgQmTzlBVOU5n55pFu/I9/Wc7HbCr2/+ob048eonF Aktmqq/SqsF8qnL7iosFLPWL1OKKQKA9RGQxQaXKIZ7Q+9I8txMpReE70+XYgKLUS6YM zDTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EpHrTPTE; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020aa7de0d000000b005022a765778si1552333edv.460.2023.04.06.11.35.58; Thu, 06 Apr 2023 11:36:24 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EpHrTPTE; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240174AbjDFSfN (ORCPT + 99 others); Thu, 6 Apr 2023 14:35:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240211AbjDFSfL (ORCPT ); Thu, 6 Apr 2023 14:35:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B11E859DA; Thu, 6 Apr 2023 11:35:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 483A662B54; Thu, 6 Apr 2023 18:35:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14497C433D2; Thu, 6 Apr 2023 18:35:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680806109; bh=IVpmg/9zjCkonOv9tBAoQgo1Lp6wBXA3GJcvRZ34LWw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EpHrTPTEWANN+WTgkrZU/vS8IG9oFKJ/VaNRJC1jqFweHi5tY9N0r8+/FxxNuwvPg x/eDNMHq3jZEq/5WHV/Fwh5AXtGO7dI53Q5oMY3t98DRFehD1ssJsdSvjGBf7bvUJv RaF/jTEjYybYb2TpRLVMXNWQxTsbi6ph7ArSaeWphRJPLJlw/vbAQeiNNdBHTTgJOc joF+9MSK+6S0vVSfiFoOhM6ouqOv1+UktHwja2TLkfIEwxGqabDIKDdlC1fEMJNff1 IMBHbXa3ED/0khfcACoO5tXIu6NWO9KiZMkKuFBkPp1r1rIoMncz2QH5rNjIjeXZj7 paFbim0CZlyog== Date: Thu, 6 Apr 2023 19:35:03 +0100 From: Conor Dooley To: Krzysztof Kozlowski Cc: Minda Chen , Emil Renner Berthing , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-pci@vger.kernel.org, Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Mason Huo , Leyfoon Tan , Kevin Xie Subject: Re: [PATCH v1 1/3] dt-binding: pci: add JH7110 PCIe dt-binding documents. Message-ID: <20230406-revisit-patchy-a0063d964070@spud> References: <20230406111142.74410-1-minda.chen@starfivetech.com> <20230406111142.74410-2-minda.chen@starfivetech.com> <38bc48bf-7d8c-8ddd-861f-3b7f3d2edce6@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8c3Cr3rYhW4crgm2" Content-Disposition: inline In-Reply-To: <38bc48bf-7d8c-8ddd-861f-3b7f3d2edce6@linaro.org> X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,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: X-Mailing-List: linux-kernel@vger.kernel.org --8c3Cr3rYhW4crgm2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" >=20 > Keep consistent quotes - either ' or " >=20 > 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. --8c3Cr3rYhW4crgm2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZC8Q1wAKCRB4tDGHoIJi 0uVVAQDHgZupjjAEUR9lEnrmhcHf4bOLxjmLHOA7N0MNdc+M0gD+PTj3m9Z4X5bX gloCfnCtJczlVceBZUYlixYiqd/8pQA= =LjRe -----END PGP SIGNATURE----- --8c3Cr3rYhW4crgm2--