Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp986932rwb; Thu, 11 Aug 2022 13:36:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR5yDq9xPFGAMBLZTmTdoDnFdEro0ep2+Y3iqOGjb7ySNN4GZMRZKpLI7TiPz9vZEXTGgFES X-Received: by 2002:a05:6402:2804:b0:439:83c2:8be2 with SMTP id h4-20020a056402280400b0043983c28be2mr774273ede.292.1660250197345; Thu, 11 Aug 2022 13:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660250197; cv=none; d=google.com; s=arc-20160816; b=b08uEw0/1vUq3HPqk8Ji6jOdVojDdgS3GqFdQ7er1c62Q0RlZeoD83xNlXtRwVs+Ax NYx+te2TbJw5ei+CiFIqQLVw2/Wdp1UME8uA9poEsmnxUFBVT1s4ZDKl2sw973pwLfRr LQLJIOGil+ENPSu7XTScv+ZCd1CuWwhy99rJnwfkIOTmIBVpSOT8gK8Zy7aTwYru7r+1 Iqlhd0HCngAjjJVqwJw0CE+pGOnbppzDrUkxozSvgtV9DH9okCEjlQW77jrp187ufEuL l9paaOMo+BoDzzx4PDyq1QTvDEG5MtnelECkW9FNeKSiB2fThhbaGGuYC9l7wIQpy8tU /IBA== 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=ClSH5MXXgUZguA19Coz32EYS83xElJy9jIFIyLAmeC4=; b=SAAhDmwwb0n7AAcCminJ9IK1cY31swBLw2k8H+J0Pt/7DEHg9bJggYi4UXICpO2lei oqOvtYL4B0y5TNQdtY7GKqEFURjvIHZDTmm/H8XSR2k0rHu5u+GHN8UqOkla10WXaofr Q/BmfhpZkdP+80+4eSQGCHAXEE5cmyw+YWc5httxKeJUiWTC4IbVmwKoMeICB6IKje11 agq87I2Lt4Qgqya3Fwp/2YO6evwJEFYsNJQQu5pS0kARrWHiQ4dptvprLrhMvjO+y//h 4dNE2H9+18y8+mubgUuDZaZ3hV19pM2fwUnaXcwpkCq7Yo9+6SIfCvtXfC7K8BsEaFW2 8diw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=HHhe+yar; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b2-20020a170906708200b0072b3b8d31f8si149461ejk.63.2022.08.11.13.36.03; Thu, 11 Aug 2022 13:36:37 -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=@conchuod.ie header.s=google header.b=HHhe+yar; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235200AbiHKUdl (ORCPT + 99 others); Thu, 11 Aug 2022 16:33:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235860AbiHKUd0 (ORCPT ); Thu, 11 Aug 2022 16:33:26 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C7B9F18C for ; Thu, 11 Aug 2022 13:33:21 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id z16so22486515wrh.12 for ; Thu, 11 Aug 2022 13:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=ClSH5MXXgUZguA19Coz32EYS83xElJy9jIFIyLAmeC4=; b=HHhe+yarKbkwIYZ1mXaOthZ0VXyo310D1cBk8s8PGKXtS+FAnYRo1gNG6ylVj/7gLo BD1+qLMXw3jHjaKmycrt6e1OAv4CCWriwslsnWnsihoR/ceQgpKaw/ZZ6agol8h0tpdV l02Ole49suUd2QEsa7+uNZY+ANEboqWovjQ41L3onQLVlcUDQTarQNGtsJLt8FArM1MM H2MDT+rXQSH4wqI56vlK6Bwt19CVBV2XqoaYwT8ClmSccYovi+z7rS+pap22DWMy7KMA jJBA8lhBOgEw9qEA4SepES7pXBFrOAfewHEorcKXkVi7YaO9c1U7I4skrO+n+EWweBdU rtFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=ClSH5MXXgUZguA19Coz32EYS83xElJy9jIFIyLAmeC4=; b=hoxhcuLFEXrqp8Sp9smn38HTi1LYHJgC+/rjG5znztCCTF/ODFJvyDVuJDStlnk+lC Hz89GIOVgE8Eb1FG4e4Xvcbw3VL+2FJhbv1FTsyh6ZgsdwVFb27rzuRnbKx3dA9wfBy1 DWqcC8jM8qXFvJWQ2lre5fBgp7WWxP0O7iLl0yobICjKL4bHDZzxcA2JXikZsEiNFmwV 1l5OuPTwx4RO5E1DNJdMYiGgI7ObIWW1fH4iKm1tcUy4yAx+M6BTCSY0+ew9zRegOtgA amY7677Vp2P2P2ed5/D+/ATWxdhecaShZDmOy0BRdpPL/6/GFnzGxX6YHAGSC82yai+U 8hUg== X-Gm-Message-State: ACgBeo3QyTBgr+ys6moS853rokXWjyQe2C3DyLoU0wKw4HQCc+thffvR mOM9NOR2Mfx3+WET3JMlI1NWNg== X-Received: by 2002:a5d:4345:0:b0:21a:3b82:ad57 with SMTP id u5-20020a5d4345000000b0021a3b82ad57mr361149wrr.176.1660250000231; Thu, 11 Aug 2022 13:33:20 -0700 (PDT) Received: from henark71.. ([109.76.58.63]) by smtp.gmail.com with ESMTPSA id i12-20020adfefcc000000b0021f1ec8776fsm86643wrp.61.2022.08.11.13.33.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Aug 2022 13:33:19 -0700 (PDT) From: Conor Dooley To: Daire McNamara , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Greentime Hu , Palmer Dabbelt , Albert Ou , Lorenzo Pieralisi , Conor Dooley Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 4/4] dt-bindings: PCI: microchip,pcie-host: fix missing address translation property Date: Thu, 11 Aug 2022 21:33:07 +0100 Message-Id: <20220811203306.179744-5-mail@conchuod.ie> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220811203306.179744-1-mail@conchuod.ie> References: <20220811203306.179744-1-mail@conchuod.ie> 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,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 From: Conor Dooley When the PCI controller node was added to the PolarFire SoC dtsi, dt-schema was not able to detect the presence of some undocumented properties due to how it handled unevaluatedProperties. v2022.08 introduces better validation, producing the following error: arch/riscv/boot/dts/microchip/mpfs-polarberry.dtb: pcie@2000000000: Unevaluated properties are not allowed ('clock-names', 'microchip,axi-m-atr0' were unexpected) From schema: Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml Fixes: 528a5b1f2556 ("riscv: dts: microchip: add new peripherals to icicle kit device tree") Signed-off-by: Conor Dooley --- I feel like there's a pretty good chance that this is not the way this should have been done and the property should be marked as deprecated but I don't know enough about PCI to answer that. --- .../devicetree/bindings/pci/microchip,pcie-host.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml b/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml index 9b123bcd034c..9ac34b33c4b2 100644 --- a/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml +++ b/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml @@ -71,6 +71,17 @@ properties: msi-parent: description: MSI controller the device is capable of using. + microchip,axi-m-atr0: + description: | + Depending on the FPGA bitstream, the AXIM address translation table in the + PCIe controllers bridge layer may need to be configured. Use this property + to set the address offset. For more information, see Section 1.3.3, + "PCIe/AXI4 Address Translation" of the PolarFire SoC PCIe User Guide: + https://www.microsemi.com/document-portal/doc_download/1245812-polarfire-fpga-and-polarfire-soc-fpga-pci-express-user-guide + $ref: /schemas/types.yaml#/definitions/uint32-matrix + minItems: 2 + maxItems: 2 + legacy-interrupt-controller: type: object properties: -- 2.37.1