From patchwork Tue Dec 17 15:55:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 13912205 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F459E77184 for ; Tue, 17 Dec 2024 16:31:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rxCovdfE5jCpFekbbhbq0EQ77/r7AZ8VUAY0zTecDhM=; b=Xo/0IJJ+Lu52jlM9CzOwZxFky7 y4juwRyVOx/QfJQ9S4tii+S8DxzecMRbha4hlNosJDfBcMg2StU6YL5qvTgoKHEhp4sv5k8gRysMg gPvwBcdU23o9tIm+X3IYfq6comGQv+D+efmgXbI67kS14TOh+4DBZz2TbJowyvVxxA1QZXJwRZlVf EWrUWiRl+cxxoNnsfr/yWw909C0GISQEto3JfdYZepSJLsIzP2LYCs+7oJEyDuEGsJVzb+RANJ9ly b3qL39hc2UiI9g1QfU2QDxxTDNLhDzbzg1cesOEYqZmUsSspK9SOTG936gxJ4uAibn4Kr5aJKGnBu PizovvHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tNaTF-0000000EBdb-31w3; Tue, 17 Dec 2024 16:30:53 +0000 Received: from mail-northeuropeazlp170110001.outbound.protection.outlook.com ([2a01:111:f403:c200::1] helo=DB3PR0202CU003.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tNZv5-0000000E2po-4BAC; Tue, 17 Dec 2024 15:55:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pfs1g4iQADVuwI5SmhTM86jsR57sq4Eh/jDAoAt9hdDCrzCCyTmmzhlZRHoHJ1Esq4AxnUBQfOI6cTJkFdML72bqb6Uszp8aqvfAsml7BPIblKVftYmsVbBmzdeJYj95txEcKK3iMmzBAp1uxadVR3A1YV2msLxnJ+itFTsdV9g/ndxFgwlH0840nJVFjjg/8Yj6LJeaHBIOTZRepamItlfVZTlRbefmtxzPSZolKcwys2JFrm0XsqWA+H++LpZEu7rdt6wwYr+o5TmBePEub+mpvG9butJU6EcBgmL69arav/IZKgAJAk+fhyZBOzxsDb6juEsGYZua5vJtVum8mw== 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=rxCovdfE5jCpFekbbhbq0EQ77/r7AZ8VUAY0zTecDhM=; b=PYpf1aMznFp/Iw/WEUtEqu6sKpMV0vKCAGirEzbEE+99WzfrDmLL7kd9dW3eyFcjjQHMMxx9bU7ig9KGRT1fLDhAxbfkwnapMJ3Z2JWaJxX21wKNPRLg5zeXdbEqTdTy8Gnsi2PFsyX8LtaKhU9KnvOMB37w/+/Mzru9CT+WgfWGEyX47gNR0RibNHXLa/KQr+JxdLCiI7pjhUIsLHGG9FxBfDERDyrbIBf5ZQ9SDawztpwqAMoJQlKoOm/gmZe3Chg47Z2pfCrwzU96Q/8gykelttEVPSd/QOa30sJf0uWOkhZy+XVV4/6aq+xynhRTmM5ONNU8vArpg/R2j700NA== 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=rxCovdfE5jCpFekbbhbq0EQ77/r7AZ8VUAY0zTecDhM=; b=fuBamtNrH/jIlr8sC5Kdj1wZXc/8NNV4nlU2SPBz3Cny+7sIcseVtpeFxoqpoFrxIGqTiFskvkgl0j+g6L37VkoFGNXNwldVcNumCp3gcTB5aA4c+ivIIyc3OVueCS/ULCpTG7OFLDQ1RGS0GkSlXl/0DpPy4ElWcSwTnt2dl4k= 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:28 +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:28 +0000 From: Michael Riesch Date: Tue, 17 Dec 2024 16:55:17 +0100 Subject: [PATCH v2 5/6] arm64: dts: rockchip: add the vip node to px30 Message-Id: <20241217-v6-8-topic-rk3568-vicap-v2-5-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=1210; i=michael.riesch@wolfvision.net; s=20240405; h=from:subject:message-id; bh=kAZYbwRFBoEiWczEVuI40JvVeuv2U6fJh9wOW1+JivE=; b=NGq8R0LXNFKu+k/eTfnjT+M1pyBEozLczhFkwuqcWUqn5d5EJVFU1IymNULw5xJYtu68Hbt7g 6/o0boxCsJXBqj/SfAuokgy+kdfDRCLeXcGk0Q/F8aZp+YAHkA8ceub 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) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|AS8PR08MB10149:EE_ X-MS-Office365-Filtering-Correlation-Id: a0dcd861-986c-4329-fbdc-08dd1eb33a26 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?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6pU6wYgd1eaB7a83ZyA3tt1a?= =?utf-8?q?p6OdbGdzAmgcYOKsb33eJeZMXHp4Jen1WdBtkVWootiaokpyNcwFBGPZW6KsTjXxG?= =?utf-8?q?T4VTmqLTr4R06MXshSLWGRSE9IHGZyomCCsDkmKjB3DXY6+dK83qodp04K+YtFh3Z?= =?utf-8?q?My0judIE48vm4M3OBabylcL6oE3CC+Mc0+xzO8ud0Cj0XAA9MqFU/wwIhYHM87mVb?= =?utf-8?q?qm9PnOGa+YR0Z0vEsDBg0KyhXPieTFVVctKi030Ob9fUu87ilvyYO7iCOu6L9ukmt?= =?utf-8?q?VUAI+oVWf5dDYxqTZJQFFUTdDTsx7bXg0g1HSlpUkNrpyKJJ9WlLTlL0KzoO8sbJW?= =?utf-8?q?kBenxUx2bvtClyl1G/lAYTymAqAG4RymvB4KyW7dI2i/zKhTTxiazfiWXJUi8f0cM?= =?utf-8?q?GHqJRoDb5CMJ3Zj+bv7TMQAAxe7BEB/3Hn9zqfmfmvdZG4WcvatqFt5OUQ1pfLk10?= =?utf-8?q?owTxOAEIldoQnR6Q00mBIdzRUV9A+ViuKT56NiQUlmf9wv+cdl4olPirOitnL4cGt?= =?utf-8?q?C4/HS0apTd46LIn7WnaAO/8e7JblSxktg=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?uTnFOwA71xAopYBjPTQx8QNvhF/5?= =?utf-8?q?OYLnKeFBKIqkta2cnfWOEPPrN8ywMbYbtzMRh+K3rm0dkcQITTuMdRHS441PS+Lks?= =?utf-8?q?eEtksXqQul2wsSNcn2IwdrOsEClcbOV+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YEJ3BGRy?= =?utf-8?q?z33zlYgP96fZ1MgwUJ006QNVlQgbS7BDZ1JRUi6ovfxPIK1Vk4C4J+zY+Jn4txTzm?= =?utf-8?q?iSl3eW5ahoF9mCvA1kYNwjMmOv7UK3i31nbeUDyWLJhn6S1uFtEGP0zkURVZ4oPMd?= =?utf-8?q?pD+qdWM7lzBOjPy9QriCdpkyyHVHu9L2GddqZRyLWDONanTy2Qp3F/ZAIf49c9CLW?= =?utf-8?q?ejMTP81ArPs4+kgCsjNCcrLsc6uvCDBkPuPFNrW0OfSIzXf/P80D7nO5O9LOlDENs?= =?utf-8?q?BvEoRnhXAsHZnzf6tO7aZNPv8OGI6xWK07G4kubbdCvtncuZLMKdcmj+KIFAwzR8k?= =?utf-8?q?PL14Zj70zUrGEgM7sIqgIcARSD62fEYjN+RIa2T7E4NTvs3E+EO/m1UNonr0ddJSD?= =?utf-8?q?2YU02rfhzElrx+wRl2d+qN1Nps2NdKKGVQ3x0WhM8FvgZevCaklUjlN8/XD4sueV1?= =?utf-8?q?Giyqm6mrtVQ2nk4jpsL9+g+7slbQpZOU1S9Xb9npHSEW3mBYNJ/Ii2nStPWi/1TnW?= =?utf-8?q?DhwoMm3GJvC9x3LJ7J9kst6h+FmVxTEpjw=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: a0dcd861-986c-4329-fbdc-08dd1eb33a26 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:28.0800 (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: LACTWp2yzfIBwTRS9/xdG2TGc15yWsrvGxjoa7ov6edDiQ7ipIjbNvVBTFyH5W5raI5w0f0mpygiONjfINFGt8M+K7M7SplCnsYf8cZzQfs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB10149 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241217_075536_044441_BB9FDBBC X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mehdi Djait Add the device tree node for the PX30 Video Input Processor (VIP). Signed-off-by: Mehdi Djait [added cosmetic changes] Signed-off-by: Michael Riesch --- arch/arm64/boot/dts/rockchip/px30.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index 9137dd76e72c..c2acf5952d08 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -1282,6 +1282,18 @@ isp_mmu: iommu@ff4a8000 { #iommu-cells = <0>; }; + cif: 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"; + status = "disabled"; + }; + qos_gmac: qos@ff518000 { compatible = "rockchip,px30-qos", "syscon"; reg = <0x0 0xff518000 0x0 0x20>;