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 > > 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3CA36C433EF for ; Thu, 24 Feb 2022 16:16:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=geXSbCG6niMyOKEJrdBZX6zFp+izpEP+FAlHQRn77Uo=; b=zfYz9rSbqu/nYP y2ABknriTkwHhS16BPq9URRgunT9R/o90qpTmlIdcbyis0iARLrflGtSD2+PAKE3R1Ve6T0G4s+D5 E9oVfaz+qaBOXcRJgZ+TO7gj3SB7jNl0cERkm7raiqJPnMCydT3lq+Zy+FArHTEU6HWYZwGoSUKVx KG+TgvuMM73hR/4PdWx6hX7yItRFBlNoM789zW7xNkcbWp7nkdP9DHR0T8CA8654aJDHmprDtbLoF LyvycXOsMC1z78HYlGkd46F6GQQ1X98/vCv23Rexx1xU4TGdydfPxquVEZhO2kl4XAPRCCoJErw7e hjar7ztLzJCUO6jiHAaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNGmd-001WRy-Ht; Thu, 24 Feb 2022 16:15:59 +0000 Received: from mail-oi1-f177.google.com ([209.85.167.177]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNGjf-001VDv-3O; Thu, 24 Feb 2022 16:12:57 +0000 Received: by mail-oi1-f177.google.com with SMTP id j2so3123223oie.7; Thu, 24 Feb 2022 08:12:53 -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=WS1U9w71vkZ50ypzMlJ1W4CzMiFrhrWZi4HOuvSqZf9Co3Q7MME25AmRokTHZ1NKjw qT0McGNjM9qOFMR90qkaQtaJm0r8DwTpGhquGac758+UaQC8gNK/ZlP6oPEUDfBPoQx7 LMgmj0vRXVm1b/AQyP0+v5ykvr4GucQuJsZQnpCyuQFRzu365ThRXx7VP7OQm87rietI pYnad7eanjXIxxnJ8VXYimviQax6Dszo5kjO/D6s2d4hwLxBNZlDlTIp2NqlVlbU1haD eRRcq7zzlfgRu9DNgI3YBV+zLjp3EGGGJOHy3Qp14J2isHX0/seiaUYST82dRxGsri4O Gy1w== X-Gm-Message-State: AOAM532HZPJXw7PL75Rn/c2kkhHCCbmBQLtPjil4iAbldWAhUkG5aXDV LeQfDbmlOLkX8fSA6981/A== 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 Cc: Jassi Brar , Matthias Brugger , Jassi Brar , 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 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-Disposition: inline In-Reply-To: <20220224133045.23903-2-allen-kh.cheng@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220224_081255_222169_00DFA08C X-CRM114-Status: GOOD ( 19.42 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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 > > _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 5996CC433F5 for ; Thu, 24 Feb 2022 16:16:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=LVpMP+e8smHu9dGcks1Ww2bXeyLI7pydj68v7ctKHmU=; b=GgjpmvbIHzGEQq lO7r+LlAtkc1iCUc/mXEzJ0CvJXx+p1idU2gHPrkCNrhZrsLfUX06ue5N1qSLraJwVli/OvfKvwkt Lv+atYzUnbaGX/lOEvRDE1FyCdBhFZG4HkGb0i4EiESfiwjGBLs0vsaOOKub3+HPdDjq/ulNPkab7 y87V6sL9rpR64FKthz2IeoqVQYLnNANlYew/qNVPdsU94yoivbK/JnqqJ6EyZbt5snJBX31123yRs thYBpu4u+y8Midct9w4n8kkV0ITdiJ5STh7+SVQdSoOTl/DC6rMHQZXmlZIqwrHiF6wm18fdKRf/h g5RRYm7tOLN3jx/1+Xuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNGlT-001Vzz-5j; Thu, 24 Feb 2022 16:14:49 +0000 Received: from mail-oi1-f177.google.com ([209.85.167.177]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNGjf-001VDv-3O; Thu, 24 Feb 2022 16:12:57 +0000 Received: by mail-oi1-f177.google.com with SMTP id j2so3123223oie.7; Thu, 24 Feb 2022 08:12:53 -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=WS1U9w71vkZ50ypzMlJ1W4CzMiFrhrWZi4HOuvSqZf9Co3Q7MME25AmRokTHZ1NKjw qT0McGNjM9qOFMR90qkaQtaJm0r8DwTpGhquGac758+UaQC8gNK/ZlP6oPEUDfBPoQx7 LMgmj0vRXVm1b/AQyP0+v5ykvr4GucQuJsZQnpCyuQFRzu365ThRXx7VP7OQm87rietI pYnad7eanjXIxxnJ8VXYimviQax6Dszo5kjO/D6s2d4hwLxBNZlDlTIp2NqlVlbU1haD eRRcq7zzlfgRu9DNgI3YBV+zLjp3EGGGJOHy3Qp14J2isHX0/seiaUYST82dRxGsri4O Gy1w== X-Gm-Message-State: AOAM532HZPJXw7PL75Rn/c2kkhHCCbmBQLtPjil4iAbldWAhUkG5aXDV LeQfDbmlOLkX8fSA6981/A== 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 Cc: Jassi Brar , Matthias Brugger , Jassi Brar , 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 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-Disposition: inline In-Reply-To: <20220224133045.23903-2-allen-kh.cheng@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220224_081255_222169_00DFA08C X-CRM114-Status: GOOD ( 19.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 7F11FC433EF for ; Thu, 24 Feb 2022 16:46:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230035AbiBXQqe (ORCPT ); Thu, 24 Feb 2022 11:46:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229619AbiBXQqd (ORCPT ); Thu, 24 Feb 2022 11:46:33 -0500 Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6437D340D6; Thu, 24 Feb 2022 08:46:03 -0800 (PST) Received: by mail-oi1-f180.google.com with SMTP id l25so3315295oic.13; Thu, 24 Feb 2022 08:46:03 -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=6Zc1PZ+6yfLdHeGuod2Sbf8yG/0oDXC7uiwip5liAhFAKut8hWCCeuvbCd9jcCde70 FwCEeqrBzKxzNSwClZiPyIZSOffdf5gNEoFBXwvzMcI4OFLnx6ZjRZu/V5I9YyPPHnkF pY05CusdxFnPmVciXK5dpi7NFZ97NelDHRIZevjQwWHrqhhvpNI5hURHOvBTfI9ykWtV cGlwVlcpK7g5lgz1cKh2DF/H5ye85OBof1p7a/NSl55BDvQV47tJqnxRtZRN+nv78A3B CdLK9jdYsFYAiyVuCWJUBKEe3vxbLHynkSZJ+zBTQUm6Djz1ti3v98A6jGuN938jld3z 8XUg== X-Gm-Message-State: AOAM530h6CXxzuExkE8XzzzXnbrmtoG5h/ZD+a+sVefrJ/fRAOHM3G8x FSIN5MK+ofRLkMcAiSp+CpOJ39/+rg== 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 Cc: Jassi Brar , Matthias Brugger , Jassi Brar , 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 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> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 > >