Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp986695rwb; Thu, 11 Aug 2022 13:36:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR7yeV7vhcyvbE57kPWIb+IgwOqTA+oIt/+IyPNAfZXtvgYbFZC6Xtp5LttLV/mnjRUR7KMK X-Received: by 2002:a17:907:7284:b0:731:82a3:16e3 with SMTP id dt4-20020a170907728400b0073182a316e3mr568946ejc.30.1660250177642; Thu, 11 Aug 2022 13:36:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660250177; cv=none; d=google.com; s=arc-20160816; b=zmLUSZLvnJA+e0Z1ILZunKcwbH9d1WFQneWxSARGY5eOS6XaT+jGq0wafqljDh4+Qs PJla/I+Zp+0fNSampHqmT5cRUGhwAFuTNk3f3qy5YpIOlQntv+XWEI99bOUIQrTC/oba oyVRaaGlHdOKPncjZAIDG/UDfFybMr5Q2qB5x8q94VN/f93IAKQ0I7Uu8ZggEwIu7nVH 1N4taZ+dEvMzr+FRHr2DEHOSlPKWzrW1vx2yXWTVZ2a0iHi+uU+HynNOpNhoNHhhJLYa ENcvGTgx312fdurgwH4544qlyvZ/8KaLo/pRh8e0MuuxEeP6jbGHQCqoNiumkG65o1OA R3YA== 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=QxkmtF8asgPVQHFJENq/ehachAsL+qmscZvCCu05yWc=; b=W4IWJKTrkikXy5WNs/3XnnuGwqoDzUTDNZ3E5a1oT2dTvrF6KzKY6DzQ0T/nC2/qzy ZcV2ZvP3X6SYzGc1npUpQ2ozb3GUUoXUVbRx6z50NVgbRn0bdApfPT+hzWbJ1SO3IRuk MoQh98yrlSHpdWubSjH34VYEaKFFGK5xWtNkCPquugEJOaGsHoolU1Gl/bQecd5ed2wN sofh2egBWghSqZYFPzAC3TBvQOGMT359w3kH0a6F/8kQlJpvjWnPgi6N2t/dGNhTdO0a 0LZDQELxw4jnHsChurnI+RS1UnCBbg3KrJrA0ZzuyIFLD3uLQx4knX8HAdmLaoWUnhhR p3Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=XaRcrphL; 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 gs37-20020a1709072d2500b0073146b3f95asi127595ejc.632.2022.08.11.13.35.49; Thu, 11 Aug 2022 13:36:17 -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=XaRcrphL; 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 S235890AbiHKUdb (ORCPT + 99 others); Thu, 11 Aug 2022 16:33:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231609AbiHKUdY (ORCPT ); Thu, 11 Aug 2022 16:33:24 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 706979F0FD for ; Thu, 11 Aug 2022 13:33:19 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id q30so22512545wra.11 for ; Thu, 11 Aug 2022 13:33:19 -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=QxkmtF8asgPVQHFJENq/ehachAsL+qmscZvCCu05yWc=; b=XaRcrphLz19LTNxZ0dzKwHA8K/MkiviSjiw49WVWXeVE5qRONAyZyq8QlcuzrvefVq DVNMQX04znal0vPNRmcNC3MbIYAUaAwumKVcp1t0JK2JWpjZ/cp5ve/O9xgtHIB9jYp1 a8nRH+Wy1LAZE51EqhGYykiH3KzE9PEX9dP0kwd3yenGFVrqs5lMmYFvz3ozZW8IIaAJ Bj4EyFhC9G2D5gf3y3F2K/Htv7ZqH11Y9ovKD1Bz7OjfH17QcK/dDGLuF9YkGgrMvCco 4DIJtEW+NiKBMz3o+dzkdKU5lyhNrWpghKTXW2kDbXlMfdJOmER6MuwSLRX/k4n+MNIT Ftcw== 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=QxkmtF8asgPVQHFJENq/ehachAsL+qmscZvCCu05yWc=; b=Zay4yL1L2YWNqfb46ZHQl8zQGCmOXWzKbACiSyMGV63iictgkDX4pAn63To+DyMxf0 1w5jUKBw437gqgxeY9LmYzW9OHazXGa133SoYE3LPrUoN9A3LlUID4Wk4E5PjKJ0dGhI jmCK3kOFfH+lkz4lW1ixR13g7TBhiOlLO0/TVPBEur+/vLjt8vlwXKeNL528S/P7tJCQ OCvKhZ0v32ApXcNHsd0B0MZfOKVVCjKqsawUbh/QqM61qMUJq7jT2pvAAnB7wX21sK4r cfGVtOECU02PlFEmBJgawJciW5dWF6nTuLiRFRIaHPEr+zsN+NeVRIAjM3CNNrPP+wBL eOxA== X-Gm-Message-State: ACgBeo0Gh2FDtKN1ozU0qB6sR6AbW7jUZP5Q+trBPKOPW1xN3h5R/gSZ a5pAfUyKzcoySd88BbsQX+ChZQ== X-Received: by 2002:a5d:59a5:0:b0:222:c5a5:59c4 with SMTP id p5-20020a5d59a5000000b00222c5a559c4mr337239wrr.656.1660249997915; Thu, 11 Aug 2022 13:33:17 -0700 (PDT) Received: from henark71.. ([109.76.58.63]) by smtp.gmail.com with ESMTPSA id i12-20020adfefcc000000b0021f1ec8776fsm86643wrp.61.2022.08.11.13.33.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Aug 2022 13:33:17 -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 2/4] dt-bindings: PCI: microchip,pcie-host: fix missing clocks properties Date: Thu, 11 Aug 2022 21:33:05 +0100 Message-Id: <20220811203306.179744-3-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 Upgrading dt-schema to v2022.08 reveals unevaluatedProperties issues that were not previously visible, such as the missing clocks and clock-names properties for PolarFire SoC's PCI controller: 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 The clocks are required to enable interfaces between the FPGA fabric and the core complex, so add them to the binding. Fixes: 6ee6c89aac35 ("dt-bindings: PCI: microchip: Add Microchip PolarFire host binding") Signed-off-by: Conor Dooley --- .../bindings/pci/microchip,pcie-host.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml b/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml index edb4f81253c8..2a2166f09e2c 100644 --- a/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml +++ b/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml @@ -25,6 +25,31 @@ properties: - const: cfg - const: apb + clocks: + description: + Fabric Interface Controllers, FICs, are the interface between the FPGA + fabric and the core complex on PolarFire SoC. The FICs require two clocks, + one from each side of the interface. The "FIC clocks" described by this + property are on the core complex side & communication through a FIC is not + possible unless it's corresponding clock is enabled. A clock must be + enabled for each of the interfaces the root port is connected through. + minItems: 1 + items: + - description: FIC0's clock + - description: FIC1's clock + - description: FIC2's clock + - description: FIC3's clock + + clock-names: + items: + enum: + - fic0 + - fic1 + - fic2 + - fic3 + minItems: 1 + maxItems: 4 + interrupts: minItems: 1 items: -- 2.37.1