From nobody Mon Feb 9 16:52:00 2026 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) (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 7FF332D9EC8 for ; Fri, 30 Jan 2026 13:34:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.66 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769780089; cv=none; b=iZYWmnaNH0ktMYh75x8PJGr7aobFbR3pVnwD1jZkoyzBh1ekfK75kWi2QKhaSL0gqS5Ne02SmRx/6UMEsVs6XPg9Cv5MQSxlbAL9tmBaHxFxtmsEMSg0JMKmM+g7PF/LCqfuSWh78cmFB8E5HxOuToR6dXpBWNt1iip/cxot4ZY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769780089; c=relaxed/simple; bh=c0WSaIWh0GbMsdsZOfpY4fsWR+IwyVApzYh2Vgu5YlU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Jq6yGtcbyisPdLFdKa0k5EE2m8oI6u5inPYWIyQFfcWjMBoRPHWqo8J0MxbGGtdwbQXJ0g2A+uSkGeyypjGPLNBvBZrymtbtgSyJAn8PMoskht7EiP5ntiVTotknNydJzU2frolyVmNTj0YuXMPB8V8lS6AbdNuACUV3Hb1Bvmo= 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=mr81r7pw; arc=none smtp.client-ip=209.85.221.66 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="mr81r7pw" Received: by mail-wr1-f66.google.com with SMTP id ffacd0b85a97d-432d2c7a8b9so1976492f8f.2 for ; Fri, 30 Jan 2026 05:34:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769780086; x=1770384886; 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=AoCRYLFgaaOwIEgPrhUSNB9d+/cz6LVHg1Zx25jjT1E=; b=mr81r7pwnJKNFpLJcYKHJnwpihsXpmONgyOcHB248+4JfXCwJUcoziEv5N7o3KSral p3QwuJvPCTyRA+VYWb+DCW1gy+pLj/XrksfA8MMydtYJHoFkgruLMwOWT58Ff6qMwx6e ga7svtLnobwRoB9m6TJXLjQ9jo1b1L5R0Uf9auck+6pil2HvXofNbBoWan7hfJOUAAhM syUzqucaO8fEZPXVHIgcYUP8rgNYXsrLESjHODHQxUu1HPPN3gfI8Id0Pec2TeVtJq7H aLD+WLLO93aansf/O0kXs2EOpHfVJeKgfcWijKEGQFj3jQ8xcCIqb6+z6S/cdAMG4+Oc 891Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769780086; x=1770384886; 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=AoCRYLFgaaOwIEgPrhUSNB9d+/cz6LVHg1Zx25jjT1E=; b=Ros1waKpbV82Y6U+ZIYaE1sOKV982EhBN4Sc29zo6uZzNLSgihuc3CBYl1KlWK9Bmr Ib8xU7M+fGr3WeJZ5dTpyOBHd3NovRIZKaEeAf+O+M9rU75zxOIAlVyL3oSHRcL63NqC cEBAFBGWXb0GMTYo/ViwklS0G/Y/t5VhGI5LsMVTKfN79K6RyAXZ/P1Sm/+ctdympgSu us1iXHHziFjshnlcman+QyOPQPQh4PcmF1DfcmYX+9M0nmM+noeccexe9U1JNUUKI9Sb lLjUm9KuSQNqiwGOyOz0wHQX6iqDgP13+GDyWi5j42C7gqksReZyWRRp8dM/GqaKr1ch /ANg== X-Forwarded-Encrypted: i=1; AJvYcCXn27Crr/RDPOVTOd1FnHyqNO6IxahgANZqTdwPQ0o+AMtmyuvT+rkZ8aZE3Xb142UAQNVUPtmFS9xXIo0=@vger.kernel.org X-Gm-Message-State: AOJu0YzrzMF7I1QyFpTA7KCVnNkMyUHaCkjOYZl4L3jbh2EUoBQaZRjM RDGrcppBUMXFEchq1KF+tgZ75eSilb/nLUoNpj1wpy02JFSjY9qU8PyL X-Gm-Gg: AZuq6aLixGU52eW4ojsN3yKiZvn5b1Zw+K29SogyENdR9VJuLknPCwE/Z9lviFOmTKC WLwAGeQK65ouoA9CekeJtGXjFD8YDIPpbNLJCKsQyc95yj5k7BYj0jX++uutdGk6OXfNVl/75Vh sZdzqYIyYs7hUWaPvpX/9zBl5UGwRFCnI9g6SmEaQo0LX+h/4xpacB8pCezN3FhN3RryXtMYdn9 4w6iyDY8i7nwqKr542+XdXulgJ/BV6ROdXRvcjTRJzomhQkCPJCNH6ekoJqcWypIKvrITX+c8pv shht4M15bdtPMzyenKkiqKznN8xvWo3M6hZBKmZJTaC8lx6tXiTyn/56dR5fLzZ6V7ofEXd+/X/ 9mtnUx6KLZY3QR9kudwCMu1490T92NXaFkyDjyO/tg3SqPAMmzrQ3ppZiy3RapP2YJ3lKXxOk3Z Bks1r5in7Qlo0= X-Received: by 2002:a05:6000:4023:b0:430:f68f:ee7d with SMTP id ffacd0b85a97d-435f3aafe9cmr4441580f8f.47.1769780085489; Fri, 30 Jan 2026 05:34:45 -0800 (PST) Received: from xeon ([188.163.112.49]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435e131ce93sm21536837f8f.24.2026.01.30.05.34.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jan 2026 05:34:45 -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 1/4] ASoC: dt-bindings: nvidia,tegra-audio: document CPCAP CODEC Date: Fri, 30 Jan 2026 15:34:31 +0200 Message-ID: <20260130133434.353353-2-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 CPCAP CODEC. Signed-off-by: Svyatoslav Ryhel --- .../sound/nvidia,tegra-audio-cpcap.yaml | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra-au= dio-cpcap.yaml diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-cpc= ap.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-cpcap.= yaml new file mode 100644 index 000000000000..0af6bd3bf639 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-cpcap.yaml @@ -0,0 +1,85 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-cpcap.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra audio complex with CPCAP CODEC + +maintainers: + - Svyatoslav Ryhel + +allOf: + - $ref: nvidia,tegra-audio-common.yaml# + +properties: + compatible: + items: + - pattern: '^[a-z0-9]+,tegra-audio-cpcap(-[a-z0-9]+)+$' + - const: nvidia,tegra-audio-cpcap + + 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 + - Int Spk + - Headphones + - Earpiece + - Headset Mic + - Internal Mic 1 + - Internal Mic 2 + + # CODEC Pins + - MICR + - HSMIC + - EMUMIC + - MICL + - EXTR + - EXTL + - EP + - SPKR + - SPKL + - LINER + - LINEL + - HSR + - HSL + - EMUR + - EMUL + +unevaluatedProperties: false + +examples: + - | + #include + #include + sound { + compatible =3D "motorola,tegra-audio-cpcap-mot", + "nvidia,tegra-audio-cpcap"; + nvidia,model =3D "Motorola Atrix 4G (MB860) CPCAP"; + + nvidia,audio-routing =3D + "Headphones", "HSR", + "Headphones", "HSL", + "Int Spk", "SPKR", + "Int Spk", "SPKL", + "Earpiece", "EP", + "HSMIC", "Headset Mic", + "MICR", "Internal Mic 1", + "MICL", "Internal Mic 2"; + + nvidia,i2s-controller =3D <&tegra_i2s1>; + nvidia,audio-codec =3D <&cpcap_audio>; + + clocks =3D <&tegra_car TEGRA20_CLK_PLL_A>, + <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, + <&tegra_car TEGRA20_CLK_CDEV1>; + clock-names =3D "pll_a", "pll_a_out0", "mclk"; + }; --=20 2.51.0