From nobody Wed Sep 30 10:01:16 2026 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.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 7E4453A1A55 for ; Mon, 10 Aug 2026 13:41:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786369265; cv=none; b=dBLftflMSFjtsgMKT48y9YFoCNbMfdoFjFget1jVLjm2cnqnFM7in0dILsPVq7VM+rkXh9kG0aWKxBTyQRp8n9bSJUr0vl50r21XO99kN2p2pYyGnL6Imr8amo/UuHF3D0mMOBxDZrElZirOODYxHkDHeThtYmCY/jT/X9Xldf8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786369265; c=relaxed/simple; bh=LA/0a06CBcq8NIcqlOzqgEkiAtM2qgLlLDEZKX/kdjU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QI0bPCYiwdMSWE+L8wBbojhN/i8gsvlFTgsxxLdoyRXGNZEqQyQaWc8VBodscUOW9T9jWj5sEzskSWPa1lVPyCaEFkv5gW6HjO7nDv0/9EzqLfiUiNI+TzAaryw8YnHcotTIXoIVAqeTjs8fkY67D30Sn1MUW2lDGnLUsN6JP1k= 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=aeGLpLvO; arc=none smtp.client-ip=209.85.128.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="aeGLpLvO" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4954dff6536so15629695e9.0 for ; Mon, 10 Aug 2026 06:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786369262; x=1786974062; 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:content-type; bh=wtud52AlEqqFOILsKBTozTKKN+FZdgc3NBX6f/UaI+8=; b=aeGLpLvOAACTnrn6sx9QFKyVZURQ4xKjriYbKkjOq/gwVkelK9cAjQiZrwD63PN35k Xtjt3yawVAdS+kVFg/rbeK03eKwaANlAa+oLcEZyNzLWnof4LflIIq17ik77xFt8/QN+ 2ubhX7eZASKCshSClj6vcvqgGBY+OtgqxyBhihPOF4Ky+8XcT2OTGz38iuwbV1OJ1OWZ hIPcE6z9oG6Lr2xTp1YGcmr2fY5ZsDzoLJybInRFpk0hvVs2s+kzIfv+FmVrNzXjRTnB IbfeTDB81nrdUr1vw9g47AHOZzvn2Wq1n3+hAqarwJTsCA/EkZEIYPvGDzpkaGbBTqUh Ipzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786369262; x=1786974062; 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:content-type; bh=wtud52AlEqqFOILsKBTozTKKN+FZdgc3NBX6f/UaI+8=; b=LODB+iboHqBU55P7TB7CaFie3v4+F/1f2FKRE8DgJg/QL6ekhTMO0njZzIw0AY4jdS 6VhkPbJLJNTUeo+JiSK9sGOTJ83G1ibRhtKknVg+Ura0P2tWw89cVQelIUk/b4EPKHW0 NjxS65FVglz7UMkdbdswJptQZ8Guu7XN1mOXPLjynqVQFnZqw2Q9gNvfoZE+qKS5+09H Y+wIakl+t1l9jHXBWx3AfHrMSlGIoNfWiMBGJu42RMz3k6wSKnH6OLX+x3uMr2c6SW8a wASRhyiFhYNhG2QgcNmEUUOC+1nK+invLyJBvJ8A6hq0Q2wvxG5VUb1k7p8kbSx8Xa6V QQMw== X-Forwarded-Encrypted: i=1; AHgh+RqsylgDl9Zl23/C6c/O8cE4JZXOLzN+EJVqbmfWEKO5WCu03B3gBfBAW/k+CE6PDCiTjatuRH7aOHlR3sQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yx6gwGLu/rpADKSEdm+X4MVkR/Svphm7FY0WWWrfmGSMRRG+vZt 1oZ/S7f21nruHIvEv5d9fzYyX2FzaSG3VOM6SrRF7v+gutlUk8KBXetc X-Gm-Gg: AR+sD13cp693NiZhxA455llTx8FrB2dHTFji96ZgjdsXKzFiosXDKO1wNprJQDwCOMh bbeuIHqaMHgTbwHD+hWUWWfRA+KdYpY4fhGyZtnHsih/hl++RX47H3rO3E4wUXxLMPkF6wBpfrr 7MWCbcdsGievzdDOxGchORloG7Jh2NHsKYnT5ajjFQR+yBUVxh7EC4WTeIiXO8SSfWmWcmeJRlM lFFzox9YyBgX3PVfM2NHWf1gRmFs3CB8uvghLz11vfA0CZwUC4jupbNyrEkLiKY/eEv+MP1Q/mk vvPx4Tpd2p1r5LxRgApwwTPA0GyB6+uTMFe5LJVwMd3kpbQ0B3zGIV5ETMAvQreV45ZXLryk6dq MFUMYcMN5Kp9oupVHtAoa2QM/ek3yMEHqcq6z+gL9krWvXK6mquEu+db1AwDOdW6vLKWEdvIJkS 0sy+SCUzGg/mdhCMm+bfC9Ta+46dtbbddrB6v5ozeNMLo7KVLvifUL6PxwgcTIRLfWeBo4IcIe3 30w5TiEkMjX/3RNdfaW5f9jRBF4HW4w60wc5qCDnQ== X-Received: by 2002:a05:600c:354a:b0:499:726b:7375 with SMTP id 5b1f17b1804b1-499726b73c4mr29698875e9.14.1786369261351; Mon, 10 Aug 2026 06:41:01 -0700 (PDT) Received: from localhost.localdomain ([82.137.32.40]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4995dee21dcsm306252935e9.0.2026.08.10.06.41.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Aug 2026 06:41:00 -0700 (PDT) From: Eduard Bostina To: Conor Dooley , devicetree@vger.kernel.org, Eduard Bostina , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Mark Brown , Rob Herring Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com Subject: [PATCH v3] dt-bindings: arm: omap: Convert L4 interconnect to DT schema Date: Mon, 10 Aug 2026 13:40:51 +0000 Message-ID: <20260810134051.380538-1-egbostina@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 Texas Instruments OMAP L4 interconnect bus bindings to DT schema. During the conversion, several updates were made: - Defined the compatible property as an array to require the TI-specific string first, followed by either 'simple-bus' or 'simple-pm-bus'. - Added a 'select' block to ensure this schema is only applied to TI-specific nodes, preventing duplicate schema warnings against the core simple-pm-bus.yaml. - Added the L4 compatible strings used by the boards but missing from the text binding, and corrected the 'ti,am3-l4-wkup' typo to 'ti,am33xx-l4-wkup'. - Made 'reg' and 'reg-names' optional. Signed-off-by: Eduard Bostina --- Changes in v3: - Restricted additional properties to child nodes ('additionalProperties: type: object') and defined the '#address-cells', '#size-cells', 'clocks', 'clock-names', 'power-domains' and 'dma-ranges' properties the L4 buses u= se. Link to v2: https://lore.kernel.org/all/20260723100540.628609-1-egbostina@gmail.com/ .../devicetree/bindings/arm/omap/l4.txt | 37 ----- .../bindings/arm/omap/ti,omap-l4.yaml | 140 ++++++++++++++++++ 2 files changed, 140 insertions(+), 37 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/omap/l4.txt create mode 100644 Documentation/devicetree/bindings/arm/omap/ti,omap-l4.y= aml diff --git a/Documentation/devicetree/bindings/arm/omap/l4.txt b/Documentat= ion/devicetree/bindings/arm/omap/l4.txt deleted file mode 100644 index 6816adcdc15f..000000000000 --- a/Documentation/devicetree/bindings/arm/omap/l4.txt +++ /dev/null @@ -1,37 +0,0 @@ -L4 interconnect bindings - -These bindings describe the OMAP SoCs L4 interconnect bus. - -Required properties: -- compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus - Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus - Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus - Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus - Should be "ti,omap4-l4-per" for OMAP4 family l4 per bus - Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus - Should be "ti,omap5-l4-cfg" for OMAP5 family l4 cfg bus - Should be "ti,omap5-l4-wkup" for OMAP5 family l4 wkup bus - Should be "ti,dra7-l4-cfg" for DRA7 family l4 cfg bus - Should be "ti,dra7-l4-wkup" for DRA7 family l4 wkup bus - Should be "ti,am3-l4-wkup" for AM33xx family l4 wkup bus - Should be "ti,am4-l4-wkup" for AM43xx family l4 wkup bus -- ranges : contains the IO map range for the bus -- reg : registers link agent and interconnect agent and access protection -- reg-names : "la" for link agent, "ia0" to "ia3" for one to three - interconnect agent instances, "ap" for access if it exists - -Examples: - -l4: interconnect@48000000 { - compatible "ti,omap4-l4-per", "simple-bus"; - reg =3D <0x48000000 0x800>, - <0x48000800 0x800>, - <0x48001000 0x400>, - <0x48001400 0x400>, - <0x48001800 0x400>, - <0x48001c00 0x400>; - reg-names =3D "ap", "la", "ia0", "ia1", "ia2", "ia3"; - #address-cells =3D <1>; - #size-cells =3D <1>; - ranges =3D <0 0x48000000 0x100000>; -}; diff --git a/Documentation/devicetree/bindings/arm/omap/ti,omap-l4.yaml b/D= ocumentation/devicetree/bindings/arm/omap/ti,omap-l4.yaml new file mode 100644 index 000000000000..4f3ed55ab68b --- /dev/null +++ b/Documentation/devicetree/bindings/arm/omap/ti,omap-l4.yaml @@ -0,0 +1,140 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/omap/ti,omap-l4.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI OMAP SoCs L4 interconnect bus + +maintainers: + - Eduard Bostina + +description: + These bindings describe the OMAP SoCs L4 interconnect bus. + +select: + properties: + compatible: + contains: + enum: + - ti,omap2-l4 + - ti,omap2-l4-wkup + - ti,omap3-l4-core + - ti,omap4-l4-abe + - ti,omap4-l4-cfg + - ti,omap4-l4-per + - ti,omap4-l4-wkup + - ti,omap5-l4-abe + - ti,omap5-l4-cfg + - ti,omap5-l4-per + - ti,omap5-l4-wkup + - ti,dra7-l4-cfg + - ti,dra7-l4-per1 + - ti,dra7-l4-per2 + - ti,dra7-l4-per3 + - ti,dra7-l4-wkup + - ti,am33xx-l4-fast + - ti,am33xx-l4-fw + - ti,am33xx-l4-mpuss + - ti,am33xx-l4-per + - ti,am33xx-l4-wkup + - ti,am4-l4-fast + - ti,am4-l4-per + - ti,am4-l4-wkup + - ti,dm814-l4hs + - ti,dm814-l4ls + required: + - compatible + +properties: + compatible: + items: + - enum: + - ti,omap2-l4 + - ti,omap2-l4-wkup + - ti,omap3-l4-core + - ti,omap4-l4-abe + - ti,omap4-l4-cfg + - ti,omap4-l4-per + - ti,omap4-l4-wkup + - ti,omap5-l4-abe + - ti,omap5-l4-cfg + - ti,omap5-l4-per + - ti,omap5-l4-wkup + - ti,dra7-l4-cfg + - ti,dra7-l4-per1 + - ti,dra7-l4-per2 + - ti,dra7-l4-per3 + - ti,dra7-l4-wkup + - ti,am33xx-l4-fast + - ti,am33xx-l4-fw + - ti,am33xx-l4-mpuss + - ti,am33xx-l4-per + - ti,am33xx-l4-wkup + - ti,am4-l4-fast + - ti,am4-l4-per + - ti,am4-l4-wkup + - ti,dm814-l4hs + - ti,dm814-l4ls + - enum: + - simple-bus + - simple-pm-bus + + reg: + minItems: 1 + maxItems: 6 + + reg-names: + minItems: 1 + maxItems: 6 + items: + enum: + - ap + - la + - ia0 + - ia1 + - ia2 + - ia3 + + ranges: true + + dma-ranges: true + + clocks: + maxItems: 1 + + clock-names: + items: + - const: fck + + power-domains: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +required: + - compatible + - ranges + +additionalProperties: + type: object + +examples: + - | + bus@48000000 { + compatible =3D "ti,omap4-l4-per", "simple-bus"; + reg =3D <0x48000000 0x800>, + <0x48000800 0x800>, + <0x48001000 0x400>, + <0x48001400 0x400>, + <0x48001800 0x400>, + <0x48001c00 0x400>; + reg-names =3D "ap", "la", "ia0", "ia1", "ia2", "ia3"; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x48000000 0x100000>; + }; --=20 2.43.0