Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2020201pxb; Mon, 12 Apr 2021 12:08:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlnB4wmZfTIlx4EZbSoxGIZAVu+V7aNW9mV9Cseqm7YKFp51sFGSrbb8vbeGvtChlOCWwL X-Received: by 2002:a63:dc03:: with SMTP id s3mr11515517pgg.426.1618254505474; Mon, 12 Apr 2021 12:08:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618254505; cv=none; d=google.com; s=arc-20160816; b=UKkkkaSMnMER2/pQY1uMY+Yl0nCd4DGsG2HfCGTdb6zw5uG5e+BBrkHSRXtBLGSGxh AC5enkTKBrlxF57xSHY+6BqvYl4Hz45WWugOivVhE10AaRrE064u2DMA4Q6iRZVVFeaQ RTU3KNcBSMIGgREppxbr2Xdjo0uqEP0wHcDRrV6NYPCWKh3EDYAq/VXr+R7GwFEkjUrW vX9Jc5vvJwR2QlpBnPyGcA8ST8QT0MOQOptrO5HoF8dW8SHiPVgXZTjscNfisHCHnTnw Z7NK2sH07z65dH6jNX/z71pftH18cRjz7iprO0dI//ipXbGR+0KExshAonPqNQ4AJD8B aEJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=v5tAIOEut2G3054EIg7bCkBctd6yDH8+rLtfOUTR48o=; b=wQy8K668b7Nd8gcQGac9gGBx0DdYN7H3XiE/Z5XoottX7RcxkFZM5yVK2fc9zqiBtI Ny41XdM0M1TwyNeixxC7daVF2j57MtfSSpv1jy4dNO/T12xyxG8w/rDJiIlDZ7unyHjA sbj4dg9Mcz45c8fW0ebTb8Uc4lYEU3A5Ni+z2uUEHbM+Y+vck1IhBlMUnO4yhPw7NAHL km8n8WIGcjUivTwusVj+wugD0xX63sftWZO808gOF+44gBAFFwEu32hag2J5W9vlqvn5 w2Kn4KNZgwmr0ZwaRSbPgKN6WSc4rGTTWaluNr75YvsseqmH6WWvyUFsjjTCfhRtE0S7 tFyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cduuulxv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n127si10645402pfd.136.2021.04.12.12.08.12; Mon, 12 Apr 2021 12:08:25 -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=@linaro.org header.s=google header.b=cduuulxv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237157AbhDLHxC (ORCPT + 99 others); Mon, 12 Apr 2021 03:53:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237159AbhDLHxA (ORCPT ); Mon, 12 Apr 2021 03:53:00 -0400 Received: from mail-vs1-xe2c.google.com (mail-vs1-xe2c.google.com [IPv6:2607:f8b0:4864:20::e2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB330C06138E for ; Mon, 12 Apr 2021 00:52:42 -0700 (PDT) Received: by mail-vs1-xe2c.google.com with SMTP id r18so273459vso.12 for ; Mon, 12 Apr 2021 00:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v5tAIOEut2G3054EIg7bCkBctd6yDH8+rLtfOUTR48o=; b=cduuulxv3IgOu/JFsYqCWwmrm4ce7vjhwSGEoKc4uIlkMddY+8BkXOeKKSpaSU47vf 2O83a1wjyYwcssEZ/JMduP3zZy2mANCZWRr3RxBn70eJo//NFRB2CxWWlRJqjOXotiyU cYRW+Pe+yDEYMiAqA1HOHRO4Ta+JkT1D63LFBMoR/RnUtFqZBwynWPv84NO4nbgCQIyh tm2XnzbnkxtTAqh8vGdwvwRI3kwl1fHatXFJR+qG+lti91uwj+T042w5Hr22N2H9RuCl berBPZUNKVsulEF7gof4UBGQvj3Yc6JvFUQF4XpclNCZcXxGiSGGWTNWjuMK+XiHBuXw EoXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v5tAIOEut2G3054EIg7bCkBctd6yDH8+rLtfOUTR48o=; b=cg7gBfClqIkf8+32btI52jIeG1vN8GjEswWJBdn7UvuwMdeA6D/5dxquhTyhuIy0pm NN+E3ZDYBK/GAJegA6CLH7Sn3hdi5V6nEMoDHwzVb9kdM/jFtn37AcfHqE9ux33ncPVa oTlYS3bU5PCZlOs7VuhNZEJK7a+pynIRDf9eAX1Z5QMV8D5Wmwa00UueKorXdsjRVU2S UHQpk2OWH91eyEcNXUBUZRcR8psH3+Yj9skCLvg7CgilSQpRzN7Axsd3ml6O6BOXw5uW mv32Q3nWl3q7zhLU+cHwpI26ZcFmB7QresuF+0wP2mJ4ejQcIz+NwoA5O+h8Elhuh1Y9 QpLQ== X-Gm-Message-State: AOAM532yq5nzcNeg7PaU0ZJvGrSvzc4hPzeGhL69Kilb0kCS1GxuT9Gg I7i3rg2tBlLahdZ5eFHkcFCpBAn2f2HzjnRSLLVQDEjTCG8= X-Received: by 2002:a05:6102:21d1:: with SMTP id r17mr18456961vsg.19.1618213961994; Mon, 12 Apr 2021 00:52:41 -0700 (PDT) MIME-Version: 1.0 References: <20210406104802.20898-1-nsaenz@kernel.org> <20210406104802.20898-2-nsaenz@kernel.org> In-Reply-To: <20210406104802.20898-2-nsaenz@kernel.org> From: Ulf Hansson Date: Mon, 12 Apr 2021 09:52:04 +0200 Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: mmc: iproc-sdhci: Convert to json-schema To: Nicolas Saenz Julienne Cc: Linux ARM , linux-mmc , DTML , BCM Kernel Feedback , "moderated list:BROADCOM BCM2835..." , Ray Jui , Scott Branden , Stefan Wahren , Matthias Brugger , Ray Jui , Scott Branden , Florian Fainelli , phil@raspberrypi.com, tim.gover@raspberrypi.com, Adrian Hunter , Al Cooper , Nicolas Saenz Julienne , Linux Kernel Mailing List , Rob Herring , Stefan Wahren , Rob Herring Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Apr 2021 at 12:48, Nicolas Saenz Julienne wrote: > > Convert the brcm,iproc-sdhci binding to DT schema format using json-schema > > Signed-off-by: Nicolas Saenz Julienne Applied for next, thanks! (I guess patch2 and patch3 needs a re-spin?) Kind regards Uffe > > --- > > .../bindings/mmc/brcm,iproc-sdhci.yaml | 63 +++++++++++++++++++ > .../bindings/mmc/brcm,sdhci-iproc.txt | 37 ----------- > 2 files changed, 63 insertions(+), 37 deletions(-) > create mode 100644 Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml > delete mode 100644 Documentation/devicetree/bindings/mmc/brcm,sdhci-iproc.txt > > diff --git a/Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml b/Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml > new file mode 100644 > index 000000000000..6f569fbfa134 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml > @@ -0,0 +1,63 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mmc/brcm,iproc-sdhci.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Broadcom IPROC SDHCI controller > + > +maintainers: > + - Ray Jui > + - Scott Branden > + - Nicolas Saenz Julienne > + > +allOf: > + - $ref: mmc-controller.yaml# > + > +properties: > + compatible: > + enum: > + - brcm,bcm2835-sdhci > + - brcm,bcm2711-emmc2 > + - brcm,sdhci-iproc-cygnus > + - brcm,sdhci-iproc > + > + reg: > + minItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + description: > + Handle to core clock for the sdhci controller. > + > + sdhci,auto-cmd12: > + type: boolean > + description: Specifies that controller should use auto CMD12 > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + mmc@18041000 { > + compatible = "brcm,sdhci-iproc-cygnus"; > + reg = <0x18041000 0x100>; > + interrupts = ; > + clocks = <&lcpll0_clks BCM_CYGNUS_LCPLL0_SDIO_CLK>; > + bus-width = <4>; > + sdhci,auto-cmd12; > + no-1-8-v; > + }; > +... > diff --git a/Documentation/devicetree/bindings/mmc/brcm,sdhci-iproc.txt b/Documentation/devicetree/bindings/mmc/brcm,sdhci-iproc.txt > deleted file mode 100644 > index 09d87cc1182a..000000000000 > --- a/Documentation/devicetree/bindings/mmc/brcm,sdhci-iproc.txt > +++ /dev/null > @@ -1,37 +0,0 @@ > -Broadcom IPROC SDHCI controller > - > -This file documents differences between the core properties described > -by mmc.txt and the properties that represent the IPROC SDHCI controller. > - > -Required properties: > -- compatible : Should be one of the following > - "brcm,bcm2835-sdhci" > - "brcm,bcm2711-emmc2" > - "brcm,sdhci-iproc-cygnus" > - "brcm,sdhci-iproc" > - > -Use brcm2835-sdhci for the eMMC controller on the BCM2835 (Raspberry Pi) and > -bcm2711-emmc2 for the additional eMMC2 controller on BCM2711. > - > -Use sdhci-iproc-cygnus for Broadcom SDHCI Controllers > -restricted to 32bit host accesses to SDHCI registers. > - > -Use sdhci-iproc for Broadcom SDHCI Controllers that allow standard > -8, 16, 32-bit host access to SDHCI register. > - > -- clocks : The clock feeding the SDHCI controller. > - > -Optional properties: > - - sdhci,auto-cmd12: specifies that controller should use auto CMD12. > - > -Example: > - > -sdhci0: sdhci@18041000 { > - compatible = "brcm,sdhci-iproc-cygnus"; > - reg = <0x18041000 0x100>; > - interrupts = ; > - clocks = <&lcpll0_clks BCM_CYGNUS_LCPLL0_SDIO_CLK>; > - bus-width = <4>; > - sdhci,auto-cmd12; > - no-1-8-v; > -}; > -- > 2.30.2 >