From nobody Sat Feb 7 03:35:28 2026 Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (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 A251B331A6F for ; Thu, 30 Oct 2025 06:54:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761807290; cv=none; b=Hlj50rIKrDL3G+mFDb3gv0O2lh4hWOrDYxKlVDqHlsxB8OunwiYg1HcplMHrN3z5Tiu2+hWniqfrko/tULKYLsIHArG6AWgEuatmu4UyMKfGfXzJukCtKXB2+gT1j2lfggdIHigSzyeYT6jB8SqLSNNCZbpJdjtj1ku0jU9GDZU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761807290; c=relaxed/simple; bh=pmx0nurs79ki1NBxGeHHN/YIRDeLb81Jwt8NJP8HfBc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=mvuYukeQD44eoQeDZWTAsre8JFe21XtF5iv0VAw66u1ElsM6snhmU0J6kutZW6xO7oVgaj9fnNDXrb8NwSR1+I0jJdC83Q/KsnvO7u9WcCP7JVV8eUe3XSoJNXFhLW2MdmjFWj4ydE8ZxD4b5L9xCwuRHnKuAkZxlfPuJH0Okco= 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=iC8Yfu1m; arc=none smtp.client-ip=209.85.216.53 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="iC8Yfu1m" Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-33bba55200bso108593a91.1 for ; Wed, 29 Oct 2025 23:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761807287; x=1762412087; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=hGlotEttnjbIACeN7dXLLDJ30vr8ASlUwkVHw6j0GwQ=; b=iC8Yfu1mH5JJEbIL3xnkZWeG+4KSn7ZesiOv40EV1mVj2EpFkdhW11zwAk4LalDO90 cDRbaFXCYVJcrv0Mdt9Vlu0WtJAw7cyIxbS4dFaRKe68g5ZdpTuHiHrn+Oz5iDiL4q1D NPb9GJovUNMoXdu+BSqGKKbmlRxAx0/IR3k1vKsGiX88Ju3oBbMMnxDO1hYaM3uR/xXj /rKaC3ZAwWFf6QFHXKw4l6hh5JR6tyG6S4GQhDFr1O103Vh5J43d9tsGELqhyiz+nbWA oWhQ/pj3RLpDw8svjAkHefr3TLt1U14BZJ6BdvL3TC/r87cUbQnMhniLtDpKpFD9M5Gn XglQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761807287; x=1762412087; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hGlotEttnjbIACeN7dXLLDJ30vr8ASlUwkVHw6j0GwQ=; b=I0+gjx4gzmRMiahEVZ5Zuzu5phUfTe+C8LFypKQ31E6awRhRWppItplgzSTI1ib3Lu 1cw67aOMT+foYyQNKkGzqbP6r5dBb3+v4NcYf3BiAJ9v5JpkDVzKRCr9LwX6ye5R6yol PmbPaft7BjwEf/7GEQrA+rfAuRrKM6+lV7psUoOxU0qq3WXjLH4q8K4gW2UgjSbUrG8X HnGpHRd6n3JSoUiUlaGhqyDSSZ69dYVBByq2fH2QweR4eeL/wwVL1h+mr4U3BX5phg2A XdkhPVucZTVyW4ArRdMz/JxubIA0eE3UIiUzG0A2fbig7kNkOROn8t3IPLpOqQQgVH4D QimQ== X-Forwarded-Encrypted: i=1; AJvYcCVW6vvwqPavtHCt3+EHtvTlxKFseaBurfFjgM4dWDb06svYrXcrkYniAeDm4ZWWSS13RFPKY/9z180U5Q8=@vger.kernel.org X-Gm-Message-State: AOJu0YyPxSHb+Yy7BvTledr+qLRD+LXkLXQq0zb/H/2AaoQhFv6PX7k4 Hpbxy0/7egWQmXs8KFCVW1kL5BulBh5+D4e/GGV5dFrq9E2cTQzGiFh0 X-Gm-Gg: ASbGncsx3o2OuB9Ptyi2zijEddNX1XKCqC6EIOVre5knRnLd/uawjk57TrXXcAUPWHN bydvAckoPPxVSkdjaxxyRbA20FSCm0YZDUngyt6jMkLpj3kd4TPbGUWRI5hPKpHYiRzBuRWsk2W kD2z0geEJzpR68qM/6kOrSCbtfXb7e5YupDnvV6fNkl0DNIQeBGCt5QozeizC81hA5ZVJ9y+UZY cUorlNHBWgkvrcUwU7TXNiS7ieDcJZriA5AUZF+86w70JkHzVvCQU8DddkP9aK89jtiO9TWokwv dSqEB689LBZHhHJ8UC+xVsAW6GwszJEkIZ9fJGKThZhejUzWgjT641YR7CGKRbeb/B7vwoxICFr w1B5ZV8hxrj6BBlr8Hk9VG8Zw6xUhRqdUR9TbhpILd9BAMrPuwhBQ4/gMAQPrqvsiUkXq/u8ILM RRmsAfqifwBe/MPncKNkvSzZXmPqn8jCeWW4PI5hKRZksMBgK6NXDuJY2SgvOBgdw= X-Google-Smtp-Source: AGHT+IG9OA3qsogtmkvIU4R1MP2hkyCeHbgqs/ev0H2tjRcnChJLoNlY+IE3QTZqZp/Mb2SCb/FtDQ== X-Received: by 2002:a17:90b:384d:b0:33d:ad3d:1a6f with SMTP id 98e67ed59e1d1-3403a3058a4mr3408683a91.8.1761807286514; Wed, 29 Oct 2025 23:54:46 -0700 (PDT) Received: from [127.0.1.1] ([2406:7400:10c:5702:ef45:c60f:9d38:fa84]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-340509894c9sm1379138a91.7.2025.10.29.23.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 23:54:46 -0700 (PDT) From: Ranganath V N Date: Thu, 30 Oct 2025 12:24:30 +0530 Subject: [PATCH v4] Asoc: dt_bindings: ti,pcm186x: convert to dtschema 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: <20251030-dtbs-v4-1-3fff32221119@gmail.com> X-B4-Tracking: v=1; b=H4sIAKYLA2kC/13MQQqDMBCF4atI1k1xZjTVrnqP0kUcowaqlkRCi 3j3RnEhLt8w3z8Lb5w1XtyTWTgTrLfjEEd2SQR3emiNtHXcAlPMIUWQ9VR5SZqgUWXJmQIRXz/ ONPa7ZZ6vuDvrp9H9tmqA9XoKBJAgs5IYtMacKn60vbbvK4+9WAMBj0jtCCPimqobkMaiMGdER 1TuiCIiZlCICIx4RMuy/AH2DN07AgEAAA== To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, david.hunter.linux@gmail.com, khalid@kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, Ranganath V N X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761807282; l=4119; i=vnranganath.20@gmail.com; s=20250816; h=from:subject:message-id; bh=pmx0nurs79ki1NBxGeHHN/YIRDeLb81Jwt8NJP8HfBc=; b=5inaXHj5dX/tUKwdXhQ3ZDbt889TpyNXOeWQEWHjGVrGHqCJjqvkW6aWeO8aYy8ykJVpoEdiG idXfkURS9RvDPhSgAZ+0UUoHPvc0BHT9sFV7AUgjnZkGosHQkzXFhu9 X-Developer-Key: i=vnranganath.20@gmail.com; a=ed25519; pk=7mxHFYWOcIJ5Ls8etzgLkcB0M8/hxmOh8pH6Mce5Z1A= convert the Texas Instruments PCM186x Universal audio ADC bindings to DT schema. Signed-off-by: Ranganath V N --- Convert the Texas Instruments PCM186x audio ADC bindings to DT schema. --- Changes in v4: - Corrected subject dt_bindings:sound to Asoc: dt_bindings: - Corrected the filename to match one of the compitables in the file=20 - ti,pcm186x.yaml to ti,pcm1862.yaml - Link to v3: https://lore.kernel.org/r/20251029-dtbs-v3-1-3cc162221c22@gma= il.com Changes in v3: - Unicode FEFF character was present in the begining of the file, - Removed unicode character. - Link to v2: https://lore.kernel.org/r/20251026-dtbs-v2-1-cd3b713a288e@gma= il.com Changes in v2: - Fixes as per the reviews suggested for the v1. - Link to v1: https://lore.kernel.org/r/20251021-dtbs-v1-1-493c1aa253bc@gma= il.com --- .../devicetree/bindings/sound/pcm186x.txt | 42 --------------- .../devicetree/bindings/sound/ti,pcm1862.yaml | 61 ++++++++++++++++++= ++++ 2 files changed, 61 insertions(+), 42 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/pcm186x.txt b/Document= ation/devicetree/bindings/sound/pcm186x.txt deleted file mode 100644 index 1087f4855980..000000000000 --- a/Documentation/devicetree/bindings/sound/pcm186x.txt +++ /dev/null @@ -1,42 +0,0 @@ -Texas Instruments PCM186x Universal Audio ADC - -These devices support both I2C and SPI (configured with pin strapping -on the board). - -Required properties: - - - compatible : "ti,pcm1862", - "ti,pcm1863", - "ti,pcm1864", - "ti,pcm1865" - - - reg : The I2C address of the device for I2C, the chip select - number for SPI. - - - avdd-supply: Analog core power supply (3.3v) - - dvdd-supply: Digital core power supply - - iovdd-supply: Digital IO power supply - See regulator/regulator.txt for more information - -CODEC input pins: - * VINL1 - * VINR1 - * VINL2 - * VINR2 - * VINL3 - * VINR3 - * VINL4 - * VINR4 - -The pins can be used in referring sound node's audio-routing property. - -Example: - - pcm186x: audio-codec@4a { - compatible =3D "ti,pcm1865"; - reg =3D <0x4a>; - - avdd-supply =3D <®_3v3_analog>; - dvdd-supply =3D <®_3v3>; - iovdd-supply =3D <®_1v8>; - }; diff --git a/Documentation/devicetree/bindings/sound/ti,pcm1862.yaml b/Docu= mentation/devicetree/bindings/sound/ti,pcm1862.yaml new file mode 100644 index 000000000000..72a3e1dde0fa --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ti,pcm1862.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/ti,pcm186x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments PCM186x Universal Audio ADC + +maintainers: + - Ranganath V N + +description: + The Texas Instruments PCM186x family are multi-channel audio ADCs + that support both I2C and SPI control interfaces, selected by + pin strapping. These devices include on-chip programmable gain + amplifiers and support differential or single-ended analog inputs. + +properties: + compatible: + enum: + - ti,pcm1862 + - ti,pcm1863 + - ti,pcm1864 + - ti,pcm1865 + + reg: + maxItems: 1 + + avdd-supply: true + + dvdd-supply: true + + iovdd-supply: true + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + - avdd-supply + - dvdd-supply + - iovdd-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + audio-codec@4a { + compatible =3D "ti,pcm1865"; + reg =3D <0x4a>; + + avdd-supply =3D <®_3v3_analog>; + dvdd-supply =3D <®_3v3>; + iovdd-supply =3D <®_1v8>; + }; + }; --- base-commit: 211ddde0823f1442e4ad052a2f30f050145ccada change-id: 20251021-dtbs-3a31f699c461 Best regards, --=20 Ranganath V N