From nobody Tue Dec 2 01:52:02 2025 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 A4C8029E10C for ; Fri, 21 Nov 2025 05:45:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763703957; cv=none; b=lY4H3tobyoKsiwLcIXcLb31Sf+ZNzK8pbA9AzvGsZoe/iChpwQPb0tI6+yUaZSGWqn0P01ZZc7pn9SPa7AeghcC4a+7Z6XPX0KXJamjKzUMRAySHSDWNv6EcWekeVG3eI5oR5vbwlgNjN3P0IypqNizTg9wmeREbEm7ORRbLdFE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763703957; c=relaxed/simple; bh=xZAMMTzqv3xW7C+UMRhWcflE3oJn9Xg5Wy7C+qUtd+c=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sG/x8O3LiS0MJe/LfGNWCfLgtvRhTan39++gaPQQhkIcjQCiGZ1eAdDjZ/q8Q5OtQRpNr8bTbauQqDTOB/5w9O6LNngoxxv6rqxHTldgFibdapd6OAaa3qeS5/TePIF6rhzmAx6NZB9oqPBA4KgMYLqXf7jp58vxUqiUEIKQtTU= 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=bgo/YGpA; arc=none smtp.client-ip=209.85.221.54 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="bgo/YGpA" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-42b3c965ca9so924320f8f.1 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=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=bgo/YGpAqHaRZp0u4pwOgySD0z8MeEEcFgOSHVserojXZmq3GaN3WJQj3zT6HZC78H GKNgVBPxX4ERISMbC1AmWwXrSib+uz+OZWxRq61RQ+z85cHEl/j+82dIHOhjZG0vpvwx S6a6yZDc2WU2Tgiz/JP0lM/OptC7aH43xEegz4A+z5aXw558zOmWMCmBvg99r/ky/MvO 35ejZD9j0EZIZeLq8h59ZJUNCxXx40X6gZaLjzC5N0aLUbpFvyz1YDBjnUlosrjqIWNG RpHG0YVMajvUSnwGrF3y8HFxrheHPy/xVy6auv7CFntvXTZBzYHBbtHVIJdPX84F8U1Y j3CA== 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=AzK4ixFBSXoWX/hs1gXd+6ob/AkxFEn0ANsBU3hORWQw3uKp2VTLD4PcYUgnUO+nTz 2ybEjWSnlaXomQZwLPCYmMynDW/k35YaFDakU9POHQvrUcRRvhJVoA9C2Z9CYl6Ol6q8 UDXk3CEPAGKKFvafM+db48XYkx59auPNmkAOYUQ9v7pM6m7LT4h5+5VCuiwwfxs+rtrV /LHTSLaauKpsf2eyyIk11XH57EC6/5DduAAlmF+Ncq+8ZeJzRnYAq0IvdNMG3Q1tmbYb z7C07uRAY+hQ/5VDnYu3f1KOFP0bnqJAWG85Q/570mbeieW6GQTvAhTQTEn3gnfU2W85 KwJg== X-Forwarded-Encrypted: i=1; AJvYcCUhI3ZZGHJ9PqXGh23nDFDNVziIi22fSkcDZeEJXhgnq3ULE8fyrO3FGPALS9PHqdnNsVWcvThULnbhiwA=@vger.kernel.org X-Gm-Message-State: AOJu0YzPh+0QBC2OT0YMqp9NeLoIvrKQ+r7muP3LHLfoc4QJ1bkDMR10 G4Gi48CDp7GrZy6hM7kBk++2M/fk6ppT46LGh/zJ635X7S2gidIpjmTg X-Gm-Gg: ASbGncvyorEMzFn7sjCDzH7kYcoXsp2s5bQNjdZe+yq8c1pLvvxRSR+QEuMvmEWiOX6 p6PvbpDotOhJkQzSixJD1UY+fBowIou0JmEfwry3n+awHgGP1QIbSezeFn84VWD4wigw4GpuB85 jR48Pwyu2w6CQyx6OIIkL+5WSY/q2+++vAdHF2AZK7EtAUKVYnmbcq4rrIW34DzALvhdLCLlXWe BCsZVlFV1qEv3HED5lkJSdsQQ3PsR6a1fHPohjXRnBeFtqK6teUYI3IAfX9O++gxOOw6Ks7B2Kf yvPkmeG2sk8lxk2Yl9TKrX4pHoDsnYqctbx3S0qFcYwCxIkMqWSZhW2jZSPPkIGDImbVzlj8v9T VopVCA/fhRo15JsYvzgWfcpXOgUWt3HuADk3/guL0NYM4iUpbLKZ3tRorDpPECixvE7m8ZlUqkl 4dHxoS1TB+ulA+u9+JApA7U9sRq97ZtDdKC8sd3VxG X-Google-Smtp-Source: AGHT+IFunXnBzaIJ7qrKtAE6gbgBrOFa4VRfMkp6LkyD/4SrkyXjB7CJEnJPFtNdz/EbfuiOOJHk4g== X-Received: by 2002:a05:6000:22c9:b0:42b:3aee:429e 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> 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