Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3762648rwb; Fri, 30 Sep 2022 08:02:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7uTCVNXxlFEv49b8rwEOgfe5DYZxsKj/k7viMnJQy5qYPCFoXwfWmb0LM3OJniU+qO6JZr X-Received: by 2002:aa7:cc86:0:b0:457:f801:2951 with SMTP id p6-20020aa7cc86000000b00457f8012951mr8220317edt.16.1664550156128; Fri, 30 Sep 2022 08:02:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664550156; cv=none; d=google.com; s=arc-20160816; b=AnqnNuYEQitf1RZQ2yX+LjfiblB3s/AlYqLj7Y1YiHFwOQEHGyyXsPStW9lRv1ENu2 nYe2h6xPmjEriRG6TeULz04EEsusxASvu2UOD1qeACrmDIapaw16EoMD31Jxya/G3rM+ O9lYFVYliWrISVc0+wyjlAfyZvHrki+OTR/h7FloLRw97jNUAAjVl2CP2iVq5DhjMkIB DoM4sj9U89H3N3iKbOmWPs0lihg0DYb318TSBQi8JTmzoCtXMTkp+NUFUKybDYRn0luK U6KXlzYToxfjieststQzTYnDYLO3iO+t8Dh1MzY5ZUaDN7VfcN11Xip9nXl6f6N88I9k AMdQ== 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=ETG24WDlQ2uPL5EVj2vGSSok7fEm7bbdqh1C2k70J14=; b=lIXAbVqVwLJdZHBqyq9ARX0E/KPOMH6I1WYjX3tXmlY+tYx52sbx93C0zzsYXocfvr U3RVn08VvFjfoWzl0pdQeE/G1DZagCjzO4ZU1ohKzjwz+4oEb7rpy2iakZOurRv2IxYU T59xrPo/dhfZAqtgxDB39nbDLMpX9W2IbEPXUQcl4MTtLTyY1KWJBmvdf6B1d5ZEEpOY RbMSTx+ssdvIgZEQX2mGbc+gD4HZyTi3J9A3SkxrFJa0mLMJyYmoaDqLqpAJ5YAMkjHS F0A2T0lBREqqnBYpfLSEkxUPXof3uG8AcyCVtt7lV043Lq+i7lHbShwr8vRBtyWfRIsD QebA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=UYP3fTEG; 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 v21-20020aa7d655000000b004587df44110si1603466edr.151.2022.09.30.08.02.09; Fri, 30 Sep 2022 08:02:36 -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=UYP3fTEG; 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 S231598AbiI3O52 (ORCPT + 99 others); Fri, 30 Sep 2022 10:57:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230344AbiI3O5V (ORCPT ); Fri, 30 Sep 2022 10:57:21 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1947E87F82; Fri, 30 Sep 2022 07:57:16 -0700 (PDT) X-UUID: 925f0b8dfea04343a234308898737c1e-20220930 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=ETG24WDlQ2uPL5EVj2vGSSok7fEm7bbdqh1C2k70J14=; b=UYP3fTEG3JKwlfggAfRNzA3YKLuT+YCyzFEVA19l5fFSPA4RUn9uBzvmIaVp9NTCaDEvvtBjPfAHk7B7CjoRE+zUoy9xrnEItf6iMIVKhBXIn+AtUe6QEWqnY6U8MhLTVbXfIbAv3q/fm1PAgsxYzWkyHlSJoUIlpdGA1HgI95Y=; X-CID-P-RULE: Spam_GS6885AD X-CID-O-INFO: VERSION:1.1.11,REQID:570ec36a-408e-494e-98fe-d42b7fa26336,IP:0,U RL:25,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS6885AD,ACT ION:quarantine,TS:120 X-CID-INFO: VERSION:1.1.11,REQID:570ec36a-408e-494e-98fe-d42b7fa26336,IP:0,URL :25,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:120 X-CID-META: VersionHash:39a5ff1,CLOUDID:f00bcde4-87f9-4bb0-97b6-34957dc0fbbe,B ulkID:220930225711MCRTV2GL,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48|823| 824,TC:nil,Content:0,EDM:-3,IP:nil,URL:11|1,File:nil,Bulk:nil,QS:nil,BEC:n il,COL:0 X-UUID: 925f0b8dfea04343a234308898737c1e-20220930 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1360533605; Fri, 30 Sep 2022 22:57:10 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Fri, 30 Sep 2022 22:57:09 +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.792.15 via Frontend Transport; Fri, 30 Sep 2022 22:57:09 +0800 From: Trevor Wu To: , , , , CC: , , , , , Subject: [PATCH 12/12] dt-bindings: mediatek: mt8188: add mt8188-mt6359 document Date: Fri, 30 Sep 2022 22:57:01 +0800 Message-ID: <20220930145701.18790-13-trevor.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220930145701.18790-1-trevor.wu@mediatek.com> References: <20220930145701.18790-1-trevor.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY,URIBL_CSS 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 document for mt8188 board with mt6359. Signed-off-by: Trevor Wu --- .../bindings/sound/mt8188-mt6359.yaml | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mt8188-mt6359.yaml diff --git a/Documentation/devicetree/bindings/sound/mt8188-mt6359.yaml b/Documentation/devicetree/bindings/sound/mt8188-mt6359.yaml new file mode 100644 index 000000000000..57c7c5ceef8a --- /dev/null +++ b/Documentation/devicetree/bindings/sound/mt8188-mt6359.yaml @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/mt8188-mt6359.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek MT8188 ASoC sound card driver + +maintainers: + - Trevor Wu + +description: + This binding describes the MT8188 sound card. + +properties: + compatible: + enum: + - mediatek,mt8188-sound + + model: + $ref: /schemas/types.yaml#/definitions/string + description: User specified audio sound card name + + audio-routing: + $ref: /schemas/types.yaml#/definitions/non-unique-string-array + description: + A list of the connections between audio components. Each entry is a + sink/source pair of strings. Valid names could be the input or output + widgets of audio components, power supplies, MicBias of codec and the + software switch. + + mediatek,platform: + $ref: "/schemas/types.yaml#/definitions/phandle" + description: The phandle of MT8188 ASoC platform. + + mediatek,dptx-codec: + $ref: "/schemas/types.yaml#/definitions/phandle" + description: The phandle of MT8188 Display Port Tx codec node. + + mediatek,hdmi-codec: + $ref: "/schemas/types.yaml#/definitions/phandle" + description: The phandle of MT8188 HDMI codec node. + + 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: mt8188-sound { + compatible = "mediatek,mt8188-sound"; + mediatek,platform = <&afe>; + pinctrl-names = "default"; + pinctrl-0 = <&aud_pins_default>; + audio-routing = + "Headphone", "Headphone L", + "Headphone", "Headphone R", + "AIN1", "Headset Mic"; + }; + +... -- 2.18.0