* [PATCH v3 0/3] dt-bindings: bus: omap-l3: Convert to DT schema
@ 2026-11-12 17:51 Bhargav Joshi
2026-11-12 17:51 ` [PATCH v3 1/3] ARM: dts: omap36xx: Add unit address to ABB regulator node Bhargav Joshi
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Bhargav Joshi @ 2026-11-12 17:51 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Santosh Shilimkar,
Sricharan R, Aaro Koskinen, Andreas Kemnade, Kevin Hilman,
Roger Quadros, Tony Lindgren
Cc: devicetree, linux-kernel, goledhruva, m-chawdhry, daniel.baluta,
simona.toaca, j.bhargav.u, linux-omap
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.
Signed-off-by: Bhargav Joshi <j.bhargav.u@gmail.com>
---
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/20261109-ti-l3-noc-v2-0-509e8485a1f3@gmail.com
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/20261003-ti-l3-noc-v1-1-9bd18cac33e9@gmail.com
---
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,
--
Bhargav
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 1/3] ARM: dts: omap36xx: Add unit address to ABB regulator node
2026-11-12 17:51 [PATCH v3 0/3] dt-bindings: bus: omap-l3: Convert to DT schema Bhargav Joshi
@ 2026-11-12 17:51 ` Bhargav Joshi
2026-11-12 17:51 ` [PATCH v3 2/3] dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema Bhargav Joshi
2026-11-12 17:51 ` [PATCH v3 3/3] dt-bindings: bus: ti,omap-l3-noc: " Bhargav Joshi
2 siblings, 0 replies; 5+ messages in thread
From: Bhargav Joshi @ 2026-11-12 17:51 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Santosh Shilimkar,
Sricharan R, Aaro Koskinen, Andreas Kemnade, Kevin Hilman,
Roger Quadros, Tony Lindgren
Cc: devicetree, linux-kernel, goledhruva, m-chawdhry, daniel.baluta,
simona.toaca, j.bhargav.u, linux-omap
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.
Signed-off-by: Bhargav Joshi <j.bhargav.u@gmail.com>
---
arch/arm/boot/dts/ti/omap/omap36xx.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/ti/omap/omap36xx.dtsi b/arch/arm/boot/dts/ti/omap/omap36xx.dtsi
index c217094b50abc..6df66eb7e7eeb 100644
--- a/arch/arm/boot/dts/ti/omap/omap36xx.dtsi
+++ b/arch/arm/boot/dts/ti/omap/omap36xx.dtsi
@@ -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>;
--
2.56.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3 2/3] dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema
2026-11-12 17:51 [PATCH v3 0/3] dt-bindings: bus: omap-l3: Convert to DT schema Bhargav Joshi
2026-11-12 17:51 ` [PATCH v3 1/3] ARM: dts: omap36xx: Add unit address to ABB regulator node Bhargav Joshi
@ 2026-11-12 17:51 ` Bhargav Joshi
2026-11-12 18:08 ` sashiko-bot
2026-11-12 17:51 ` [PATCH v3 3/3] dt-bindings: bus: ti,omap-l3-noc: " Bhargav Joshi
2 siblings, 1 reply; 5+ messages in thread
From: Bhargav Joshi @ 2026-11-12 17:51 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Santosh Shilimkar,
Sricharan R, Aaro Koskinen, Andreas Kemnade, Kevin Hilman,
Roger Quadros, Tony Lindgren
Cc: devicetree, linux-kernel, goledhruva, m-chawdhry, daniel.baluta,
simona.toaca, j.bhargav.u, linux-omap
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.
Signed-off-by: Bhargav Joshi <j.bhargav.u@gmail.com>
---
.../devicetree/bindings/arm/omap/l3-noc.txt | 5 +-
.../devicetree/bindings/bus/ti,omap3-l3-smx.yaml | 68 ++++++++++++++++++++++
2 files changed, 70 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/omap/l3-noc.txt b/Documentation/devicetree/bindings/arm/omap/l3-noc.txt
index 161448da959d2..66548395fbdeb 100644
--- a/Documentation/devicetree/bindings/arm/omap/l3-noc.txt
+++ b/Documentation/devicetree/bindings/arm/omap/l3-noc.txt
@@ -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.
diff --git a/Documentation/devicetree/bindings/bus/ti,omap3-l3-smx.yaml b/Documentation/devicetree/bindings/bus/ti,omap3-l3-smx.yaml
new file mode 100644
index 0000000000000..11f0ebb0cdfc2
--- /dev/null
+++ b/Documentation/devicetree/bindings/bus/ti,omap3-l3-smx.yaml
@@ -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 <santosh.shilimkar@ti.com>
+ - Sricharan R <r.sricharan@ti.com>
+
+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:
+ - |
+ l3-noc@68000000 {
+ compatible = "ti,omap3-l3-smx", "simple-bus";
+ reg = <0x68000000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+ interrupts = <9>, <10>;
+ ti,hwmods = "l3_main";
+ };
--
2.56.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3 3/3] dt-bindings: bus: ti,omap-l3-noc: Convert to DT schema
2026-11-12 17:51 [PATCH v3 0/3] dt-bindings: bus: omap-l3: Convert to DT schema Bhargav Joshi
2026-11-12 17:51 ` [PATCH v3 1/3] ARM: dts: omap36xx: Add unit address to ABB regulator node Bhargav Joshi
2026-11-12 17:51 ` [PATCH v3 2/3] dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema Bhargav Joshi
@ 2026-11-12 17:51 ` Bhargav Joshi
2 siblings, 0 replies; 5+ messages in thread
From: Bhargav Joshi @ 2026-11-12 17:51 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Santosh Shilimkar,
Sricharan R, Aaro Koskinen, Andreas Kemnade, Kevin Hilman,
Roger Quadros, Tony Lindgren
Cc: devicetree, linux-kernel, goledhruva, m-chawdhry, daniel.baluta,
simona.toaca, j.bhargav.u, linux-omap
Convert the TI OMAP L3 NoC binding from text to DT schema. Drop
deprecated ti,hwmods as it is not used anymore.
Signed-off-by: Bhargav Joshi <j.bhargav.u@gmail.com>
---
.../devicetree/bindings/arm/omap/l3-noc.txt | 22 -------
.../devicetree/bindings/bus/ti,omap-l3-noc.yaml | 71 ++++++++++++++++++++++
2 files changed, 71 insertions(+), 22 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/omap/l3-noc.txt b/Documentation/devicetree/bindings/arm/omap/l3-noc.txt
deleted file mode 100644
index 66548395fbdeb..0000000000000
--- a/Documentation/devicetree/bindings/arm/omap/l3-noc.txt
+++ /dev/null
@@ -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";
-};
diff --git a/Documentation/devicetree/bindings/bus/ti,omap-l3-noc.yaml b/Documentation/devicetree/bindings/bus/ti,omap-l3-noc.yaml
new file mode 100644
index 0000000000000..85f314f177379
--- /dev/null
+++ b/Documentation/devicetree/bindings/bus/ti,omap-l3-noc.yaml
@@ -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 <santosh.shilimkar@ti.com>
+ - Sricharan R <r.sricharan@ti.com>
+
+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>;
+ };
--
2.56.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3 2/3] dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema
2026-11-12 17:51 ` [PATCH v3 2/3] dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema Bhargav Joshi
@ 2026-11-12 18:08 ` sashiko-bot
0 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-11-12 18:08 UTC (permalink / raw)
To: Bhargav Joshi; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: bus: ti,omap3-l3-smx: non-canonical property order
and example
--
commit 1d6cabb054788aa85ea27e9a6e910d618ff518a6
Author: Bhargav Joshi <j.bhargav.u@gmail.com>
dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema
This commit splits the TI OMAP3 L3 SMX interconnect binding out of
Documentation/devicetree/bindings/arm/omap/l3-noc.txt and converts it to a DT
schema under Documentation/devicetree/bindings/bus/ti,omap3-l3-smx.yaml.
> diff --git a/Documentation/devicetree/bindings/bus/ti,omap3-l3-smx.yaml b/Documentation/devicetree/bindings/bus/ti,omap3-l3-smx.yaml
> new file mode 100644
> index 0000000000000..11f0ebb0cdfc2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/bus/ti,omap3-l3-smx.yaml
[ ... ]
> +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:
> + - |
> + l3-noc@68000000 {
> + compatible = "ti,omap3-l3-smx", "simple-bus";
> + reg = <0x68000000 0x10000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;
> + interrupts = <9>, <10>;
> + ti,hwmods = "l3_main";
> + };
[Severity: Low]
Does the example pass scripts/dtc/dt-check-style --mode=strict?
Placing ranges after #address-cells and #size-cells in the example triggers a
[property-order] warning from scripts/dtc/dt-check-style --mode=strict, as
Documentation/devicetree/bindings/dts-coding-style.rst orders properties as
compatible, reg, ranges, standard/common properties, and then vendor-specific
properties. Per Documentation/devicetree/bindings/writing-schema.rst, the
properties and required sections should follow this same order (moving ranges
right after reg, and moving the vendor-specific ti,hwmods to the end of
properties).
Also, in the example, should the node name be a generic name such as
bus@68000000 (instead of l3-noc@68000000, which refers to the OMAP4+ Arteris
NoC) and omit the deprecated ti,hwmods property?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261112-ti-l3-noc-v3-0-7281b1af8030@gmail.com?part=2
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-12 18:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 17:51 [PATCH v3 0/3] dt-bindings: bus: omap-l3: Convert to DT schema Bhargav Joshi
2026-11-12 17:51 ` [PATCH v3 1/3] ARM: dts: omap36xx: Add unit address to ABB regulator node Bhargav Joshi
2026-11-12 17:51 ` [PATCH v3 2/3] dt-bindings: bus: ti,omap3-l3-smx: Convert to DT schema Bhargav Joshi
2026-11-12 18:08 ` sashiko-bot
2026-11-12 17:51 ` [PATCH v3 3/3] dt-bindings: bus: ti,omap-l3-noc: " Bhargav Joshi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox