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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AABD4C433F5 for ; Thu, 21 Apr 2022 13:55:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242089AbiDUN63 (ORCPT ); Thu, 21 Apr 2022 09:58:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1388479AbiDUN6V (ORCPT ); Thu, 21 Apr 2022 09:58:21 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2453B31520 for ; Thu, 21 Apr 2022 06:55:30 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id bj36so5834703ljb.13 for ; Thu, 21 Apr 2022 06:55:30 -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=z3q2L8qOa7E4CbmnWZ1IRjjqAGmAdBrIckl8Mvt7mq0=; b=rxKikIg5b+QBYUKVXiXKKsSGckta0fLxfg6TPyjZEiT0Iq5Ve/htbWEo19FXKNcm4C MhHtqhGwOD+1MEpZMHXIhqdoZmgDXqyabtxruNOt1fxUBxCK9Gwi/Q9b+LnPaoAfh1hA h/Z6gE1V1j8uHFsMOqXupSYGU7znTsr+rm+93Sel0G+80yNI0OIW5rL6wd/6j7U7kyd2 mnvHui2nq5vUdIfG+lM4f0Cm68sl2FT7+v4JlLgTgw7BHsggqH16svZsvsgf8fZkECMD EnIkuQPtlv/Lvs9oHgEWuCOd9ZlnqLCgekx0cfaLlL6GQXdwbl5OpblI6eFrFFnC72y0 UcKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z3q2L8qOa7E4CbmnWZ1IRjjqAGmAdBrIckl8Mvt7mq0=; b=jHCIiwy4XJu5hgalUzA1KovN1q3BnNXd9eat7UqfuP61PiVnp7nzV5c6/sStr4JCcP KJxRuK3xHZPIWo0KIlSZeGVMucaAXRJtyLudERZEIHD2fJCHfTwg2tLwD6LCEvdhzW+L bI4ObYDwJ/ekC8QSZW8pHdGyIaN6Uf55yiAvMcaUjLCUitZmd4vDk7IHVeX0LinhuOAN +3y5nptNoQ8SeGDbk4MD5Vs4EBOisJm9865vgNm5rKtTxU7Tx/rX39FHkWIP1AGCY+VT TyXJ9Ly48rOEeU4Yu5O1b3vhHMGql4AdJYcMdAvAwP4sWijKrjJOJbJ9Xbj8I0leGQlr rQZg== X-Gm-Message-State: AOAM5339mefyi7aecXK/SNoi/0zgRG4CzsQUxzhPrq0TP0a+qznVhqdv 61noerBkP9a4elPtFbYIw/OsG0UjxBX5PHoYk9ICyg== X-Google-Smtp-Source: ABdhPJwXl5xankIhHSa/qr30MA+Ny7MT0iK7ss+aISZd89rCgZFc2m3LHuGi5tJdDrRbU1eKh9W0FfdEo24NQP8u980= X-Received: by 2002:a05:651c:988:b0:24a:c21f:7057 with SMTP id b8-20020a05651c098800b0024ac21f7057mr16896861ljq.16.1650549328412; Thu, 21 Apr 2022 06:55:28 -0700 (PDT) MIME-Version: 1.0 References: <20220419024611.1327525-1-chris.packham@alliedtelesis.co.nz> <20220419024611.1327525-5-chris.packham@alliedtelesis.co.nz> In-Reply-To: <20220419024611.1327525-5-chris.packham@alliedtelesis.co.nz> From: Ulf Hansson Date: Thu, 21 Apr 2022 15:54:52 +0200 Message-ID: Subject: Re: [PATCH v2 4/4] dt-bindings: mmc: convert sdhci-dove to JSON schema To: Chris Packham Cc: robh+dt@kernel.org, krzk+dt@kernel.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, adrian.hunter@intel.com, nico@fluxnic.net, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 19 Apr 2022 at 04:46, Chris Packham wrote: > > Convert the sdhci-dove binding to JSON schema. The optional clocks > property was not in the original binding document but has been in the > dove.dtsi since commit 5b03df9ace68 ("ARM: dove: switch to DT clock > providers"). > > Signed-off-by: Chris Packham Applied for next, thanks! Kind regards Uffe > --- > > Notes: > Changes in v2: > - Add clocks property > - interrupts.maxItems = 2 > - Update maintainers based on ./scripts/get_maintainer.pl -f drivers/mmc/host/sdhci-dove.c > > .../bindings/mmc/marvell,dove-sdhci.yaml | 44 +++++++++++++++++++ > .../devicetree/bindings/mmc/sdhci-dove.txt | 14 ------ > 2 files changed, 44 insertions(+), 14 deletions(-) > create mode 100644 Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml > delete mode 100644 Documentation/devicetree/bindings/mmc/sdhci-dove.txt > > diff --git a/Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml b/Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml > new file mode 100644 > index 000000000000..7c9c652ad59c > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml > @@ -0,0 +1,44 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mmc/marvell,dove-sdhci.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Marvell sdhci-dove controller > + > +maintainers: > + - Adrian Hunter > + - Ulf Hansson > + > +allOf: > + - $ref: mmc-controller.yaml# > + > +properties: > + compatible: > + const: marvell,dove-sdhci > + > + reg: > + maxItems: 1 > + > + interrupts: > + minItems: 1 > + maxItems: 2 > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +unevaluatedProperties: false > + > +examples: > + - | > + sdio0: mmc@92000 { > + compatible = "marvell,dove-sdhci"; > + reg = <0x92000 0x100>; > + interrupts = <35>; > + clocks = <&gate_clk 9>; > + }; > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-dove.txt b/Documentation/devicetree/bindings/mmc/sdhci-dove.txt > deleted file mode 100644 > index ae9aab9abcd7..000000000000 > --- a/Documentation/devicetree/bindings/mmc/sdhci-dove.txt > +++ /dev/null > @@ -1,14 +0,0 @@ > -* Marvell sdhci-dove controller > - > -This file documents differences between the core properties in mmc.txt > -and the properties used by the sdhci-pxav2 and sdhci-pxav3 drivers. > - > -- compatible: Should be "marvell,dove-sdhci". > - > -Example: > - > -sdio0: sdio@92000 { > - compatible = "marvell,dove-sdhci"; > - reg = <0x92000 0x100>; > - interrupts = <35>; > -}; > -- > 2.35.1 > 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 627B5C433FE for ; Thu, 21 Apr 2022 13:56:51 +0000 (UTC) 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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jsOu36CUq8caUxZGzSjxhf3wMzDj06uQhJObfPe1M0M=; b=BkI5FrZ/loxdvV Z9183LCEg//0PcSBy+thZyXSVRg7goGFHdujZ8ZsGqW9cl9fnIbFMCo6kXtCDs8Cfm9Rt2QENf6wI l6zcaYdc0knV9C6a1KDnG9GjckUVzuQXVDvL1Ldt9LgZPoWtLfIhaSb4IM5Ejp8VQ1ZYtu5EzlqMg 0sgayRCJQ211PvoRfQCCp8X41xFTB0Vfncv+zjntZnAk8a89FAkqnjGJPRyRsQHCiKtAqpF1r1AJF n6D2gHb7hadQm2YZMQbvlCmiQklak5N9Y6jxTBAPYgdgTr4VmJvt3S48QJxJu+OiVMtgq+hppAtAn uIsdTLqW/D8wo3qM7rZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhXHg-00DdRd-Q8; Thu, 21 Apr 2022 13:55:48 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhXHP-00DdJO-TF for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 13:55:34 +0000 Received: by mail-lj1-x236.google.com with SMTP id bn33so5855424ljb.6 for ; Thu, 21 Apr 2022 06:55:29 -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=z3q2L8qOa7E4CbmnWZ1IRjjqAGmAdBrIckl8Mvt7mq0=; b=rxKikIg5b+QBYUKVXiXKKsSGckta0fLxfg6TPyjZEiT0Iq5Ve/htbWEo19FXKNcm4C MhHtqhGwOD+1MEpZMHXIhqdoZmgDXqyabtxruNOt1fxUBxCK9Gwi/Q9b+LnPaoAfh1hA h/Z6gE1V1j8uHFsMOqXupSYGU7znTsr+rm+93Sel0G+80yNI0OIW5rL6wd/6j7U7kyd2 mnvHui2nq5vUdIfG+lM4f0Cm68sl2FT7+v4JlLgTgw7BHsggqH16svZsvsgf8fZkECMD EnIkuQPtlv/Lvs9oHgEWuCOd9ZlnqLCgekx0cfaLlL6GQXdwbl5OpblI6eFrFFnC72y0 UcKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z3q2L8qOa7E4CbmnWZ1IRjjqAGmAdBrIckl8Mvt7mq0=; b=2HJaL/BR0cb7aZE/ASX4HzRsBME3lol8ocYRMgvEOWfwmYiJoE23mQoB6jNwMFYsyB CZq6u6J9ASnrWpigsex/X2DUWjz7XXOUDknAFalWHkmdHR6ZdWd//f7684R7VdrH3V2n AFvlS1ES+dMTJXq9o5H9XjkKtJTkoxxiSkFUzLqu5gOgxTU2ijg5kXp9epK0iv7fllaI 0NTFyuh8PZRCmG7vDu5lqPyXYXfXs0j6kPY4Aog82PaVIr8isoxfS7PfYlQaOVO/HAMZ WdQDDKIt1K3t/E+cl5MQJ8qluTMTovgXE037gp3gyitn4/mjcdbytxma0+8bLWpVAzY+ 009g== X-Gm-Message-State: AOAM5319krGQ4bsgt0c9a23+ey9SybZAe2iKgb1b7ygLJTJF9//s/FQK n1TYyPAErboLEw4a06j5j0d9WlCjmEoLU1IBPa1R/A== X-Google-Smtp-Source: ABdhPJwXl5xankIhHSa/qr30MA+Ny7MT0iK7ss+aISZd89rCgZFc2m3LHuGi5tJdDrRbU1eKh9W0FfdEo24NQP8u980= X-Received: by 2002:a05:651c:988:b0:24a:c21f:7057 with SMTP id b8-20020a05651c098800b0024ac21f7057mr16896861ljq.16.1650549328412; Thu, 21 Apr 2022 06:55:28 -0700 (PDT) MIME-Version: 1.0 References: <20220419024611.1327525-1-chris.packham@alliedtelesis.co.nz> <20220419024611.1327525-5-chris.packham@alliedtelesis.co.nz> In-Reply-To: <20220419024611.1327525-5-chris.packham@alliedtelesis.co.nz> From: Ulf Hansson Date: Thu, 21 Apr 2022 15:54:52 +0200 Message-ID: Subject: Re: [PATCH v2 4/4] dt-bindings: mmc: convert sdhci-dove to JSON schema To: Chris Packham Cc: robh+dt@kernel.org, krzk+dt@kernel.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, adrian.hunter@intel.com, nico@fluxnic.net, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220421_065532_006009_BA2A3815 X-CRM114-Status: GOOD ( 20.14 ) 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: , 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, 19 Apr 2022 at 04:46, Chris Packham wrote: > > Convert the sdhci-dove binding to JSON schema. The optional clocks > property was not in the original binding document but has been in the > dove.dtsi since commit 5b03df9ace68 ("ARM: dove: switch to DT clock > providers"). > > Signed-off-by: Chris Packham Applied for next, thanks! Kind regards Uffe > --- > > Notes: > Changes in v2: > - Add clocks property > - interrupts.maxItems = 2 > - Update maintainers based on ./scripts/get_maintainer.pl -f drivers/mmc/host/sdhci-dove.c > > .../bindings/mmc/marvell,dove-sdhci.yaml | 44 +++++++++++++++++++ > .../devicetree/bindings/mmc/sdhci-dove.txt | 14 ------ > 2 files changed, 44 insertions(+), 14 deletions(-) > create mode 100644 Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml > delete mode 100644 Documentation/devicetree/bindings/mmc/sdhci-dove.txt > > diff --git a/Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml b/Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml > new file mode 100644 > index 000000000000..7c9c652ad59c > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml > @@ -0,0 +1,44 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mmc/marvell,dove-sdhci.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Marvell sdhci-dove controller > + > +maintainers: > + - Adrian Hunter > + - Ulf Hansson > + > +allOf: > + - $ref: mmc-controller.yaml# > + > +properties: > + compatible: > + const: marvell,dove-sdhci > + > + reg: > + maxItems: 1 > + > + interrupts: > + minItems: 1 > + maxItems: 2 > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +unevaluatedProperties: false > + > +examples: > + - | > + sdio0: mmc@92000 { > + compatible = "marvell,dove-sdhci"; > + reg = <0x92000 0x100>; > + interrupts = <35>; > + clocks = <&gate_clk 9>; > + }; > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-dove.txt b/Documentation/devicetree/bindings/mmc/sdhci-dove.txt > deleted file mode 100644 > index ae9aab9abcd7..000000000000 > --- a/Documentation/devicetree/bindings/mmc/sdhci-dove.txt > +++ /dev/null > @@ -1,14 +0,0 @@ > -* Marvell sdhci-dove controller > - > -This file documents differences between the core properties in mmc.txt > -and the properties used by the sdhci-pxav2 and sdhci-pxav3 drivers. > - > -- compatible: Should be "marvell,dove-sdhci". > - > -Example: > - > -sdio0: sdio@92000 { > - compatible = "marvell,dove-sdhci"; > - reg = <0x92000 0x100>; > - interrupts = <35>; > -}; > -- > 2.35.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel