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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 D59DACFA477 for ; Fri, 21 Nov 2025 05:46:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3+/E1TIhpDRo8RKAqJEHauT5WqKU3CX8xyLt8d/UFSM=; b=O4IltLpHdaWEcDUVTQVyEcgxJh HKlTxONxMZZv+oX9ggIRlzBwhCMlITQ9uAo9vQNeAb0LPY82ggPknXuXOtNcx1v20kCUbcCo5pWGp k2RX4OdcwsbkxxDBvfCNs0mkgp9aZIwEgJXu0CzKlLmpgjFvQ9kauCyXngl3/tgreiVURMN+hOiRj IkiBFNuN76T0kVC9g8CcdhDpUESoHUERULT2vHEmHiJRI/8cfybBMtmyLIjlDTfKY41TzhgeCddf1 ehLf5D/F5Mvs1oCZYVWZoKtOm0qXHzkK56Oc20Fd/PZtNeVUPGz3+wS6I98+JoqgK17FM4oJW3UGp 7Af6gX0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vMJy5-00000007rWE-1rf1; Fri, 21 Nov 2025 05:46:01 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vMJxy-00000007rQK-2oVm for linux-arm-kernel@lists.infradead.org; Fri, 21 Nov 2025 05:45:56 +0000 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-42b3b29153fso944473f8f.3 for ; Thu, 20 Nov 2025 21:45:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763703953; x=1764308753; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=3+/E1TIhpDRo8RKAqJEHauT5WqKU3CX8xyLt8d/UFSM=; b=fE55uIs6cni2uVf1C3u22yfvP0uvW2EaMAVFwqEjcgLyKKRXDNVbTabTvO8PGZ10wB A4PK4IjmXcRLlUdgNIETS3qMGyISzF5swI2QM+yMDRMPWm9vfmH7jgEPX1L7AmLG18C2 dPW1l90RyqOAZU4hx6Th/chXQrPdk2mpp5l7+Q2KCcxwWoKXPWKOSnGIvyY0nTNKqc69 VheXYTL631LysRsedpXNyvCwEzEytrxoPXtN+eTZFsSC+ghgk6UEUtI38B1xWac6H3yT GDqm3Ns06CgxSVgXKh5bzP8N/jI9WtT8S2SJHWknhL25+vrTVuRkkcPThugDrSUPx1Qk /qZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763703953; x=1764308753; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=3+/E1TIhpDRo8RKAqJEHauT5WqKU3CX8xyLt8d/UFSM=; b=JCgE6wV7Yh5yDn0dUbcexMmhB5bU5w/T6lVUVwMmRtQ8Uy345CQ7kSvm3dccQ8rNvg G5LvW3cmwU4k4qVY61rh2ks6MX3K6MZt4Z/hBVJRXV71TA4tmgA3aF6czJVUCamTzjrJ QWC46iUZZM4Rywz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e with SMTP id ffacd0b85a97d-42cc1d62479mr735235f8f.56.1763703952714; Thu, 20 Nov 2025 21:45:52 -0800 (PST) Received: from Ansuel-XPS24 (93-34-90-37.ip49.fastwebnet.it. [93.34.90.37]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-42cb7fb9190sm9239273f8f.33.2025.11.20.21.45.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Nov 2025 21:45:51 -0800 (PST) From: Christian Marangi To: Christian Marangi , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Matthias Brugger , AngeloGioacchino Del Regno , Cyril Chao , Arnd Bergmann , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Kuninori Morimoto , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, upstream@airoha.com Subject: [PATCH v2 2/3] ASoC: dt-bindings: Add Airoha AN7581 AFE YAML Date: Fri, 21 Nov 2025 06:45:00 +0100 Message-ID: <20251121054537.25796-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251121054537.25796-1-ansuelsmth@gmail.com> References: <20251121054537.25796-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251120_214554_717726_5EBF6888 X-CRM114-Status: GOOD ( 14.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add documentation for Airoha AN7581 AFE YAML schema. Signed-off-by: Christian Marangi --- .../bindings/sound/airoha,an7581-wm8960.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/airoha,an7581-wm8960.yaml diff --git a/Documentation/devicetree/bindings/sound/airoha,an7581-wm8960.yaml b/Documentation/devicetree/bindings/sound/airoha,an7581-wm8960.yaml new file mode 100644 index 000000000000..ebeda0876280 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/airoha,an7581-wm8960.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/airoha,an7581-wm8960.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Airoha AN7581 sound card with WM8960 codec + +maintainers: + - Christian Marangi + +allOf: + - $ref: sound-card-common.yaml# + +properties: + compatible: + const: airoha,an7581-wm8960-sound + + platform: + type: object + additionalProperties: false + properties: + sound-dai: + description: The phandle of AN7581 platform. + maxItems: 1 + required: + - sound-dai + + codec: + type: object + additionalProperties: false + properties: + sound-dai: + description: The phandle of wm8960 codec. + maxItems: 1 + required: + - sound-dai + +unevaluatedProperties: false + +required: + - compatible + - audio-routing + - platform + - codec + +examples: + - | + sound { + compatible = "airoha,an7581-wm8960-sound"; + model = "an7581-wm8960"; + audio-routing = + "Headphone", "HP_L", + "Headphone", "HP_R", + "LINPUT1", "AMIC", + "RINPUT1", "AMIC"; + + platform { + sound-dai = <&afe>; + }; + + codec { + sound-dai = <&wm8960>; + }; + }; + +... -- 2.51.0