From nobody Thu Apr 2 20:20:25 2026 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (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 AF7A240148B for ; Thu, 26 Mar 2026 15:31:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774539077; cv=none; b=HFpdkIFgZyjo4syG4Z+48y9jy3YXD9T+kMOPCKRC1qACgoVOaA04fbVMhA9KscijVLM9XfcKUG836WszhXjQSCH6q+IE+z05dgRRptQe4poSzdPlpXI/PLAsbTcVGnYI4D2M1zPQCHBSfU4yDKO8yliXQQeZiRJKM3j0e2oABr0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774539077; c=relaxed/simple; bh=UL4qhY1GW6q837tlvmze48qQ8k9CAYqbOo9E/+wgRyY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YYZs2qVdvx/z6zhW6siJJ64VhwSdg1N50xCyaJ5qOQBTCzIxj+IFNJWP8GzowVgNYnLJbrvpjRxIYtc+Vv7r7UCUQerLG4SDbumzNZ/JqH0ajjl3RyNZkJ/FgoqXALEbwJMTEded+WYhFBVsExt2jjVhdbUhJePWONQzTFADpxU= 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.43 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-f43.google.com with SMTP id 98e67ed59e1d1-358d80f60ccso731996a91.3 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=S1ZMDAdSxayToSVmOtK9x9j2+mA75WEgMQOxdt9ht/QivwBFGaegh0ihWrIAYWDrx9 f+J8Qq1yu5e7y3OBdp/QzQ2dHuONKkPkQjKA7RIKV4iGPDSI5sZQYcj7Wa73QNEVLUs5 0bKg/fQvc5Kn2hcGr/a09tpiI53j+lTW1q1fIW2K9PMQl5pJsbHBR/D1EAwko0OjXu52 kY6e5crcgHDFyfD0U1NqaE6DzSIeQTywsItKwPDL1KlpgNE3fmh8IikrJHrJGYiQmtoK 6AcuZ3Mv+T3s5GfPX0TaV9gEScaInCb1+Y+egCRbR/qUqEDWsQh+eFzHr7WmqzLk62qp HhdQ== X-Forwarded-Encrypted: i=1; AJvYcCXWY+5Z4d/vbYSA4L7QHnFUbUvm+wBRm23bW6q3bixa0tZYaJkkXowWRkyG6rYBW39gSw0bkkSppbSs830=@vger.kernel.org X-Gm-Message-State: AOJu0Yz+rm40zSClWuD1ocLVDs79BI+hW0l+46akcU+Hy1ayoZxl2oQJ 6stB4IH1PKFuT2h1FwZ82RUYYspR6Ap6Sl83Oi+hTpzpSutsdb0zyiFk X-Gm-Gg: ATEYQzxu0Nm6RwlgY1cskUIkbUUzcLwWCftFJlUhe5hwsVqax2jrr9Lb/iMHVxajxkb WsG3pu14YsDdgGFur8thsk5BBVVfRu2/K+slbtHdWMbs/6X/IexL6jb3fw/EnOmVWeRpa3fM/fm /cAo+EiUt67jmmmAz216wCmdrOh6GBK+/+XySOO2ZYZUIf0a+QlOEXad9dFPndwdlABbvMVn5ZD KmvK/6TRMcYXYidCujAFk1IWPYfAWt+0kyXGND8fSrUA8Y220gWAAPFvFflu7qKidc4nI0UIJDs mKCGKda6Tmd76RqCcK1ZpK49glN44/adIjcY4bc8229ADY1bO5SQv3sxjrkAkiguF4P6DIQsT4Q h3VO7rZY1P3F3bn90SL6+FY1yXLYuDFfHto+4KleGSLzBYbUHrlJZEl7IPTHEpczVcI6U/gu43F 1TznmOQcVm+XrXbAzr9QL//rdTxDPg/lPyX7QULqfuzdL2eO7P 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: 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..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 =3D <1>; + #size-cells =3D <0>; + + pcm3060: audio-codec@46 { + compatible =3D "ti,pcm3060"; + reg =3D <0x46>; + ti,out-single-ended; + }; + }; \ No newline at end of file 2.43.0