From patchwork Tue Feb 20 09:39:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 774759 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2128.outbound.protection.outlook.com [40.107.21.128]) (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 5D5B260EDE; Tue, 20 Feb 2024 09:40:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.128 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708422007; cv=fail; b=lvuUSQFPYgMlmbEi7+DM3TB6NTfZBmyordxAgUlKMi0XjWd4mk57tSMjP+1Q3ks+5/TLXE9fr4cTrY3Vx97aC4J5uTXURBxo8Cg14TqduK3UmiwpGyoCPTKTHFradadz1KU2mUL+0hodeYAQGZZ15C8U/9gGg6MhA4DOjR5yuBU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708422007; c=relaxed/simple; bh=OvFcZ+e7uc9ytn4TAsS9ijPJDXhvc++fatigeroww1U=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Gy9VXPMRbb24tWFgzeFf8eAIWNwhdVYhgJGXTgtN0SpJGdEyT0xN6n9QD/mqWdqwq8MRVhReyTnuDU9kx+sgW1FGn1YxVzA/z7iVJ5y3ILK+C0FynDbfGe4ofK/9FDmB6tzkBK01kn9nOKT1w5y3z5ZKYHdCcJzpd/qxQAJcVr0= 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=J+4vWEGn; arc=fail smtp.client-ip=40.107.21.128 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="J+4vWEGn" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HUuMCJOwU0PVKlDaYqpdilXTA2xR235HbGilQWxoZ3PW53ja66V48PQ39AHdyIyMpoldD9PaLVICRD8A//vTym/w2UGKtx20LYHK2JDRVHWom92ElZtp7qVGyLnWntyJ4hJQUuJC/DTbWVsur3EW14wMPC3ZW1SLzhGTq70GpE2AcWMitnSm1gkTF0RoZUrtdWwjkcHz/Ct1t636y2N6KJJvfodwhi7dfsYq3YF184nRfVKFIbPmjSBewdpOru+fmAEHL6TKTkv95QwRZOM58YNSnGmGfMawnCOG6Zibv8ItQSWWte6DiGLKIcQwe0NYOsjTPf2leyG/DPAFMUZNpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=m/nX/bILT83PVtLIh0xWHWAz7HJh+/AX9snArEmeyvo=; b=huIziKs9yswCTuqlWA4EngmLuGCFeWQwoGEPklb5jUX7KKMcuN6UYokEULStxws4nP/n5S+/tGRESVdnEoiFCvFD2nmBHPYpQGJSXXMB797c8tOJSTNJahFTqTCUV4RAjU4l1PjMslE77lPwMOYgwW+0I13BXaTJ4D8FNfP27c597XBL6Dahp/lZnb2vHUAgl8CwisKZ6m/rpvSct1QZwldLtiPa0CsJcwc0p+z1j4JboSyV5CaLIkuoHCjEx934UP2u6JzH7Q5qMcA7Omz5H1gGSHrmvvgqsY0OkO/f3UpBhw6c8gwrVCCVKM1oM77Mkb6E1Dgb85KNsyzNTbn4NA== 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=m/nX/bILT83PVtLIh0xWHWAz7HJh+/AX9snArEmeyvo=; b=J+4vWEGnLEvJnGJ9VDiOlZ80O4GapjD9r1/csTESpzTRq5AojPCpWymMqdN2mNfg77tdJcaTb+8HHMjCNA50djBG2VbticmIoAcKBJX2RrfMUXK3W8GNrBv4GMjLOeYS0VGubGs8/DeYIp21ZkviJp2+aN9ab2K7pIuCarc/VGU= 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 DB9PR08MB6763.eurprd08.prod.outlook.com (2603:10a6:10:2af::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Tue, 20 Feb 2024 09:40:02 +0000 Received: from DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::7409:db60:8209:c9f4]) by DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::7409:db60:8209:c9f4%6]) with mapi id 15.20.7270.043; Tue, 20 Feb 2024 09:40:02 +0000 From: Michael Riesch Date: Tue, 20 Feb 2024 10:39:13 +0100 Subject: [PATCH 03/14] media: dt-bindings: media: rockchip,px30-vip: add optional property iommus Message-Id: <20240220-v6-8-topic-rk3568-vicap-v1-3-2680a1fa640b@wolfvision.net> References: <20240220-v6-8-topic-rk3568-vicap-v1-0-2680a1fa640b@wolfvision.net> In-Reply-To: <20240220-v6-8-topic-rk3568-vicap-v1-0-2680a1fa640b@wolfvision.net> To: Mehdi Djait , =?utf-8?q?Th=C3=A9o_Lebrun?= , Thomas Petazzoni , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , 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 X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708421995; l=825; i=michael.riesch@wolfvision.net; s=20230803; h=from:subject:message-id; bh=OvFcZ+e7uc9ytn4TAsS9ijPJDXhvc++fatigeroww1U=; b=idrxsLsAo+9dBMSpGw/tXsFF4RmvU39ze340SH1Wzmea4yw9zbzKxRIrUzeXDyhSz/pGtUAbV hbeMbaXV6yWDV2BIowAkpdlv16Lq+mBbQzU3hdh5ATB6TqFFfaCXwwH X-Developer-Key: i=michael.riesch@wolfvision.net; a=ed25519; pk=9ral3sulLe95bLcbaiNXTgUTRiBayRBEFZ5OVIEHp+0= X-ClientProxiedBy: VI1PR04CA0128.eurprd04.prod.outlook.com (2603:10a6:803:f0::26) 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_|DB9PR08MB6763:EE_ X-MS-Office365-Filtering-Correlation-Id: 8ad7f312-c598-4511-d81d-08dc31f7e941 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BjC0kiIUC3W5pIeXoZcRxM1vol5oLS6Kk5+iWLmPSJX8CeuFswxOBCZs73tkSgNeqcfcNHGDwKOxbfZkCF44YrUjG3muihruNEJ0dm431d78GxGG5WpFULr9g6rCaqMQEI/2oteI1rhl9zlZOkg5BnpzaJlWU+jPDx4acZDuJLMunyJE8jiXDUpvOFbA4dPjEdyFBYAU2BwLUxpvQlI1KKNCQ51kf+ZX0iiUX0SVYrgVt+QeRj6AGWNoxwH+e3NXplaso5K0bOyISLfMFCCPCdDUhnUy8xbjZsYxZ7wcIKBAVdkssfAjhYr3lOkt/otQJet5Xo4tr3mvxX/e8P6ik5hxB+z2TByAqIi3HFkgXt+D6LgVNGCQZkGh5GlfOlBHvaH4hbTDKUK/eGj8RZNxeHbEkBpPWVpAIg05Mi/DNEp4z1RVz2JerEmTQfiMw5AucM9A2e0HpKXZFhxk+b9vJ66btMVzvTR8J21j7XPTKGRsmvV58azCjjlChFTMFLm9pTbivblLKCeTd6pdSDL45CSCLS4IZZkeajzXRKTmTGcoPB+5aZSSmcJahkZnoqkhOlZiP4QjplP7ISMPm7RnJbmtzXbAu/abmMvTw+dcaNAoEQpvP4Rxe4MwM5m4nf0nREc2N1xk47JM4siFtD5osg== 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:(13230031)(921011)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0pbGJPlFmp2wj+bufbPwgKyJvtDO?= =?utf-8?q?B4H2uvBhtT4N/UuGv8CFSawPb8hYUbVMyDXsKhGdLwGyloJrNkm40I+BiFpWv8fFU?= =?utf-8?q?esgcVmSrCrm4mxmdVDKsfI7rczozcqFbg14yO2xFyg2s3GFs+oTflrT7zWaMrd/d9?= =?utf-8?q?77jalJHTiPDgK19cS67eEjYsPTKwVcCFR7ykXHW7LN4P338EbCpzscTZJXplGtD08?= =?utf-8?q?g3Am8HTN/lOR9o6hr8QJQa0EoowPZWa18/V4sVTpxJZbsPZIamfZU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= =?utf-8?q?lRipRH2+0w9svQr9gCjbzrLVkqgSw+PgMxC6znA3SQ0YnWs8eBqPf8Qf9RweJJSpR?= =?utf-8?q?WCgWQGfOVAUYxtH1hzmM6fNxAQI5nnQfc3SD+nXHixK/lW/NuxpFGxLT+Y3STp2mE?= =?utf-8?q?tumqCxhcfxnntspy3imM0xhwQMmtvWFita3oiVOx16We+n2TxPfqfoODLBEGvbVyF?= =?utf-8?q?KmOme7mkq4MWZFyGkShHCiF/qLiyBojoTdgja8ddGzhWce6coA5gK4vUFEbWsKdhR?= =?utf-8?q?Q/qyioGtTN8t1qWeZXUz+b9lFj54hODh/QSKzs1T8hO9dk8BKm8rwWBxu1jvk8+w7?= =?utf-8?q?CX+95ld2pg/YoCV/TKJrY/fEM3DePHse6tyFFkOMT4iZwB/eCvTU8bTGwg+l87soY?= =?utf-8?q?6fYldEjHbJ3vc7Hk6N5CMGxJkm95nFGRNw=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 8ad7f312-c598-4511-d81d-08dc31f7e941 X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2024 09:40:02.1033 (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: 4mTrKUZ4e0B1bT/fVImbFeItp/NqGdnXsUIjNqDc+tlG8euCxG618ze5ftcOXC9gwh2dM2z+RJ4tW/ckNI3Xs5pdft3kQ5NuFwCm99zF3ps= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6763 The PX30 VIP features an IOMMU and can be operated with or without using it. Document the property iommus in order to support the former case. Signed-off-by: Michael Riesch Acked-by: Rob Herring --- Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml b/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml index 6af4a9b6774a..675a1ea47210 100644 --- a/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml +++ b/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml @@ -36,6 +36,9 @@ properties: - const: hclk - const: pclk + iommus: + maxItems: 1 + resets: items: - description: AXI