From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B8942E610F; Wed, 11 Jun 2025 17:19:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749662357; cv=none; b=dIroC0++XDJbkQBFKmY7yi3eVdMGfunB3pwm79S3dqeUJ1fLCcjP2x4LvqEy9XEyXshSRPtQwGQKxTWI4l/VDjoyQGnn8Avd8W2iJNOGDh4+xjCLIOLUXCQ1hhcghM2YEizwYvU6OsK5hf1P9yiQkjv37MWCotMlnZl0Yx++WkU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749662357; c=relaxed/simple; bh=0IL0xWHjUyEBI5YBaIMUONaykSxAJ1DeNUf39Z/5M2Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bzDuvWaItczIt9m2aZgTlfB3uHbqtMxI7kThnFqUCHbyQVq868l/H/sH4+PXHtd8RKkczWlyipqHXrGwXwqWgkJNl/OlrJPFLk2iSsWFmZLHwYQRpHkVAHxwHzycCpPBhb/7RnN8oSxi1XXf7XTNtSGq9pGRgfKKINmlMjLfzTc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o9vV1IEg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o9vV1IEg" Received: by smtp.kernel.org (Postfix) with ESMTPS id CD15DC4CEF3; Wed, 11 Jun 2025 17:19:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1749662356; bh=0IL0xWHjUyEBI5YBaIMUONaykSxAJ1DeNUf39Z/5M2Q=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=o9vV1IEglhDK638AGIPum4gIv/xLbAB1Y/Dmg7yT/IpcF65XLTeimtKJ3LkijmSiL Wr+dx2SScSFJ/5bodOQs7X0g1L0ac0vSTEmF6MUFzighYip2WVQ+pT2DWf2SkJZQGO QQDcWoYkEo/LH//rxAYpF+HfJ6G6a3stTRlsuBEp9jA3ADwWgxXNtnl1NcjgiTBd2v 8YkdFHeskVi6Zi+bhKyrc7nwTSBhu/WgTGkWblNk6/FpFYaGkBFTq4FVeFoRH4gMOi 3jcfzFLBxbyIL/a9w2/qs5pzJzAsWZTFTzGzE9arX85tSNVsAnwkK7A7PIImILCAZu 8jRjPUmoDWwtA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C30D9C7113E; Wed, 11 Jun 2025 17:19:16 +0000 (UTC) From: Michael Riesch via B4 Relay Date: Wed, 11 Jun 2025 19:06:48 +0200 Subject: [PATCH v8 03/13] media: dt-bindings: add rockchip px30 vip Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240220-rk3568-vicap-v8-3-9d9cbc4b524d@collabora.com> References: <20240220-rk3568-vicap-v8-0-9d9cbc4b524d@collabora.com> In-Reply-To: <20240220-rk3568-vicap-v8-0-9d9cbc4b524d@collabora.com> To: Mehdi Djait , Maxime Chevallier , =?utf-8?q?Th=C3=A9o_Lebrun?= , Thomas Petazzoni , Gerald Loacker , Bryan O'Donoghue , Markus Elfring , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Kever Yang , Nicolas Dufresne , Sebastian Reichel , Collabora Kernel Team , Paul Kocialkowski , Alexander Shiyan , Val Packett , Rob Herring , Philipp Zabel , Sakari Ailus Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Michael Riesch , Michael Riesch , Mehdi Djait X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1749661609; l=4307; i=michael.riesch@collabora.com; s=20250410; h=from:subject:message-id; bh=S0RZOGAjF8kPSJ3v2c1IWLZz3DNzUwr/RoNyhQ6v1P8=; b=t1qWN6yPR+oDF1n9itxok3OwQw53//xnmFQS7qt5dV9vYkpedFlpmC72fdyQ7G7S6KytY92N2 of5mY8Fl+JEC8gVzKdYNd8EVufycHqs0ea164jzYWRgp8eyrXREOJ+s X-Developer-Key: i=michael.riesch@collabora.com; a=ed25519; pk=+MWX1fffLFZtTPG/I6XdYm/+OSvpRE8D9evQaWbiN04= X-Endpoint-Received: by B4 Relay for michael.riesch@collabora.com/20250410 with auth_id=371 X-Original-From: Michael Riesch Reply-To: michael.riesch@collabora.com From: Mehdi Djait Add documentation for the Rockchip PX30 Video Input Processor (VIP). Signed-off-by: Mehdi Djait [revised description] Reviewed-by: Rob Herring (Arm) Signed-off-by: Michael Riesch Signed-off-by: Michael Riesch --- .../bindings/media/rockchip,px30-vip.yaml | 122 +++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 123 insertions(+) diff --git a/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml b/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml new file mode 100644 index 000000000000..9f7ab6965636 --- /dev/null +++ b/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml @@ -0,0 +1,122 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/rockchip,px30-vip.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip PX30 Video Input Processor (VIP) + +maintainers: + - Mehdi Djait + - Michael Riesch + +description: + The Rockchip PX30 Video Input Processor (VIP) receives the data from a camera + sensor or CCIR656 encoder and transfers it into system main memory by AXI bus. + +properties: + compatible: + const: rockchip,px30-vip + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: ACLK + - description: HCLK + - description: PCLK + + clock-names: + items: + - const: aclk + - const: hclk + - const: pclk + + resets: + items: + - description: AXI + - description: AHB + - description: PCLK IN + + reset-names: + items: + - const: axi + - const: ahb + - const: pclkin + + power-domains: + maxItems: 1 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: input port on the parallel interface + + properties: + endpoint: + $ref: video-interfaces.yaml# + unevaluatedProperties: false + + properties: + bus-type: + enum: [5, 6] + + required: + - bus-type + + required: + - port@0 + +required: + - compatible + - reg + - interrupts + - clocks + - ports + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + video-capture@ff490000 { + compatible = "rockchip,px30-vip"; + reg = <0x0 0xff490000 0x0 0x200>; + interrupts = ; + clocks = <&cru ACLK_CIF>, <&cru HCLK_CIF>, <&cru PCLK_CIF>; + clock-names = "aclk", "hclk", "pclk"; + power-domains = <&power PX30_PD_VI>; + resets = <&cru SRST_CIF_A>, <&cru SRST_CIF_H>, <&cru SRST_CIF_PCLKIN>; + reset-names = "axi", "ahb", "pclkin"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + cif_in: endpoint { + remote-endpoint = <&tw9900_out>; + bus-type = ; + }; + }; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 9df8ec775951..3adef2e98593 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -21428,6 +21428,7 @@ M: Michael Riesch L: linux-media@vger.kernel.org S: Maintained F: Documentation/admin-guide/media/rkcif* +F: Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml ROCKCHIP CRYPTO DRIVERS M: Corentin Labbe -- 2.39.5