Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3943951iog; Tue, 21 Jun 2022 08:54:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1su/8yXBm3kShnA/JMfHkDmUxZBgrwqQu5vSz63fOfEk+Zsz+rOcGIpVYifBDK0kbZgN/xG X-Received: by 2002:a17:906:9c82:b0:6df:baa2:9f75 with SMTP id fj2-20020a1709069c8200b006dfbaa29f75mr26325304ejc.762.1655826849306; Tue, 21 Jun 2022 08:54:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655826849; cv=none; d=google.com; s=arc-20160816; b=b3hGfCTUELFWrFeGYEFKpvRtXTlMBx8CpLWlajh6++HjMleLOp51+ogNI/ZKo6krsw vHT32IHp79ax1yGXTOinGvpg4nrQiZmjM1m7aNT+P7FARuGC8LA5G2WewkowBmDyMS0F JgNkugOhbADdtKPPKpkNR9Cwe2x2qU5CupZnzCXYVzJai61lQDj7fE/ViPHGTLUWuDPL wexKOlo3VNSRwG/43RwiotAqWfNgFY0ExNAOPs35wMZOewAUkwRup8zF2/ztdIVPJLQc hZfzbvLxq9gZdNQpKJg7hLdUtGdhyMcuq7/yKgQAOUHXDT2GgjAbRvmrIKQQQxAWXBax tQ0g== 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=50RhkqFJh7w8r5/jf+L8AGEEA09cY+ri14OvzT1w5ls=; b=Th/2FX+n/sow+bLGMluKfgS0Zpl+qJPpDiwIqd1ghXwwe/Bbyq0dL09NdU7vkO0WhC bY3Wx/g/T+ub+zAlJ+1kIfvnajfjO6/o0xN9RQVnpUzN7banoyL/Xfn2w/hKJZ3LLzPj qeYBV61F1ZTggcB2W6l+UQdyONaID27J1ZnVKGiI9nfLtNushVqXbrdlu/EXlvbhTCsI WC7j/+VJl/MSxHl/69t5IujCD3J0J3d0bHVEOhvSL3CngQNVkChst0YeZiSLjv2Asyjp yXvMc5XAhBbWXXM0//t7RHHy5VGRpntyzFk7sLtqJ/nH5Q/yKB3uX8EWDOdBIamKslbA pZXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@metrotek.ru header.s=mail header.b=dKdetUPt; 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 qa16-20020a170907869000b00711d0b0e601si18384092ejc.760.2022.06.21.08.53.41; Tue, 21 Jun 2022 08:54:09 -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=fail header.i=@metrotek.ru header.s=mail header.b=dKdetUPt; 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 S1353054AbiFUPk3 (ORCPT + 99 others); Tue, 21 Jun 2022 11:40:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352885AbiFUPkI (ORCPT ); Tue, 21 Jun 2022 11:40:08 -0400 Received: from mail.pr-group.ru (mail.pr-group.ru [178.18.215.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCC7027B32; Tue, 21 Jun 2022 08:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=metrotek.ru; s=mail; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding: in-reply-to:references; bh=XNWqwDT8OLiBMyF06PjFh1gIXEFKaOZYcVPPTh5+6oY=; b=dKdetUPtuywS7FQaEaBvXZgrkJsquUzuXfqW7wFpmJZ1l6WKG5HqgawMPLHl87ChPzimf0QG6qwfD xU60NblYCW1n4rNHiiM7cwpIgJfKk8kNHmb445rS0GXBAh8i3aZIck+FFs/zj0yzfu/XD9TL/G2xec +xoRNIdRmbKFhgD2ScypEU33Igfd09HNe8no+cKntF8je3+kO2TvsiQXBDP1tCvUvTrWBvBRuL5TfB V4BLEFWe5dZwqcIdnYNBDHBXbvlt+LyptKz8vxLpEyjQgCbQfo05vWANREHIZdzPjlaCmiBkiv7lWb RF/iaG3Nqu9qY+AVphuwN2/1+TLG00Q== X-Kerio-Anti-Spam: Build: [Engines: 2.16.3.1424, Stamp: 3], Multi: [Enabled, t: (0.000009,0.008053)], BW: [Enabled, t: (0.000019,0.000001)], RTDA: [Enabled, t: (0.070316), Hit: No, Details: v2.40.0; Id: 15.52k0bu.1g63emviq.1g9vs; mclb], total: 0(700) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Level: X-Footer: bWV0cm90ZWsucnU= Received: from h-e2.ddg ([85.143.252.66]) (authenticated user i.bornyakov@metrotek.ru) by mail.pr-group.ru with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)); Tue, 21 Jun 2022 18:39:46 +0300 From: Ivan Bornyakov To: mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com, corbet@lwn.net Cc: Ivan Bornyakov , conor.dooley@microchip.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-fpga@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, system@metrotek.ru, Rob Herring Subject: [PATCH v21 4/5] dt-bindings: fpga: add binding doc for microchip-spi fpga mgr Date: Tue, 21 Jun 2022 18:38:46 +0300 Message-Id: <20220621153847.103052-5-i.bornyakov@metrotek.ru> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220621153847.103052-1-i.bornyakov@metrotek.ru> References: <20220621153847.103052-1-i.bornyakov@metrotek.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Add Device Tree Binding doc for Microchip Polarfire FPGA Manager using slave SPI to load .dat formatted bitstream image. Signed-off-by: Ivan Bornyakov Reviewed-by: Rob Herring Acked-by: Xu Yilun --- .../fpga/microchip,mpf-spi-fpga-mgr.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/fpga/microchip,mpf-spi-fpga-mgr.yaml diff --git a/Documentation/devicetree/bindings/fpga/microchip,mpf-spi-fpga-mgr.yaml b/Documentation/devicetree/bindings/fpga/microchip,mpf-spi-fpga-mgr.yaml new file mode 100644 index 000000000000..aee45cb15592 --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/microchip,mpf-spi-fpga-mgr.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fpga/microchip,mpf-spi-fpga-mgr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip Polarfire FPGA manager. + +maintainers: + - Ivan Bornyakov + +description: + Device Tree Bindings for Microchip Polarfire FPGA Manager using slave SPI to + load the bitstream in .dat format. + +properties: + compatible: + enum: + - microchip,mpf-spi-fpga-mgr + + reg: + description: SPI chip select + maxItems: 1 + + spi-max-frequency: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + fpga_mgr@0 { + compatible = "microchip,mpf-spi-fpga-mgr"; + spi-max-frequency = <20000000>; + reg = <0>; + }; + }; -- 2.25.1