From patchwork Tue Dec 17 15:55:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 13912082 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11023088.outbound.protection.outlook.com [52.101.67.88]) (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 7679F1F9EA4; Tue, 17 Dec 2024 15:55:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734450930; cv=fail; b=WrLxEim+YbK76c8P25S+lOTXd4eQrdRiZqYYA9INcUf/TIRIKmTd8IQUaT/19YymU/uFWOLauutIrxPO0a104PB2uUa+I6jovicwKOyo+9+cwXQ5IcrBAyENNt4VeXohz6YcMa0V8LdFNuIiaHugEu2gUPee+vArTRBmZpIQri0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734450930; c=relaxed/simple; bh=Q1U+hCWMbDf1SN1Ix3Mqd0fx64Sd9o9Mjn+iKW7t8ys=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Ej0lZxN1KduEcFbXNKt1yIsQc/cF9OBUUb3O74AF2fbmzKvxBjOIJZ+xs3pdiy4yOcJG4+piIjN0a3eKvpzdqxpslWX9zFuGSMROLDOs/C43wFJcQaZq0GnhWEulHWRkXWz2wG9RX8CjnF2OOLvDFoY8YbEkA+kEQuieTUX5pqE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net; spf=pass smtp.mailfrom=wolfvision.net; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b=kit/GAUr; arc=fail smtp.client-ip=52.101.67.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wolfvision.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b="kit/GAUr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=t1rYpOrGu2HsSEUgGDVMyvdhFy7vC7tjRAKgyzgYGvDJDLWy/6r1uVnu5R28Tkh2dcScGGAPdp7L/hNqoImbNOR6/56IqOnBIOv3OSbGq10SYBWkZbxUJprhZVl24prgqsdLjn9bZy0pWNwL70cL+5/MvSHmBQiDYJadJNy+lxN4TD5S4jMFma1f0cEucNltH/ZdB/ih7Wmy49vI6ZcK93OAQgS5sp7vAuz25rfTSFYK8AldR+5ZN5LCZDxH74qYQWtzJ9qktiSSGYIovvSLRuarMcFqgsQ7BqR7m4I5OPgtNKVTnhKWTq8XsKkZK3+C9jPdagrqBgErWeMXvEmNGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VikGLePMQ9QRBVE4hbE7LcLpfXFlDftNktO4sp2LOLA=; b=vtpekwNjmCBM0YN+4ZeFEmbyIZlZEQ8HhoRD6NJr0WkIlv8uafxvm7ILq8HEC71Bqv1q6ebwkJUkOLODQuvTdi1p7O9EIldHry5+BY6d8lvmki+YxfpBp8pcdyC1cHfsOd6p0LVnZNge1KW3zEj9dVwfRKQj5el/l4EEh2DRUvBvnHjC6DEAG9jDB1KFonwaPJhRpdKIKQEdQMjkfVT6Y92EDcy54IKEBij2quQI7qRIECgB0mE6AR62tRjQneISzO8ET4+HYTPp5FTIOT1WJ7P1/TFTpuhR8q9NYeYEt7dZhqkx2VMuMoFjSTPeEZgzUZDHc7R6Nulkt8cDrT68Ng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VikGLePMQ9QRBVE4hbE7LcLpfXFlDftNktO4sp2LOLA=; b=kit/GAUr6BRsLg406UkmnuWmegfZG8wBaLAyr9TpYxJ4I/R6aHwXu/ynM7+xVgYG8dgGW8E4G07C4cpant3pIY5sSx0NA8Q6/0lC2cSKXOfHgTCwNPEPPnkes2mEo1pCWK1mMfsMb9RDPbnauI/NVcIsL5ktRzaDPEWDPFLmKTA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) by AS8PR08MB10149.eurprd08.prod.outlook.com (2603:10a6:20b:63f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.21; Tue, 17 Dec 2024 15:55:23 +0000 Received: from DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::4e72:c5d4:488e:f16d]) by DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::4e72:c5d4:488e:f16d%5]) with mapi id 15.20.8251.015; Tue, 17 Dec 2024 15:55:23 +0000 From: Michael Riesch Date: Tue, 17 Dec 2024 16:55:14 +0100 Subject: [PATCH v2 2/6] media: dt-bindings: media: add bindings for rockchip px30 vip Message-Id: <20241217-v6-8-topic-rk3568-vicap-v2-2-b1d488fcc0d3@wolfvision.net> References: <20241217-v6-8-topic-rk3568-vicap-v2-0-b1d488fcc0d3@wolfvision.net> In-Reply-To: <20241217-v6-8-topic-rk3568-vicap-v2-0-b1d488fcc0d3@wolfvision.net> To: Mehdi Djait , Maxime Chevallier , =?utf-8?q?Th=C3=A9o_Leb?= =?utf-8?q?run?= , Thomas Petazzoni , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Kever Yang , Nicolas Dufresne , Sebastian Fricke , 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 , Mehdi Djait X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1734450919; l=4393; i=michael.riesch@wolfvision.net; s=20240405; h=from:subject:message-id; bh=RmVu3SsH9qeLCvZmcE7bNMUYIKOSWsz4lkOu6z5dwzw=; b=JtswgMPckHBY4HJLJtx2TFMEoinGD9JpEGJOuzSHogcvQhAOEqlp52WZ1aKX5AyegFj6rbyag EXgIf+TsIqXArxEtDHkT2k9TLZdYFB0ybFwnzAAsTzu7lIxdXZbK/UF X-Developer-Key: i=michael.riesch@wolfvision.net; a=ed25519; pk=cSJmgKSH3B6kdCIDCl+IYDW1Pw/Ybc6g9rmnUd/G7Ck= X-ClientProxiedBy: VI1PR08CA0244.eurprd08.prod.outlook.com (2603:10a6:803:dc::17) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|AS8PR08MB10149:EE_ X-MS-Office365-Filtering-Correlation-Id: 60d6d35d-81ce-454c-1c85-08dd1eb33789 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|7416014|366016|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?L2vtZchltAa0tqAK/XXWUu/WyLc+UJp?= =?utf-8?q?uWUotgZfHICAYSYlS3vJqWUc5TqNnO7UFFzaNZJVKlTWdxNjGYVdeJBcplnvj6s3v?= =?utf-8?q?4uOKrw9RKnXcLi4QHKkAoSZkFwFfGnKaFkwjG408Ks5LRHbCejrTsN9Z0vCSf9SPN?= =?utf-8?q?1s2hKqwRvwO7Q82ccnAQctvVjqVzk5ZF8wt8QU8mORVQGcuC1Tmvgmp+H1i5qXZAU?= =?utf-8?q?4Q75lDXwLqvNgI6tYdvEf5jZA0L0paoaFjHakCVWw6Pt1j4yJ6q2ocdftTdWUQ3yY?= =?utf-8?q?AaYDdlFyznbDFwTnq8Ot0tg+BbtPHjdfouKtohLGv/iUTbuMTppdiBpbB6lcEN1rB?= =?utf-8?q?Av8islOTTz9KO3MCHxpiDIMUP6rD1AlQ1JY0BiW2nhNywlK/9LrA/0XvcCOtONCm7?= =?utf-8?q?EMumREBL9G5mqr/q+I0ZZ4sj9QmxKHz2fQDX7k4iO/ZbMHJELj7/d6jj4xDgG+1Th?= =?utf-8?q?Vbu7VencQm3T04ST0xei3zX99lyTJpS8ZZsW+KGBHTWObefNl9rKv2qWa8TEpbAFr?= =?utf-8?q?0bnNJnDBg/oAr3dxXVjojJKs3vsRTV25cHsn1B2oIfBICdrNcPgRLATlnYScQFiYQ?= =?utf-8?q?Jw29WLaXcM/UnSEWagCRqlA1PH56Do89rtyThhzcb4K4jxq/iEhKiwqW3RKZI8+UM?= =?utf-8?q?sjBkYjckeQK7OmvS0enWcLSMYMpKrRA90cBTH3cYkUBUWM2qfrM85ap2DLADE2qEX?= =?utf-8?q?02FfBudaEADdyFFb/a5WY9LeDJuHWCpzGNlYSA5r7vIt0pJdte4zJKDTaDXecsYtx?= =?utf-8?q?LE8PVXvcvm7ppw2iK+njlyweO1o+zgymekIPn40e4moGxAYTUsNGjz/nsOOZETS9u?= =?utf-8?q?G+e7+0b678y5jYAR5YPr/VP3WmQtBPsF7Lg1nbQU4OnbemUuhsMaZ2GX8gLR2khQ6?= =?utf-8?q?1/qqbYav82ishzAlpqbBYgaXwCc7TC1eszvQQQ9lt04+qtMM3TugUdwhkBUSf3vym?= =?utf-8?q?Joi8xnQmwGMayfinFi6sWRFBSiFf73Q1fmi9ot18ELHdwMKyaXrHDWc2hAMes0fyx?= =?utf-8?q?6Q6YL9fgI2zPmim0tFCGL2q42NSv14xRCRhZOG23CUAEsdvM7jo7xCyq9lwZlFZe8?= =?utf-8?q?tmeYTrCrADdrxFSXRSsxOfrlnauPK9QKtAk1Fa1MA2phg7NLDsb4BZPASHAANkaPb?= =?utf-8?q?l7IFeuuP15ur/cPezXV+zBwh5PM2m5VU9LQuSpzv8ImWIdU7aMC5+fZ9XjNswo6eO?= =?utf-8?q?F0B1XRcDvsP2m4Pa80NU2WJVKmrV2ilkbaffIadHGGDIoGiYJ6NVN/Dc93Pb6MuUd?= =?utf-8?q?/m4GgZMsTwLoRP1mrKp5J+mZNBZIJAHtZmUb6juU43FiqWpyFVTm3O7ShL4BMPTh6?= =?utf-8?q?sOwT03aRLN32nW3YYPzvOcbH/bXaRqFqLw=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR08MB9155.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(7416014)(366016)(52116014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?h3cJonKD9rQ88wwHtcMmP/bDgiSo?= =?utf-8?q?2kP05ASzEt86d9letHT0T0n8wrm/2P6O6MLDSvLZtEWqstHNUJTOyvu15a6TEevD9?= =?utf-8?q?rPdlk/6etJM5+pkzX0O1PBwpym/N9Gu6DrrQ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OvO6w1EBkomitiYs9gdI07Y8cP?= =?utf-8?q?S3aeDH8xzuc5gsgigU+wthKHt1ngmZUQzbkd2eSjaY6JmaSR1O8xpWKrjg4Qu2D1d?= =?utf-8?q?JPJmep6GSxzN8KaMxGILcPerWPlqymLZ8f8gQPPxe+GN2NlP++NBLh+CA8nFSsjaz?= =?utf-8?q?6gVUO7/UgjEpgDAf5hYMMeVbECCdQ6wrU4ekKW2qqlcg4BFMeAmAYytrcDyPQ/E1m?= =?utf-8?q?Te3cznaA2cq4r/3TE6pTnnksOVzb+hDKRS6yR6w5pzi3wX9pfnt5IMauKOGrHR+q4?= =?utf-8?q?++oVd9+2kBvvWCyimklvp4bt64tpvg/9XSxmaK9gzSd6xbfq1Yv1mFlbJjiRb81IM?= =?utf-8?q?jaOoCqzrmBf2qQfZ7iyLLdqexVhMw7B3vLtndLJ6yXknJlIkp8etgAs1AG7jvahAJ?= =?utf-8?q?NHl+sts25pX8oWVjNi8RfIR15ULQM0fMWbsfvLf5fegovVUG3HWAarkFOw6rS5mQ8?= =?utf-8?q?LovEDkfjZDTbfn6FKComir5IQqmxbgEXfQ2wQE/GE3wWnzwc2VSu2YRl34hkiA7B7?= =?utf-8?q?4oTKFtqLXEW/zbidpMDJnTl86YtAaZIMLg=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 60d6d35d-81ce-454c-1c85-08dd1eb33789 X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2024 15:55:23.7020 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: eba52Tf+ZKVbTy2HF2r+jwPGO4oHXxqwNWtt9VKJJZaK171pPZbIoddTDQqev5tm0KXyk0O1IjovfTfel2MD69cXuBVuA1FjcCivIyTbJBM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB10149 From: Mehdi Djait Add documentation for the Rockchip PX30 Video Input Processor (VIP). Signed-off-by: Mehdi Djait [revised description] Signed-off-by: Michael Riesch --- .../bindings/media/rockchip,px30-vip.yaml | 123 +++++++++++++++++++++ MAINTAINERS | 7 ++ 2 files changed, 130 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..d34c0974204f --- /dev/null +++ b/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml @@ -0,0 +1,123 @@ +# 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 + + parent { + #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 1e930c7a58b1..1138c8858bc7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20217,6 +20217,13 @@ S: Maintained F: Documentation/devicetree/bindings/net/can/rockchip,rk3568v2-canfd.yaml F: drivers/net/can/rockchip/ +ROCKCHIP CIF DRIVER +M: Mehdi Djait +M: Michael Riesch +L: linux-media@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml + ROCKCHIP CRYPTO DRIVERS M: Corentin Labbe L: linux-crypto@vger.kernel.org