From patchwork Fri Mar 7 09:19:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhang Yi X-Patchwork-Id: 14017113 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 8CD9BC282EC for ; Fri, 14 Mar 2025 15:57:26 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AD1D3603EF; Fri, 14 Mar 2025 16:57:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AD1D3603EF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1741967844; bh=EaqZroNrajfsDoZLAmk+2BuuAgDA4cJ8IjLDOVAYics=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=iGXTgSfM8ObTHOPQSzGac405FtjQtTeEqBQh4CTpCKeBsIhEI18KysQEvIh5kO1hQ fwc89CEACFMyl7robhRnTQBU+1YjH08aQwrOzB2P8Hei/nk5sy1WVMU7B8cxVVYLLA Tj0zCfaFqzJUITAEYlbzXgU40N0gqYkd6nKqWN0w= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 37542F80604; Fri, 14 Mar 2025 16:56:24 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 21550F805F7; Fri, 14 Mar 2025 16:56:24 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7ADDDF80528; Fri, 7 Mar 2025 10:19:30 +0100 (CET) Received: from smtp134-91.sina.com.cn (smtp134-91.sina.com.cn [180.149.134.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4138DF800ED for ; Fri, 7 Mar 2025 10:19:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4138DF800ED Received: from unknown (HELO zy-virtual-machine.localdomain)([180.159.108.137]) by sina.net (10.185.250.31) with ESMTP id 67CABA1500000B5C; Fri, 7 Mar 2025 17:19:21 +0800 (CST) X-Sender: zhangyi@everest-semi.com X-Auth-ID: zhangyi@everest-semi.com Authentication-Results: sina.net; spf=none smtp.mailfrom=zhangyi@everest-semi.com; dkim=none header.i=none; dmarc=none action=none header.from=zhangyi@everest-semi.com X-SMAIL-MID: D026B0AAB1FE4A218283534808FC78C5 X-SMAIL-UIID: D026B0AAB1FE4A218283534808FC78C5-20250307-171921 From: Zhang Yi To: alsa-devel@alsa-project.org, broonie@kernel.org, devicetree@vger.kernel.org Cc: tiwai@suse.com, amadeuszx.slawinski@linux.intel.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, Zhang Yi Subject: [PATCH v5 2/2] ASoC: dt-bindings: Add Everest ES8389 audio CODEC Date: Fri, 7 Mar 2025 17:19:16 +0800 Message-Id: <20250307091916.100164-3-zhangyi@everest-semi.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20250307091916.100164-1-zhangyi@everest-semi.com> References: <20250307091916.100164-1-zhangyi@everest-semi.com> X-MailFrom: zhangyi@everest-semi.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: MOI2D6X2GEVHJVODXFISEBQV3KJ2IQWM X-Message-ID-Hash: MOI2D6X2GEVHJVODXFISEBQV3KJ2IQWM X-Mailman-Approved-At: Fri, 14 Mar 2025 15:56:15 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add device tree binding documentation for Everest ES8389 which is different from ES8388 Signed-off-by: Zhang Yi --- .../bindings/sound/everest,es8389.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/everest,es8389.yaml diff --git a/Documentation/devicetree/bindings/sound/everest,es8389.yaml b/Documentation/devicetree/bindings/sound/everest,es8389.yaml new file mode 100644 index 000000000000..a673df485ab3 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/everest,es8389.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/everest,es8389.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Everest ES8389 audio CODEC + +maintainers: + - Michael Zhang + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: everest,es8389 + + reg: + maxItems: 1 + + clocks: + items: + - description: clock for master clock (MCLK) + + clock-names: + items: + - const: mclk + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - "#sound-dai-cells" + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + es8389: codec@10 { + compatible = "everest,es8389"; + reg = <0x10>; + #sound-dai-cells = <0>; + }; + };