From mboxrd@z Thu Jan 1 00:00:00 1970 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 C5348D41C20 for ; Thu, 11 Dec 2025 11:02:00 +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 A6C226022C; Thu, 11 Dec 2025 12:01:48 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A6C226022C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1765450918; bh=WPltThoVM1vsjonP7advdE+wOBG+U7B9xOPa0ljWHKE=; 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=c3hbE8VRINF5IhNBRUc7pPI5R/wJU6Z2jQ41cpHdnzZCfVyx17mZZVPv3VlsK3dLY XtGLOKGi6icoMzYY/yiZy5MLGdFlCgArNy+5EXBdgEg5x730OA3deQe0gXN+MsPfaV v2MPTnqLwbuiLHSog/X87WzzuoNTux2FMBGbg2h4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 58C99F80600; Thu, 11 Dec 2025 12:01:12 +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 A7263F80600; Thu, 11 Dec 2025 12:01:12 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6AE2AF80095; Thu, 11 Dec 2025 12:00:27 +0100 (CET) Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (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 alsa1.perex.cz (Postfix) with ESMTPS id 8A134F80093 for ; Thu, 11 Dec 2025 12:00:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8A134F80093 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=T+9qkD4t X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 5BBB09R102044082, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1765450809; bh=RqmevumCYdabgMrj1tV475tdAjkcd1P2ndfUMvVo4u4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type; b=T+9qkD4t5xxqfCoOLTQwsBDEf5Jxvd7jXdQwgZoWHttBLi20aD7Z4DsqqZ8lCQcp+ WGnodD4plpU0v3h+tFV28YmuW8sDFSeKXkOgge8Co6rx/+/clFwMY7OsGNl9d/APFa NCJz9+FbTbLdUw7UUTibXR0ci7Y3A4+DBBrUS7PKF0ajUSPXGQQdcZ641l31Ov9OtQ arWRZIwvbv+IpH3gY8FS9xiDm6n3bbiVegGXmCgWN5MblDOwRK/bmTsraiKaaF+YPv 4GSkZdYAdnhSakLL7wUUU2x0dEKOE3Udg8ZsaZ0eoI51zMjYSwpfSkW1qnkWMcman0 OXNJsnt4mH7zA== Received: from mail.realtek.com (rtkexhmbs03.realtek.com.tw[10.21.1.53]) by rtits2.realtek.com.tw (8.15.2/3.21/5.94) with ESMTPS id 5BBB09R102044082 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Dec 2025 19:00:09 +0800 Received: from RTKEXHMBS03.realtek.com.tw (10.21.1.53) by RTKEXHMBS03.realtek.com.tw (10.21.1.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Thu, 11 Dec 2025 19:00:08 +0800 Received: from sw-server.localdomain (172.24.54.4) by RTKEXHMBS03.realtek.com.tw (10.21.1.53) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Thu, 11 Dec 2025 19:00:08 +0800 From: Oder Chiou To: , , , , , CC: , , , , , , , , Oder Chiou Subject: [PATCH v9 1/2] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575 Date: Thu, 11 Dec 2025 19:01:29 +0800 Message-ID: <20251211110130.2925541-2-oder_chiou@realtek.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251211110130.2925541-1-oder_chiou@realtek.com> References: <20251211110130.2925541-1-oder_chiou@realtek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Message-ID-Hash: CQTIOW2XZW4KJ25UWRO2XIJY4OIK23WP X-Message-ID-Hash: CQTIOW2XZW4KJ25UWRO2XIJY4OIK23WP X-MailFrom: oder_chiou@realtek.com 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header 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: Audio codec with I2S, I2C and SPI. Signed-off-by: Oder Chiou --- .../bindings/sound/realtek,rt5575.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt5575.yaml diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml new file mode 100644 index 000000000000..60f9af399dd2 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/realtek,rt5575.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ALC5575 audio CODEC + +maintainers: + - Oder Chiou + +description: + The device supports both I2C and SPI. I2C is mandatory, while SPI is + optional depending on the hardware configuration. + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - realtek,rt5575 + - realtek,rt5575-use-spi + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@57 { + compatible = "realtek,rt5575"; + reg = <0x57>; + }; + }; -- 2.52.0