From nobody Tue Dec 2 02:04:00 2025 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E09530F95E for ; Thu, 20 Nov 2025 23:30:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763681407; cv=none; b=CPCs5vCNY+pyPe9l2jx54R2GcqQjjIplHxtihDlfMdqeuRv1YFzw5nhfp3TEzcihBnuL0K9WZ1ZbpziAoCr96QLq9gUGiwzNE2BiMGdSUHua9KanOrO9Zo7jmPDGp4Zg3LEgP3b0CVOScVvcpr0BRl7AnFBlrQpPCbe/38Dm/uc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763681407; c=relaxed/simple; bh=xZAMMTzqv3xW7C+UMRhWcflE3oJn9Xg5Wy7C+qUtd+c=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aNlX2nLgnxGWm3CmTfbktXFURIXbVPerqvlylT22q2/bIRXhV1kJe1tKw+Y13P7HH3dobeOFMkEbPYI+wtCxY/nI4tJs+EXKaooDaGC8ZFs8te5TZPa5tgJVPZflbJl05cXDiGoBvHCgB73BSDLA6TesgugVzGC7HJxlsgcafuM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OgTVZTDi; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OgTVZTDi" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-42b427cda88so1013296f8f.0 for ; Thu, 20 Nov 2025 15:30:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763681403; x=1764286203; darn=vger.kernel.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=OgTVZTDimZJQWNx2ltx++zQPNO7lsRXZ/bwJ1BR5caIRibnHuqR5uAqoeagjfZMxGx F3IAgQ2xrgcrRLTykHgo9y0UoOLjcPUB9t7FFagFzi5NpnP6vnWCiEK7AZZwuZXTdFPZ BK/Mbo5SVMOs7Guw2svtGePTm7tmFu77ICPhqQr4X+WaRlHnjUJHl15AMzEXKVw+SDnK TA2PvuQU5a7YvPACSzL5JbuQFfaJadhApzjYrc8E/svrU5HXgjEIykfXuV2SXSjO0tVg cDjdaMV4QM5GyNrVQrDdhNM7potLi1ZC+dVGF8SEYPT4v83kt9VLgwYIR8XkXOBCfJ6P vqew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763681403; x=1764286203; 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=LIbUNFL+H7ldxKjUqZiWFmWbSVoSwR8+vcEqKTWmOmNJNg6wXpzu7MqmuelSxIMoXt k88eCS0ZmZd59Kfoi3V1i1msiCkdjH9zU84o0D3PvhtJxk7GNXAqERpXPF46HG87GNly GJPT/VVI1CFTUaXMy7ej2zIhfuj5C1Sk6UYbsEeC8qF1RPTykppgGuCq/9l1uJzUXGoZ U27fKiwwmojpCjYX+ChJzNYNQstjhN8/6efI4SpeYHXxwGni6f46nn11lXUGloNh8GA/ nLw74mNULMhDbhVSbxNWq4jSI8Yyau+3NeHE7D/6EeXyY3T/uyipPTXdtoDLex4yK/qu bwVQ== X-Forwarded-Encrypted: i=1; AJvYcCWeo4oRcaev0QqgjXa6U4x5M5Roj4uMzQ8b25lyGy39PpGsD3B/1fd5OU8J7X3IPtJbOooKBtMjVO3PoVQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yy1XEdxIJ2a5kw1MBs8L33RCriZv1njCLqkfhmgasYC8HWFOzEc Xw/Wae2KHFe/fOC17iB7Hf2o2YRCQFpEZMyBunWpMoLPWt8eeq94Y5qG X-Gm-Gg: ASbGncsLwnIyoy3itm3kUKSzOE07wYAJBuP/vpmiD1uOAyjzxnR/BMWd2C2gs/Uhl2B QZmL16p6l/Y3TrJSarMc0wj5HM9tiw4UbtpXL15cU/vme/Y5oBRO74SzVARXSnPu2nIPfV1NWvU g6gY4qneM1++HlswIU6nFrXKgnTPhZAwqKtKCbVn4KKNkZNWgfHRF2KFWF0g5de2ZbpHiV/eRH+ HfCirUwAB6uFpehClK786+Mv2IIKIKtU+6CmWIemnvfDAndIzv4eNADOg6wjrLXbFwoY78X6Fkk 2lZLJGx7CIW5GzwB5LHLQI+MVYMpUEzpuaPXs6BBbdeEKagHnNrI+PgOJrjfi4VA8aYTuBxuQmU xnIdU7dqnqc0U7Yjpk2/+iIa+LAXqBOnZVA1oFDka26jp67FjaJBarCHgX/03qJUxOuTTK8615g IgNFEbmOOoJMxM3K7uBEidsMfzUgTXo/412o+PZJ0FspJg3+mWnjI= X-Google-Smtp-Source: AGHT+IHqEb8VCudY5XeW4oLvZSGAjMxNC8ruQ7rhvDVg5aKGaQnnkgzkoE9uKt2k4/hXUDSeMYg4Nw== X-Received: by 2002:a05:6000:420e:b0:426:d5a0:bac8 with SMTP id ffacd0b85a97d-42cc1d19624mr85145f8f.56.1763681403285; Thu, 20 Nov 2025 15:30:03 -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-42cb7fb9022sm7776315f8f.36.2025.11.20.15.30.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Nov 2025 15:30:02 -0800 (PST) From: Christian Marangi To: Lorenzo Bianconi , Ray Liu , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Christian Marangi , Matthias Brugger , AngeloGioacchino Del Regno , Cyril Chao , Arnd Bergmann , Kuninori Morimoto , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 2/3] ASoC: dt-bindings: Add Airoha AN7581 AFE YAML Date: Fri, 21 Nov 2025 00:29:11 +0100 Message-ID: <20251120232913.32532-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251120232913.32532-1-ansuelsmth@gmail.com> References: <20251120232913.32532-1-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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-w= m8960.yaml diff --git a/Documentation/devicetree/bindings/sound/airoha,an7581-wm8960.y= aml 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 =3D "airoha,an7581-wm8960-sound"; + model =3D "an7581-wm8960"; + audio-routing =3D + "Headphone", "HP_L", + "Headphone", "HP_R", + "LINPUT1", "AMIC", + "RINPUT1", "AMIC"; + + platform { + sound-dai =3D <&afe>; + }; + + codec { + sound-dai =3D <&wm8960>; + }; + }; + +... --=20 2.51.0