From nobody Sun Sep 22 15:23:22 2024 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 E9C7FC433FE for ; Mon, 29 Nov 2021 14:13:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245212AbhK2OQ2 (ORCPT ); Mon, 29 Nov 2021 09:16:28 -0500 Received: from mailgw01.mediatek.com ([60.244.123.138]:44442 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S234442AbhK2OO0 (ORCPT ); Mon, 29 Nov 2021 09:14:26 -0500 X-UUID: 1663acfe94274111a1a1edf2ae5ec685-20211129 X-UUID: 1663acfe94274111a1a1edf2ae5ec685-20211129 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1132041739; Mon, 29 Nov 2021 22:11:06 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 29 Nov 2021 22:11:05 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 29 Nov 2021 22:11:05 +0800 From: Trevor Wu To: , , , CC: , , , , , , , , Subject: [PATCH v2 4/4] dt-bindings: mediatek: mt8195: add adsp and dai-link property Date: Mon, 29 Nov 2021 22:10:57 +0800 Message-ID: <20211129141057.12422-5-trevor.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20211129141057.12422-1-trevor.wu@mediatek.com> References: <20211129141057.12422-1-trevor.wu@mediatek.com> MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 1. adsp phandle can be assigned to the machine driver if adsp is enabled. 2. dai-link supported in the sound card can be specified from DTS. Signed-off-by: Trevor Wu --- .../bindings/sound/mt8195-mt6359-rt1019-rt5682.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/mt8195-mt6359-rt1019-r= t5682.yaml b/Documentation/devicetree/bindings/sound/mt8195-mt6359-rt1019-r= t5682.yaml index e6786dece9a3..8f177e02ad35 100644 --- a/Documentation/devicetree/bindings/sound/mt8195-mt6359-rt1019-rt5682.y= aml +++ b/Documentation/devicetree/bindings/sound/mt8195-mt6359-rt1019-rt5682.y= aml @@ -32,6 +32,16 @@ properties: $ref: "/schemas/types.yaml#/definitions/phandle" description: The phandle of MT8195 HDMI codec node. =20 + mediatek,adsp: + $ref: "/schemas/types.yaml#/definitions/phandle" + description: The phandle of MT8195 ADSP platform. + + mediatek,dai-link: + $ref: /schemas/types.yaml#/definitions/string-array + description: + A list of the desired dai-links in the sound card. Each entry is a + name defined in the machine driver. + additionalProperties: false =20 required: --=20 2.18.0