From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.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 3D5D6408606 for ; Tue, 30 Jun 2026 13:29:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782826171; cv=none; b=d9t48OmuUsyJrFLJagPJUys/meJvSXFnBl/0V0xEFbR/5PkJpW7goiYj11Rwdq9EqvDGRIGkX5Jq2NoqAlHm9YtEBQ4xm9nInrq3g0V/Xu0gfu7mQLqXUQXL/nqbSVjrBslPFsBK8T95+kyaVvOthhfcZPtFWp2O7mHV0VfPGJE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782826171; c=relaxed/simple; bh=KvS9iboCv+JWrm9Ck/dGTtEkDnBtU38cR0QXS35kEhU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CVRTx/xXqI/+YXo2DSAyj7eK+tMjOcLnv9j7hrEtJO20Sde5ITsvAM8i8InAaV5mzA4jA4T8JccSM4MceY5w6xIfZyzKAiEQZ7c9gzUuvW7tV1MtbvX+GE+Q76BlBs6fXgu2YBIo0gx16xlbFRNUhCFrusopCw36NhPpKuJI/uo= 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=IPtTNdEa; arc=none smtp.client-ip=209.85.128.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="IPtTNdEa" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4903d730b1fso54834885e9.2 for ; Tue, 30 Jun 2026 06:29:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782826168; x=1783430968; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mJoToAgBZ7GSul4H71JDZ8KBe0DXnlaCKvXioqaRVM0=; b=IPtTNdEaho71Qlw6i9yH+dJHqf1JZvFyuq43FykEs2mbJyp4wgQZqMAFkjW3azojTD kOxSm3iu+EThdPxXj62iPXu6DgcFI1qYRwIEqg5WVI3DId7ArW/OHM+oj/ZWn1waeyX3 /nsAcO1dOXrL8CpcbvQrxB44rK+ud8xYZ+Nvlwoz6CzcYgInmRedxlUupjnPBzqLP1Hh 8zo975b3yDKKWBtAO1cWvpoRUHFMO3jReRdkZEL0HuYtzaSz8Ap3ZGlpEuZc4OScJxT8 kC3N/K76nF4UQS1c9Z1r0otxzbCS/LOnEr7fcvhXFwsq9Ig1WBnXWHMw6vbSF+lhgrKD k4yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782826168; x=1783430968; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=mJoToAgBZ7GSul4H71JDZ8KBe0DXnlaCKvXioqaRVM0=; b=s7wlqAzBH2U3siksliWNR4DlAQDbhMJchEthGMXMC3E7zWmJ7AQjj1WyAhZXIAJPEy EeL0Hsm+odKGQlT2JAGRisGDzhauhmCmIYk7p1/OBTWYFlCunB+ST1Ge5PM9MpYcYkvk SwHu7uSsYFM1Knz11hdUOzy8QhHbuzARDqHwj7dI7GKt5bSmnMZbLgJURecg37I/UAh0 WEiwRwRosbbG0fQftrhc3NNmDCtW4fS62nRGTGpJNmD6Kv//0Kw4EEC2pADF4UXBUjO4 1i3GDG0B89nWoX6chVx3yDXvmqGB0dRck4O8gO3B659HXp79CjaQYzzko74fIH76bdS8 zWfg== X-Forwarded-Encrypted: i=1; AFNElJ+BVlJG0Ec7ksIsSTVBs6SD6b5IX1pnWp53K+TO+iYaTLQRmpnsflxgurB4ALtzKf5KI3IWihTP1P6EYWk=@vger.kernel.org X-Gm-Message-State: AOJu0YzsgdK5QPpjbRqMiYaoZ8zOYWuNRDtp5WC1zpYNhpmYq/GHGKAQ 9Vn4jpvaBXYAm56U3Djvydd2k9VXBVqsttGb18yLBCTq70KNU/qkIzZX X-Gm-Gg: AfdE7ckRWrUDT5K89fRPhC2d4aNmItRJgpdNTEcIa+k9Acr2+50tba5OWRPtpix2DZd KvZn46OLLvA4rI4EJfNYGKiFW2/7ZE81B4da/AngwPhJehfpuNHMLk46NDLI82SuJC7oI7/n9MW 34YMtxTXT0uljEs2zsDHlqHQQ369A+7X+IgmM4lKzq5CUlAxEGVbYSL74LvK2PeR9kpqqT8c+L5 4547o3u3AoOiLMLemV9vesojlrRDW6vBCjS2zgvBeZXHa8sWTEec5/iIGBz8737d8jNzD6rVCny sirSbVeABor0RYDd3oT8HH/7J7N+XsLLBJPMXoK1VaDoG4eCMkTitQyqB1ac6Ub8maRF/9tmgr4 GDgr2x25CTQ2LtgFk8m23kRZtRV2aDk+KjjILcJcpB1BAsU9c567JO4tHEZBGVuAgnUUBMi6eJB Dlxe8v28V7mfs9pCuSLUKiRA9UhBEkHDRu6ZaiQM2j344UMYUjSEYfJg== X-Received: by 2002:a05:600c:46ca:b0:493:bd71:6084 with SMTP id 5b1f17b1804b1-493bdab0243mr8820915e9.31.1782826168176; Tue, 30 Jun 2026 06:29:28 -0700 (PDT) Received: from localhost.localdomain ([82.77.79.113]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-47566743895sm7913706f8f.25.2026.06.30.06.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2026 06:29:27 -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 2/2] dt-bindings: arm: omap: Convert IVA to DT schema Date: Tue, 30 Jun 2026 13:28:56 +0000 Message-ID: <20260630132857.3007019-3-egbostina@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260630132857.3007019-1-egbostina@gmail.com> References: <20260630132857.3007019-1-egbostina@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Convert the Texas Instruments IVA bindings to DT schema. During the conversion, several updates were made to reflect actual hardware usage and resolve dtbs_check warnings: - Added a dsp sub node that references the new ti,omap3-c64.yaml schema to support OMAP3 configurations where the DSP is defined as a child of the IVA node. - Updated the compatible property to allow ti,ivahd as a standalone string. - ti,hwmods has been made optional. - Added a second example to demonstrate the OMAP3 configuration with the nested DSP node. Signed-off-by: Eduard Bostina --- .../devicetree/bindings/arm/omap/iva.txt | 19 ------- .../devicetree/bindings/arm/omap/ti,iva.yaml | 51 +++++++++++++++++++ 2 files changed, 51 insertions(+), 19 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/omap/iva.txt create mode 100644 Documentation/devicetree/bindings/arm/omap/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/arm/omap/ti,iva.yaml b/Documentation/devicetree/bindings/arm/omap/ti,iva.yaml new file mode 100644 index 000000000000..771415196235 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/omap/ti,iva.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/omap/ti,iva.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments IVA (Imaging and Video Accelerator) + +maintainers: + - Eduard Bostina + +properties: + compatible: + oneOf: + - items: + - const: ti,ivahd + - const: ti,iva + - 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/arm/omap/ti,omap3-c64.yaml# + +required: + - compatible + +additionalProperties: false + +examples: + - | + iva { + compatible = "ti,iva2.2"; + ti,hwmods = "iva"; + dsp { + compatible = "ti,omap3-c64"; + }; + }; + - | + iva { + compatible = "ti,ivahd", "ti,iva"; + ti,hwmods = "iva"; + }; -- 2.43.0