From nobody Thu Apr 2 18:47:40 2026 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 DFC113A16B5 for ; Thu, 26 Mar 2026 18:38:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774550302; cv=none; b=FQBZ5Z7T/8YfUSNwveuNQBWnQzp6Y9lph5LaFHou9H/leIYXO2TCCAZlthADodzQptQJZZ37ad2969Jh0jO24cE7pGhDHP2LTSKt33h/rNsCRzNS+ShUuusXhpumJsmNhL0o2/uUmJLn9KKg8i9B23trWHmHUe4tiL9iqKQjjxw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774550302; c=relaxed/simple; bh=aB4CNW0exvmw3n8TwyU2vVZfOExsUbeZNUie+PL3Vh0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dfcTcdNN89ac1GUjTmU8NbnClOVRlAWNkJxKZWBTFmP1K1ByqLVAQuo9Zc3lxcuaKqkCUWrEwzuH2kb4u5QSgkXSivvgozB66/NN+rLj3p4UrfkfIvlMgihuSDtO11QA3tLiyzUvh/o9F6rtwOyailASse0gSIbui5xbT3C58nU= 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=jQnF4Gnc; arc=none smtp.client-ip=209.85.210.176 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="jQnF4Gnc" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-82a655cfab5so1245148b3a.1 for ; Thu, 26 Mar 2026 11:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774550300; x=1775155100; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7oiN7Yy7Qxs4sWHwlcPw/bXT9Anfd8Nbb6kyzbKKQkA=; b=jQnF4GncqRfyKG9KM/ZsEqpCRpSpOoVARrbQegzhMua5jh2ylFG/mPMFv38fIydUKD JHNMeev9peIdOrdFSsuBv3cxKNuBSts5FU2p+5STihbbCDSE4qYsvsWmvdBTQTlLbtBa nhwYuvHahxuHvyHF/p6Ox35+9irPtCi4vs58/xZZQN7Ngzna06iIBVWH9y6VLEi3Mdjj /SePz0CK2vRR50ynUblmxAXxP0dGlcxPxKoxOR0XBTknwMzBkrQyiGrWXq00kAl0G5BG zLXjl4+1Sn26unZ8t2m9bPf0bj167zI/e/jLAiuxjMc6BmA0ltbVogIdkxryttihN8j4 g0fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774550300; x=1775155100; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7oiN7Yy7Qxs4sWHwlcPw/bXT9Anfd8Nbb6kyzbKKQkA=; b=d0nF6n4rcPypTmY4CFhnC7OuEfJrhK6uYplNmDpLhkYmVM2TGl/oWnNaAc+goT020/ OH5ENG5sNIaJneMXJJ2RKjtAdYGx7Z24iBCnZkX84PDZgxXVl/nkmYONPFz3A4I5GuVP 1vgNOX/AXL3LNNkxctlMoGhONrer5ul1w5AZdcrWoy+ucs++6HImP3Otu7Jxta6Evn5+ Td1aadahhtEgU6uqwM45g4SHfFE6jx5a1ATT2CDksV+CaH7R6Xt112BhGl8Mhjz9Yhu8 KGAGFSCh2/IoQd18kF+cLgLSEpZLu5ipLqRVuHfPERMX6Q8yiE0viBWmxn2wF/+pcERy 0FnQ== X-Forwarded-Encrypted: i=1; AJvYcCXtIjFvD918657sK8cxHc9ZtcCFz77Z5hjnhmLsg/mB5VCjCFjyA42M/4O+DTPs10ikvd9P/h4RZQGkIow=@vger.kernel.org X-Gm-Message-State: AOJu0YwLjBI8cYMU/VbR9CqdND25KF1SUyDYd11RylUjPrbYfI6IJmaW Co6HoqUjjFHYEKOZDtD7bjrVPq82XtK1qOOc6oimCqlsnhAeJMlk8ryS X-Gm-Gg: ATEYQzxx09zamHoOrXm5KbufXOqnaUZq3Wpng4w0uG3rFYs0XwgXv8b29lj2v88VABz 5RIIdw26u45Y3dWM1Z9AX6laRJBOBTFYtnvXeECto5+Fl5A6LxqKP9RmLbFWtnkLtWu3HmesOa5 C1u6YlQO7GhKKEgi0VQv35hnUclUPtALw5vO9gL1lE5y+M3T/8qiX8U0SMtD8/QPJHynFVY/VDL pIUR1SVPPSRsEfuhQ3rtMc+7uB+TNPV4j3aH8guG+FJgBWCycMBXJJEc/xc+ml3PEGwwkpsFI4i bhHwvaHYZQGHFBiNYH6emShue81qjvW3i2E6Is9rO0HNuF4w7H5jftny60c4bEMS7AuSbjubOZw MWiQXYGRMCbZ9P/UlZQUkxR73U4E4M90LtnyGCIGwvRY9NsvMiLkKSU/HtpUFxnWKbH9Alrs93H t4B0fj2HIWXfVZyaIMsdLgpxqnsp3gWXrnEKaciQVs5nR/5Wjm X-Received: by 2002:a05:6a00:3e1c:b0:82a:6ef8:cb43 with SMTP id d2e1a72fcca58-82c6ded85d7mr8921857b3a.19.1774550299986; Thu, 26 Mar 2026 11:38:19 -0700 (PDT) Received: from padmashree.. ([2401:4900:94ef:3410:58df:a970:79c4:10c7]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82c7d390a4csm4211314b3a.31.2026.03.26.11.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2026 11:38:19 -0700 (PDT) From: Padmashree S S To: k.marinushkin@gmail.com, lgirdwood@gmail.com, broonie@kernel.org Cc: robh@kernel.org, conor+dt@kernel.org, krzk+dt@kernel.org, devicetree@vger.kernel.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Padmashree S S Subject: [PATCH v2] dt-bindings: sound: Convert pcm3060 to DT schema Date: Fri, 27 Mar 2026 00:07:47 +0530 Message-ID: <20260326183747.528754-1-padmashreess2006@gmail.com> X-Mailer: git-send-email 2.43.0 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" Note: * This patch is part of the GSoC2026 application process for device tree bi= ndings conversions * https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device= -Tree-Bindings Signed-off-by: Padmashree S S --- .../devicetree/bindings/sound/pcm3060.txt | 23 ---------- .../devicetree/bindings/sound/pcm3060.yaml | 45 +++++++++++++++++++ 2 files changed, 45 insertions(+), 23 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/pcm3060.txt create mode 100644 Documentation/devicetree/bindings/sound/pcm3060.yaml diff --git a/Documentation/devicetree/bindings/sound/pcm3060.txt b/Document= ation/devicetree/bindings/sound/pcm3060.txt deleted file mode 100644 index 97de66932d44..000000000000 --- a/Documentation/devicetree/bindings/sound/pcm3060.txt +++ /dev/null @@ -1,23 +0,0 @@ -PCM3060 audio CODEC - -This driver supports both I2C and SPI. - -Required properties: - -- compatible: "ti,pcm3060" - -- reg : the I2C address of the device for I2C, the chip select - number for SPI. - -Optional properties: - -- ti,out-single-ended: "true" if output is single-ended; - "false" or not specified if output is differential. - -Examples: - - pcm3060: pcm3060@46 { - compatible =3D "ti,pcm3060"; - reg =3D <0x46>; - ti,out-single-ended =3D "true"; - }; diff --git a/Documentation/devicetree/bindings/sound/pcm3060.yaml b/Documen= tation/devicetree/bindings/sound/pcm3060.yaml new file mode 100644 index 000000000000..ceb6f044b196 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/pcm3060.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/pcm3060.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PCM3060 audio CODEC + +maintainers: + - Kirill Marinushkin + +properties: + compatible: + const: ti,pcm3060 + + reg: + maxItems: 1 + description: | + The I2C address of the device + or SPI chip select number. + + ti,out-single-ended: + type: boolean + description: | + If present, the output is single-ended. + If absent, the output is differential. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + pcm3060: audio-codec@46 { + compatible =3D "ti,pcm3060"; + reg =3D <0x46>; + ti,out-single-ended; + }; + }; --=20 2.43.0