Skip to contentSkip to conversation

dt-bindings: bus: omap-l3: Convert to DT schema

PATCH Applied Bhargav Joshi 4 participants 9 messages Nov 12 – Dec 3

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v4 cover dt-bindings: bus: omap-l3: Convert to DT schema

This series converts the TI OMAP L3 binding from text to DT schema.

The text binding grouped OMAP3 (SMX IP) and OMAP4+ (Arteris NoC IP) together. split into two schemas because OMAP3 (SMX) and OMAP4+ (Arteris NoC) are different hardware IPs.

- patch 1 adds a missing unit address to the ABB regulator node in the OMAP36xx devicetree to fix a validation warning.
- patch 2 converts OMAP3 L3 SMX interconnect.
- patch 3 converts the OMAP4+ L3 NoC interconnect.

---
Changes in v4:
- Fix SMX example node.
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- Split bidning into two SMX and NOC variants.
- Fix reg maxItems to 2 for ti,dra7-l3-noc L3_MAIN_2 is a submodule of L3_MAIN_1.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Move binding to bindings/bus/
- Rebase to latest mainline rc
- Add unit address to regulator-abb-mpu node
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Bhargav Joshi (3):
ARM: dts: omap36xx: Add unit address to ABB regulator node
dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema
dt-bindings: bus: ti,omap-l3-noc: Convert to DT schema

 .../devicetree/bindings/arm/omap/l3-noc.txt        | 23 -------
 .../devicetree/bindings/bus/ti,omap-l3-noc.yaml    | 71 ++++++++++++++++++++++
 .../devicetree/bindings/bus/ti,omap3-l3-smx.yaml   | 68 +++++++++++++++++++++
 arch/arm/boot/dts/ti/omap/omap36xx.dtsi            |  2 +-
 4 files changed, 140 insertions(+), 24 deletions(-)

---
base-commit: fa4ad798f6f681031775266044ba1b0cf3c670bd
change-id: 20261002-ti-l3-noc-28dfca81fdc5

Best regards,

Signature · 1 line
Bhargav
#1 lore raw

PATCH v4 1/3 ARM: dts: omap36xx: Add unit address to ABB regulator node

The ti,abb-v1 node abb_mpu_iva has a reg property but no unit address, which violates the devicetree rule that the unit address must match the first reg entry.

Add unit address to the ABB node in omap3.

---
 arch/arm/boot/dts/ti/omap/omap36xx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/ti/omap/omap36xx.dtsi +1 -1
index c217094b50abc..6df66eb7e7eeb 100644
@@ -92,7 +92,7 @@ uart4: serial@49042000 {
 			clock-frequency = <48000000>;
 		};
 
-		abb_mpu_iva: regulator-abb-mpu {
+		abb_mpu_iva: regulator-abb-mpu@483072f0 {
 			compatible = "ti,abb-v1";
 			regulator-name = "abb_mpu_iva";
 			#address-cells = <0>;
Signature · 1 line
2.56.0
#2 lore raw

PATCH v4 2/3 dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema

In reply to Bhargav Joshi

Convert TI OMAP3 L3 interconnect from text to DT schema. In text binding this was grouped with omap4+ L3 noc interconnect but since it uses different hardware IP (SMX). Add SMX variant in new schema.

---
 .../devicetree/bindings/arm/omap/l3-noc.txt        |  5 +-
 .../devicetree/bindings/bus/ti,omap3-l3-smx.yaml   | 68 ++++++++++++++++++++++
 2 files changed, 70 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/arm/omap/l3-noc.txt +2 -3
index 161448da959d2..66548395fbdeb 100644
@@ -4,10 +4,9 @@ This version is an implementation of the generic NoC IP
 provided by Arteris.
 
 Required properties:
-- compatible : Should be "ti,omap3-l3-smx" for OMAP3 family
-               Should be "ti,omap4-l3-noc" for OMAP4 family
+- compatible : Should be "ti,omap4-l3-noc" for OMAP4 family
                Should be "ti,omap5-l3-noc" for OMAP5 family
-	       Should be "ti,dra7-l3-noc" for DRA7 family
+	           Should be "ti,dra7-l3-noc" for DRA7 family
                Should be "ti,am4372-l3-noc" for AM43 family
 - reg:	Contains L3 register address range for each noc domain.
 - ti,hwmods: "l3_main_1", ... One hwmod for each noc domain.
Documentation/devicetree/bindings/bus/ti,omap3-l3-smx.yaml new file +68 -0

68 lines not on this page · raw message

Signature · 1 line
2.56.0
maintainer Reviewed-by on v4 2/3
#3 lore raw

Re: [PATCH v4 2/3] dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema

Quoted 10 lines · Bhargav Joshi

Convert TI OMAP3 L3 interconnect from text to DT schema. In text binding this was grouped with omap4+ L3 noc interconnect but since it uses different hardware IP (SMX). Add SMX variant in new schema.

---
 .../devicetree/bindings/arm/omap/l3-noc.txt        |  5 +-
 .../devicetree/bindings/bus/ti,omap3-l3-smx.yaml   | 68 ++++++++++++++++++++++
 2 files changed, 70 insertions(+), 3 deletions(-)
maintainer Reviewed-by on v4 2/3
#4 lore raw

Re: [PATCH v4 2/3] dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema

In reply to Bhargav Joshi
Quoted 5 lines · On Fri, 13 Nov 2026 00:24:03 +0530 Bhargav Joshi <[email protected]> wrote:

Convert TI OMAP3 L3 interconnect from text to DT schema. In text binding this was grouped with omap4+ L3 noc interconnect but since it uses different hardware IP (SMX). Add SMX variant in new schema.

Quoted 97 lines
---
 .../devicetree/bindings/arm/omap/l3-noc.txt        |  5 +-
 .../devicetree/bindings/bus/ti,omap3-l3-smx.yaml   | 68 ++++++++++++++++++++++
 2 files changed, 70 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/arm/omap/l3-noc.txt +2 -3
index 161448da959d2..66548395fbdeb 100644
@@ -4,10 +4,9 @@ This version is an implementation of the generic NoC IP
 provided by Arteris.
 
 Required properties:
-- compatible : Should be "ti,omap3-l3-smx" for OMAP3 family
-               Should be "ti,omap4-l3-noc" for OMAP4 family
+- compatible : Should be "ti,omap4-l3-noc" for OMAP4 family
                Should be "ti,omap5-l3-noc" for OMAP5 family
-	       Should be "ti,dra7-l3-noc" for DRA7 family
+	           Should be "ti,dra7-l3-noc" for DRA7 family
                Should be "ti,am4372-l3-noc" for AM43 family
 - reg:	Contains L3 register address range for each noc domain.
 - ti,hwmods: "l3_main_1", ... One hwmod for each noc domain.
Documentation/devicetree/bindings/bus/ti,omap3-l3-smx.yaml new file +68 -0
new file mode 100644
index 0000000000000..3fc5fae7b37ba
@@ -0,0 +1,68 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/bus/ti,omap3-l3-smx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TI OMAP3 L3 (SMX) Interconnect
+
+maintainers:
+  - Santosh Shilimkar <[email protected]>
+  - Sricharan R <[email protected]>
+
+description:
+  The L3 interconnect for OMAP3 is based on the SonicsMX (SMX) architecture.
+
+properties:
+  compatible:
+    items:
+      - const: ti,omap3-l3-smx
+      - const: simple-bus
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    items:
+      - description: l3-dbg-irq
+      - description: l3-app-irq
+
+  ti,hwmods:
+    description: hwmod names for each domain.
+    $ref: /schemas/types.yaml#/definitions/string
+    const: l3_main
+    deprecated: true
+
+  "#address-cells":
+    const: 1
+
+  "#size-cells":
+    const: 1
+
+  ranges: true
+
+patternProperties:
+  "^.*@[0-9a-f]+$":
+    type: object
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - "#address-cells"
+  - "#size-cells"
+  - ranges
+
+additionalProperties: false
+
+examples:
+  - |
+    bus@68000000 {
+        compatible = "ti,omap3-l3-smx", "simple-bus";
+        reg = <0x68000000 0x10000>;
+        ranges;
+        #address-cells = <1>;
+        #size-cells = <1>;
+        interrupts = <9>, <10>;
+        ti,hwmods = "l3_main";
+    };
#5 lore raw

PATCH v4 3/3 dt-bindings: bus: ti,omap-l3-noc: Convert to DT schema

In reply to Bhargav Joshi

Convert the TI OMAP L3 NoC binding from text to DT schema. Drop deprecated ti,hwmods as it is not used anymore.

---
 .../devicetree/bindings/arm/omap/l3-noc.txt        | 22 -------
 .../devicetree/bindings/bus/ti,omap-l3-noc.yaml    | 71 ++++++++++++++++++++++
 2 files changed, 71 insertions(+), 22 deletions(-)
Documentation/devicetree/bindings/arm/omap/l3-noc.txt deleted +0 -22
deleted file mode 100644
index 66548395fbdeb..0000000000000
@@ -1,22 +0,0 @@
-* TI - L3 Network On Chip (NoC)
-
-This version is an implementation of the generic NoC IP
-provided by Arteris.
-
-Required properties:
-- compatible : Should be "ti,omap4-l3-noc" for OMAP4 family
-               Should be "ti,omap5-l3-noc" for OMAP5 family
-	           Should be "ti,dra7-l3-noc" for DRA7 family
-               Should be "ti,am4372-l3-noc" for AM43 family
-- reg:	Contains L3 register address range for each noc domain.
-- ti,hwmods: "l3_main_1", ... One hwmod for each noc domain.
-
-Examples:
-
-ocp {
-	compatible = "ti,omap4-l3-noc", "simple-bus";
-	#address-cells = <1>;
-	#size-cells = <1>;
-	ranges;
-	ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
-};
Documentation/devicetree/bindings/bus/ti,omap-l3-noc.yaml new file +71 -0

71 lines not on this page · raw message

Signature · 1 line
2.56.0
maintainer Reviewed-by on v4 3/3
#6 lore raw

Re: [PATCH v4 3/3] dt-bindings: bus: ti,omap-l3-noc: Convert to DT schema

Quoted 9 lines · Bhargav Joshi

Convert the TI OMAP L3 NoC binding from text to DT schema. Drop deprecated ti,hwmods as it is not used anymore.

---
 .../devicetree/bindings/arm/omap/l3-noc.txt        | 22 -------
 .../devicetree/bindings/bus/ti,omap-l3-noc.yaml    | 71 ++++++++++++++++++++++
 2 files changed, 71 insertions(+), 22 deletions(-)
maintainer Reviewed-by on v4 3/3
#7 lore raw

Re: [PATCH v4 3/3] dt-bindings: bus: ti,omap-l3-noc: Convert to DT schema

In reply to Bhargav Joshi
Quoted 4 lines · On Fri, 13 Nov 2026 00:24:04 +0530 Bhargav Joshi <[email protected]> wrote:

Convert the TI OMAP L3 NoC binding from text to DT schema. Drop deprecated ti,hwmods as it is not used anymore.

Quoted 111 lines
---
 .../devicetree/bindings/arm/omap/l3-noc.txt        | 22 -------
 .../devicetree/bindings/bus/ti,omap-l3-noc.yaml    | 71 ++++++++++++++++++++++
 2 files changed, 71 insertions(+), 22 deletions(-)
Documentation/devicetree/bindings/arm/omap/l3-noc.txt deleted +0 -22
deleted file mode 100644
index 66548395fbdeb..0000000000000
@@ -1,22 +0,0 @@
-* TI - L3 Network On Chip (NoC)
-
-This version is an implementation of the generic NoC IP
-provided by Arteris.
-
-Required properties:
-- compatible : Should be "ti,omap4-l3-noc" for OMAP4 family
-               Should be "ti,omap5-l3-noc" for OMAP5 family
-	           Should be "ti,dra7-l3-noc" for DRA7 family
-               Should be "ti,am4372-l3-noc" for AM43 family
-- reg:	Contains L3 register address range for each noc domain.
-- ti,hwmods: "l3_main_1", ... One hwmod for each noc domain.
-
-Examples:
-
-ocp {
-	compatible = "ti,omap4-l3-noc", "simple-bus";
-	#address-cells = <1>;
-	#size-cells = <1>;
-	ranges;
-	ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
-};
Documentation/devicetree/bindings/bus/ti,omap-l3-noc.yaml new file +71 -0
new file mode 100644
index 0000000000000..85f314f177379
@@ -0,0 +1,71 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/bus/ti,omap-l3-noc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TI OMAP L3 Network On Chip (NoC) Interconnect
+
+maintainers:
+  - Santosh Shilimkar <[email protected]>
+  - Sricharan R <[email protected]>
+
+description:
+  The L3 interconnect is an implementation of the generic NoC IP provided by
+  Arteris.
+
+properties:
+  compatible:
+    enum:
+      - ti,omap4-l3-noc
+      - ti,omap5-l3-noc
+      - ti,dra7-l3-noc
+      - ti,am4372-l3-noc
+
+  reg:
+    minItems: 2
+    items:
+      - description: L3_MAIN_1 / L3F
+      - description: L3_MAIN_2 / L3S
+      - description: L3_MAIN_3
+
+  interrupts:
+    items:
+      - description: l3-dbg-irq
+      - description: l3-app-irq
+
+required:
+  - compatible
+  - reg
+  - interrupts
+
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - ti,omap4-l3-noc
+              - ti,omap5-l3-noc
+    then:
+      properties:
+        reg:
+          minItems: 3
+    else:
+      properties:
+        reg:
+          maxItems: 2
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+    l3-noc@44000000 {
+        compatible = "ti,omap4-l3-noc";
+        reg = <0x44000000 0x1000>,
+              <0x44800000 0x2000>,
+              <0x45000000 0x1000>;
+        interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+    };
maintainer Applied
#8 lore raw
In reply to Bhargav Joshi
Quoted 6 lines · Bhargav Joshi

This series converts the TI OMAP L3 binding from text to DT schema.

The text binding grouped OMAP3 (SMX IP) and OMAP4+ (Arteris NoC IP) together. split into two schemas because OMAP3 (SMX) and OMAP4+ (Arteris NoC) are different hardware IPs.

Quoted 6 lines

- patch 1 adds a missing unit address to the ABB regulator node in the OMAP36xx devicetree to fix a validation warning.
- patch 2 converts OMAP3 L3 SMX interconnect.
- patch 3 converts the OMAP4+ L3 NoC interconnect.

[...]

Applied, thanks!

[1/3] ARM: dts: omap36xx: Add unit address to ABB regulator node

      commit: 07eccee40ff78350759b809ab2f61116f389398f
[2/3] dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema
      commit: 0115d68cc6bb8d5e2bbb78b298c874c1a2921c69
[3/3] dt-bindings: bus: ti,omap-l3-noc: Convert to DT schema
      commit: ab8bfe5aeed8130f0e6e3f63d3456622b9e7e1e1

Best regards,

Signature · 1 line
Kevin Hilman (TI) <[email protected]>