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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2BC68C433EF for ; Thu, 24 Feb 2022 16:13:56 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4C5D91ABD; Thu, 24 Feb 2022 17:13:04 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4C5D91ABD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1645719234; bh=QVGIYCuiZn6XQXJrJ2gFPMZGb/PNokAZN0ymU8ZzE7E=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TgfuL1wQx2Hiqxed4VrMmk0UidjN6q2E5wMTlKkLlvRiR2Pllf9szCoN44tYULN15 cxOD8yh/fde1090LwwTPLx/CDmn4I/1t77mfoQZB/kjrO12I2tJmRVrvLxwZNKk59u 0rok3Jp3Fwvp2dVqWJk8YnLKv0JoWQ/yptLzTqNo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id DC6B5F80169; Thu, 24 Feb 2022 17:13:02 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9F54FF8030F; Thu, 24 Feb 2022 17:13:01 +0100 (CET) Received: from mail-oi1-f182.google.com (mail-oi1-f182.google.com [209.85.167.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AD9F6F80118; Thu, 24 Feb 2022 17:12:54 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AD9F6F80118 Received: by mail-oi1-f182.google.com with SMTP id k2so3154252oia.2; Thu, 24 Feb 2022 08:12:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zbkQNmRMiKw/pcrFZH62eSxRpSbb/s9oDkkz3K5wBJ4=; b=pjqa/Semc0RVNCfxr+jXQqrNpKpBhQyY3jvy9TGrGPLsNWrs5w/TMl6mzycpc9XRB/ BQLnGTXhSWqrr/zzHz8aGvzG61p9lbQE+suCI0p1fGzWWntUoM3kaxfcv2xUro7tjTfB EmzEHH9U8C0hIlqZgDkbbRh7I2Yvvx9AizAiAOiiP8Q/DKKUYhLaOnHmQ+/XRWBT7mI7 8skP+2T023hNQokw35OLnVFBOFinZ4kwWLLjV5ze/0BfgoFaDbZDOGfGa3rAfsEiEkVm CD9QUlP5Nsq3msxaI5LrCb3jJr0j9RgGHYz4Z9chNCL9YJz/1Qh92Adl4WI3rRszKDkI PhxQ== X-Gm-Message-State: AOAM532YemRVuAtA31oQm2ucvFcmRjUtqz6hc5BhuyvZlZZowjY2ofEW FZFPrYPLrCZA93PQryqyTw== X-Google-Smtp-Source: ABdhPJxUdvQQ74bDVPACbU46SgRLAo662OysqMgqfjKUa3F3TgTNZydiCsoVlSxthTdtiIVIFdbrsg== X-Received: by 2002:aca:5c89:0:b0:2d5:18eb:9e6 with SMTP id q131-20020aca5c89000000b002d518eb09e6mr1735362oib.58.1645719172925; Thu, 24 Feb 2022 08:12:52 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id bc16sm1650906oib.26.2022.02.24.08.12.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:12:52 -0800 (PST) Received: (nullmailer pid 3173677 invoked by uid 1000); Thu, 24 Feb 2022 16:12:50 -0000 Date: Thu, 24 Feb 2022 10:12:50 -0600 From: Rob Herring To: Allen-KH Cheng Subject: Re: [PATCH v17 1/2] dt-bindings: mailbox: mtk,adsp-mbox: add mtk adsp-mbox document Message-ID: References: <20220224133045.23903-1-allen-kh.cheng@mediatek.com> <20220224133045.23903-2-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220224133045.23903-2-allen-kh.cheng@mediatek.com> Cc: Linux-ALSA , Ranjani Sridharan , sound-open-firmware@alsa-project.org, Kevin Hilman , Jassi Brar , Pierre-Louis Bossart , Project_Global_Chrome_Upstream_Group@mediatek.com, tzungbi@google.com, Chen-Yu Tsai , devicetree@vger.kernel.org, Jassi Brar , Mark Brown , linux-mediatek@lists.infradead.org, Matthias Brugger , Takashi Iwai , Daniel Baluta , linux-arm-kernel@lists.infradead.org, Kai Vehmanen , cujomalainey@google.com, Liam Girdwood , linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, Feb 24, 2022 at 09:30:44PM +0800, Allen-KH Cheng wrote: > 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. That's fairly obvious. Drop. You need to define how many: 'maxItems: 1' > + > + interrupts: > + description: > + adsp mbox interrupt Same here. > + > +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 = ; > + }; > -- > 2.18.0 > >