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=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS 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 7CCA5C433DF for ; Wed, 15 Jul 2020 22:07:52 +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 41F5B2065F for ; Wed, 15 Jul 2020 22:07:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JAmsowy7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 41F5B2065F 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=QohQ935gM60QeD8cYDXhJDwqcSdwuI9T9Xs2An/Ob3w=; b=JAmsowy72I+Q194pjRAq4L63g g09lDNnZmakw/RTn05Ve8q50/VlnIbUGI6zR5928nP8IxIIz4AukUD6wZnQ/zEcEVUGrjy3ixXOLj xYhVtJFkpncznHlo6tfssySStew3hguN+Cu32yzWFJqKfsc+SEuYQQ0d779MVz76/FY9fgmq+HvgR COZG9+CvbItTy2DKB8U4OMqF6RBwhe7CvD/Cy8RwxL5guJSEREqypWlxoNJxaSw9y4a34GNzsSyRa oxKm6Of3QBvyNqoOTP2Wv4jhwM5Di2xSNYYLcQL82DRj7gTDwIJXiVqxYxquj2qFCM/hQs9z1UdCy r6pSoPzYQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvpXz-0001fR-DJ; Wed, 15 Jul 2020 22:06:39 +0000 Received: from mail-io1-f67.google.com ([209.85.166.67]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvpXw-0001ev-Oh for linux-arm-kernel@lists.infradead.org; Wed, 15 Jul 2020 22:06:37 +0000 Received: by mail-io1-f67.google.com with SMTP id q74so3970933iod.1 for ; Wed, 15 Jul 2020 15:06:36 -0700 (PDT) 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=qRfjlVNBy4z5241SwQko9g8EbOlRqXEXvkQFTv6DkDQ=; b=q+m1EUcOD38qnxYeFvk1k2pusONZFYD8frfEVrZeb9+s1FCLY2r6BB1SRLmO5irpgT ayR42xj+wUcDIPVXNGyTgiLi5R/oGr9zYgnzmEhmyI6R6508uRA1tJGzgXyQlXd1dmXj pQUDWhWmeKiKl7ffav95yb+P7nbw3eX57EIR7+qJYl9Q9WL13JDJE7Xyp6jUidpXi/o1 1or12s/MpE52DP31B/dAkBhf2XHNXyVSNtkTdnLUanA53VoJeKOjyRnOFUOC8am/iQNk j7x9E5wh6aQtHe3gFjuQ5M88kdz81d96uIwtednyLh1LoTl0FBji5n5fmXM2g34wj2qv hbaw== X-Gm-Message-State: AOAM533c0ct8RBinv4NoYyx4yHnlkPCwOoiVnXMupUv1DCGFfefJlomk CkyAHOObcyTfeAiAXeyNRA== X-Google-Smtp-Source: ABdhPJySacJKCgv7hC4z5/mCzLrNdHpH7KUcxBpfRp0LlpERVpj8w9JWv8bBWjfagJiaww5INCe2ww== X-Received: by 2002:a6b:b785:: with SMTP id h127mr1427356iof.161.1594850796234; Wed, 15 Jul 2020 15:06:36 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id p22sm1806151ili.88.2020.07.15.15.06.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 15:06:35 -0700 (PDT) Received: (nullmailer pid 899956 invoked by uid 1000); Wed, 15 Jul 2020 22:06:34 -0000 Date: Wed, 15 Jul 2020 16:06:34 -0600 From: Rob Herring To: Kangmin Park Subject: Re: [PATCH] dt-bindings: mmc: Convert sdhci-sirf to json-schema Message-ID: <20200715220634.GA897068@bogus> References: <20200706174336.27251-1-l4stpr0gr4m@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200706174336.27251-1-l4stpr0gr4m@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_180636_866754_81F23AE9 X-CRM114-Status: GOOD ( 19.32 ) 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, Ulf Hansson , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, 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 Tue, Jul 07, 2020 at 02:43:36AM +0900, Kangmin Park wrote: > Convert the sdhci-sirf binding to DT schema format using json-schema. > > At the same time, fix unit address to match the first address specified > in the reg property of the node. > > Signed-off-by: Kangmin Park > --- > .../devicetree/bindings/mmc/sdhci-sirf.txt | 18 --------- > .../devicetree/bindings/mmc/sdhci-sirf.yaml | 40 +++++++++++++++++++ > 2 files changed, 40 insertions(+), 18 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/mmc/sdhci-sirf.txt > create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-sirf.yaml > > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-sirf.txt b/Documentation/devicetree/bindings/mmc/sdhci-sirf.txt > deleted file mode 100644 > index dd6ed464bcb8..000000000000 > --- a/Documentation/devicetree/bindings/mmc/sdhci-sirf.txt > +++ /dev/null > @@ -1,18 +0,0 @@ > -* SiRFprimII/marco/atlas6 SDHCI Controller > - > -This file documents differences between the core properties in mmc.txt > -and the properties used by the sdhci-sirf driver. > - > -Required properties: > -- compatible: sirf,prima2-sdhc > - > -Optional properties: > -- cd-gpios: card detect gpio, with zero flags. > - > -Example: > - > - sd0: sdhci@56000000 { > - compatible = "sirf,prima2-sdhc"; > - reg = <0xcd000000 0x100000>; > - cd-gpios = <&gpio 6 0>; > - }; > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-sirf.yaml b/Documentation/devicetree/bindings/mmc/sdhci-sirf.yaml > new file mode 100644 > index 000000000000..46269378d9b6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/sdhci-sirf.yaml > @@ -0,0 +1,40 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mmc/sdhci-sirf.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sdhci Sirf Device Tree Bindings > + > +description: | > + This file documents differences between the core properties in > + mmc.txt and the properties used by the sdhci-sirf driver. > + > +maintainers: > + - Ulf Hansson Normally, this should be someone familar with the h/w, not the MMC maintainer. Needs a reference to mmc-controller.yaml. > + > +properties: > + compatible: > + enum: > + - sirf,prima2-sdhc > + > + reg: > + maxItems: 1 > + > + cd-gpios: > + description: > + card detect gpio, with zero flags. > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + sd0: sdhci@cd000000 { > + compatible = "sirf,prima2-sdhc"; > + reg = <0xcd000000 0x100000>; > + cd-gpios = <&gpio 6 0>; > + }; > -- > 2.26.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel