From nobody Mon Feb 9 23:00:22 2026 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 A24A43C0090 for ; Mon, 19 Jan 2026 16:30:58 +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=1768840260; cv=none; b=p/Gldx9dzjkxUDH/i/XiiT12EZ2b4Wmrednx8OPhgGW/oQTG5r3LPrIgMOKeWY7oeLfEU/cr+AIkEfJwBTKKwOaG8QCCSwjU6dnb69/XZCJBkqyzwuQkbOUPrGTCkHDfmRBVKNqhfK9htTurRLHU/97F0T41TqB5ZgV+QSNeXdE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768840260; c=relaxed/simple; bh=Uu914q6UODLItA3vvK5l88VgJwM32DdfsJmtfwi/rkw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=htQauci3iFfuR5L7r1cCTi0AkQZJL2Vt5CJyOKKtFDFDsaDeVbBKGjQqog5qCZhYYJfQBcRq97phrtfZSc63n//X1/6YXNJlAW8/Q2vRHrN6gGwfUf5D0/j8/Xc7dSuibrjp/+08LhiFCLOKO/6neMKUFUXTTKx13xLvvEs6aLo= 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=f3th6RTD; 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="f3th6RTD" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-42fb0fc5aa9so2520425f8f.1 for ; Mon, 19 Jan 2026 08:30:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768840257; x=1769445057; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=dO/w705OwMsU88LoVwjVUON1I4DFKZluQtaxNiuxS18=; b=f3th6RTDG/djVtwPwJxIvfdGpcKfm8+fDHbbQVK65SEcqnuf7oZYucHrzi1oo2WSmp WHKnmPCpn0lqVVrhuGz4vqIxZTA+F4lwb6PSqp5k8RieMjBBR/28qilcoEAa6RQ84aDN 2xz8/LPc0gjYMpfIyZ2+dRBDF6dhF51tvkz3VNC1Y+k/saZUKpRJYMnvqHVTWEtzH6sg Vlpq9cWTaarja9frRfPvIpWGJOfkvPLNGQmi/JkK9ebnoUWjMX+w6L+Qlm4ggccLLLKi yizt1E+cGtKXmA6TEyp/bti0XRWKQ0JQ7MAkb0dWl1LVBQr+aY04qAcZcFmaITEJe8qt sTAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768840257; x=1769445057; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=dO/w705OwMsU88LoVwjVUON1I4DFKZluQtaxNiuxS18=; b=VBLPYJvL96cpXVEgPq0VcZ5Nu+XVVDQv9+lFKTYlugrKaPdcHtZkQ2IM1agkUC7bzu Alm1egIuaMedJkItZcI41eftu87kJPnNX44A1aVZEmU9XYmZ8v+fvy9bg7AyRPzO+YJo +Ij3NT+m7wnjEKDnu4JuQpaNxFwEGTX+iQGnlPbh/EtFCookyB+UyDtjF64P6hgiK/Du hBWGxDKpt9wXSZmK9PhcGvsR5vB7/0xQKw4X9wno+lki6jRK4tG+FD3iUQ/S1JJBFchQ f2pyp6Oqqfojr3Laf9Po3mgLDvPtDtKF3lkTxSeTVL3xwP1LxWMwWskHBe7Kq9A79kIr DHpg== X-Forwarded-Encrypted: i=1; AJvYcCV3hOyyhl83F9apJFOjHusi67vffdSbKvj2SC3MswhcjIRWImcNGQSfbi9RqctUFjBixomQCuY5AvSQ/N4=@vger.kernel.org X-Gm-Message-State: AOJu0YxTJXslAHXnKVXQ/Kh/FJhvLZSZe6nXlZdjXtf3agia5vFe6LGk 0QNdyq08NEUeoxrNFgEygpCrbjGCdUStH6KFhq2AhO3FFYm//n8wBFAT X-Gm-Gg: AY/fxX6P6veB2HrRMxc4rY5RowmAIJcl6W9it/f312TxXmNJGJLzYV1gExhss7Mnvdg 7UoZGfMR6q4u+4Fj7up1qC4FvFl2Ss5DbNyovhW9JXfndvSsRq1rAZKIcmEIa/EIMaaZowLwUGw tltX8Me0OFASV6+20J0VvcuSm72xFkfpPBG/klc/fyX2BWrBbeYVYB9FdZKXOdXYWB6ycbZi3oE hAyS1TZPTmUzcmkWaeU/5Z5T8sxwmqzAQC4p9Hb67HxwB0BZd7rNgRhCZht32FHkjGR7hLoiWjt liIT6sCx59SNymGSjB7ntb6CV9nh+fZIDsIpoTlhle8CI5iTXwld0gk7Yi6aH1aEaTUm0NKWKTx o1d1NxQgz1kRAXPEdRQa3tMtZ8/muphwASUC/D6X2HYn6k8qphFzLLCDjp9cZaUNaZ3U8MFJ4TM Ha23dYluRKnd6d3n+FKYGEB4DySg7rDPy6geDTMPTgsNOt X-Received: by 2002:a05:600c:548a:b0:475:dd8d:2f52 with SMTP id 5b1f17b1804b1-4801eb12369mr140158025e9.32.1768840256778; Mon, 19 Jan 2026 08:30:56 -0800 (PST) Received: from [127.0.1.1] (bba-94-59-215-181.alshamil.net.ae. [94.59.215.181]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4801e879537sm201666795e9.5.2026.01.19.08.30.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jan 2026 08:30:56 -0800 (PST) From: "Anton D. Stavinskii" Date: Mon, 19 Jan 2026 20:30:44 +0400 Subject: [PATCH v3 3/6] dt-bindings: codecs: sophgo,cv1800b: codecs: add ADC/DAC Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260119-cv1800b-i2s-driver-v3-3-04006f4111d7@gmail.com> References: <20260119-cv1800b-i2s-driver-v3-0-04006f4111d7@gmail.com> In-Reply-To: <20260119-cv1800b-i2s-driver-v3-0-04006f4111d7@gmail.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Inochi Amaoto , Jaroslav Kysela , Takashi Iwai , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, sophgo@lists.linux.dev, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, "Anton D. Stavinskii" X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1768840243; l=3011; i=stavinsky@gmail.com; s=20260115; h=from:subject:message-id; bh=Uu914q6UODLItA3vvK5l88VgJwM32DdfsJmtfwi/rkw=; b=nqI8ujgfXvOhrkF22+SO+FuPdj0nXLzd7iSHNw/zYATKuwEIQGxLxETgbdJ6NdnCicyO5vUUa U9BiyYztgEqApft9pm9i+stRZcA7NDW5Id/dBr2XFP185F3gMq6otZT X-Developer-Key: i=stavinsky@gmail.com; a=ed25519; pk=2WxGZ1zd1vQwSPFCSks6zrADqUDBUdtq39lElk4ZE7Q= Document the internal ADC and DAC audio codecs integrated in the Sophgo CV1800B SoC. Signed-off-by: Anton D. Stavinskii --- .../bindings/sound/sophgo,cv1800b-sound-adc.yaml | 43 ++++++++++++++++++= ++++ .../bindings/sound/sophgo,cv1800b-sound-dac.yaml | 43 ++++++++++++++++++= ++++ 2 files changed, 86 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/sophgo,cv1800b-sound-a= dc.yaml b/Documentation/devicetree/bindings/sound/sophgo,cv1800b-sound-adc.= yaml new file mode 100644 index 000000000000..d3b7e92f9758 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/sophgo,cv1800b-sound-adc.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/sophgo,cv1800b-sound-adc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo CV1800B Internal ADC Codec + +maintainers: + - Anton D. Stavinskii + +description: Internal ADC audio codec integrated in the Sophgo CV1800B SoC. + The codec exposes a single DAI and is intended to be connected + to an I2S/TDM controller via an ASoC machine driver. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: sophgo,cv1800b-sound-adc + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + audio-codec@300a100 { + compatible =3D "sophgo,cv1800b-sound-adc"; + reg =3D <0x0300a100 0x100>; + #sound-dai-cells =3D <0>; + }; +... diff --git a/Documentation/devicetree/bindings/sound/sophgo,cv1800b-sound-d= ac.yaml b/Documentation/devicetree/bindings/sound/sophgo,cv1800b-sound-dac.= yaml new file mode 100644 index 000000000000..8457bddcea92 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/sophgo,cv1800b-sound-dac.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/sophgo,cv1800b-sound-dac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo CV1800B internal DAC audio codec + +maintainers: + - Anton D. Stavinskii + +allOf: + - $ref: dai-common.yaml# + +description: Internal DAC audio codec integrated in the Sophgo CV1800B SoC. + The codec exposes a single playback DAI and is intended to be connected = to an + I2S/TDM controller via an ASoC machine driver. + +properties: + compatible: + const: sophgo,cv1800b-sound-dac + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + audio-codec@300A000 { + compatible =3D "sophgo,cv1800b-sound-dac"; + #sound-dai-cells =3D <0>; + reg =3D <0x0300A000 0x100>; + }; +... --=20 2.43.0