Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6489305ybf; Thu, 5 Mar 2020 22:09:31 -0800 (PST) X-Google-Smtp-Source: ADFU+vuHLqz0lnadflkP1NzhpKUjQfd8EntpgxLrNAw4Egt4eEJeE82mOzN/mi+KaGU+IJuhGKqW X-Received: by 2002:aca:120e:: with SMTP id 14mr1438766ois.135.1583474971864; Thu, 05 Mar 2020 22:09:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583474971; cv=none; d=google.com; s=arc-20160816; b=oSgM8o+uwDWWLtd3A010MCjypsaf0Uk7kzw7lO81U3jDLVQfguUWkhocUZbMCsvhV/ waQsjpCqTd0ACgA4uDCAwytqc5Pm+SeZF/OX+P3bDs9M4uXuA/BrkwoO403PJsyKhVi8 VwEwEjiGwAB7bhYouqTKRPcPeSsxzdSYZgjWmZj0pFpwal/Ld8MDZFxIHl0MZIhEtLGj 4s8i2b+2KEWkkoHHclwG//vfVYsqZyR/SwNAV6I0//VVG2WVN4qxp1krKyjVddWDP3vH tJRAVzGE0CKLNa9eKdA6lNw+o+VhK63N9UpHS1U7oTEcli2o2Oyoaivb+DyehP8oyCtL 0JAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=kHeb+SfnGLtuUMgz17H7K7hcVcSru/jDISCxMI3+cKE=; b=TWHDEi4yeNZUgxnRcusiXDKXGh2Z12fo8aADzg1am+v9ayak/MRaFA3fn/2EqJuK29 7nMc89Ly5o5TXfMFSdV6/Rokv2a/Cv+/4vnWMhVCcyQ6eybUn9iB3VgOIWHZm5+2eol0 atfc0URRWVrsWT4iUJNFIMCbGSgHCz/ZC9GSaUqSa9UUd1TtjN8qAeDusLLVExjczQzu Nsepq6OClEb3dRdWv/cAbcgLIS6hUxWe0ieW7WwSm097KhmGZk9PIW7zpzsoX8/HAxjr XFbNrQeDR+7+zUZ7vkT/FR8kf3ChThrRdLKnXZTeWXmqswBnLlsc90ApWl3g32/i0sL8 YKgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="FIlSEBP/"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w22si848132otl.29.2020.03.05.22.09.19; Thu, 05 Mar 2020 22:09:31 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="FIlSEBP/"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726094AbgCFGHg (ORCPT + 99 others); Fri, 6 Mar 2020 01:07:36 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:40941 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725923AbgCFGHg (ORCPT ); Fri, 6 Mar 2020 01:07:36 -0500 Received: by mail-pj1-f66.google.com with SMTP id gv19so623711pjb.5; Thu, 05 Mar 2020 22:07:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=kHeb+SfnGLtuUMgz17H7K7hcVcSru/jDISCxMI3+cKE=; b=FIlSEBP/hwE9JRFB2Mz0xw/mVNomFhTh4xaXxcy7QjVpaf1LzULOLtPyfnie2sU4gN /mqY3YKNFx3QE6F4taYt6GuS8aL85L5zVcXhPrr6z+aUGSBFo5J9DTDVxSzFWcdUAUdV SRr31Dz2bCsMYhpebO12LTmCyE7NEv8pWttdEmPnEQPhtM36sV7ZwOn9dKfZTbGw6sIe gyT/3qDHDbZpul/+2EKPrq7ZQQsCukDkxtWctUEIM4qgmLRbRLp10lCg1Ou9CbJp97+7 thGQkdDnOvMYi/K09RA9fxQcAx8BHmey5TizBPoNMM2NhcqxFUN4g8JG/1rxvknurXdJ DCWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kHeb+SfnGLtuUMgz17H7K7hcVcSru/jDISCxMI3+cKE=; b=HGq6cV8FvKbxbZ5ZPfKx3bbZbpJamtjTFmVzwMOOcyV8BNDYLJZay1WYkw7hcYE+ay PWNbbUj30qfH3xFOWDtF07TQnVu/2RQnfPD0YO0BtYX632JPVVV9LCPbzNu3KOj+ucwy QZQYjQiyAgD7Tzq2isBa3CMX9A83GZ9q0DfSY/zpR4U0Wgx9RaqA3mhpo0mGf1woBS19 Uns1ggBWkcsPS9Q8KllsZIfQQ+EKkHoirL3CKQXe9vjV7EUzAoncScuZXo9ZICxn+01V BXJcBmgtHg9sNgmcKo6RCDmZYWWLMNS3b7KYWZUw5G4JimlJA8CPrYhoWjcMLapKCMWL Yvsw== X-Gm-Message-State: ANhLgQ3hsXSjGZmH+lZrEKTQT/YPYL7c3GPk3y1ChVYtknbU3KbXXFAB Fc4r1db3ZrAaARbWmQUmP84= X-Received: by 2002:a17:90b:30c2:: with SMTP id hi2mr1920843pjb.7.1583474854718; Thu, 05 Mar 2020 22:07:34 -0800 (PST) Received: from sh03840pcu.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id z19sm16890761pfn.121.2020.03.05.22.07.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Mar 2020 22:07:34 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, jassisinghbrar@gmail.com Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, baolin.wang7@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: mailbox: Add the Spreadtrum mailbox documentation Date: Fri, 6 Mar 2020 14:07:21 +0800 Message-Id: <9bc2631ff3ab60fc607a5215e561aace83c0e8ca.1583464821.git.baolin.wang7@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + + interrupts: + minItems: 2 + description: + Contains the inbox and outbox interrupt information. + + clocks: + maxItems: 1 + + clock-names: + items: + - const: enable + + "#mbox-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + - "#mbox-cells" + - clocks + - clock-names + +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