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 C86D4C433F5 for ; Tue, 15 Feb 2022 13:50:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238440AbiBONvC (ORCPT ); Tue, 15 Feb 2022 08:51:02 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238426AbiBONu6 (ORCPT ); Tue, 15 Feb 2022 08:50:58 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DEB2E0CA; Tue, 15 Feb 2022 05:50:48 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: kholk11) with ESMTPSA id 38CFF1F448CD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1644933046; bh=z6ICOCQ1ngnmNiJlF9vVWr6NHouhLBErcsh6eXon7rY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=n5Zx+wK2m9MLxvBmSPokRkPgW6kCg3oNnKxNGnG80jdVj3XdS3LN9OAh1UgcMk7qQ 3tsKMFs28u+tqsDqGR+GQD1tM3mgT5nG9jaQrbQznajOxRWLcKDqllZ9l0Fc96b/NS T7Y7dPkp4ki0ts52jvfqLaZ/UxqKwvLCTlXTP3m+YSb0/lS806+b/2B+8SiSmncb+r VNIlg9NoK5BXf65vcesSAUReq+/GwDccCLNztSy0+nMQx78ZuFfTrqCJyeIeTGXlOT hDn3tJxGXwaWwnAvf3btgVYfGa0HhHHLOjVG00cyAgFdq7WBWGrqtfGF30GC8fFyPT C6HgmHZmU+tew== Message-ID: Date: Tue, 15 Feb 2022 14:50:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v17 1/2] dt-bindings: mailbox: add mtk adsp-mbox document Content-Language: en-US To: "allen-kh.cheng" , Jassi Brar , Rob Herring , Matthias Brugger Cc: Linux-ALSA , tzungbi@google.com, cujomalainey@google.com, Pierre-Louis Bossart , Liam Girdwood , Ranjani Sridharan , Kai Vehmanen , Daniel Baluta , Mark Brown , Jaroslav Kysela , Takashi Iwai , Chen-Yu Tsai , Kevin Hilman , Project_Global_Chrome_Upstream_Group@mediatek.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, sound-open-firmware@alsa-project.org References: <20220128110829.17202-1-allen-kh.cheng@mediatek.com> <20220128110829.17202-2-allen-kh.cheng@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20220128110829.17202-2-allen-kh.cheng@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 28/01/22 12:08, allen-kh.cheng ha scritto: > From: Allen-KH Cheng > > This patch adds document for mediatek adsp mbox > > Signed-off-by: Allen-KH Cheng Reviewed-by: AngeloGioacchino Del Regno > --- > .../bindings/mailbox/mtk,adsp-mbox.yaml | 52 +++++++++++++++++++ > 1 file changed, 52 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mailbox/mtk,adsp-mbox.yaml > > diff --git a/Documentation/devicetree/bindings/mailbox/mtk,adsp-mbox.yaml b/Documentation/devicetree/bindings/mailbox/mtk,adsp-mbox.yaml > new file mode 100644 > index 000000000000..25756837797f > --- /dev/null > +++ b/Documentation/devicetree/bindings/mailbox/mtk,adsp-mbox.yaml > @@ -0,0 +1,52 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mailbox/mtk,adsp-mbox.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mediatek ADSP mailbox > + > +maintainers: > + - Allen-KH Cheng > + > +description: | > + The MTK ADSP mailbox Inter-Processor Communication (IPC) enables the SoC > + to ommunicate with ADSP by passing messages through two mailbox channels. > + The MTK ADSP mailbox IPC also provides the ability for one processor to > + signal the other processor using interrupts. > + > +properties: > + compatible: > + items: > + - const: mediatek,mt8195-adsp-mbox > + > + "#mbox-cells": > + const: 0 > + > + reg: > + description: > + Physical address base for dsp mbox registers. > + > + interrupts: > + description: > + adsp mbox interrupt > + > +required: > + - compatible > + - "#mbox-cells" > + - reg > + - interrupts > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + adsp_mailbox0:mailbox@10816000 { > + compatible = "mediatek,mt8195-adsp-mbox"; > + #mbox-cells = <0>; > + reg = <0x10816000 0x1000>; > + interrupts = ; > + };