Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1759727iof; Tue, 7 Jun 2022 10:56:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgADMbqvBk+XSr22WAhNCiN+yFQmVlQZz1srD7PGoiFKPlDvf/uXlnLb+ud/ux/a0h49dC X-Received: by 2002:a05:6402:5212:b0:42e:2fa:41a7 with SMTP id s18-20020a056402521200b0042e02fa41a7mr34593623edd.22.1654624608358; Tue, 07 Jun 2022 10:56:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654624608; cv=none; d=google.com; s=arc-20160816; b=VhL3+UkKVFbDCHHU+Y7GyJswNera21wkDZfd/w7imTXGB1UYzBWa5D8hhNUglt3+WL HvgrhFUEZmARx6Y1SjAaG117n8+i2Coe92nD+Q8AM+vuEPGSvPA60wr0naJqXiLM6cKl N2hHDtBPDun5StdH7RDj772jW3BMe8dQ2wxXmOYREYRdCiZ7mxt0zefsX8OwLop3SeBB GZY+hn2orLjegx35t3kG90bUNyqxleYdCtwLfHUftDs/P8TsBQEL3PpDbD5KYCec/6xO 6mcb/WIQZoxXL6O1iHc60AE4VY+7JkVhvfnUaWi0h6EU3k6XC5gIf5mC4IrH9EUpKYqV ip1w== 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=e67aSmprrjESPiyuOxj9KgOeTE1ODvuarcq+BmTvsb4=; b=zdvrCmiIQzLdCh274ZJxcBXYUpf6KBcXd9qdlH3Wp8M0b0HxlBrGB85pc5kRndguvb Ycigfv+22wFUTAAC9cwY9i4Rdc2+p3v4UyfvA5Al5yKMpq2eSFI/hKNv4JAc56r1lHYb EwjrWfGZEaaiCu9NbFu0ZDDvIKas3zR74//ck4Dxp+e8OX0vdNI3vTunmrDmE7yTCqAY 7Bkpqh/0iDi/Rv+5lfAoQqapFR6lJZoICOJbALOAINXixKsaaD8d7QEzdv+h3vKqYBjv aNJ5OT8BCbU43SqDMlyi4zrzYEwxVxUrO7xf4vMyLhnonC45MjLDwv9cwPw/R53JM2xx 72Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@metrotek.ru header.s=mail header.b=Sp0Qg+So; 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 z35-20020a509e26000000b00425d3e0c7a9si13369716ede.151.2022.06.07.10.56.20; Tue, 07 Jun 2022 10:56:48 -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=Sp0Qg+So; 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 S243009AbiFGLds (ORCPT + 99 others); Tue, 7 Jun 2022 07:33:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241584AbiFGLdo (ORCPT ); Tue, 7 Jun 2022 07:33:44 -0400 Received: from mail.pr-group.ru (mail.pr-group.ru [178.18.215.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 269E71CFD2; Tue, 7 Jun 2022 04:33:34 -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=Y+q3Espln8Rodgx5Nn4tnLIErSJz4K4izMOM418Zr7I=; b=Sp0Qg+SoMUSeKX6olIfh/Bq0rPpNYLgcHZsEm8spH180rnWXnhyqZ+RKWaiCbPFPwbqFmddiQnKAt hx8f6p1O+W0/gEe7otuq6csEf7J83MRC/FV1B3tuPiwdeSwrj+Bb67SjXmLAsCMf3RlbK/kgLaUFqh 2JdA7IIwD4LQmqaOo+WpCSKr+kMgXlQhP0p3aPAOCHz3e1FEdKOhJCf6tXKKfRt62NDE1IHJiMdRrm 7LBshHy9nIWPMGw9A0YnRLa2Hn7XkhaB/2AnytjhH1KWg1F7uzzezbyo7Y1frZvVltFakmZz86WiD4 WMZZTEgp9A7SJ4A5vyjsWSrqIGC/84w== X-Kerio-Anti-Spam: Build: [Engines: 2.16.3.1424, Stamp: 3], Multi: [Enabled, t: (0.000009,0.008030)], BW: [Enabled, t: (0.000017,0.000001)], RTDA: [Enabled, t: (0.075185), Hit: No, Details: v2.39.0; Id: 15.52kadl.1g4uv1b4m.1knj; 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 localhost.localdomain ([178.70.36.174]) (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, 7 Jun 2022 14:33:09 +0300 From: Ivan Bornyakov To: mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com Cc: Ivan Bornyakov , Conor.Dooley@microchip.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-fpga@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, system@metrotek.ru, Rob Herring Subject: [PATCH v16 3/3] dt-bindings: fpga: add binding doc for microchip-spi fpga mgr Date: Tue, 7 Jun 2022 14:10:30 +0300 Message-Id: <20220607111030.3003-4-i.bornyakov@metrotek.ru> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220607111030.3003-1-i.bornyakov@metrotek.ru> References: <20220607111030.3003-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 --- .../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.35.1