Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp852266ybh; Thu, 12 Mar 2020 12:17:08 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsB6r+sKY4fbOQnP97U33SSCulnJhD7AVGKWsDiqa++3p0Visjag0vUdJcQjnhRcVzyRRmA X-Received: by 2002:a9d:734f:: with SMTP id l15mr1005001otk.55.1584040628356; Thu, 12 Mar 2020 12:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584040628; cv=none; d=google.com; s=arc-20160816; b=IsQeexE50Z/R5CrTzrLl1TBHrxl/PRfqb3Eb1cBtDm+TDzl9al5Vmfba2b1FeTNNkc rGXW5jejIZMYd9YwiFaDiT/lC2H2CNJwryfcK1Wz3QbNjuSfCeLCX00zm3CQFe1FIaMq xf5UHGELBz9UdiPm8jqxZxKHugeyfDFOF6ZeDl1YfjojlaeLd9iDGWeL1UE2GyTJfFtG prDrD/jeuAD4Ek0SPX38BBwIUYkE+tWkUVsPUVxlPwkIg0aDyuY/BypDjzqX8evbL/O1 AvCqzsEmKVZPD9jc8LV0rDPH9fB3vHJjfCXCITHfvy9itm3bDKZPLIpExA1TmX2nBb55 X2CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Djo0vbOQtmH9OZB/fNNF0rVB8vAjiW39s6si94E1rBU=; b=Q0MuDf4g9UldPdE5Sr3lqmuLAVGKgYAZuo/vJt1NZH51i0GBevlRY+zKCumWqRwnjd ZvpFfwOXch2ELKT77XwyXTXGDwskMfHaiSEusAXKDJdU0LOrxz1F6OSIr9RHCUc5eAfi k69/1B78qI6CvZxwNrwUngbyBILZkZDcxfSVc7FaLVtLoLKHghnvOI2mYCZM+ZahpDNO bzmS60ju/BParCMnQh2DvG0WOH/+yc+gcNpP0DuGiSAoUf3NrMfCxmHGNYwHkFeFUY9V qHUG0jQmZya4N7E5vsMs1ZU3HaLVB7UJxh00upuWeuxYMwJceVP5Hgy2Pf6998DZmOTN KSiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si3250003ote.194.2020.03.12.12.16.53; Thu, 12 Mar 2020 12:17:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726776AbgCLTQT (ORCPT + 99 others); Thu, 12 Mar 2020 15:16:19 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:37514 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726469AbgCLTQS (ORCPT ); Thu, 12 Mar 2020 15:16:18 -0400 Received: by mail-oi1-f196.google.com with SMTP id w13so6707115oih.4; Thu, 12 Mar 2020 12:16:18 -0700 (PDT) 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=Djo0vbOQtmH9OZB/fNNF0rVB8vAjiW39s6si94E1rBU=; b=b4IhyVFyP/Ay6bke+UYYohrKLnEAIoXvLT8vlEIsVHvFrqQJ0l74ku+hbB/6/9fLRv 6QNJtYC1TDtNJZWFaGbkl60smoLT47FeT2kQw/xEyorqvSG206WTLksOGFH8LYlKsrjZ 7HHm8/65Ddgx93xuGY4eXwuWzV2D1Ix3Q1Y3/kWvRHmq025YTXf9+jnyUDwv468NdY8V kz6kBY8nRXrAYGXQvc39RZfm2qH702NqZAdkVdwAflYhTJ2ick88xSx0C7Qgw2yLpI6J 2gKnhjJ7/MwoUlyUTRmTa+7ePa5GVBBPLfGHWpY0nNvHhVhUpYczsvayjv3KcGlt5WaL GbrQ== X-Gm-Message-State: ANhLgQ1LwbA9UCIhxJbRrVYlVT+8pbRmC441XvX0OA9tbupUpCK7/ecG G0IIpbZ8mS8d4QahoDry0Q== X-Received: by 2002:aca:4106:: with SMTP id o6mr3945666oia.173.1584040578064; Thu, 12 Mar 2020 12:16:18 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id z25sm1443000oti.56.2020.03.12.12.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2020 12:16:17 -0700 (PDT) Received: (nullmailer pid 13893 invoked by uid 1000); Thu, 12 Mar 2020 19:16:16 -0000 Date: Thu, 12 Mar 2020 14:16:16 -0500 From: Rob Herring To: Baolin Wang Cc: mark.rutland@arm.com, jassisinghbrar@gmail.com, orsonzhai@gmail.com, zhang.lyra@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: mailbox: Add the Spreadtrum mailbox documentation Message-ID: <20200312191616.GA9697@bogus> References: <9bc2631ff3ab60fc607a5215e561aace83c0e8ca.1583464821.git.baolin.wang7@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9bc2631ff3ab60fc607a5215e561aace83c0e8ca.1583464821.git.baolin.wang7@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 06, 2020 at 02:07:21PM +0800, Baolin Wang wrote: > From: Baolin Wang > > Add the Spreadtrum mailbox documentation. > > Signed-off-by: Baolin Wang > Signed-off-by: Baolin Wang > --- > .../devicetree/bindings/mailbox/sprd-mailbox.yaml | 56 ++++++++++++++++++++++ > 1 file changed, 56 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml > > diff --git a/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml > new file mode 100644 > index 0000000..2f2fdcf > --- /dev/null > +++ b/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml > @@ -0,0 +1,56 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/mailbox/sprd-mailbox.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Spreadtrum mailbox controller bindings > + > +maintainers: > + - Orson Zhai > + - Baolin Wang > + - Chunyan Zhang > + > +properties: > + compatible: > + enum: > + - sprd,sc9860-mailbox > + > + reg: > + minItems: 2 Need to define what each entry is. > + > + interrupts: > + minItems: 2 > + description: > + Contains the inbox and outbox interrupt information. The description should be split to define each entry: items: - description: inbox interrupt - description: outbox interrupt > + > + clocks: > + maxItems: 1 > + > + clock-names: > + items: > + - const: enable > + > + "#mbox-cells": > + const: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - "#mbox-cells" > + - clocks > + - clock-names Add: additionalProperties: false > + > +examples: > + - | > + #include > + mailbox: mailbox@400a0000 { > + compatible = "sprd,sc9860-mailbox"; > + reg = <0 0x400a0000 0 0x8000>, <0 0x400a8000 0 0x8000>; > + #mbox-cells = <1>; > + clock-names = "enable"; > + clocks = <&aon_gate 53>; > + interrupts = , ; > + }; > +... > -- > 1.9.1 >