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 4B48CC88CB9 for ; Mon, 12 Jun 2023 14:20:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237499AbjFLOUz (ORCPT ); Mon, 12 Jun 2023 10:20:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239256AbjFLOUR (ORCPT ); Mon, 12 Jun 2023 10:20:17 -0400 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D26254EC3 for ; Mon, 12 Jun 2023 07:17:56 -0700 (PDT) Received: by mail-ot1-x331.google.com with SMTP id 46e09a7af769-6b16cbe4fb6so2930030a34.1 for ; Mon, 12 Jun 2023 07:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686579407; x=1689171407; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3KEZk+7J6jH+5aotS2FyIOrhqYERHH/vUHWmZ4rNxhg=; b=bZn+CTs4P4E4qcCwjLB17/HmQbPIV+EwRKaOn23NbrEuaKywaKECFGxeDgst7oqsry 8E98zn+lshy2NuH5ncrt0TPX773Fh3BUnKyZOJXTrb+aI0PfHvf5qUCxUFJbVl/XslS3 +gsKNRFIbTVDnRADz5urtCDpqGMxa28zNgdKG1Vxj70c2LJ2QFJEBwG8LMn7suVLP8iw LefKkfedKJhJ1lcUFm17eU5OqV/HvYn0aTLy/+6upZJjMMvC+fq6eZd6oul8eY67Zpam 5zmZR76yLa/RmoORuZOeTP+DANNTQeXifYt5BiW1xK381d+qJbG6Ejvl6fUWnQ1ivCzC QIug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686579407; x=1689171407; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3KEZk+7J6jH+5aotS2FyIOrhqYERHH/vUHWmZ4rNxhg=; b=G9auPzG5tBPC/JFRhfKJVpekL3KSdoo6QmqEMzt98FnWNMkwbFC/dpiywmN4+P+khS uJmS+1b4Jp1Tya7hBmebndIKcoHnqVcyZJD4zNgK8tzDqKuD9aDa6ZqnBBh4ejZL2d4s OmCa5GCNMhAwanBVpOtoVkuxI5kJfuE6IIWOND4gJ378j0gzoXPVYSRd6BR4kbHW+aAm /VjJkHxDf50YxhY/Nv0liU9UhcdEsEE9BDrMzgfKOgOukp1jTaXEdobTHCjLKF/fAq7C Mdy8FObVz1/qOi+fTH7BFP3on1hNNK/m9lvS5f+d4j99T9KR2HsBrSJJNrsqvM/Xw7wv Temg== X-Gm-Message-State: AC+VfDwefZ+skFVnmT8R001dBpSY2RKAUwhzloposAVkOWVWX5awJ90U f6bMIJmKFtt5J7rIY3ZTIXq5fmTHCrcEmr5YIlNQaw== X-Google-Smtp-Source: ACHHUZ57+N2fxPaYk1KsjJ78p5skxj4sQPHQWMVRz384v60dInqhXhnP1Xd2BZXxN8RcGnafD1Ct7EAMdvyTUPuUwhE= X-Received: by 2002:a05:6359:679d:b0:123:4e5e:d65 with SMTP id sq29-20020a056359679d00b001234e5e0d65mr4491115rwb.10.1686579406844; Mon, 12 Jun 2023 07:16:46 -0700 (PDT) MIME-Version: 1.0 References: <20230604121223.9625-1-stefan.wahren@i2se.com> <20230604121223.9625-9-stefan.wahren@i2se.com> In-Reply-To: <20230604121223.9625-9-stefan.wahren@i2se.com> From: Ulf Hansson Date: Mon, 12 Jun 2023 16:16:10 +0200 Message-ID: Subject: Re: [PATCH 08/10] dt-bindings: mmc: convert bcm2835-sdhost bindings to YAML To: Stefan Wahren Cc: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Jassi Brar , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-mmc@vger.kernel.org, linux-pwm@vger.kernel.org, linux-pm@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org On Sun, 4 Jun 2023 at 14:13, Stefan Wahren wrote: > > Convert the DT binding document for bcm2835-sdhost from .txt to YAML. > > Signed-off-by: Stefan Wahren Applied for next, thanks! Kind regards Uffe > --- > .../bindings/mmc/brcm,bcm2835-sdhost.txt | 23 -------- > .../bindings/mmc/brcm,bcm2835-sdhost.yaml | 54 +++++++++++++++++++ > 2 files changed, 54 insertions(+), 23 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt > create mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.yaml > > diff --git a/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt b/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt > deleted file mode 100644 > index d876580ae3b8..000000000000 > --- a/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt > +++ /dev/null > @@ -1,23 +0,0 @@ > -Broadcom BCM2835 SDHOST controller > - > -This file documents differences between the core properties described > -by mmc.txt and the properties that represent the BCM2835 controller. > - > -Required properties: > -- compatible: Should be "brcm,bcm2835-sdhost". > -- clocks: The clock feeding the SDHOST controller. > - > -Optional properties: > -- dmas: DMA channel for read and write. > - See Documentation/devicetree/bindings/dma/dma.txt for details > - > -Example: > - > -sdhost: mmc@7e202000 { > - compatible = "brcm,bcm2835-sdhost"; > - reg = <0x7e202000 0x100>; > - interrupts = <2 24>; > - clocks = <&clocks BCM2835_CLOCK_VPU>; > - dmas = <&dma 13>; > - dma-names = "rx-tx"; > -}; > diff --git a/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.yaml b/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.yaml > new file mode 100644 > index 000000000000..3a5a44800675 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.yaml > @@ -0,0 +1,54 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mmc/brcm,bcm2835-sdhost.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Broadcom BCM2835 SDHOST controller > + > +maintainers: > + - Stefan Wahren > + > +allOf: > + - $ref: mmc-controller.yaml > + > +properties: > + compatible: > + const: brcm,bcm2835-sdhost > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + dmas: > + maxItems: 1 > + > + dma-names: > + const: rx-tx > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + > + sdhost: mmc@7e202000 { > + compatible = "brcm,bcm2835-sdhost"; > + reg = <0x7e202000 0x100>; > + interrupts = <2 24>; > + clocks = <&clocks BCM2835_CLOCK_VPU>; > + dmas = <&dma 13>; > + dma-names = "rx-tx"; > + bus-width = <4>; > + }; > -- > 2.34.1 >