From nobody Wed Jun 17 01:35:38 2026 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (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 BF67835DA4A for ; Tue, 21 Apr 2026 08:56:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776761814; cv=none; b=PxHMjldZWuArVTPVpgJeTvwvXzrcu/vSUh4nqtmFA0xgRbKt5BPcTxa7exVIRdSsiw65ybdi1JFjxbk0X7GzedTkSkWCCvovR0wzUmBUpFJ2Srg3P20nlTyogb645QDZbyhoHTGCLKXSi3AM+a+jQeFk9BWuWPvubkx74rbJVSM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776761814; c=relaxed/simple; bh=9iZHTlK6xpfJU/WZl8CV+b5YzH/jAbEAS66ZdJyd3Og=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mTIGjSOaN15co+kvBM6y5A0Dia+sozDNtyxlmWP1HKxLqIiXw4+V26cy2UfgBOQk6wszGLFu5bTUNgrW8ggocGEdnfYOlMi+m7c+xYk7F3yK+87/4/AhUG1QMh+c61nUZLGcPDzfKtILMVazPOcNrJ8lkQ3Qx6d4/eSC4BFyoMM= 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=BUV36HeD; arc=none smtp.client-ip=209.85.215.179 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="BUV36HeD" Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-c76c067bc51so1477595a12.0 for ; Tue, 21 Apr 2026 01:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776761813; x=1777366613; 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=1Ziz7Mrkr+sJ/qW8jpuomIbosBf3JNZS04tKrJ4e8a4=; b=BUV36HeDr4RYgMTAvVaMLVhBy1wL8JU9qH8QWSmBkdPu4LwaD6jb5mG8iUTcZru8k7 0gYkvZc6+02oDkDlMYKSgpqchqkFoJ4+rIYphgZ116e5KtFAAVylWeS3t0vtC6iKPbuK HD/y7mDiTctZdaMz8ERdbdTyW4o+vCNgzG/y7HNoKjlcPg1wdCSYWQhPP1lxLIVF2H4b dtiw8rjW102FfIKoR75OFR+1cYkb1RuBqWFwbFH/4NwWucxrKX/zNky3KX7FtNW08bwt 4iFziJGxGz4/rGpPl7cC7/pIKQOJq4if5Q9dZklPOtbVVMiYnFlDol/wYJVP4mDiBdS/ GIWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776761813; x=1777366613; 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=1Ziz7Mrkr+sJ/qW8jpuomIbosBf3JNZS04tKrJ4e8a4=; b=EVVH5pLlKaBnkRLQ3Jo0rtMHzi3AlkQJ+zYGSdm3K4Lc9LKrtBAltBOu2Na+wIkjNB XbXzNaz9mydDsQIMZoBCb6XLhY+4XD0NViMu8PhPimdaE1Y/EHKe/wLNuLpqsEzEjoKi 7xwbYslCWC9IKhnWXoyuAla9r5CIDHloADxXVOTVXr6Gu+/glrezgjCeMBiwL2T8+vFk shWrXyOUn7HDnB59rd2epHK3hzkNhdOAtB2FzZ4pfehQYI3OReylS0MVHrZRDz3YK3RT RhVwsBHHhP+N14zo2pm5Q0W3bqx2riaR8cjT9koNtGHAknIEv+j/Feav9KfQAeWbsBUx I1tQ== X-Forwarded-Encrypted: i=1; AFNElJ948egihnO/HIrM8WqAYJHh94YC1KtaCac3GT89mf8O5ck8Ps+QG3/cQ2cUtgnjXj2iv+9wrWtp1sjTaO0=@vger.kernel.org X-Gm-Message-State: AOJu0YxnF4mMbk9lwtji2K3DEru8kyvz0FGtwws6onTG0X5knWBc4pUV YF1y/tJOhefAXlutc4hO30tFJRaeNHOqXKX/oqhRPOcWm02xF/1YJbuV X-Gm-Gg: AeBDievMQEOHQ/+slqwZomF6cEr186y/YTfzTl5/s8Fi4F/IEcVi6y4M47JbV4Ethtd lRR4nVC89VxvM10kYzQiIwksi/WU7n5YrhWSItZK3Ww+vQcIubA1dEVlNFxk2eA4mM3JrqfzTCO hI2uG+k6ji5t4z418lupc359YFtBxmAZDN3Z442DQ4IfR0ZvaM3sS66WFvs6QDdS46a2mHlE/ua dQPvp+AFmyRPRYwVp7WcHe4wuPMvSd0ex7PFybDYHyV7NbqKYawokHGZ22H3nCWF/i9tPtXkP84 h6j1EAV9chI/Co2/U5nc0AE/RdW7cDMSreC+H11m9763LhRwhtMhLH9MlEsTpCLUIXtwJWJpN+E Vy2n7rTIKPtlD7TlDIIbZg5Y9tFyQ0s9X1Eq0vXy6sAX2vCZW/tAQDm28Fx1aYJhcs7bFhIqKhe s+3rIy28D/N2e1Z76rXX2dzadbYkqQffrWSJkVsn0d+R13EiHgd272iayCLDutCSPK9K4qlLzGp xYoYYhIr14= X-Received: by 2002:a05:6a21:6d9f:b0:398:b95c:51ed with SMTP id adf61e73a8af0-3a08d8a3490mr19258719637.35.1776761813170; Tue, 21 Apr 2026 01:56:53 -0700 (PDT) Received: from chaitanya-virtualbox.. ([103.249.241.52]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c797703ddf8sm9868875a12.28.2026.04.21.01.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2026 01:56:52 -0700 (PDT) From: Chaitanya Sabnis To: Max Filippov , 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, Chaitanya Sabnis Subject: [PATCH v3] ASoC: dt-bindings: cdns,xtfpga-i2s: Convert to dt-schema Date: Tue, 21 Apr 2026 14:26:34 +0530 Message-ID: <20260421085635.4490-1-chaitanya.msabnis@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" Convert the xtfpga I2S controller plain-text binding documentation to standard dt-schema. The hardware requires exactly one memory region, one interrupt line, and one phandle to the master clock. Verified these constraints against the driver source in sound/soc/xtensa/xtfpga-i2s.c. Also explicitly define the '#sound-dai-cells' property, as it is required for audio routing but was omitted from the original text properties list. Reviewed-by: Max Filippov Signed-off-by: Chaitanya Sabnis Reviewed-by: Krzysztof Kozlowski --- .../bindings/sound/cdns,xtfpga-i2s.txt | 18 ------- .../bindings/sound/cdns,xtfpga-i2s.yaml | 48 +++++++++++++++++++ 2 files changed, 48 insertions(+), 18 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s= .txt create mode 100644 Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s= .yaml diff --git a/Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt b/= Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt deleted file mode 100644 index 860fc0da39c0..000000000000 --- a/Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt +++ /dev/null @@ -1,18 +0,0 @@ -Bindings for I2S controller built into xtfpga Xtensa bitstreams. - -Required properties: -- compatible: shall be "cdns,xtfpga-i2s". -- reg: memory region (address and length) with device registers. -- interrupts: interrupt for the device. -- clocks: phandle to the clk used as master clock. I2S bus clock - is derived from it. - -Examples: - - i2s0: xtfpga-i2s@d080000 { - #sound-dai-cells =3D <0>; - compatible =3D "cdns,xtfpga-i2s"; - reg =3D <0x0d080000 0x40>; - interrupts =3D <2 1>; - clocks =3D <&cdce706 4>; - }; diff --git a/Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.yaml b= /Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.yaml new file mode 100644 index 000000000000..9617acef3f0c --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/cdns,xtfpga-i2s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: I2S controller built into xtfpga Xtensa bitstreams + +maintainers: + - Max Filippov + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: cdns,xtfpga-i2s + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + description: phandle to the clk used as master clock. I2S bus clock is= derived from it. + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + i2s@d080000 { + compatible =3D "cdns,xtfpga-i2s"; + reg =3D <0x0d080000 0x40>; + interrupts =3D <2 1>; + clocks =3D <&cdce706 4>; + #sound-dai-cells =3D <0>; + }; --=20 2.43.0