Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4838919rwr; Mon, 8 May 2023 13:29:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4kVI09JuA2g5OKe/EjkkuZv+3euh/uXslM4464hrO8OCCFLIR4ZUEylYVupPWcAYm9ixlA X-Received: by 2002:a17:90a:644d:b0:24d:f507:5437 with SMTP id y13-20020a17090a644d00b0024df5075437mr11368974pjm.41.1683577791146; Mon, 08 May 2023 13:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683577791; cv=none; d=google.com; s=arc-20160816; b=cRxkvoXCQ2APQjhF+5dimfRHkfmpM0sP0sTOp1mkgbdnirv2JoRv5q1lFPqrKCNssV jg04HdVEd+o41m4eYiyWDA+AigEzusGt0vNUo3X/Jeil9ZQqURCYh1ndMa5tV3L6dzC1 uKa7Y+5BR6pba6Guq03kn8AYSVUdsQ2xEiM9mIIREUpZCetrzTDnAswDt5G4LvhIvA5t tMLVgXo2lmtxp9I5U6bPoA5FQHhWzYCdgX/nO8tVQMq5gLzE5UdHDcXM9PXRIKJDJNvo w18IRn6nvUcKBYSux+jCr5QJE31d7fprxq19xZSoSiD7Gx2/vbCRAGpMtij0Al+35xoR jn0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rWGz97iyFsiK8bmWWDeS1/kG0sPshSoMomOgG4Fbdl0=; b=DjWROnMIdLCjD6VCxKhQd/gUtxgGtZXYlxpydZbL3wAaWK7fgSbAYJoTTEP9ojEe2e yE6TS3TG1Zo5im9Z2S0Q8Yzae+C9BaBdZ2+wH/FQLu2R48ykLnt2fKWvP30iPbnSTQRv 7nDMPYbfabTaoQ95UvmkP/bJvBQRrGdtg7fy3haPWPnLoK6KpRJknpJlE+pO6YXnDsBc fGoFfFOVMv1OesKLdAMy4cgMxKQLFmeCOph+2BS215KR9i1lbwdTq8ufUflWOSGn3R28 wOzwOo/Qgga8TWtjsJchRHZA9a5CzyAqfoXQOSuIdXstCRQ9/BJAp7C280T/gQpJCOuq LWvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JKqxt7yI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot18-20020a17090b3b5200b00250acbb4d02si85115pjb.153.2023.05.08.13.29.36; Mon, 08 May 2023 13:29:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JKqxt7yI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230125AbjEHT4q (ORCPT + 99 others); Mon, 8 May 2023 15:56:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbjEHT4o (ORCPT ); Mon, 8 May 2023 15:56:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99181449F; Mon, 8 May 2023 12:56:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 81B7864228; Mon, 8 May 2023 19:56:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E8E1C433D2; Mon, 8 May 2023 19:56:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683575771; bh=ltJDojvCNNaKUmHf67mg4itsVJG4A+kiE3jK368sh/g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JKqxt7yI/HwKC+CiPqt7/Ymw1In8Cfy8sUKQ/N7Y5GOPm5L2ABrTm9Dq1nq41eKmA AHTe3dJ4GZjFimrFv+fDk/u/+RUWcoT5MUOqKMxtEMUEGuTjd6fu/fgM5xxHQsYTJn 2HGkpIohveBZGoI/TNxjP5JokEHzmUgSCY476/9BTTVAr9RXgcUrfl1qZ1808BRITo LoxutEU2zLJb5KwB1WD3QO6jkj4KXEimqgHysuWKLttqzvJQ7fBdVxFJspaZqRUdEY TOYjF1/9ux3HNq2T+/zI1zlbxNWr6xGoNzEPn1KGiSMEwlBi0eTJB8Bw8C8Cp/Zpy5 bUNNKgVeYmjKQ== Date: Mon, 8 May 2023 20:56:07 +0100 From: Conor Dooley To: Stanislav Jakubek Cc: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] dt-bindings: mmc: brcm,kona-sdhci: convert to YAML Message-ID: <20230508-earwig-prance-a2f25f23551d@spud> References: <88c64da50a1af868d8b14054c440e5ff96a63399.1683548624.git.stano.jakubek@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LFCvaqCAlBvxkDQI" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --LFCvaqCAlBvxkDQI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 08, 2023 at 02:46:03PM +0200, Stanislav Jakubek wrote: > Convert Broadcom Kona family SDHCI controller bindings to DT schema. >=20 > Changes during conversion: > - also mark reg and interrupts as required > - drop deprecated compatible (it's been deprecated for ~10 years) >=20 > Signed-off-by: Stanislav Jakubek Acked-by: Conor Dooley Thanks, Conor. > --- > .../bindings/mmc/brcm,kona-sdhci.txt | 21 -------- > .../bindings/mmc/brcm,kona-sdhci.yaml | 48 +++++++++++++++++++ > 2 files changed, 48 insertions(+), 21 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/mmc/brcm,kona-sdhci= =2Etxt > create mode 100644 Documentation/devicetree/bindings/mmc/brcm,kona-sdhci= =2Eyaml >=20 > diff --git a/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt b/= Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt > deleted file mode 100644 > index 7f5dd83f5bd9..000000000000 > --- a/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt > +++ /dev/null > @@ -1,21 +0,0 @@ > -Broadcom BCM281xx SDHCI > - > -This file documents differences between the core properties in mmc.txt > -and the properties present in the bcm281xx SDHCI > - > -Required properties: > -- compatible : Should be "brcm,kona-sdhci" > -- DEPRECATED: compatible : Should be "bcm,kona-sdhci" > -- clocks: phandle + clock specifier pair of the external clock > - > -Refer to clocks/clock-bindings.txt for generic clock consumer properties. > - > -Example: > - > -sdio2: sdio@3f1a0000 { > - compatible =3D "brcm,kona-sdhci"; > - reg =3D <0x3f1a0000 0x10000>; > - clocks =3D <&sdio3_clk>; > - interrupts =3D <0x0 74 0x4>; > -}; > - > diff --git a/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml b= /Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml > new file mode 100644 > index 000000000000..87711edf9b39 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mmc/brcm,kona-sdhci.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Broadcom Kona family SDHCI controller > + > +maintainers: > + - Florian Fainelli > + > +allOf: > + - $ref: sdhci-common.yaml# > + > +properties: > + compatible: > + const: brcm,kona-sdhci > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - interrupts > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + #include "dt-bindings/clock/bcm281xx.h" > + > + mmc@3f1a0000 { > + compatible =3D "brcm,kona-sdhci"; > + reg =3D <0x3f1a0000 0x10000>; > + clocks =3D <&master_ccu BCM281XX_MASTER_CCU_SDIO3>; > + interrupts =3D ; > + }; > +... > --=20 > 2.25.1 >=20 --LFCvaqCAlBvxkDQI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZFlT1gAKCRB4tDGHoIJi 0vqAAP45AkL/hMblRuxYevWDGHld8fxiCLO3SJe5wWE2IV+U6AD/c/sI1OW2syKr 4Rfp9AR81dk0RssoLeVUOZi7tRpzQgM= =crpY -----END PGP SIGNATURE----- --LFCvaqCAlBvxkDQI--