From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) (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 C8E23402BAD for ; Thu, 26 Mar 2026 15:31:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774539078; cv=none; b=q84Ggw5Z//PZGPOzXrawQ/kuB+04jVwG0Fwn8qyCCCz/btClnPSK/r4YaOfCi/Tzm9f6YjbvGI+NX6TgFc16xc8UZsia3Kx2Q6dajagUJFAxNGPVtGlqn+XMsnySgge7lnv0+BmMq4L34khT7GF3VbFywHg4fxFGFlN3LF6RZlI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774539078; c=relaxed/simple; bh=UL4qhY1GW6q837tlvmze48qQ8k9CAYqbOo9E/+wgRyY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N8pwhZf7fm3KgPSKSLBOX9ARhL7A/qMkNuNDW/kiMTv6jhz01utohVkRqaLh+/TgV8HnRffaUsbCfKiKN/OInqhB+x4ST8fOsKr7sFJMaE5cllI8mKM8TPXhXZmeUEcy7VjOH/9x9xj0655rD1D6TkHbaMoOVdho9w1TnQ+AzQs= 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=UlipWtYZ; arc=none smtp.client-ip=209.85.216.47 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="UlipWtYZ" Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-35c1d101355so468770a91.1 for ; Thu, 26 Mar 2026 08:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774539076; x=1775143876; 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=GMDen7TgZzaqdsouNW3DcdKw+MMrqwjkqsk86h7I8tE=; b=UlipWtYZX0UGtXGL8QiXXsHQJr8+1pmyVRSLz0TaHiBF6EJbYlHtb6HICs74l8IeXv q4uDyMQJgB4hfDL6UfLScTS7/UHMISlzHAxlmb6zb7Y7jsg0wa0GXkcnlvXTwqXV7oxS uq7zks5El3bt1ZVLwyjBij/ErYZZ3AVRA6qK5/G5AL+gWfboW3bHXdX20mRyIgIYkyXW LZciEjjZyurKm+jbwNOEmKUIwjaIQlF4HkYMdXuiohwmszPdEzhSoIpTAN4jQIe+Xjgq oBl+RhQw4n2o8YT4guPXWXvzZ08viXrv0zPZqBmPVCI+XQIR39F/tumH9O/Ujbk9jY/u 9vNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774539076; x=1775143876; 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=GMDen7TgZzaqdsouNW3DcdKw+MMrqwjkqsk86h7I8tE=; b=XteqqJ/68FrkWq/RYW3WlnSMtDOBdwlSBSIHMYR+DRkzki+b8DtIfM4GSRqQ61iiKS k6quDcWyj/QNzn8ArrBN+4WIfrBGLYthybo4pBvI45aYqgo3/RSWgha24abWHdI/kO1/ +ml1wD9Fnc7Ny83OrFltLrPifcQuQJ/gGvWqhPDmDAu/Ks0+7GDLcHf08q1gG0CUXzAy q8e6ptaRm2n+YmkXBwFBnOh8G7SyPEXKeC1o28Qp4qhRXuHGcbjMXZ5PUPpQWQfdTZau h389/xPJq2JXlE4vOhA9gBES124kwFDBd0jwEilm5hEpN95DPqeXop31MPG0YW4QfXEF oBlA== X-Forwarded-Encrypted: i=1; AJvYcCWKhKK4BB4Jlmt8/gEBwK4TZz9Qwyq7OnYbXW9KzIWIpMF5WF2ZY7bjeS9fuNii4nLDeXADdJ1OCE01@vger.kernel.org X-Gm-Message-State: AOJu0YxiEVfAn9sX10WOz6F+z/rVmdeltKG6W+9cLkt3F4biELGBUtqF 1Aois2x8J0JruWtbso+UGVobrafs+Tho4EEJdy4QLb1Kv0DCSRl/de4j X-Gm-Gg: ATEYQzwUHcPLnRqATWacx4SeuBCa51k1h6+nnWW+iyrGRfP5PFD4SRtbEeIoQY8VygQ EVdgCuOna/vH7aJFuGgNhMauVTUm0LLVVwK6EEPtL1pDnG0bNiyLaGLFhJD8J1now8lBha7qdtY WanvpVE2d48g9MTTaCPimYTjkWD23RaI6P6ewoF5/ZVHa+tqwL3UGVvgZEPNnRSMY3tJulx5T0F yi667N8vBkBjeJa1H0ge2767SRxEKmmav8rGJk6Aft4/evbtClX7Q2yZ+4+fe/DXhNkjo1ac844 GxIgrQZqsMgl/FrAnDXPgpDHlc9/1FPsMqqYfIC3pV2ERK+v3BqUt4peM4jkB008hj8onblL8Ec gpD/J05lMKLE8H7AkeNYRrvYgiOETnHMHv1IzwtuvtS45ajaodOtjzStBqh98sUdoPpdNLSAjgk sO6P/v7eH0pZ6M4HzTgOX2mVss1+JZvoxn/Gx965ZeW9u6CnJ8 X-Received: by 2002:a17:902:d501:b0:2b0:b1e2:583 with SMTP id d9443c01a7336-2b0b1e22151mr88076775ad.2.1774539075760; Thu, 26 Mar 2026 08:31:15 -0700 (PDT) Received: from padmashree.. ([2401:4900:94ef:3410:d6b4:902f:d713:b1b1]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2b0bc7bbe57sm45130925ad.34.2026.03.26.08.31.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2026 08:31:15 -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, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Padmashree S S Subject: [PATCH] dt-bindings: sound: Convert pcm3060 to DT schema Date: Thu, 26 Mar 2026 21:00:40 +0530 Message-ID: <20260326153041.496811-1-padmashreess2006@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Note: * This patch is part of the GSoC2026 application process for device tree bindings 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/Documentation/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 = "ti,pcm3060"; - reg = <0x46>; - ti,out-single-ended = "true"; - }; diff --git a/Documentation/devicetree/bindings/sound/pcm3060.yaml b/Documentation/devicetree/bindings/sound/pcm3060.yaml new file mode 100644 index 000000000000..a0455c9dad73 --- /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 = <1>; + #size-cells = <0>; + + pcm3060: audio-codec@46 { + compatible = "ti,pcm3060"; + reg = <0x46>; + ti,out-single-ended; + }; + }; \ No newline at end of file 2.43.0