Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37951801rwd; Wed, 12 Jul 2023 00:29:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlEjZrD11yeVgqrVBfKDeD+q6kXw+NcwcVJRnyWcWjOqG2JtK7NeQMUr/nBbNE2aU6JM64xu X-Received: by 2002:a05:6a00:2e9a:b0:674:6dd4:8337 with SMTP id fd26-20020a056a002e9a00b006746dd48337mr23590221pfb.12.1689146993847; Wed, 12 Jul 2023 00:29:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689146993; cv=none; d=google.com; s=arc-20160816; b=V6lG6PUrMpdCHmEZpB2KFSYYzRBMEZ+7ypazTjj62sRYhCJ2PZkGM/2V8mxR/wKASc ZF7JjYEYeOrK64sXjtoVZn1NU3BrbBs3n08r3vadzWZ/rxMvq/sCvWVhU0abT2g09nz8 qz/UcvoW8VRZkasMGzYN/FErHWBu1Vr720Fu0FWVukLSXlKy3JtHHLb0WsrKV8ldaRN6 ZYBsrjD0Fs4L6N55qi+5WJC16Bmf+0U8+xX8g7up5HgKNWipbK7M+kb+pUfPEOTXtvJ3 EFKLYpPXcQ02wx8zhJJikoVgDxVBcDFQ3hUA/0Ih5qdgCw3y88X+/TMb494tcx4pogKc P9mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=hvDstqe1uRa0w8Sz9h60Vtxybvd4PMZIKFhZ8k0ibOA=; fh=5e1wTiCyJULScphmgfXJOukODIMU612coI1S3/9yfPc=; b=yQSpmD2dDfA5/3ivMeJM2U5w6puWWJxlA5rYiddjapHhenTQO/d5Y4PhRPRYgQJmt2 sAyX7AlHivC4hbovlJC+sRkt9FeFPSE685l0arArX6phzHrNDnRCw6MJLRbWYy790ryt g+dSVLiZwT/EFEbPYDBC6nx7BNyBcyKjNt9sPJIht0KVzmxdQ/ESct30cOfnpba/DkMw QT8Dng7RTJBvMGSFEIW3rRMSOeT1g5Jh0+JGtCSwbUYmGoD7usySdUUobI/yWa/6Xx4u 8eUsAMVEhRxlim5X69rICHnntCDyQuxFfr4Wmw22ied6Xj7y3RcuI1vWo4KifoC0ffr1 g5NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=haLZc2Ax; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fj26-20020a056a003a1a00b0066df86b9458si2838393pfb.223.2023.07.12.00.29.41; Wed, 12 Jul 2023 00:29:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=haLZc2Ax; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231944AbjGLHIi (ORCPT + 99 others); Wed, 12 Jul 2023 03:08:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231558AbjGLHIf (ORCPT ); Wed, 12 Jul 2023 03:08:35 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87D03B1; Wed, 12 Jul 2023 00:08:30 -0700 (PDT) X-UUID: e4515e9c208211eeb20a276fd37b9834-20230712 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=hvDstqe1uRa0w8Sz9h60Vtxybvd4PMZIKFhZ8k0ibOA=; b=haLZc2AxasHcL7wOXcwVwNubuwBW9oP74tOo1QSos4hKJ0HoRP7yq9DBjSYPLC+pvmyy0vgvkhOgF+F/h+47qUtJ5zC1Sa03Gx7r8Wsoxzqjos4Qangdoz2S2pLByd1PDKJTCLmdgGxLZ0GJTacdHBziFc8eBj61PjF4hHLzUgg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.28,REQID:4bfdfa64-85fb-46f8-9fab-5bf1453f23a2,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.28,REQID:4bfdfa64-85fb-46f8-9fab-5bf1453f23a2,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:176cd25,CLOUDID:7c2b240e-c22b-45ab-8a43-3004e9216b56,B ulkID:230712150825J3EIQWDX,BulkQuantity:2,Recheck:0,SF:17|19|48|38|29|28,T C:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:43,QS:nil,BEC:nil,COL:0, OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_SDM,TF_CID_SPAM_ASC,TF_CID_SPAM_FAS, TF_CID_SPAM_FSD X-UUID: e4515e9c208211eeb20a276fd37b9834-20230712 Received: from mtkmbs14n1.mediatek.inc [(172.21.101.75)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 826764262; Wed, 12 Jul 2023 15:08:24 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 12 Jul 2023 15:08:23 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Wed, 12 Jul 2023 15:08:23 +0800 From: Trevor Wu To: , , , , , , , , CC: , , , , , Subject: [RESEND 2/2] ASoC: dt-bindings: mediatek,mt8188-afe: add memory-region Date: Wed, 12 Jul 2023 15:08:21 +0800 Message-ID: <20230712070821.23971-3-trevor.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230712070821.23971-1-trevor.wu@mediatek.com> References: <20230712070821.23971-1-trevor.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add memory-region property to utilize the reserved memory region. Signed-off-by: Trevor Wu Acked-by: Rob Herring --- .../devicetree/bindings/sound/mediatek,mt8188-afe.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml index e6cb711ece77..0b92c71d8779 100644 --- a/Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml +++ b/Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml @@ -25,6 +25,12 @@ properties: reset-names: const: audiosys + memory-region: + maxItems: 1 + description: | + Shared memory region for AFE memif. A "shared-dma-pool". + See ../reserved-memory/reserved-memory.yaml for details. + mediatek,topckgen: $ref: /schemas/types.yaml#/definitions/phandle description: The phandle of the mediatek topckgen controller @@ -176,6 +182,7 @@ examples: interrupts = ; resets = <&watchdog 14>; reset-names = "audiosys"; + memory-region = <&snd_dma_mem_reserved>; mediatek,topckgen = <&topckgen>; mediatek,infracfg = <&infracfg_ao>; power-domains = <&spm 13>; //MT8188_POWER_DOMAIN_AUDIO -- 2.18.0