From mboxrd@z Thu Jan 1 00:00:00 1970 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=-19.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 2B120C433E0 for ; Tue, 9 Feb 2021 22:50:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 D45FA64DE7 for ; Tue, 9 Feb 2021 22:50:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D45FA64DE7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=07V+EOcRTvnfDnNiKMnS2P28LSbD4Pz9rMD4I8Ufuak=; b=Y3MAmoSOZ4X0cqmFlrIrrwLol JEGAYXyAN80cmSLNK7zVGBSFiJf5lVnmGZ2JFPw1IEHieyZJntBLP3WnVYo1lUd9QQ+EEnvpt43Iw TUEqKqZRS2uB8rv6hFAyTzD7COT/KFjZ5vVss7U3hUVCMuBLYpXJVcOTmMueFJ/PI8G+oMQ9xPKax qKoB4ruMxZOrIVjhTRF9INUZk2EdwkqhhOTYHW6WbONHAF5b/uSCFJ+Ynzqz9tUTrgBguuAkZosrB 3Jixx699TMWFjeE72nAPVEFCFBKksSWKdvkB+5EFZza+hqS0nUFDd/1K+0t3/NRBLQxNkcCstrWNz DBTtmtKDg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9bpF-0003Lj-4E; Tue, 09 Feb 2021 22:49:41 +0000 Received: from mail-oi1-f181.google.com ([209.85.167.181]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9bpC-0003L3-Sq for linux-arm-kernel@lists.infradead.org; Tue, 09 Feb 2021 22:49:40 +0000 Received: by mail-oi1-f181.google.com with SMTP id i3so10374741oif.1 for ; Tue, 09 Feb 2021 14:49:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=6Ue7D4O8vdXw9UDhxOL/f68EqD5Djbx8qy8gM4ZTo8o=; b=eIG+5iSxkZu8dIOhAZ4sc4yW7X1nG55CFffgiW2fWf/HNqf+MYriI20okKVQyu/byC h76Ko0AmNYJ/a1GFPglEjqw9UEHRHZjWyC96s0pLZvVBaVmufALXTuEjVrq1B7bG5ybF OVALOnqSsRso2hgCHPL4Dc5lByjs8QLOgp7hRcPhzf/0J9BmdjOrbyH7AjTBPeaFg0lE JqJ6iamBW+dsNEtwIAbZZrDNlYfV9Da+qZRN20i6tsxV/sWnoPGacb5i0prliMAQjb45 6IVOoZ+vGUT4Um+wZ7a+4dS/5wj9YVjppp7C1KdDI7zkSuKjF0NjNgnxmSOUQNGNk7mo LdYw== X-Gm-Message-State: AOAM5305/YlK9sJKkr+5+P8QUTvu7E5av7KwZGX4y78TnDBTFw+VT399 AkHVuve8SWfGq91NncmgoQ== X-Google-Smtp-Source: ABdhPJzO6QBdZCXZG20mYXd4tre7KcvWOOgg+uJllJfNXFTuS1MiX/nrrW1uhMgjESZC0Jg1/nh8XQ== X-Received: by 2002:a54:478c:: with SMTP id o12mr43726oic.28.1612910978323; Tue, 09 Feb 2021 14:49:38 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id w124sm25348oiw.40.2021.02.09.14.49.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Feb 2021 14:49:37 -0800 (PST) Received: (nullmailer pid 366377 invoked by uid 1000); Tue, 09 Feb 2021 22:49:36 -0000 Date: Tue, 9 Feb 2021 16:49:36 -0600 From: Rob Herring To: Michal Simek Subject: Re: [PATCH] dt-bindings: spi: zynq: Convert Zynq QSPI binding to yaml Message-ID: <20210209224936.GA338434@robh.at.kernel.org> References: <22ca0a9a15ccdf4b520baacc5ed837f6d3a3f781.1612360002.git.michal.simek@xilinx.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <22ca0a9a15ccdf4b520baacc5ed837f6d3a3f781.1612360002.git.michal.simek@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210209_174938_949301_55AA9202 X-CRM114-Status: GOOD ( 21.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, monstr@monstr.eu, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Mark Brown , git@xilinx.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Feb 03, 2021 at 02:46:44PM +0100, Michal Simek wrote: > Convert spi-zynq-qspi.txt to yaml. > > Signed-off-by: Michal Simek > --- > > .../devicetree/bindings/spi/spi-zynq-qspi.txt | 25 -------- > .../bindings/spi/xlnx,zynq-qspi.yaml | 59 +++++++++++++++++++ > MAINTAINERS | 1 + > 3 files changed, 60 insertions(+), 25 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/spi/spi-zynq-qspi.txt > create mode 100644 Documentation/devicetree/bindings/spi/xlnx,zynq-qspi.yaml > > diff --git a/Documentation/devicetree/bindings/spi/spi-zynq-qspi.txt b/Documentation/devicetree/bindings/spi/spi-zynq-qspi.txt > deleted file mode 100644 > index 16b734ad3102..000000000000 > --- a/Documentation/devicetree/bindings/spi/spi-zynq-qspi.txt > +++ /dev/null > @@ -1,25 +0,0 @@ > -Xilinx Zynq QSPI controller Device Tree Bindings > -------------------------------------------------------------------- > - > -Required properties: > -- compatible : Should be "xlnx,zynq-qspi-1.0". > -- reg : Physical base address and size of QSPI registers map. > -- interrupts : Property with a value describing the interrupt > - number. > -- clock-names : List of input clock names - "ref_clk", "pclk" > - (See clock bindings for details). > -- clocks : Clock phandles (see clock bindings for details). > - > -Optional properties: > -- num-cs : Number of chip selects used. > - > -Example: > - qspi: spi@e000d000 { > - compatible = "xlnx,zynq-qspi-1.0"; > - reg = <0xe000d000 0x1000>; > - interrupt-parent = <&intc>; > - interrupts = <0 19 4>; > - clock-names = "ref_clk", "pclk"; > - clocks = <&clkc 10>, <&clkc 43>; > - num-cs = <1>; > - }; > diff --git a/Documentation/devicetree/bindings/spi/xlnx,zynq-qspi.yaml b/Documentation/devicetree/bindings/spi/xlnx,zynq-qspi.yaml > new file mode 100644 > index 000000000000..03269a7433b3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/xlnx,zynq-qspi.yaml > @@ -0,0 +1,59 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/spi/xlnx,zynq-qspi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Xilinx Zynq QSPI controller > + > +description: > + The Xilinx Zynq QSPI controller is used to access multi-bit serial flash > + memory devices. > + > +allOf: > + - $ref: "spi-controller.yaml#" > + > +maintainers: > + - Michal Simek > + > +# Everything else is described in the common file > +properties: > + compatible: > + const: xlnx,zynq-qspi-1.0 > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + items: > + - description: reference clock > + - description: peripheral clock > + > + clock-names: > + items: > + - const: ref_clk > + - const: pclk > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + > +additionalProperties: true unevaluatedProperties: false > + > +examples: > + - | > + spi@e000d000 { > + compatible = "xlnx,zynq-qspi-1.0"; > + reg = <0xe000d000 0x1000>; > + interrupt-parent = <&intc>; > + interrupts = <0 19 4>; > + clock-names = "ref_clk", "pclk"; > + clocks = <&clkc 10>, <&clkc 43>; > + num-cs = <1>; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS > index 546aa66428c9..e494b061dcd1 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -2766,6 +2766,7 @@ W: http://wiki.xilinx.com > T: git https://github.com/Xilinx/linux-xlnx.git > F: Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml > F: Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml > +F: Documentation/devicetree/bindings/spi/xlnx,zynq-qspi.yaml > F: arch/arm/mach-zynq/ > F: drivers/block/xsysace.c > F: drivers/clocksource/timer-cadence-ttc.c > -- > 2.30.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel