From nobody Tue Dec 16 05:46:34 2025 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 51E2C331201; Fri, 14 Nov 2025 15:20:20 +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=1763133620; cv=none; b=aP0evVmP5ihSiftLgN40L4T+ACC9jFXZ2+nt2qbbH7zxXsktWbRWb+o6gnra8fItvBqTIpv+72heLs2RFTnCAE+ricsFXltS3LNg2Afy9uFLIYuXAVZKWPWxIAWwztl4TXvSUl8ogg+l4XMMqN/5QLqauTpp9aR6vtG7OdxmXaY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763133620; c=relaxed/simple; bh=/1TF0zRtt7mWqpVWSJRUWVsD14mKx+O9cA7oSvQ2GAg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cDiqJUwTfUi7FHTVcPuNH8TKvcdMVhpT81sbQeqAOscETLK1lx+Z3cHZxSWcz4HxxCMiObnyDhUS3zXJ5yEmL+nEAhouOWLeCqrjuZ+ZMPfva2MBprrdhEb8hONWsKxgJMd2se+GxZO8YREvxReH7ECWl30e0BjO/Yle2TUR8E4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S1/5XHKn; 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="S1/5XHKn" Received: by smtp.kernel.org (Postfix) with ESMTPS id 12CBCC2BC9E; Fri, 14 Nov 2025 15:20:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763133620; bh=/1TF0zRtt7mWqpVWSJRUWVsD14mKx+O9cA7oSvQ2GAg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=S1/5XHKnnrphtqYGq9lCjBr49FveJYMd5UZGbfmfFtnTEPbueAi/CJpOsM4bWPIvS lDDFB/r7kxMy3fU+275iWD95x0UgRe8eymu7Ki1T1oHZtU8rDaYdkfILa1hPuzNTmA JkcnmC3cuMQlJUOR3w4ZAYLca4MvZQtkjY26JhvXXXbfrnuDRb2reSxWUPIWzxkgyP iEh4OaDg5BSL/F2pD4wDipzTd07ReX3ptNMwq1q8h2MFjikgShrHE/Af4q27vE5S2Y Y5WpMcIJawEji7Y0aZ7IzR6gzIYHLqRCeZ665ZJRHaB4/aQciA95SjVunkAPyc8BPx UrKYKtgCiK8cg== 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 EFA87CE8D43; Fri, 14 Nov 2025 15:20:19 +0000 (UTC) From: Michael Riesch via B4 Relay Date: Fri, 14 Nov 2025 16:20:14 +0100 Subject: [PATCH v15 03/14] 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: quoted-printable Message-Id: <20240220-rk3568-vicap-v15-3-8f4915ee365d@collabora.com> References: <20240220-rk3568-vicap-v15-0-8f4915ee365d@collabora.com> In-Reply-To: <20240220-rk3568-vicap-v15-0-8f4915ee365d@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=1763133617; l=4457; i=michael.riesch@collabora.com; s=20250410; h=from:subject:message-id; bh=vRqzxW1KzAytWflPY3j+Yj6I1g337dXGa/YElJym2cw=; b=0PIYjY2wJvJu2FEKF5O56pai9bLH+sWRzzYwY6P39UtUXDgpAhEYmudSpJWzGiGDJs+MF7fFg bk+tpQFVd6NDOYVOleCSmn/zOvoWgOEA0dRuWWnK4wqn7XIBNKDgdhl 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 Reviewed-by: Bryan O'Donoghue Signed-off-by: Michael Riesch --- .../bindings/media/rockchip,px30-vip.yaml | 124 +++++++++++++++++= ++++ MAINTAINERS | 1 + 2 files changed, 125 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..cc08ce94bef7 --- /dev/null +++ b/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml @@ -0,0 +1,124 @@ +# 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 c= amera + sensor or CCIR656 encoder and transfers it into system main memory by AX= I 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 # MEDIA_BUS_TYPE_PARALLEL + - 6 # MEDIA_BUS_TYPE_BT656 + + required: + - bus-type + + required: + - port@0 + +required: + - compatible + - reg + - interrupts + - clocks + - ports + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + + soc { + #address-cells =3D <2>; + #size-cells =3D <2>; + + video-capture@ff490000 { + compatible =3D "rockchip,px30-vip"; + reg =3D <0x0 0xff490000 0x0 0x200>; + interrupts =3D ; + clocks =3D <&cru ACLK_CIF>, <&cru HCLK_CIF>, <&cru PCLK_CIF>; + clock-names =3D "aclk", "hclk", "pclk"; + power-domains =3D <&power PX30_PD_VI>; + resets =3D <&cru SRST_CIF_A>, <&cru SRST_CIF_H>, <&cru SRST_CI= F_PCLKIN>; + reset-names =3D "axi", "ahb", "pclkin"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + cif_in: endpoint { + remote-endpoint =3D <&tw9900_out>; + bus-type =3D ; + }; + }; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 2e1f959bb5f4..3fa175e2b61f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -22248,6 +22248,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 =20 ROCKCHIP CRYPTO DRIVERS M: Corentin Labbe --=20 2.39.5