From patchwork Mon Mar 21 08:12:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Bornyakov X-Patchwork-Id: 12786976 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4E17C433EF for ; Mon, 21 Mar 2022 08:33:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345289AbiCUIde (ORCPT ); Mon, 21 Mar 2022 04:33:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345291AbiCUIda (ORCPT ); Mon, 21 Mar 2022 04:33:30 -0400 Received: from mail.pr-group.ru (mail.pr-group.ru [178.18.215.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5EE35DA5A; Mon, 21 Mar 2022 01:32:02 -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=cW97tF9dygiHq7o/+gILOv2WKq3Hft3IjKo4B2OX804=; b=JV4GfG3Ls56mjG1rjrAeVKb6Ul6Le17KVN1r/6ZVjRH+WtDbvw50fzs3DA2WhYabTQvav68QGTpxZ fX4NTPek3N+g1x3AJtqk8RHEqi+edX9PYmSm9n9uToLfsPi6e+sJUCpn4eG7E0n3kzVRQ1ekyJ5E1S ddUfSDuAKJQaCmHhRHi+U6/B/mb2iEOoGxKJ83ZYPta4Vw/klvbUUTm9Ltq2ymXf1vPTRYUvlLhbDW B/DP10kxZ3hzi6onbm4lbrmDLc4tjgzdi11xZ1Fdz8AXHWbvsqQg/tNzoeCl+iyBvlAHiH8zKpe+39 STNnJTqNItOYYrwaoasfYVF3IQ+6oGA== X-Kerio-Anti-Spam: Build: [Engines: 2.16.2.1410, Stamp: 3], Multi: [Enabled, t: (0.000008,0.006739)], BW: [Enabled, t: (0.000022,0.000001)], RTDA: [Enabled, t: (0.127934), Hit: No, Details: v2.28.0; Id: 15.52k34r.1fulpl8fr.30o2; mclb], total: 0(700) X-Footer: bWV0cm90ZWsucnU= Received: from localhost.localdomain ([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)); Mon, 21 Mar 2022 11:31:51 +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, system@metrotek.ru, linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v5 2/2] dt-bindings: fpga: add binding doc for microchip-spi fpga mgr Date: Mon, 21 Mar 2022 11:12:00 +0300 Message-Id: <20220321081200.6912-3-i.bornyakov@metrotek.ru> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220321081200.6912-1-i.bornyakov@metrotek.ru> References: <20220321081200.6912-1-i.bornyakov@metrotek.ru> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-fpga@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 --- .../fpga/microchip,mpf-spi-fpga-mgr.yaml | 32 +++++++++++++++++++ 1 file changed, 32 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..6955fc527ed2 --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/microchip,mpf-spi-fpga-mgr.yaml @@ -0,0 +1,32 @@ +# 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. + +description: | + Device Tree Bindings for Microchip Polarfire FPGA Manager using slave SPI to + load the bitstream in .dat format. + +properties: + compatible: + items: + - enum: + - microchip,mpf-spi-fpga-mgr + + reg: + items: + - description: spi chip select + +examples: + - | + spi@2008000 { + ... + fpga_mgr: fpga_mgr@0 { + compatible = "microchip,mpf-spi-fpga-mgr"; + spi-max-frequency = <20000000>; + reg = <0>; + }; + };