From nobody Sun Sep 22 09:32:45 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 74F36C433F5 for ; Tue, 8 Mar 2022 07:25:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344599AbiCHHZ6 (ORCPT ); Tue, 8 Mar 2022 02:25:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242343AbiCHHZs (ORCPT ); Tue, 8 Mar 2022 02:25:48 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DF353DA50; Mon, 7 Mar 2022 23:24:48 -0800 (PST) X-UUID: 210bfb5b9a47439b8a353621811e02cf-20220308 X-UUID: 210bfb5b9a47439b8a353621811e02cf-20220308 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 1706165390; Tue, 08 Mar 2022 15:24:42 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Tue, 8 Mar 2022 15:24:42 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 8 Mar 2022 15:24:41 +0800 From: Trevor Wu To: , , , CC: , , , , , , , Subject: [PATCH 5/5] dt-bindings: mediatek: mt8195: add mt8195-mt6359-max98390-rt5682 document Date: Tue, 8 Mar 2022 15:24:35 +0800 Message-ID: <20220308072435.22460-6-trevor.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220308072435.22460-1-trevor.wu@mediatek.com> References: <20220308072435.22460-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" This patch adds document for mt8195 board with mt6359, max98390 and rt5682. Signed-off-by: Trevor Wu --- .../sound/mt8195-mt6359-max98390-rt5682.yaml | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mt8195-mt6359-m= ax98390-rt5682.yaml diff --git a/Documentation/devicetree/bindings/sound/mt8195-mt6359-max98390= -rt5682.yaml b/Documentation/devicetree/bindings/sound/mt8195-mt6359-max983= 90-rt5682.yaml new file mode 100644 index 000000000000..7ec14d61b109 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/mt8195-mt6359-max98390-rt5682= .yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/mt8195-mt6359-max98390-rt5682.yam= l# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek MT8195 with MT6359, MAX98390 and RT5682 ASoC sound card dr= iver + +maintainers: + - Trevor Wu + +description: + This binding describes the MT8195 sound card. + +properties: + compatible: + const: mediatek,mt8195_mt6359_max98390_rt5682 + + model: + $ref: /schemas/types.yaml#/definitions/string + description: User specified audio sound card name + + mediatek,platform: + $ref: "/schemas/types.yaml#/definitions/phandle" + description: The phandle of MT8195 ASoC platform. + + mediatek,dptx-codec: + $ref: "/schemas/types.yaml#/definitions/phandle" + description: The phandle of MT8195 Display Port Tx codec node. + + mediatek,hdmi-codec: + $ref: "/schemas/types.yaml#/definitions/phandle" + description: The phandle of MT8195 HDMI codec node. + + 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 + +required: + - compatible + - mediatek,platform + +examples: + - | + + sound: mt8195-sound { + compatible =3D "mediatek,mt8195_mt6359_max98390_rt5682"; + mediatek,platform =3D <&afe>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&aud_pins_default>; + }; + +... --=20 2.18.0