Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2264797pxj; Sun, 13 Jun 2021 14:30:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIWk8Ka9R+TQsHNyHSTJfaxGw9szeJuh5GooreC/yHPdwt5K7b5ODuF4iUwTHFjKFbCI0r X-Received: by 2002:a17:907:628a:: with SMTP id nd10mr12626301ejc.326.1623619848158; Sun, 13 Jun 2021 14:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623619848; cv=none; d=google.com; s=arc-20160816; b=Rqay2IDZRgOCLiKulSB8WlvfDgiNwgCF33VOofxSj3LqohRJDtIyWFx5Uy23iBuX7h aHk5mjlezEdsBzk380JtKpq68jUguUQbrD3OgCyX/b+Ngcb1vBUIP0v+hOOqFO8TWibt /DgNs47WrPXiRK/SzwJS9EORm3qATkDlwDeTpkNunmvglh6JY9YYpGBMi5DdWtkWjhaN Ap+H0e5u70E3YZ/niqN8q8pcZNYVYy2IPF3Em62GbZrnPfHV330R0PKrihOXTCaKxLdi LjUvhsuIjwS9AaMskfK8lCb7fVIW3RN33FhpHE8RkT6/mL2KtLpuJQXj6kzcSa9w+zWP zWwg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=v+U5yHEUqdMTROj7uMRwfEteYut+EmPEud6gYJLYiFQ=; b=qdNKJnrZvubWjGwXCMQ1/BjpdNqoWzRZtHDinQUdsPRksjEX3CBRQW0LxEi901FaeX fongG4RVgh6DDeY0dZEV2j8t/NnQNzRmFbHqJZY2h6jszcrPX6gV6GHaAPy7iIeVYtT7 sqTWSow8ZBdE0xF8OkN0YLQIo+tGZb3JoKcSHm0MjDquMMMBoz/CsXoJe7l+ZAhhUUW2 remPPAIWIdcu4eX3ec6mwNik/yBjtxv8/wpNnpUmgt5QroVneuHx5keyp1l+u/22x2DT oIDDsMjZRH3+7W/fEt8CxSdyjtLtGNM7OAi0RNG0q4z2y/7KCFWgU6G5EEji3XgceVJa D4ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nigauri-org.20150623.gappssmtp.com header.s=20150623 header.b="sgY/Idbx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 4si9803771ejr.388.2021.06.13.14.30.25; Sun, 13 Jun 2021 14:30:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nigauri-org.20150623.gappssmtp.com header.s=20150623 header.b="sgY/Idbx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232099AbhFMVb0 (ORCPT + 99 others); Sun, 13 Jun 2021 17:31:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232089AbhFMVbZ (ORCPT ); Sun, 13 Jun 2021 17:31:25 -0400 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E829EC061574 for ; Sun, 13 Jun 2021 14:29:23 -0700 (PDT) Received: by mail-pg1-x52d.google.com with SMTP id g22so2002998pgk.1 for ; Sun, 13 Jun 2021 14:29:23 -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=v+U5yHEUqdMTROj7uMRwfEteYut+EmPEud6gYJLYiFQ=; b=sgY/Idbxj8Sp5P11pa+MocZHR0W9u/r4+nJ5n/DikJczLPMbCsbm/Ym0rxJ0NAtKmP XKlAjuN7WIrjP8qdgh8beks0junSpWFtWqaBrUKLLYuwDvt5YtnKKpc89NoJ1JcElfqk 8yTq2B+6UrVvPxLy+zVT1fUP/PNqIGu/nxstx+C/Qr+NZRnRK45EpnnK9qR6BcDNemn7 qczobuBjEtx6yFsWFw19N81CyZCeejGA8du4L2xAk/JGaS3piHM4qps1Dmatv47wxZR6 4ZJQR3qUf7Q4lkRj1Vk9d4sj8hnHu1oJ8lOm4ASxSE/k7IXm65omhfn1/kOTAUi6DBdA Bz7A== 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=v+U5yHEUqdMTROj7uMRwfEteYut+EmPEud6gYJLYiFQ=; b=bajZdeal0l6z5B0a5imd9Sq63rojUquWewL5lPccoU6WFFXl90hW08wVLCURhzRB6n YrXkzrlmSmND2SErG9btFjjRJWxxAzPhV1czmHC8iHcJsJLpfmq0luY8t0E9DN2BbYKw US9dopz8URF/6HXouuhaQ2AKgSeJaWywOnFlzw0dRqlpMaJlnr0eYrP+etNv7q1ZH3Pb aaaW6MEbR7kJ6x9v8xkC+L9vTEohBLcC5AY6kkMlukY5POZbiJvPGcObdvYi/X4pT9oN T3zFzmdoDzu852Ch+lejkEFRE9fR392FaKl7KXzGV51DBC+amYynmGAUIdzcpa2KceZA Wz7A== X-Gm-Message-State: AOAM530NZFesFkEt1aLTUHUf8KoJTPwFQrUdnTFoXmR5D2Ns8kYktXLp NLlaV2pdIwQ8qSzMCS2xDx1v X-Received: by 2002:a63:6e09:: with SMTP id j9mr14063297pgc.275.1623619763290; Sun, 13 Jun 2021 14:29:23 -0700 (PDT) Received: from localhost ([2405:6581:5360:1800:7285:c2ff:fec2:8f97]) by smtp.gmail.com with ESMTPSA id k21sm10609804pgb.56.2021.06.13.14.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Jun 2021 14:29:22 -0700 (PDT) From: Nobuhiro Iwamatsu To: robh@kernel.org, moritz.fischer@ettus.com, michal.simek@xilinx.com, trix@redhat.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, Nobuhiro Iwamatsu Subject: [PATCH] dt-bindings: fpga: zynq: convert bindings to YAML Date: Mon, 14 Jun 2021 06:28:56 +0900 Message-Id: <20210613212856.296153-1-iwamatsu@nigauri.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert FPGA for Xilinx Zynq SoC bindings documentation to YAML. Signed-off-by: Nobuhiro Iwamatsu --- .../bindings/fpga/xilinx-zynq-fpga-mgr.txt | 19 ------- .../bindings/fpga/xilinx-zynq-fpga-mgr.yaml | 52 +++++++++++++++++++ 2 files changed, 52 insertions(+), 19 deletions(-) delete mode 100644 Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt create mode 100644 Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.yaml diff --git a/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt b/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt deleted file mode 100644 index 7018aa89683591..00000000000000 --- a/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt +++ /dev/null @@ -1,19 +0,0 @@ -Xilinx Zynq FPGA Manager - -Required properties: -- compatible: should contain "xlnx,zynq-devcfg-1.0" -- reg: base address and size for memory mapped io -- interrupts: interrupt for the FPGA manager device -- clocks: phandle for clocks required operation -- clock-names: name for the clock, should be "ref_clk" -- syscon: phandle for access to SLCR registers - -Example: - devcfg: devcfg@f8007000 { - compatible = "xlnx,zynq-devcfg-1.0"; - reg = <0xf8007000 0x100>; - interrupts = <0 8 4>; - clocks = <&clkc 12>; - clock-names = "ref_clk"; - syscon = <&slcr>; - }; diff --git a/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.yaml b/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.yaml new file mode 100644 index 00000000000000..29daca4be47fcd --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fpga/xilinx-zynq-fpga-mgr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx Zynq FPGA Manager Device Tree Bindings + +maintainers: + - Michal Simek + +properties: + compatible: + const: xlnx,zynq-devcfg-1.0 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: ref_clk + + syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to syscon block which provide access to SLCR registers + +required: + - compatible + - reg + - clocks + - clock-names + - syscon + +additionalProperties: false + +examples: + - | + devcfg: devcfg@f8007000 { + compatible = "xlnx,zynq-devcfg-1.0"; + reg = <0xf8007000 0x100>; + interrupts = <0 8 4>; + clocks = <&clkc 12>; + clock-names = "ref_clk"; + syscon = <&slcr>; + }; -- 2.32.0