Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp986847rwb; Thu, 11 Aug 2022 13:36:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR4hqXg/2+0I1abUuDKMjYRvkp3ibxw83WzgUvvDNkUkNNCCg7NpqXFiDquovpFbtNkOFXXu X-Received: by 2002:a17:907:1611:b0:731:87dd:5eda with SMTP id hb17-20020a170907161100b0073187dd5edamr558211ejc.148.1660250192247; Thu, 11 Aug 2022 13:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660250192; cv=none; d=google.com; s=arc-20160816; b=YFlxDFTlI12puHxVOpL4p7qqx87Nkey1SCBfsM8RdkG5VISnaDEj15svk5ZdbXQoqp 5rL7mjl5ykPHuqr7uC0RvNhDWyuwNmxW0yz4Xjir1+UnM5osSF8rj2Qa4fG+XVOvqKYg DWmXri4MrBW7nRmJgwVzMDronzdRwcSoY0Bttp4ifZhPYhKAGzD1WMc98WjeCak/w6sT hgjZn58SAl3Y6wBt0mjmqTmhj/Yhc9Jh6lxkibIejJvVhnEaQ1QjG2stpbjqrmXbkg1l 0Ln1EL5RUlVts6CFlv5J36Yi443Prpe+hftc6g5sIOdygNqgFzdwrz2B556JTWtlXYwj 2uDg== 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=BMoCBhZDWFVbCIulovqGFO1GGwjU3Gb2EjVAgLDr/kM=; b=OnF3lIjZe72wyOVN9P3N2bYj2ZdAAuG2Pn1k9f1q2ikJKgkMMnE5k+Fn7qT9aOMjbx egtpmlSROfX0KF0iBmpJlzJiI3SyZp4HCp3Z2lIuQvLP35x7WSPRLzryeYZeb+hKYCPd dhIRrVqcTDRBAuTRbsGIi+KiQdazL4+G9YtbPB4qPsjQ7b1wMpURJs2ldjK9C5iksiwp 8oMvAolOGP1HFt8y+hOpjTuky5C+PpAe+fWBQHH8L0GHW82FsAOHSmdSb4UiFQIlLMUT Hj/ihO/6ojb186pDraFN7ZXOR780nuWgoedvBcDJzctv5e00iJz94MKo55/fCwLAILky 3HuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=e1haM7gY; 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 hr3-20020a1709073f8300b006fe95bb93b3si121376ejc.861.2022.08.11.13.35.58; Thu, 11 Aug 2022 13:36:32 -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=e1haM7gY; 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 S235116AbiHKUdg (ORCPT + 99 others); Thu, 11 Aug 2022 16:33:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235756AbiHKUdY (ORCPT ); Thu, 11 Aug 2022 16:33:24 -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 8EC729F0FE for ; Thu, 11 Aug 2022 13:33:20 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id h13so22571410wrf.6 for ; Thu, 11 Aug 2022 13:33:20 -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=BMoCBhZDWFVbCIulovqGFO1GGwjU3Gb2EjVAgLDr/kM=; b=e1haM7gYHDueJmKbGFqDqB0CwdhTeSa2E4wt4JmEDSJbRCc95HOzVyhmhAR1aZMqqx WxkA1FzPGcrae9KDWdzDMQHZEb1i39i7aAL9rQ0/XQMl0cjzp27sbySRBMnLhzbUHVO9 p7YPgrN5/LQYBe6cKzpCPAwLYeTnzOked1Fp12KP22d+INh+NSfPUx4OvjJU/VCDd81U gwIKYZTkvJayzWTODqIsBm7Mc+j7idl/i5AbrnvDIsmPMmT2pRhWCHNWRNL/NjJQmAK3 REtDrCKW9kfVEhaxxP06EjHEUcaXvACDZ9Cu7GF6pF7rHNRdKy1UlQE0Abl+CgWbWCRX qlpA== 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=BMoCBhZDWFVbCIulovqGFO1GGwjU3Gb2EjVAgLDr/kM=; b=QtN94H0BIaE9r3SI1FBt/oAy0zlOCWAVNhbS1aMav0QEpdLIHsFSt/ABFe7qWIiMCn unqH13JFXUff0e31zuQLt9IQswcF0Uy64iG9pn/46dCkGkIDZkw+9eszi+oyodxjgJPH PUZeZaKyIRQUizX5mbicoAo1TrhhSscG/E2erJSdqvRHISgAFE2gv3+EVo2H3C70AG9J Ius1jGXMzn1baqEc9YcoJXydpeFktVWfdzpZ7ePDAwy7smmRshzqac+vWvSb8Xi74VIw 8RKUFe4KOx8bYUnzid+fqet7oSHMotU2Y7G6u2APlV+uwsRVY1e8b6HXPqnPEuAw1vxb o43Q== X-Gm-Message-State: ACgBeo2NbfLVoCVMHn8Cvlu1UkWpI28o+LBt/3+mgIc8zT5RR2sEgzK0 powLZdB+MQjEhL6YdgPalNmIqg== X-Received: by 2002:a5d:44c8:0:b0:21e:b750:2bda with SMTP id z8-20020a5d44c8000000b0021eb7502bdamr351862wrr.338.1660249999075; Thu, 11 Aug 2022 13:33:19 -0700 (PDT) Received: from henark71.. ([109.76.58.63]) by smtp.gmail.com with ESMTPSA id i12-20020adfefcc000000b0021f1ec8776fsm86643wrp.61.2022.08.11.13.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Aug 2022 13:33:18 -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 3/4] dt-bindings: PCI: microchip,pcie-host: fix incorrect child node name Date: Thu, 11 Aug 2022 21:33:06 +0100 Message-Id: <20220811203306.179744-4-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=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 From: Conor Dooley v2022.08 of dt-schema improved checking of unevaluatedProperties, and exposed a previously unseen warning for the PCIe controller's interrupt controller node name: arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dtb: pcie@2000000000: Unevaluated properties are not allowed ('clock-names', 'clocks', 'legacy-interrupt-controller', 'microchip,axi-m-atr0' were unexpected) From schema: Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml Make the property in the binding match the node name actually used in the dts. Fixes: dcd49679fb3a ("dt-bindings: PCI: Fix 'unevaluatedProperties' warnings") Signed-off-by: Conor Dooley --- This is another one Rob where I feel like I'm doing the wrong thing. The Linux driver gets the child node without using the name, but another OS etc could in theory (or reality), right? --- .../devicetree/bindings/pci/microchip,pcie-host.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml b/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml index 2a2166f09e2c..9b123bcd034c 100644 --- a/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml +++ b/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml @@ -71,7 +71,7 @@ properties: msi-parent: description: MSI controller the device is capable of using. - interrupt-controller: + legacy-interrupt-controller: type: object properties: '#address-cells': @@ -125,7 +125,7 @@ examples: msi-controller; bus-range = <0x00 0x7f>; ranges = <0x03000000 0x0 0x78000000 0x0 0x78000000 0x0 0x04000000>; - pcie_intc0: interrupt-controller { + pcie_intc0: legacy-interrupt-controller { #address-cells = <0>; #interrupt-cells = <1>; interrupt-controller; -- 2.37.1