Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp25252pxh; Thu, 7 Apr 2022 12:53:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx48lT0Wm6QFVlnl4t/xEgz1rXFF/S/FAqlf4bdjuOEPXzm0SJDV4cLkcV2eHnPG40DIp9l X-Received: by 2002:a17:90a:af8f:b0:1ca:7bce:ce3b with SMTP id w15-20020a17090aaf8f00b001ca7bcece3bmr17782953pjq.224.1649361217822; Thu, 07 Apr 2022 12:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649361217; cv=none; d=google.com; s=arc-20160816; b=VR9I6wEu8r33BexO9fyhADn82ZrJPAUKQB5hP7nmRSrlyFXDyuJCqVMLfMozNuZek0 Afz2I1Lxcka+qJu0Cw2oO+5zHs+C/RzXkJ6oCYRwOiEw1+W5yZkOHBbNLTJUTqeZ0EoW 1BjwiPiXkWhbMjleAWQanxy8WodX7eqNdbXNS3FISr4NPWUbU5Qftlq0bRFXDbNnvw/k K27J3hrM/DK+/j7ARJM7aHnhANoVfo11ntIX0cVMNCGUcpam2RTtu+yW7DRcY3y21vjR tbuCpfCfofqgP/cMh7FdwvklFUPATuctT7STS05F9flyf3oeXnUtcVat0U0GgupyU2rO p9Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=RJMyl1m3N+CjxV1Gr9FWTdPtbml0IgwfCdpjLGkY41E=; b=fCPkM16FFvF0RhIdzFINBYzhYLA0Et6I+sCx88rw0U0nv6wztln4F/UTj/ixq/p8ma bHyBCLYo4+9dgaE/SuKo4dMcDKsCguSf88jImHgLW5VTbiLVjhN4xdEC8uVtS2oMJivJ rNz6hGv1j1wW3QCvYYnaUFVQFGaFhWIhs9TwiOoo4OgoMW/tXsZlVm9IHN1ZcOz6Av25 3IV5BWLDwc3aTRvGEeKwH555WIUDK8+bV4AIcySFxSXTc6dTYhhfB5+6EwnVZmC7c8k1 ptI4KnZRqy48ISlclty4XY0GjkmDl89jE5Ss64sldqjn2Ab8FDSI80+SRpJCSzH7Nvzx tLDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@metrotek.ru header.s=mail header.b=g6EkfFXd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n6-20020a170902e54600b00153b2d164e1si659467plf.233.2022.04.07.12.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 12:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@metrotek.ru header.s=mail header.b=g6EkfFXd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A8C1C22C8D4; Thu, 7 Apr 2022 12:24:22 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343767AbiDGNk2 (ORCPT + 99 others); Thu, 7 Apr 2022 09:40:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343733AbiDGNkT (ORCPT ); Thu, 7 Apr 2022 09:40:19 -0400 Received: from mail.pr-group.ru (mail.pr-group.ru [178.18.215.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 000ED888F3; Thu, 7 Apr 2022 06:38:08 -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=VEwVqHIiRKkga52rsTMf8TB66Lb+csRivGMwrTXjWv8=; b=g6EkfFXdAjb+mA7xuIazwx4fyipNTqcUlhNje6j0fv+E6Pl3amp3DV7LuNAF6TH0gL2B9TdYkyLHI g4ADzG4LEae0wvo7Xy15WSxU+JhA/VxQgulnx5m3zmbyUXm6k6JCwokDYUjyx6wgSvSqaWbB0fSHKG 8EIGVF3/pUTUNGTgzB2slENR+SuNpFogz1E/ctYPfurwlNLCUZiZgBa4IuNFOclFcOYEKO/QQKabWE lKYbEbxmYG1LGT0l2r5edO8kmk2Tuh8iewRqZlL6M7mrJ1qsmNbIm/ymehV6lyVWvi0YhPu4aKBO0h Syi4X5xKrnn5iQtZ45Qn7riGD6IF3iA== X-Kerio-Anti-Spam: Build: [Engines: 2.16.2.1410, Stamp: 3], Multi: [Enabled, t: (0.000008,0.007309)], BW: [Enabled, t: (0.000017,0.000001)], RTDA: [Enabled, t: (0.081273), Hit: No, Details: v2.34.0; Id: 15.52k6u6.1g023trdo.k2qr; mclb], total: 0(700) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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)); Thu, 7 Apr 2022 16:37:52 +0300 From: Ivan Bornyakov Cc: Ivan Bornyakov , mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com, conor.dooley@microchip.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, system@metrotek.ru, linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring Subject: [PATCH v9 3/3] dt-bindings: fpga: add binding doc for microchip-spi fpga mgr Date: Thu, 7 Apr 2022 16:36:58 +0300 Message-Id: <20220407133658.15699-4-i.bornyakov@metrotek.ru> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220407133658.15699-1-i.bornyakov@metrotek.ru> References: <20220407133658.15699-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 To: unlisted-recipients:; (no To-header on input) 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 --- .../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