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: 13563797 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 5364FC48BC4 for ; Tue, 20 Feb 2024 09:40:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id: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=xp8lRYnix7DrKpEKNUFilxgqY+xOyJCsDaUgfk3sCm0=; b=FRszH8j7WZzkgMJxf2fYVShujm Qyfz9Wmz7hTxWMkkWxX2Jok/HsEI0A66MoQXi8FX4/uRyBumqKr73906hzd2UA+lUCIAw6zBYBCP9 zeOlX99DLbOti+Pe2c0V2rj0MvUlBa9p0ZG1XCU/EqRbegfJiuR+LhjKEn1e387qx3VDGq4p1rAaK eTsyb+k3UbMy93SF5jMDJu4O0ridTTQeTZPzo1fZ6C8VeByCuBrNx2dVzTA94md3AHzqCVdvm8CXL XQPD8ohaOH5sjXBQYMC/FaLDLQh+F/W8JDuHrTdfuVGnC4B+SVrkikYFnr4tINjHTDZr2KBhUNoIh Y8snMHxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcMbu-0000000E2H8-0IG4; Tue, 20 Feb 2024 09:40:22 +0000 Received: from mail-he1eur04on20700.outbound.protection.outlook.com ([2a01:111:f403:260f::700] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcMbh-0000000E230-2RRS; Tue, 20 Feb 2024 09:40:11 +0000 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) 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/V4sVTpxJZbsPZIamfZUcLPTAto4Vy3q?= =?utf-8?q?n9guWxLGPVx9KjD6thEts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C6znA3SQ0YnWs8eBqPf8Qf9RweJJSpR?= =?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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_014009_794511_8A5F4C81 X-CRM114-Status: UNSURE ( 8.45 ) 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 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