From nobody Tue Jun 16 06:05:24 2026 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (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 0C8D93BB9F1 for ; Fri, 17 Apr 2026 11:04:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776423879; cv=none; b=LzD9aUFvt3LDiossKmesYWffISDAHk8eEKTJS7p+mScywmQc2egdmooLQzm2LByBCwdzw+Fhl3qxAwtbPpayGL+2u22HqgS+lsz05JR/5Hxa6AFIRVoli4mKlcj80S7X94UouT/WboatSV37uJxabAOjYocUtFlb5toVzdoRgUg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776423879; c=relaxed/simple; bh=hRt6bnj6JmwIsk2Q7eHHKPQ3L38fkyslxwE5kAHtrQU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QuiqeWj+00OTKx1gwn90vk/Nb4lSBjdzYTjn5Ado8h5rnEwM0emtbT7rddWSge0QK7zI+QBiqdae4SZ9OW1YaMz8cuibiMBFyu/NwbEhGFMLuJHq8WnLeZd1JiNkAc9yHeUiY/daS62G4xMH0Q6qjnG3V4uE0yAM5hdP0NY3Avk= 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=FIcA/5Ef; arc=none smtp.client-ip=209.85.216.51 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="FIcA/5Ef" Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-36143b0dbdbso201168a91.2 for ; Fri, 17 Apr 2026 04:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776423876; x=1777028676; 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=XM9OAm7LxW6dUYuM9tCumZEGq0uUmwkPB3O9AymjDmU=; b=FIcA/5EfjfMCuR1gI9Y1+Fin3GHV2osEX1muWKWlQh6q5Z+jVI/W243gWeKyUWvQn6 pU+p+WF9TlrMcLoZ/PnvKsT1xbXKjhyeTlAy+QPjrQLslLna+3GQraLOMyyzSHkJq3KE N528MPduNyNHldu0cwV1HkaLQPlq7aii36PUkBJBu3zzQ7KfwlE3FJ5M70pW2IsYAJaA sxOBuOKOb3x2PnF5gy5nkikT3gpFFRZ8278leglE1jvK1WW0a0WV3ug5ygwkBa68Jqr4 LqOO5v3RJ8WtsgmeTtOt755tgKgNTmxjD74zBBuPkZ1N+GV8V4sCNdcGFnSUyy8g+dxW IJ8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776423876; x=1777028676; 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=XM9OAm7LxW6dUYuM9tCumZEGq0uUmwkPB3O9AymjDmU=; b=S2STv2QGaTezYnxhfRt1jEbA5Jf9LexkWlSNlM9qPVEY0ej0sbwfhXynO/9TSuuzki WuorcPxHA9s+ycWmtcS8yJOWY0NdXRxFxPeqLMRxhLQAjw202L4Y1iz7oUfsg1vA/sQL 6/OmHwySszLD81Vchmo7Bf5mcPZEE7UNqcZAtGRdOe/5CHix7kDwKwHTq0F/pzjrx9m5 oH+c0RIzj4h490lD7JA0Bq0Rgt+xUg2m3C33YbvvJU6QOzEXlKT0RQMUE+bdYDa9KlUr BDV1w86W3b2Jv6SL3dng8UZHGYBvE8R2/zLyH+NB3Bh7hQEf9o1a5mUdEsQZ8E6bjiBx t3mw== X-Forwarded-Encrypted: i=1; AFNElJ9+/eHKq52Svgn0GMcZBDKqaONMLtTjP0QimDAC5HycXSg4JsNTP0fRVqXN1UV0pO4zPvD6iKs9fM7w4nQ=@vger.kernel.org X-Gm-Message-State: AOJu0YygZ6rTaKgq3HL2v/yYeIUr4VkUPip+E8hLzzpS14ifrqHfFJyh 0f/ICdn+MmvCA7yaYetRnph013FDAe9gykLeIpzaOX160uUa5JTBHlGEZdrYGFg4jrs= X-Gm-Gg: AeBDievFKRJQUtmb4yh+kZRBJBxQf9blwe/eSzOIA587AIcD5Pt8UnfT74OH0MAuS0g g76VJlA1CpXMGsJlcd78/slDhxo7U7PIywPt8e5MD6ePS5mLxpM6WGVlrEoj4cVqdCjNjcQqkfy 5lFJsI2McwqIFdI86Wft8hNbXgAii1VMERQBZY3xkjayKwb6tO0DXSLBCePZLtiQBreOIF469YJ BNOA7+ah+067l9X8wfZn+5KLhSmX2cOOYgmcfsDcwezgnlW1RlBupdX/o/yuiMtzVvDoLvEAvB1 J0hoQrIIIVd2JKdeRRzzO9u1wzMX5y6g15zLe1dAalC6jk5Iswc3A4Xf10S0Sf+BZ1N+LxDLJ65 h3mM7nbPpbfrTKAmrPywzlUNahJo3OlBMWpYOw9L1uXK76ZTz3hiGXxJBoAsQDPdah3rdPy1HYw ifqpq8yzOcnX6SQ+yr3P7BwbQG2iut4NVbuMjuoxJpz+hMOB8eCSnYxf1ZFJhbBc29KI29UYcsZ TJP9dapPj4= X-Received: by 2002:a17:90b:5865:b0:35d:b00a:3c54 with SMTP id 98e67ed59e1d1-3614049447emr2541018a91.22.1776423875925; Fri, 17 Apr 2026 04:04:35 -0700 (PDT) Received: from chaitanya-virtualbox.. ([103.249.241.52]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-361410bafa9sm1758409a91.15.2026.04.17.04.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Apr 2026 04:04:35 -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 v2] ASoC: dt-bindings: cdns: Convert xtfpga I2S to dt-schema Date: Fri, 17 Apr 2026 16:34:10 +0530 Message-ID: <20260417110410.4482-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 (YAML). 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. Reviewed-by: Max Filippov Signed-off-by: Chaitanya Sabnis --- .../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