From patchwork Fri Jul 16 21:26:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 12382899 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB4A2C12002 for ; Fri, 16 Jul 2021 21:36:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9E7B7611F1 for ; Fri, 16 Jul 2021 21:36:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E7B7611F1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=nigauri.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=0kes40ck+3CT4/1YhfgUlVemy77CEtWXTanEMteAFYM=; b=m2UHHmAe8OwLm4 B8ZLNJgbZDXzExpbcCgx4rojm7Ora9ns3YAmmihIyXRKFF7Lh/xpUBJw0kIDHUCWsxww6QMUisduB W7M4nWuHFPPtWrD8wLan3ajq+jYMaC3j6QvAe5shqiMCKUAE8uRyGtK1u2F8jvPWR1SevMpd9kBVq cpQego7fk0hHYdpZ0UD4txUOxl9UjRWMgnPSQyVE+Jr3/LcQ6L/VmJfPJ7wu8XjngoNVp4qUBgDUQ BCYXonE/xZm7fsJdUpKHQb/cJghosNDBtnQ+bI6Wal0q/PfT6k5BK76ct2fhiza+hSTJTARiBw09f hLR9cX3VgJq1zVDZvI2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4VT0-005LRt-Aq; Fri, 16 Jul 2021 21:33:55 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4VLs-005IVC-Me for linux-arm-kernel@lists.infradead.org; Fri, 16 Jul 2021 21:26:35 +0000 Received: by mail-pf1-x42d.google.com with SMTP id q10so9952868pfj.12 for ; Fri, 16 Jul 2021 14:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nigauri-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wCqUTi8QcukAsDM3Vsuvdl4VskaTFVpSG5W8yb85NDw=; b=tIqcqbTFITCM7wJXjOAAfgB4xlmdCnJmxoVkI9m8fH2UI2C/njH7XUVOMm7m/bD2Fm VFaXN1AZJiZaZfUQFJdXMWRzMyk3AAkiYR/5L/WMUic7Vv5/F398pJK0n9qKVP84UDp9 RlJc9ZyfnrgRqRBxf7npytUw5RzIfOtHuRqL3VZZIbtNKsGNyJhfjuPbikpzOF6u7dGk ixaylMqdSR7yMv4rsFVV4V7f8OrsuUAeZzkY6aLpHTKKQGXwYGU9TGQoEtO732teYolq /LENmIH6OS2eTd8i/QAVHgc8SoeA7nvL02R0SkeXpwC7IjG8kniVby9lATUFxcvIK1Zy e3AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wCqUTi8QcukAsDM3Vsuvdl4VskaTFVpSG5W8yb85NDw=; b=E7e5/F8mW0MHY0aRO7AlqC4SFt2Y4t7DjQEEpStQDe+M8p/46TTZ0bTTHbLKgFk0gs bStEGBXR9G0wmk4q7Yovdj7JsIjzTAXY3daX3YBT78Cr4lXqfjYeCDruL07l1Dw1sYE5 PpjmsBYIIpIkmwwr40jfwdB3Gng/j4HXXBbpqlGkx102GDyuT7/S7C5fhnmwFAOMXzoo jwVGPFHmmOAHkjR02irioxqoLDK9XP8tL4N7jp34YFpGUTq1YI2zqaxjtONen2Kaonxm 4yVFEzrGE5IR4J12WFsOS3tlA5I2VKFJKJLTXgyHf62CBuB5LkPrCHeOdcUXatNxJgSE jhIw== X-Gm-Message-State: AOAM532+cNkBewSPS7Q4QT1yefTAd0g/M0CG6rUsO7uFD/cu3IMeRMGG sBanlWS7K90gnyHggZn89/pL X-Google-Smtp-Source: ABdhPJx9xtvMcX3jBpgIvGlxFveWMRzxMi++Dl5S+qGFQNrUZgmXfTJQaWh9yftp4BaiAPH5ugukug== X-Received: by 2002:a65:5c89:: with SMTP id a9mr11856102pgt.207.1626470791710; Fri, 16 Jul 2021 14:26:31 -0700 (PDT) Received: from localhost ([2405:6581:5360:1800:7285:c2ff:fec2:8f97]) by smtp.gmail.com with ESMTPSA id k10sm10772475pfc.169.2021.07.16.14.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jul 2021 14:26:31 -0700 (PDT) From: Nobuhiro Iwamatsu To: robh+dt@kernel.org, michal.simek@xilinx.com, mdf@kernel.org, trix@redhat.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, navam@xilinx.com, Nobuhiro Iwamatsu Subject: [PATCH v2] dt-bindings: fpga: convert Xilinx Zynq MPSoC bindings to YAML Date: Sat, 17 Jul 2021 06:26:21 +0900 Message-Id: <20210716212621.286806-1-iwamatsu@nigauri.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210716_142632_827882_54B1A441 X-CRM114-Status: GOOD ( 16.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert FPGA Manager for Xilinx Zynq MPSoC bindings documentation to YAML. Signed-off-by: Nobuhiro Iwamatsu --- v2: - Fix to the correct maintainer 'Nava kishore Manne '. - Update the word from configuration to Configuration. .../bindings/fpga/xlnx,zynqmp-pcap-fpga.txt | 25 ------------- .../bindings/fpga/xlnx,zynqmp-pcap-fpga.yaml | 36 +++++++++++++++++++ 2 files changed, 36 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt create mode 100644 Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.yaml diff --git a/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt b/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt deleted file mode 100644 index 3052bf619dd547..00000000000000 --- a/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt +++ /dev/null @@ -1,25 +0,0 @@ -Devicetree bindings for Zynq Ultrascale MPSoC FPGA Manager. -The ZynqMP SoC uses the PCAP (Processor configuration Port) to configure the -Programmable Logic (PL). The configuration uses the firmware interface. - -Required properties: -- compatible: should contain "xlnx,zynqmp-pcap-fpga" - -Example for full FPGA configuration: - - fpga-region0 { - compatible = "fpga-region"; - fpga-mgr = <&zynqmp_pcap>; - #address-cells = <0x1>; - #size-cells = <0x1>; - }; - - firmware { - zynqmp_firmware: zynqmp-firmware { - compatible = "xlnx,zynqmp-firmware"; - method = "smc"; - zynqmp_pcap: pcap { - compatible = "xlnx,zynqmp-pcap-fpga"; - }; - }; - }; diff --git a/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.yaml b/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.yaml new file mode 100644 index 00000000000000..6cd2bdc06b5fef --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fpga/xlnx,zynqmp-pcap-fpga.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx Zynq Ultrascale MPSoC FPGA Manager Device Tree Bindings + +maintainers: + - Nava kishore Manne + +description: | + Device Tree Bindings for Zynq Ultrascale MPSoC FPGA Manager. + The ZynqMP SoC uses the PCAP (Processor Configuration Port) to + configure the Programmable Logic (PL). The configuration uses the + firmware interface. + +properties: + compatible: + const: xlnx,zynqmp-pcap-fpga + +required: + - compatible + +additionalProperties: false + +examples: + - | + firmware { + zynqmp_firmware: zynqmp-firmware { + zynqmp_pcap: pcap { + compatible = "xlnx,zynqmp-pcap-fpga"; + }; + }; + }; +...