[PATCH v3 2/2] dt-bindings: soc: ti: Convert IVA to DT schema

From: Eduard Bostina

Date: Wed Jul 08 2026 - 07:28:52 EST


Convert the Texas Instruments IVA bindings to DT schema.

During the conversion, the following updates were made:
- Moved the binding to bindings/soc/ti/
- Removed 'ti,iva' from the example as it is undocumented and
unused.
- Make the 'ti,hwmods' property conditionally required. Modern ti-sysc
deployments do not require it for probing, but older
OMAP2/3 platforms relying on omap_device.c still need it.
- Documented the 'dsp' child node, which is actively used in the OMAP3
device tree (omap3.dtsi) but was missing from the old txt binding.

Signed-off-by: Eduard Bostina <egbostina@xxxxxxxxx>
---
.../devicetree/bindings/arm/omap/iva.txt | 19 ------
.../devicetree/bindings/soc/ti/ti,iva.yaml | 61 +++++++++++++++++++
2 files changed, 61 insertions(+), 19 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/arm/omap/iva.txt
create mode 100644 Documentation/devicetree/bindings/soc/ti/ti,iva.yaml

diff --git a/Documentation/devicetree/bindings/arm/omap/iva.txt b/Documentation/devicetree/bindings/arm/omap/iva.txt
deleted file mode 100644
index 6d6295171358..000000000000
--- a/Documentation/devicetree/bindings/arm/omap/iva.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-* TI - IVA (Imaging and Video Accelerator) subsystem
-
-The IVA contain various audio, video or imaging HW accelerator
-depending of the version.
-
-Required properties:
-- compatible : Should be:
- - "ti,ivahd" for OMAP4
- - "ti,iva2.2" for OMAP3
- - "ti,iva2.1" for OMAP2430
- - "ti,iva1" for OMAP2420
-- ti,hwmods: "iva"
-
-Examples:
-
-iva {
- compatible = "ti,ivahd", "ti,iva";
- ti,hwmods = "iva";
-};
diff --git a/Documentation/devicetree/bindings/soc/ti/ti,iva.yaml b/Documentation/devicetree/bindings/soc/ti/ti,iva.yaml
new file mode 100644
index 000000000000..ac87d0bac87d
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/ti/ti,iva.yaml
@@ -0,0 +1,61 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/ti/ti,iva.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments IVA (Imaging and Video Accelerator)
+
+maintainers:
+ - Eduard Bostina <egbostina@xxxxxxxxx>
+
+properties:
+ compatible:
+ enum:
+ - ti,iva1
+ - ti,iva2.1
+ - ti,iva2.2
+ - ti,ivahd
+
+ ti,hwmods:
+ description: Name of the hwmod associated to the iva
+ $ref: /schemas/types.yaml#/definitions/string
+ const: iva
+
+ dsp:
+ type: object
+ $ref: /schemas/soc/ti/ti,omap3-c64.yaml#
+ unevaluatedProperties: false
+
+required:
+ - compatible
+
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - ti,iva1
+ - ti,iva2.1
+ - ti,iva2.2
+ then:
+ required:
+ - ti,hwmods
+
+additionalProperties: false
+
+examples:
+ - |
+ iva {
+ compatible = "ti,iva2.2";
+ ti,hwmods = "iva";
+ dsp {
+ compatible = "ti,omap3-c64";
+ };
+ };
+ - |
+ iva {
+ compatible = "ti,ivahd";
+ ti,hwmods = "iva";
+ };
--
2.43.0