From nobody Mon Feb 9 15:08:48 2026 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) (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 D4091305E1F for ; Fri, 30 Jan 2026 13:34:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769780102; cv=none; b=fvjLnBDdVw2V7Qoe6jEIL4wNWLLQX2696sodIvvynSDJw1tb6xTyQjNUa1Bo+v+k4cJU3r2NETxIhVXW4iL4cCkNsXR8NRFacdTHqJcb6i7hi0R08bEyJbQ4zmdfaXeBzWeiP82UwqcsBmDPikLwpfWFLcQ0tFYRiHJPFA6abEs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769780102; c=relaxed/simple; bh=E50Z0kZ8QEC/+gID4A4p9F54kc2DuevigG1LcHQ1FUU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ECvoN9HUZnG5eJygQjMVG6430zJHIPnAiwdfd7pH7mLK4MQ2wmrfoAMs6cuKpj0AnikoOcxlgvOSwB1vubjLh4pFtsXQmroc7sepDI8mnEFZxnU+kiHKzovm4/6vAN/Ng6rJ18iJobdsEIp7KmkNgHDCxTN5kLPb5ottz4ACffI= 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=P0WJDHqW; arc=none smtp.client-ip=209.85.221.68 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="P0WJDHqW" Received: by mail-wr1-f68.google.com with SMTP id ffacd0b85a97d-43596062728so2072214f8f.1 for ; Fri, 30 Jan 2026 05:34:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769780095; x=1770384895; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CDk6pvEbCDbKFm0MEs5hS5v1vRZPcd+sQDBn0D1BQXQ=; b=P0WJDHqWGnYnB3jZNkeY8R2g9r0jVnSA7XXv9FUVti86QLM1uWm3H0E+eK05IUfeuo bqXVxEIrvP57n+iDki1shcVVbe4xe37pAqMT5YwZP3sQcXZtT3JZLASyI9+8IdDn8IKW i00eDnwjl8dnl6Iy6zG6hzEvkYxfhwZA4eDOQZ09NqHgRTq4OB8F0p0ISgsTftsQsouJ 13VlFmn2DEmg5dwc27LIH+SugKoUu2UpH69xCTj3ovByw8IYEZuuwU6+knSabjuoYckd TQQcslb9vUxdfxWzlWqZp2fI5NXGvHOzACPAKYKTk8XelxtftIhtZi8H9qeLyxesSHOG 2uXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769780095; x=1770384895; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=CDk6pvEbCDbKFm0MEs5hS5v1vRZPcd+sQDBn0D1BQXQ=; b=UCLBChyuD5m6BXZIvz53SI/9qLlETFunuoTnkdcg5RxIPJIYnnA/kFXB2ogv2aQcZ8 etAmP1KeRQ9+Lf2r/0afDDG9gKTcftbRbADo2ZL5/Pv26HFbxgHtvarqQQ45EG01Lai6 xYcUxLxC4+dLqeZIEYfYCAgc9/AsV9wC1gXbz7Uzpu4SaOjiO6ZobiS81x0CKJZPdc6V HTc4/1U7lZkwdgMVWdR+GCs6+l5D8/FUqUqsZt09BhhFYc5Gpy7VzIjSvRGoSZvUU/Oi SCH16LwYdezWczUm+sCUzqG1ZfcLuScAbzmDCirWsrZnLNN9FyPoti8w2CTZr1Rz8SRp vFEA== X-Forwarded-Encrypted: i=1; AJvYcCXpwR1Ingc5R7F7iPzejresLQjKLbOKNbYJR+14EXQb+tH71makh9Ge46W8GnfROybodIe5uU51DOS+AyY=@vger.kernel.org X-Gm-Message-State: AOJu0YyV/ybyIwztF58Fs3nC24RZpk5ipt/M7KT16tZ8n1SILthNirnT M6IEYuyIOGKByBRs6AgL+KEo7IF/fGVu7rJoQO8RofFwUUlHUPBuHilV X-Gm-Gg: AZuq6aIT0Lhnt6yR7PeTyIchepIFY9V41B5Lta65BqHk2YqKPNOnFd/v8OV0InI0VMH FjNJU+8unEx0TWyM+YmtF8Oe86XAjZvJusxhcGPdfTWccBkl43fyAPdQZAVscOYxTqdbTB0F/VJ MJQkeMBturwqbHOceGsNDdudJoL3ft386NqAze3R3IX+FKgG5sOXmJlVzuzv29TP/AzEMVy9eRI HIIt6AnHvyWwKlZSKsJpC8ya6Djx4lNV8OjE1MHxVD8P//ZsvNDhrq3qkiDWx1PXUloIhbsCuXN QpjQ3zB99lpHYyljwOgQauBPMXRPpx7vtH449EQ+zse4X1KcesehVVD0Lua42yX+esIDxvhIBmK rx/RzdpPIAPcgjaOEdSP3Tku65RLcwNlJ8Zs1QngHL0nipoikIWERgmxSjNpfL7gR+1qt+/xBz7 wM X-Received: by 2002:a05:6000:3105:b0:435:932e:f932 with SMTP id ffacd0b85a97d-435f429d77emr3966731f8f.7.1769780095157; Fri, 30 Jan 2026 05:34:55 -0800 (PST) Received: from xeon ([188.163.112.49]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435e131ce93sm21536837f8f.24.2026.01.30.05.34.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jan 2026 05:34:47 -0800 (PST) From: Svyatoslav Ryhel To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Jaroslav Kysela , Takashi Iwai , Svyatoslav Ryhel , =?UTF-8?q?Jonas=20Schw=C3=B6bel?= Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/4] ASoC: dt-bindings: nvidia,tegra-audio: document WM8962 CODEC Date: Fri, 30 Jan 2026 15:34:33 +0200 Message-ID: <20260130133434.353353-4-clamor95@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260130133434.353353-1-clamor95@gmail.com> References: <20260130133434.353353-1-clamor95@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 dt-binding for WM8962 CODEC. Signed-off-by: Svyatoslav Ryhel --- .../sound/nvidia,tegra-audio-wm8962.yaml | 88 +++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra-au= dio-wm8962.yaml diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8= 962.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm896= 2.yaml new file mode 100644 index 000000000000..2c3bf5a02a34 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8962.yaml @@ -0,0 +1,88 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm8962.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra audio complex with WM8962 CODEC + +maintainers: + - Svyatoslav Ryhel + +allOf: + - $ref: nvidia,tegra-audio-common.yaml# + +properties: + compatible: + items: + - pattern: '^[a-z0-9]+,tegra-audio-wm8962(-[a-z0-9]+)+$' + - const: nvidia,tegra-audio-wm8962 + + nvidia,audio-routing: + $ref: /schemas/types.yaml#/definitions/non-unique-string-array + description: + A list of the connections between audio components. Each entry is a + pair of strings, the first being the connection's sink, the second + being the connection's source. Valid names for sources and sinks are + the pins (documented in the binding document), and the jacks on the + board. + minItems: 2 + items: + enum: + # Board Connectors + - Speakers + - Int Spk + - Earpiece + - Int Mic + - Headset Mic + - Internal Mic 1 + - Internal Mic 2 + - Headphone + - Headphones + - Headphone Jack + - Mic Jack + + # CODEC Pins + - IN1L + - IN1R + - IN2L + - IN2R + - IN3L + - IN3R + - IN4L + - IN4R + - DMICDAT + - HPOUTL + - HPOUTR + - SPKOUT + - SPKOUTL + - SPKOUTR + +required: + - nvidia,i2s-controller + +unevaluatedProperties: false + +examples: + - | + #include + #include + sound { + compatible =3D "microsoft,tegra-audio-wm8962-surface-rt", + "nvidia,tegra-audio-wm8962"; + nvidia,model =3D "Microsoft Surface RT WM8962"; + + nvidia,audio-routing =3D + "Headphone Jack", "HPOUTR", + "Headphone Jack", "HPOUTL", + "Int Spk", "SPKOUTR", + "Int Spk", "SPKOUTL"; + + nvidia,i2s-controller =3D <&tegra_i2s1>; + nvidia,audio-codec =3D <&wm8962>; + + clocks =3D <&tegra_car TEGRA30_CLK_PLL_A>, + <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, + <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; + clock-names =3D "pll_a", "pll_a_out0", "mclk"; + }; --=20 2.51.0