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=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 8EFF9C35247 for ; Thu, 6 Feb 2020 20:47:35 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5625A21775 for ; Thu, 6 Feb 2020 20:47:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aWoPc/Ci" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5625A21775 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+infradead-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=bombadil.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=xl+VTe2lT9R85DU6800uHoMwGdck4eL8NMwRUUwLHSg=; b=aWoPc/CiNel7DZ MtXDzm5CZqAKUAvit5rITpsHhODTdpHX9Uki1u3wocVvax/zagpShhEP056/ebwUqcbU/tvZIJ5By /63Nx6zLRTHB8KOByuv5Hx0hDWxX/aENyaU8m605Nf2i1C4vzu5PqEKfZgDorZxHRnw8A4C9tCHeX i5mQVQFGcNmXEK9Qo9Z05UtYS8GUGiUormESSF6uiO3kz14FPIcjduCLZsVf7zLJyLLF60SMitRpo Wc/cmDpwhzDoTiQjzGgVL7vGDfcl89O76JaoAs06RyxxJIXEIua9vU0VdapGth4xUUeXlVkOkFH0t +sf6PETKWKLb0uvnwt7Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1izo3c-0000uG-AF; Thu, 06 Feb 2020 20:47:28 +0000 Received: from mail-pj1-f67.google.com ([209.85.216.67]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1izo2T-00089B-SV; Thu, 06 Feb 2020 20:46:20 +0000 Received: by mail-pj1-f67.google.com with SMTP id ep11so494140pjb.2; Thu, 06 Feb 2020 12:46:17 -0800 (PST) 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:user-agent; bh=t7+ZXb374SG+32aNab2QK6gIc/sbbSVu/ejEJ9J5R0o=; b=XF7OBejv6MnnhM1VfQHeBRud+gvCtTnvG/lF7LzJfC5zgitfSo5D0k4uQxe7lEdZ4Y KRYd9Qc5+shRbVHxuDYeT88bbePuxMQX7+x9oKQU6FqF2buNRMF7sgr0nLGjG5B4VBqN pZrgOtWuvd7MiEoyoFWDwrxFrFPDoK1wyrG0IebH783gf9+WIqe7OHODhU2PgsjVKmei U28qGcv8gi8uqB7oL1vjbBEYDDeNWZkoFaOk49v1s3XThrPfRDDApg0sIOF7FPATlDGF cZDbnB1FzZMRV6AYvw6uAu3JHnaZy+UBN+vy5DoH0MoF8RAlqxHTMtUhsiT0NdetLqb9 JWSA== X-Gm-Message-State: APjAAAUdQwHHZ1t7ELJ1R2S0kCJkdkB5gg/wKidjgkZEG8+QaXDc7tDb L3S2xZeU8vXnDZdKxpvx7Q== X-Google-Smtp-Source: APXvYqyFvEEIkfC7yPNsqX45LR6kQ8NZVIQRMQRf2zMe2y9dA9KwI/+6lD3tz0xOPw3xszid6QubfA== X-Received: by 2002:a17:902:694c:: with SMTP id k12mr5736906plt.329.1581021976639; Thu, 06 Feb 2020 12:46:16 -0800 (PST) Received: from rob-hp-laptop (63-158-47-182.dia.static.qwest.net. [63.158.47.182]) by smtp.gmail.com with ESMTPSA id r14sm288920pfh.10.2020.02.06.12.46.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 12:46:16 -0800 (PST) Received: (nullmailer pid 11394 invoked by uid 1000); Thu, 06 Feb 2020 19:23:34 -0000 Date: Thu, 6 Feb 2020 19:23:34 +0000 From: Rob Herring To: Florian Fainelli Subject: Re: [PATCH v2 12/12] dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML Message-ID: <20200206192333.GA30325@bogus> References: <20200204235552.7466-1-f.fainelli@gmail.com> <20200204235552.7466-13-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200204235552.7466-13-f.fainelli@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200206_124618_070049_70B22455 X-CRM114-Status: GOOD ( 18.82 ) 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: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "james.tai" , Arnd Bergmann , Scott Branden , Sugaya Taichi , Ray Jui , open list , Maxime Ripard , Andrew Jeffery , Vinod Koul , "maintainer:BROADCOM IPROC ARM ARCHITECTURE" , linux-arm-kernel@lists.infradead.org, Nicolas Saenz Julienne , Joel Stanley Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Feb 04, 2020 at 03:55:52PM -0800, Florian Fainelli wrote: > Convert the Raspberry Pi BCM2835 firmware binding document to YAML. > Verified with dt_binding_check and dtbs_check. > > Signed-off-by: Florian Fainelli > --- > .../arm/bcm/raspberrypi,bcm2835-firmware.txt | 14 -------- > .../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 33 +++++++++++++++++++ > 2 files changed, 33 insertions(+), 14 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt > create mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml > > diff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt > deleted file mode 100644 > index 6824b3180ffb..000000000000 > --- a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt > +++ /dev/null > @@ -1,14 +0,0 @@ > -Raspberry Pi VideoCore firmware driver > - > -Required properties: > - > -- compatible: Should be "raspberrypi,bcm2835-firmware" > -- mboxes: Phandle to the firmware device's Mailbox. > - (See: ../mailbox/mailbox.txt for more information) > - > -Example: > - > -firmware { > - compatible = "raspberrypi,bcm2835-firmware"; > - mboxes = <&mailbox>; > -}; > diff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml > new file mode 100644 > index 000000000000..db355d970f2b > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml > @@ -0,0 +1,33 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Raspberry Pi VideoCore firmware driver > + > +maintainers: > + - Eric Anholt > + - Stefan Wahren > + > +properties: > + compatible: > + const: raspberrypi,bcm2835-firmware simple-bus ^ I need to check for spaces with the meta-schema... > + > + mboxes: > + $ref: '/schemas/types.yaml#/definitions/phandle' Already has a type, just need to define how many items and what they are if more than one. > + description: | > + Phandle to the firmware device's Mailbox. > + (See: ../mailbox/mailbox.txt for more information) Drop this. That's every 'mboxes'. > + > +required: > + - compatible > + - mboxes > + > +examples: > + - | > + firmware { > + compatible = "raspberrypi,bcm2835-firmware"; > + mboxes = <&mailbox>; > + }; > +... > -- > 2.19.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel