From patchwork Sun Jun 25 08:09:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "G.N. Zhou (OSS)" X-Patchwork-Id: 13291835 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD265EB64DD for ; Sun, 25 Jun 2023 08:05:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231816AbjFYIFS (ORCPT ); Sun, 25 Jun 2023 04:05:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbjFYIFR (ORCPT ); Sun, 25 Jun 2023 04:05:17 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2053.outbound.protection.outlook.com [40.107.22.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 547A8E53; Sun, 25 Jun 2023 01:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jVn/EzexLlnytpKlgEEzTp93WzPuZLlEIJSi7xwKfijxJaldWg3i2aYGm36pImhiVzYlgSsFxYXRvbdLYqj76/6HHF+VvRRcluH6likjZpOabGIAxeRy592NeYrfgbb1UDs9m6a2INE9jIDbuGIU9Kl4NJGFgr30MM3QOZoIEnDnTB2J48ssuY+Yu802gLsKEdYXU1J9qG2GRav8/oFb6yszk36Bo6yOVI4SebA2Q/BPg7otxZs/jUH82aOsTYj+YIkyrtsPpCLqKlxcKMpv6mtP9fULjn1IFiniM/prnVgsqi1kbfPpQbJ9+gVdoc6VYyoAcpUYSI5HH0cdCd6xvQ== 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=KMkm6zlKqQFhJJE/JPuF0MkUqtMfAIMEvMk+UcwJa5c=; b=i9nVvQ7/SST9C2fbwqt9wbA9FiGDyCA0X77DgmfBDtclnuPf7Hh1mNF0A0MDuAL5vHWK0mCOFNsj5SgTthjONU/46BE5jPubpBwcU+4oIReMUj7RpL8ohPsJcfQeYGYvFY0Buw4lq24l/LVaj9ruogd+KmyCgPioPiEWWAt1nzmnHrrpIDls43GbBHrcGdj6QONgKct4oPoHbiPmq+fZDCvuRDx084saUpkCfD61d38qkQUwHKPuuDlnoDJl2qiXozs6bRLZqgGUVUzW5FnFglQuR8hMMoXCOiiPTrB2wcJIz7N8LGboshxGUZuEMniRlMaf2igcvh8qSbOV2iumwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KMkm6zlKqQFhJJE/JPuF0MkUqtMfAIMEvMk+UcwJa5c=; b=A+CFutBJYvOTFmioGUPpxWjMI4/lm+v0yCP9qGjpGRW3rK1ORKnbjpZlHMqPDfEBiIE4hmPsl5sXZGenmgqL2S89pxJVn4b0HK2lzSmsFSYf6V8Ccoe3Lu0rVvrHQQyFV6cUBKeLv6Qbhi8ogcQold2+Jgo8iUgslgJUc66dsmg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AS8PR04MB9080.eurprd04.prod.outlook.com (2603:10a6:20b:447::16) by PAXPR04MB9279.eurprd04.prod.outlook.com (2603:10a6:102:2b7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Sun, 25 Jun 2023 08:05:13 +0000 Received: from AS8PR04MB9080.eurprd04.prod.outlook.com ([fe80::1a0c:99b1:603a:e219]) by AS8PR04MB9080.eurprd04.prod.outlook.com ([fe80::1a0c:99b1:603a:e219%3]) with mapi id 15.20.6521.023; Sun, 25 Jun 2023 08:05:13 +0000 From: guoniu.zhou@oss.nxp.com To: linux-media@vger.kernel.org, linux-imx@nxp.com, devicetree@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, xavier.roumegue@oss.nxp.com, kernel@pengutronix.de, jacopo.mondi@ideasonboard.com, sakari.ailus@linux.intel.com Subject: [PATCH 1/4] media: dt-bindings: media: rename nxp,imx8-isi.yaml to nxp,imx-isi.yaml Date: Sun, 25 Jun 2023 16:09:13 +0800 Message-Id: <20230625080916.3553621-2-guoniu.zhou@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625080916.3553621-1-guoniu.zhou@oss.nxp.com> References: <20230625080916.3553621-1-guoniu.zhou@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0018.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::30) To AS8PR04MB9080.eurprd04.prod.outlook.com (2603:10a6:20b:447::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB9080:EE_|PAXPR04MB9279:EE_ X-MS-Office365-Filtering-Correlation-Id: 3d3d7acd-ae86-40c8-6faf-08db7552e75e X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VZoN8difunHiHpMKdl/h5FT802Sz2UJxtETevBr4ERSy6UUdELwuThfNQMh7/QV+8DNwNM2+F+dX8A4zo6IOO/f2ojoFIxcvfqSXJjpst7slyWPfW+PU82OTDX8fWGvfaPlv+XT7I7tjkerEgai4sO0tJNPoNIvRyetn5hwuxgkJqxSgoGGLdpZjUzdboSw8QQzVCWLke2vqpr0hLGsKaqhPuyw6kgeBXHrB0WHmMzUvprbRi9mK+DXEKXp1Zkqjm8AsOWAltFndrvSod5Bt85LqSYvBqrAyng+y2N20UHY0p6BUEQrsQzu1izXl/T0yXpyxq3SRfT1uHFGG/ErqlQ8ykxNoRR345cztXtPpZLYbGGtx3PZTITS7PO2oX2kwMsY354f2n5SWQSSsNgVD2F13CT4QMiDofBWZHufVf8PDHdqeycifSAFXjNPul7Kb99mqKQ6bBT50VNe7SMSDMEIkDtaGrNSG/KOLVOsjL0PTHa/P7Hj2e8jJbVxbDKR8Fug7wrKgI+mYeAqDBhzpR+m0pJK2KWByM/LYp3Mk5r0xo9SqBNnMXO91zlG0U0d/Ph0WECvKe1X4ews7Z1OQMAmxGAp273qyZj1MiIHjnlQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB9080.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(366004)(39860400002)(376002)(346002)(396003)(451199021)(8676002)(8936002)(66946007)(66556008)(41300700001)(66476007)(316002)(4326008)(6506007)(1076003)(26005)(6512007)(9686003)(186003)(2616005)(478600001)(52116002)(966005)(6486002)(2906002)(5660300002)(7416002)(38100700002)(38350700002)(86362001)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Jb+02jCNvT/NpiZefohyEtSOVSPClFI0wWwppRIn2QDBByoDSHsVltWm7NXCtWMYTiiqnEdKKFBM0xxLn+WL3AtBT1Cc6lktszVDz4N0a4/Kw9goR9NlX7DEZaTT6RvtgwXcl79B6eoFzSFYvFzzdWpf8kTgbZj0MAcXtSdj+APoU5ce/48lZsilhwjCObAcbdpO3n0NtZD+tn4qdTLzgM/OnMexGNtgbpyaaa/Pps3dtrrldtunX8p7/NbvaAVS5DxeImuO5WIFq9TEc4eLlrL6xalBz023URXa/zLihLCKSM5LY7+UIm+Fs/K4xyJBwjUvPMb8jOD8dDl76eP7LfWRDmy+MpWBohxZ25SywxlF4YId9HsS0NBPLiW+R59HfbrrUfZHl+AfjtNLV6d3EVUEqzT0Qg+y8RqaVr6lS1g2+lYI3n+m/HTbQA98sIpf/wVKRpxsg6EAaSqL70T8OcU/p1DCwk+UuYHZq8fmIhCC2wSDFbL3b154QdQZFNJjvcaFFkr/VVi5pFVj2npZEwLGl/Zqvvq3he+G8tToY8wMiW8sqyxD+X/zQeS9Y9iuHHDtjZOBIAm+qE6IkILBprywkm/bdW0aprBeSd7ZCW+C09f/VbGwNf9CbkSO3AH/el47A5cUflZXri1o2v06cEl8UCu8i2/ViJFYGFaL8TAlMNCG52XwLtTHny4QfKvDWEPXLekcL4XfvohTL1X6heMmAyvY+mSkgzcMXC+5U4+gtgQOX/EXaLpWsjCT5hMCBiT82iLPCU7wvKW8dPfFNxQZrdFccGcLaKMffIux09ElCILHgayE4lpW50MCpvHTGdkuitXU1TYsbX/zFgisrOgjoKRMN/SY5nQQztHmg8IAlEQ+E3B433nXJnXX5/w98/T8FkNTmu+yiSx9vZoSNI2FrCVdctn5TgaByqhkyff85INxZZyL83A4Cbf9KHu/2ImXmMN7fOSOA6uFcs5D5oqlXsIac0/G9LNxsSLBUfTLlLKohNer0moY9ZHsFHIchBxf69EJvvvxnNqIxgkYJKBcKbiCCzdFnf9t2TXVmKUh66Z27FyH+jC621dZ2ksSdUhZg9RSpiWoK+4YBWOetSM+Np/3EdfK1hARQc8SRMJRS6hJ53Ui+po6Sb5N7pqBzi75ay/TrhTybXd/S/FxnPRuAMBJWmwrqk0P+OdTELLAlFStS2svDGZcTlH8aVgXwGcq0FvqXQZ7GzyyUHZaG7ix6QOTuBuhLD7Dj7Opt3IFTTOCpjf1+mlFtR8vg7zqqp1gSuF6mnZfyKiSFfw2t2vvWBcBIE3KIEi757pzx0j9rBZhLRoEj/gTAxTa48V2ssrjYtwk+uIcXaIoxfRxjXClMFIl1eDMMTw9riHox4NJ1SHI3XK9H/nAUMPNbKvKscNgns6Q9hrII95jAzDG5pi55nWb+tfR21eK1by98SF6mJjbJ0Oj9BKXplzICv4CCytiZB7CeQsklySxxlYQ1j+u7owSsN6Ti1kStXGlPNFTy90GBRmDN4S3ZZU0SE0Y9d5FjsAOoeHzclb/n33ZXqn4QAWwaUtkLu+/lKjPv5qNDaB0KEnQ4h/GnC19hhv/ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3d3d7acd-ae86-40c8-6faf-08db7552e75e X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9080.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 08:05:13.5610 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: AqrPyvBeyG2Nye9+l2rahLj5VZGlBU7lCJ5XvvyL6gV83zRt13uh3EfpRh/w7P2rC3PnVv69jKSeFz3UDHHYUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9279 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: "Guoniu.zhou" Rename nxp,imx8-isi.yaml to nxp,imx-isi.yaml since the binding doc will also be used in other i.MX SoC, such as i.MX9 serials. Signed-off-by: Guoniu.zhou --- .../bindings/media/{nxp,imx8-isi.yaml => nxp,imx-isi.yaml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml b/Documentation/devicetree/bindings/media/nxp,imx-isi.yaml similarity index 97% rename from Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml rename to Documentation/devicetree/bindings/media/nxp,imx-isi.yaml index 6038b9b5ab36..1ce9440bde32 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx-isi.yaml @@ -1,10 +1,10 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/media/nxp,imx8-isi.yaml# +$id: http://devicetree.org/schemas/media/nxp,imx-isi.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: i.MX8 Image Sensing Interface +title: i.MX Image Sensing Interface maintainers: - Laurent Pinchart From patchwork Sun Jun 25 08:09:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "G.N. Zhou (OSS)" X-Patchwork-Id: 13291836 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3637EB64DC for ; Sun, 25 Jun 2023 08:05:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231844AbjFYIF0 (ORCPT ); Sun, 25 Jun 2023 04:05:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231824AbjFYIFX (ORCPT ); Sun, 25 Jun 2023 04:05:23 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A900E7D; Sun, 25 Jun 2023 01:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JBJ2YFjou2RxlrbUeRgmREFDs7jsg8rSo+OE3uM8nO6QPDoAIimx7S49WpX4BUSQshpnZzs6dkKKiQzSyjsYGriivtO8xl2aprJ//BuJ/VW/b1KnQQPhSTADbfMmY0m6Icn6MNptTvj3MX0qZowlF1PXj+qn/7c889vvAxCGXlEGy/t3WFt36YzEtGSdc8zAT71ASmJMiJKbp9tXU6EZ0SkPTu1rIx9bA/jQo2HRz9jnzDjto5GiIe7poxLKfQ2o4OO2a8rhqVHTsURGYlrXgNr39JEZZlfuJlWa5c2yiWNQAf7uLDFFeR9BlymXo0rp6HLOl/3+5Sg1fGG+EPcIRQ== 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=pxH4e+XyIYF1wjKSnh1vBIRWOvFN2csyO1T/Cy1wg78=; b=R0q4WER+kBbR4nZ+HP48Op0A8i+4E8e4430Muhz3LTesT/jcPYgvXVtbOQDZfhorGHQtLoZea0su2T1ukEb6E6f83C7+vITx/dPW5nkNnqumW36frFfINktdD1uHdOm0Ku2DvUd5sHUpSSz7Y3Hb8GABFVR8Q845GJYcYHgevKvSpvOWph1yG0sf6AtDgaBSaLki0/z8dpY6lcAFb6uoDbcd5SCfHEOfEFDVIS53qRamVFBBCO8NAPUpZRv+jY2BB16OFQlzGHQ72Aw3JDxzLxEZ6oEb9bgQzZCYwSeEd2dp3q2fSfKo6iMQ+tkQLkpY+0Ky2Z5PFPlX4qsYxFT46Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pxH4e+XyIYF1wjKSnh1vBIRWOvFN2csyO1T/Cy1wg78=; b=c4fFaGj8QvJsLSXnsNFQAdLnY9uPiXTW/TyiWCrMXVilRsfk9Xm/QY5Qs/EAPP39pmSY/FL/Wg7AsU2JKUgT1iupOCke4am26SpaEc98Yks/pTwYW6/tpnKQS+HFpD2BkrEFvwwAP8D17nxmY3ozzvLxcTbTH9i/bRCISYtbvHA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AS8PR04MB9080.eurprd04.prod.outlook.com (2603:10a6:20b:447::16) by PAXPR04MB9279.eurprd04.prod.outlook.com (2603:10a6:102:2b7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Sun, 25 Jun 2023 08:05:17 +0000 Received: from AS8PR04MB9080.eurprd04.prod.outlook.com ([fe80::1a0c:99b1:603a:e219]) by AS8PR04MB9080.eurprd04.prod.outlook.com ([fe80::1a0c:99b1:603a:e219%3]) with mapi id 15.20.6521.023; Sun, 25 Jun 2023 08:05:17 +0000 From: guoniu.zhou@oss.nxp.com To: linux-media@vger.kernel.org, linux-imx@nxp.com, devicetree@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, xavier.roumegue@oss.nxp.com, kernel@pengutronix.de, jacopo.mondi@ideasonboard.com, sakari.ailus@linux.intel.com Subject: [PATCH 2/4] media: nxp: rename imx8-isi to imx-isi and remove reference to i.MX8 Date: Sun, 25 Jun 2023 16:09:14 +0800 Message-Id: <20230625080916.3553621-3-guoniu.zhou@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625080916.3553621-1-guoniu.zhou@oss.nxp.com> References: <20230625080916.3553621-1-guoniu.zhou@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0018.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::30) To AS8PR04MB9080.eurprd04.prod.outlook.com (2603:10a6:20b:447::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB9080:EE_|PAXPR04MB9279:EE_ X-MS-Office365-Filtering-Correlation-Id: 78fef639-c104-412e-3583-08db7552e9ca X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pKCrUKIV5XUUCeeJd+S1qFcEt/wtRba3V2m3M94MMK8ZX3uDUImWGdRmzs0JTAzS+hnnpJTnC2aIIn9lHJoeu+N/smb6iRalKcCvIFx8NbAjvSJYtzWCwS8O8pLdJlq1dDCstgfpbcR2c8HgV+kMqbZv6+9NzwO26TLDZYC9g/y4y7KlF2d12Tn2eP8u+nzXN1HvNBzFe2neBPtPcHHvJL49DBTcnjGsOiC0cfRvEK6GDrESO8MyDzzivG6zFquHfzeAPNM9V5s0AQYU6FMz7Q6i4kd/igVmzXRhd/kl+YVTVPijmvMEKw7HvP0I0aHP9STvIbgKlNI/F93Er+AqsWizCpFP9RGNXUf8vZ9mSj4Vfw6RipxpP+Bz6oENZ1aANWuYFd17Bu3fSSOqO3e3QEMnsWKm1NMM/4HWyrAPRowAqTU8VlGbfLDjh4rSlXKRswB4fAYAPJERc9YWI+X0AFhSbNKNNCjiXbHk3KbTnaQ6MN/1lpih10eU8TMFRddpWCrYbBP0uMmgdCo1N6/Y1mJ5qD5MfbXjjWyriW5q8j1XKi/jG2BF8j71cSuCd9i5pQ+QJ4DExKnto2jWOefXs/ntFyKKOt6jb3GSJ9q5z2QFs1SBR4Xro5zqQEgHKYtc X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB9080.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(366004)(39860400002)(376002)(346002)(396003)(451199021)(8676002)(8936002)(66946007)(66556008)(41300700001)(66476007)(316002)(4326008)(6506007)(1076003)(26005)(6512007)(9686003)(186003)(2616005)(478600001)(6666004)(52116002)(6486002)(2906002)(5660300002)(30864003)(7416002)(38100700002)(38350700002)(86362001)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZFesYeYw6EH4yVSig2vd7zsmU+llUSu/DuM4RaQrxJUQOKSW8ZDEkfUfukQV55Su9MvUQNoHLTGOU1CD2cj+48sFsUz1n9/z0kkKnujMb1Z7heCHazFFLPlTfPmUmQSjRrfIPFxWRF1no2BZwVXkmOWbx/NwIHrB9X3AJv5Z7fJO7gtmRDPbqpCiqMykXLNhBzsYrBiS5gorGHhndFTuoxbGqzIGBPJ3XfZlQZxFa0UpyAEUkmRYdqEdMPxypxOYeDOwr9I2gNuI3xm1QJXwqp9+RiMfICxz+3rfGJeQOt8fG3qLEjCq2MlT/WOYFp/LNLCyV00xpNXVNtgmmwodyW9ojiNW4rcgVInxAZvsLHDBEd8dl8G+KtQBjk737PpwPYMO+GV2toSWGx9+bkpm0HbZu8Wc1A7mc25C62d38ub30IuF+fej8FLXOR91rFJU0Q/9fCtiAC/U3WXN0L8+cTBDelHtJFViEsY8ykg8S5MEcfIp+w+iYGXnY/IzJ7gUZUmqjU1qQxTSvVnV/l6CQFqUwQe17vzgcEsGW9ZJ/RDrA6+CzF1PtYye2FbveCEXcAvUH5YUa8aHy48F1jkwKD2BJ/MOZIBpHq73UItXZlAfyfYZuMyT3me0GXZ16rV40nUqET/vyubUMHlqdjYHV9TQ+rtP7z8OrjDO1qroIL7nPgB7DfElED85zA5zO+QeGz8T3+Kc1aXGwewCqlozGredVOgK5szMN9Yu6ThjKhpVayGFqaTP6XGncvmGj4MamKodpUZqO/LeWM1bFdCf5oKdzHHFKTtocRD1tRPGpyacoocElWSiEtJVd90H5LLmC8My7tEYpz1Vap6jXkcDVZdH1vWK9k4tSuSyy9VtRPiFSi909YMx2Uin4TpIBVP3F2vMXBTSDaiI+7zCfALGDJj2QFLfQc+heO22cJu1A7XVOfBIcIQ4hwDpIeiudvfbXECNItJBf/Hd/VPyvUxx9EbIk0zNfZOrKQgRbAmiTZ9TZYYoVt89YsFDe2YB3x+ZjZ1URwUNEewFGV0sRKi+2ZBGfuRpv7EMh6PcX+vB89v3axWviVXgAsTVzQO3qgKD6QpTJP6WXtI82TYEomb6kpxFyNlvATBbCbb7tEm2AnLbkVie/x2/Wd+XawYdnduiGWj0gpjjhoIdGCtxZ8cWiAg5DdiXccxLC2LNuo9rw8/NfiM8+3ivEs1RDsbXL0dy1pahwfMKKT5EHHnG2gNpGkqYcuZhKc7c6kljPlRIsfGj/vexxV70ZRmI4Wsa+kGqqI24WZMZthahov+djIH1j70Uj5cVpo6kIuKIYpODdGnnunSE7K7tcdG1M4Qr0b8Ta76vUC+b6R2zHFO38aavGrFhSaPTahFpAPsdpfV1oeuH4wEXCQ/BAAudc469AGdFENr9nWWrhSbj9G8i9EW5GfDgNJ2m7BEBfLWa/RBSIRmykZoWZUe3A5du+y/Sl9UaTBQ4FVIGS9UprQ/2FkQ2O1MbX2DTPJv8Gv/gENSL8QUO3nhmbdj8oZau+4hAG4Vm6ekeOMnaaGzw7PGoe7HAijs01k0HnCwmsi0gIDS8+Rmh1A+i4QdWQzwmVfT6HU1C X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78fef639-c104-412e-3583-08db7552e9ca X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9080.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 08:05:17.6519 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vbW18tp13Mni3vrX7N4n3p+mIiOEp2p2QhgjsKpM72GsX9tUCGLJ7xxVq5hRJf48pLB5mgfABYh+mqLX1BT7pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9279 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: "Guoniu.zhou" ISI is used both in i.MX8 and i.MX9 SoC, so do not specify a SoC version number in the driver name and header file. Signed-off-by: Guoniu.zhou --- MAINTAINERS | 6 +++--- drivers/media/platform/nxp/Kconfig | 2 +- drivers/media/platform/nxp/Makefile | 2 +- .../platform/nxp/{imx8-isi => imx-isi}/Kconfig | 14 +++++++------- drivers/media/platform/nxp/imx-isi/Makefile | 8 ++++++++ .../imx8-isi-core.c => imx-isi/imx-isi-core.c} | 4 ++-- .../imx8-isi-core.h => imx-isi/imx-isi-core.h} | 2 +- .../imx-isi-crossbar.c} | 4 ++-- .../imx8-isi-debug.c => imx-isi/imx-isi-debug.c} | 4 ++-- .../imx8-isi-hw.c => imx-isi/imx-isi-hw.c} | 4 ++-- .../imx8-isi-m2m.c => imx-isi/imx-isi-m2m.c} | 2 +- .../imx8-isi-pipe.c => imx-isi/imx-isi-pipe.c} | 4 ++-- .../imx8-isi-regs.h => imx-isi/imx-isi-regs.h} | 6 +++--- .../imx8-isi-video.c => imx-isi/imx-isi-video.c} | 8 ++++---- drivers/media/platform/nxp/imx8-isi/Makefile | 8 -------- 15 files changed, 39 insertions(+), 39 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index c83475103a25..2e2fc3c2b338 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15081,12 +15081,12 @@ F: drivers/iio/adc/imx7d_adc.c F: drivers/iio/adc/imx93_adc.c F: drivers/iio/adc/vf610_adc.c -NXP i.MX 8M ISI DRIVER +NXP i.MX ISI DRIVER M: Laurent Pinchart L: linux-media@vger.kernel.org S: Maintained -F: Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml -F: drivers/media/platform/nxp/imx8-isi/ +F: Documentation/devicetree/bindings/media/nxp,imx-isi.yaml +F: drivers/media/platform/nxp/imx-isi/ NXP i.MX 8MP DW100 V4L2 DRIVER M: Xavier Roumegue diff --git a/drivers/media/platform/nxp/Kconfig b/drivers/media/platform/nxp/Kconfig index a0ca6b297fb8..55ce6a44b3fd 100644 --- a/drivers/media/platform/nxp/Kconfig +++ b/drivers/media/platform/nxp/Kconfig @@ -28,7 +28,7 @@ config VIDEO_IMX_MIPI_CSIS Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver v3.3/v3.6.3 found on some i.MX7 and i.MX8 SoCs. -source "drivers/media/platform/nxp/imx8-isi/Kconfig" +source "drivers/media/platform/nxp/imx-isi/Kconfig" # mem2mem drivers diff --git a/drivers/media/platform/nxp/Makefile b/drivers/media/platform/nxp/Makefile index b8e672b75fed..c95d23f1f521 100644 --- a/drivers/media/platform/nxp/Makefile +++ b/drivers/media/platform/nxp/Makefile @@ -2,7 +2,7 @@ obj-y += dw100/ obj-y += imx-jpeg/ -obj-y += imx8-isi/ +obj-y += imx-isi/ obj-$(CONFIG_VIDEO_IMX7_CSI) += imx7-media-csi.o obj-$(CONFIG_VIDEO_IMX_MIPI_CSIS) += imx-mipi-csis.o diff --git a/drivers/media/platform/nxp/imx8-isi/Kconfig b/drivers/media/platform/nxp/imx-isi/Kconfig similarity index 60% rename from drivers/media/platform/nxp/imx8-isi/Kconfig rename to drivers/media/platform/nxp/imx-isi/Kconfig index fcff33fc2630..ce222fa67a2f 100644 --- a/drivers/media/platform/nxp/imx8-isi/Kconfig +++ b/drivers/media/platform/nxp/imx-isi/Kconfig @@ -1,22 +1,22 @@ # SPDX-License-Identifier: GPL-2.0-only -config VIDEO_IMX8_ISI - tristate "i.MX8 Image Sensor Interface (ISI) driver" +config VIDEO_IMX_ISI + tristate "i.MX Image Sensor Interface (ISI) driver" depends on ARCH_MXC || COMPILE_TEST depends on HAS_DMA && PM depends on VIDEO_DEV select MEDIA_CONTROLLER select V4L2_FWNODE - select V4L2_MEM2MEM_DEV if VIDEO_IMX8_ISI_M2M + select V4L2_MEM2MEM_DEV if VIDEO_IMX_ISI_M2M select VIDEO_V4L2_SUBDEV_API select VIDEOBUF2_DMA_CONTIG help V4L2 driver for the Image Sensor Interface (ISI) found in various - i.MX8 SoCs. + i.MX SoCs. -config VIDEO_IMX8_ISI_M2M - bool "i.MX8 Image Sensor Interface (ISI) memory-to-memory support" - depends on VIDEO_IMX8_ISI +config VIDEO_IMX_ISI_M2M + bool "i.MX Image Sensor Interface (ISI) memory-to-memory support" + depends on VIDEO_IMX_ISI help Select 'yes' here to enable support for memory-to-memory processing in the ISI driver. diff --git a/drivers/media/platform/nxp/imx-isi/Makefile b/drivers/media/platform/nxp/imx-isi/Makefile new file mode 100644 index 000000000000..f72e0ce8f17d --- /dev/null +++ b/drivers/media/platform/nxp/imx-isi/Makefile @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-only + +imx-isi-y := imx-isi-core.o imx-isi-crossbar.o imx-isi-hw.o \ + imx-isi-pipe.o imx-isi-video.o +imx-isi-$(CONFIG_DEBUG_FS) += imx-isi-debug.o +imx-isi-$(CONFIG_VIDEO_IMX_ISI_M2M) += imx-isi-m2m.o + +obj-$(CONFIG_VIDEO_IMX_ISI) += imx-isi.o diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c b/drivers/media/platform/nxp/imx-isi/imx-isi-core.c similarity index 99% rename from drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c rename to drivers/media/platform/nxp/imx-isi/imx-isi-core.c index 253e77189b69..cd5678139ddf 100644 --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-core.c @@ -23,7 +23,7 @@ #include #include -#include "imx8-isi-core.h" +#include "imx-isi-core.h" /* ----------------------------------------------------------------------------- * V4L2 async subdevs @@ -535,5 +535,5 @@ module_platform_driver(mxc_isi_driver); MODULE_ALIAS("ISI"); MODULE_AUTHOR("Freescale Semiconductor, Inc."); -MODULE_DESCRIPTION("IMX8 Image Sensing Interface driver"); +MODULE_DESCRIPTION("IMX Image Sensing Interface driver"); MODULE_LICENSE("GPL"); diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.h b/drivers/media/platform/nxp/imx-isi/imx-isi-core.h similarity index 99% rename from drivers/media/platform/nxp/imx8-isi/imx8-isi-core.h rename to drivers/media/platform/nxp/imx-isi/imx-isi-core.h index e469788a9e6c..2cb0caf44c42 100644 --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.h +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-core.h @@ -327,7 +327,7 @@ int mxc_isi_video_buffer_prepare(struct mxc_isi_dev *isi, struct vb2_buffer *vb2 const struct mxc_isi_format_info *info, const struct v4l2_pix_format_mplane *pix); -#ifdef CONFIG_VIDEO_IMX8_ISI_M2M +#ifdef CONFIG_VIDEO_IMX_ISI_M2M int mxc_isi_m2m_register(struct mxc_isi_dev *isi, struct v4l2_device *v4l2_dev); int mxc_isi_m2m_unregister(struct mxc_isi_dev *isi); #else diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c b/drivers/media/platform/nxp/imx-isi/imx-isi-crossbar.c similarity index 99% rename from drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c rename to drivers/media/platform/nxp/imx-isi/imx-isi-crossbar.c index f7447b2f4d77..f3e3ed080b07 100644 --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-crossbar.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * i.MX8 ISI - Input crossbar switch + * i.MX ISI - Input crossbar switch * * Copyright (c) 2022 Laurent Pinchart */ @@ -18,7 +18,7 @@ #include #include -#include "imx8-isi-core.h" +#include "imx-isi-core.h" static inline struct mxc_isi_crossbar *to_isi_crossbar(struct v4l2_subdev *sd) { diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-debug.c b/drivers/media/platform/nxp/imx-isi/imx-isi-debug.c similarity index 98% rename from drivers/media/platform/nxp/imx8-isi/imx8-isi-debug.c rename to drivers/media/platform/nxp/imx-isi/imx-isi-debug.c index 6709ab7ea1f3..302bfbd527ea 100644 --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-debug.c +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-debug.c @@ -11,8 +11,8 @@ #include #include -#include "imx8-isi-core.h" -#include "imx8-isi-regs.h" +#include "imx-isi-core.h" +#include "imx-isi-regs.h" static inline u32 mxc_isi_read(struct mxc_isi_pipe *pipe, u32 reg) { diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c b/drivers/media/platform/nxp/imx-isi/imx-isi-hw.c similarity index 99% rename from drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c rename to drivers/media/platform/nxp/imx-isi/imx-isi-hw.c index 19e80b95ffea..3803ea1d4073 100644 --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-hw.c @@ -8,8 +8,8 @@ #include #include -#include "imx8-isi-core.h" -#include "imx8-isi-regs.h" +#include "imx-isi-core.h" +#include "imx-isi-regs.h" #define ISI_DOWNSCALE_THRESHOLD 0x4000 diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c b/drivers/media/platform/nxp/imx-isi/imx-isi-m2m.c similarity index 99% rename from drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c rename to drivers/media/platform/nxp/imx-isi/imx-isi-m2m.c index 9745d6219a16..5138524ed1d3 100644 --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-m2m.c @@ -32,7 +32,7 @@ #include #include -#include "imx8-isi-core.h" +#include "imx-isi-core.h" struct mxc_isi_m2m_buffer { struct v4l2_m2m_buffer buf; diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c b/drivers/media/platform/nxp/imx-isi/imx-isi-pipe.c similarity index 99% rename from drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c rename to drivers/media/platform/nxp/imx-isi/imx-isi-pipe.c index c4454aa1cb34..7c1ba4e45f5d 100644 --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-pipe.c @@ -23,8 +23,8 @@ #include #include -#include "imx8-isi-core.h" -#include "imx8-isi-regs.h" +#include "imx-isi-core.h" +#include "imx-isi-regs.h" /* * While the ISI receives data from the gasket on a 3x12-bit bus, the pipeline diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-regs.h b/drivers/media/platform/nxp/imx-isi/imx-isi-regs.h similarity index 99% rename from drivers/media/platform/nxp/imx8-isi/imx8-isi-regs.h rename to drivers/media/platform/nxp/imx-isi/imx-isi-regs.h index 1b65eccdf0da..2b4f8248b761 100644 --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-regs.h +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-regs.h @@ -3,8 +3,8 @@ * Copyright 2019-2020 NXP */ -#ifndef __IMX8_ISI_REGS_H__ -#define __IMX8_ISI_REGS_H__ +#ifndef __IMX_ISI_REGS_H__ +#define __IMX_ISI_REGS_H__ #include @@ -415,4 +415,4 @@ /* Channel Input Buffer Extended Address Bits */ #define CHNL_IN_BUF_XTND_ADDR 0x00b8 -#endif /* __IMX8_ISI_REGS_H__ */ +#endif /* __IMX_ISI_REGS_H__ */ diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c b/drivers/media/platform/nxp/imx-isi/imx-isi-video.c similarity index 99% rename from drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c rename to drivers/media/platform/nxp/imx-isi/imx-isi-video.c index 10840c9a0912..0b5cc7c08332 100644 --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-video.c @@ -1,8 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 /* - * V4L2 Capture ISI subdev driver for i.MX8QXP/QM platform + * V4L2 Capture ISI subdev driver for i.MX platform * - * ISI is a Image Sensor Interface of i.MX8QXP/QM platform, which + * ISI is a Image Sensor Interface of i.MX platform, which * used to process image from camera sensor to memory or DC * * Copyright (c) 2019 NXP Semiconductor @@ -30,8 +30,8 @@ #include #include -#include "imx8-isi-core.h" -#include "imx8-isi-regs.h" +#include "imx-isi-core.h" +#include "imx-isi-regs.h" /* Keep the first entry matching MXC_ISI_DEF_PIXEL_FORMAT */ static const struct mxc_isi_format_info mxc_isi_formats[] = { diff --git a/drivers/media/platform/nxp/imx8-isi/Makefile b/drivers/media/platform/nxp/imx8-isi/Makefile deleted file mode 100644 index 9bff9297686d..000000000000 --- a/drivers/media/platform/nxp/imx8-isi/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only - -imx8-isi-y := imx8-isi-core.o imx8-isi-crossbar.o imx8-isi-hw.o \ - imx8-isi-pipe.o imx8-isi-video.o -imx8-isi-$(CONFIG_DEBUG_FS) += imx8-isi-debug.o -imx8-isi-$(CONFIG_VIDEO_IMX8_ISI_M2M) += imx8-isi-m2m.o - -obj-$(CONFIG_VIDEO_IMX8_ISI) += imx8-isi.o From patchwork Sun Jun 25 08:09:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "G.N. Zhou (OSS)" X-Patchwork-Id: 13291837 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FA2BC0015E for ; Sun, 25 Jun 2023 08:05:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231830AbjFYIF2 (ORCPT ); Sun, 25 Jun 2023 04:05:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231854AbjFYIF0 (ORCPT ); Sun, 25 Jun 2023 04:05:26 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09105E75; Sun, 25 Jun 2023 01:05:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i1oLhsOEqQ0MsZmnRUUyC9Py56QL8ntOdpnwdbAd7Gr+h1zhxQLMtu9m/1sCmbtnl0WATThNVtYhu9p7O5QkPH4DbpJCAiOaIFV60K1KnsXhhY7nVj1I0WWJkVvQAXChxriXpp7lRMvTsU2VtixsvTp1vXaOIybODPAsWljzixQXlUm7nuwDKa6E6aHagFNaYDUS+cathSQ6xGvVnZh2LXMJOP4eYHOCjDtekU1QrOOCtJi9hhM8GdnNUbYS3qX/pwwb22lgZ/5Qc6qrYb07FUpP/hDKp5ZMY6kU8jJaXCyEJsTKk3bfkeIpcywitDeAlxxEc4ptxuetB09FK+4K9A== 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=5VuscsxdVKxHWUm9xJLT9I47Jik43Opw+YbPEShMw0c=; b=BmeFFChAdXsTnIv+IPxHE3/S6NkKVDKOnot9aPbWL3ztfwum7FkcFEjBiueztlbwJ9SgAUQPdEonKjpzpSBHhwLAjKgwcjnP1QB1vf2vMHWfXznQPoyrsBB2IMakq+L4Lsb01t9ts9poOR1rc37z95F5c/4SakX3Ur2/dc6oqXHqmHGm3c9SnjAt5Jy5vX3smSyhOwGl93b+mgkLTsSZV5LMZOKdusuy1xulnE7jClVuxshGFBFdXILIKm4Nn7t2eQjPrR+rPXU6IWeIJ3DtsQ6ySbAONy19AwoFLx0VE7kvO67nKpmU8k5uzcqCUydOIlXjUAI7XhwOUy+KA41tsw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5VuscsxdVKxHWUm9xJLT9I47Jik43Opw+YbPEShMw0c=; b=MBMZtg2IPPnAjPC5r0hnQBttt9K7AiZrvtOJnwzCn0RdYXV9sp89AZweIDK+WPmMQY7+xQRx7/Ve4SJTrBWYB6STBVEmbKHfb9U8uzDLX1B9oORqaTlPcloH/nYd34/7IPLOebocVPSwNS//i8VdZTc2ulaZfJRZlsfeWU1KLtk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AS8PR04MB9080.eurprd04.prod.outlook.com (2603:10a6:20b:447::16) by PAXPR04MB9279.eurprd04.prod.outlook.com (2603:10a6:102:2b7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Sun, 25 Jun 2023 08:05:21 +0000 Received: from AS8PR04MB9080.eurprd04.prod.outlook.com ([fe80::1a0c:99b1:603a:e219]) by AS8PR04MB9080.eurprd04.prod.outlook.com ([fe80::1a0c:99b1:603a:e219%3]) with mapi id 15.20.6521.023; Sun, 25 Jun 2023 08:05:21 +0000 From: guoniu.zhou@oss.nxp.com To: linux-media@vger.kernel.org, linux-imx@nxp.com, devicetree@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, xavier.roumegue@oss.nxp.com, kernel@pengutronix.de, jacopo.mondi@ideasonboard.com, sakari.ailus@linux.intel.com Subject: [PATCH 3/4] media: dt-bindings: media: nxp,imx-isi: i.MX93 support Date: Sun, 25 Jun 2023 16:09:15 +0800 Message-Id: <20230625080916.3553621-4-guoniu.zhou@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625080916.3553621-1-guoniu.zhou@oss.nxp.com> References: <20230625080916.3553621-1-guoniu.zhou@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0018.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::30) To AS8PR04MB9080.eurprd04.prod.outlook.com (2603:10a6:20b:447::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB9080:EE_|PAXPR04MB9279:EE_ X-MS-Office365-Filtering-Correlation-Id: 62205275-a99e-4a84-1324-08db7552ec0b X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zi99kMoCyjCGcNHKGjYZW9Wt/mnGI87KPYpWW9MWt+69KP/ajcZcb3MZrBEl2z+82vPvg9gzq6sJzsCzeA0lk1g/GXxdvhDIocix6XZ2ubovgwg1+EI2oIIZX2K5s9/xliqfyIyi/bGeptVTkHg7WSIbTwfjv67LEhh5F5ryW00XYAQOAOdpcnEurQpnm6V+0tPhZlfeNB7L60nHMKzUfTEELuueYRPcyKjocYrZWnUGZ6X0m3Rhcntio7uU2KlvcyVehNEVRy8BuTz3TUpKRXUneudnC32rda4CIe4sUWkxNrMZSRApaLCbSnlkpTv+BM/cFypBuE9+ZlVIlHoyQMymbGrnHWdZgevtGW0JFTr6L8w7q/HktTHOBZzacFcemu4W80vcIGfOdcFnxZgeBo1edBuIyg/bpMOFTTAQwoGBsuUQQ9lHJ+G/W5u/x66iDuKDfGBy2aIueKyAxIGjE9iIgZX0aji+z59tiCgz5EhclHmldkS4OCINsQNvb6u8U+zA95K5u5ewxZ5QC06pJvqU67bqIBadvgCQ3xcTNlvTx9m+m+qtxER9xo844mI9ib/9FOEMqzfnLKeu9QP2ABnPVmMRQTPYUl7eGY8ojhA2ERQHIlZ05UedlZssl4ZB X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB9080.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(366004)(39860400002)(376002)(346002)(396003)(451199021)(8676002)(8936002)(66946007)(66556008)(41300700001)(66476007)(316002)(4326008)(6506007)(1076003)(26005)(6512007)(9686003)(186003)(2616005)(478600001)(6666004)(52116002)(6486002)(2906002)(4744005)(5660300002)(7416002)(38100700002)(38350700002)(86362001)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: J8N9BW445tJ/ev0Rkw8ghmY+WZopD9sw63GZFEaxJMxf/Ukd/PuOBU1j+4I8x/dzpddOEUk2IFEaOIxESCg+0+YU2o9kq/KfsCQfcJ642Ro5M0tPfQHXuSR2FhjhxyRgGSjVollaQUPbQM82urh5tlZ0FXtVRLkbqPCR4ImDWqhnF6vsIW+a9rfN7C5K2hAiIiTRDjk8tN6XYiXUPuR0G7GRaZmfXi6UeGdmTC+BpcK7/wjpxONSbOLomjCtVc9Da1A1wejM1NpnyyA9Tl4v40WxN5FS2RawOWAUTJ0i7gQaBl0aDEq54jfY27JqyyJF+/PiqUHwoappWibkTHKEbrHOYe6PJMwpAbPEDmXA3mhTAGRopF+3u+KEK8bn+m6bSbUuI7Psl3kH0pyftoz1jJPazU8fAaXuLxfeT0/m3PTygrUG/n75FSJQ5rRofE8OcUKbeVWta7cYunLuFANrWQJJy+2hrGIyUSRsgIBR4giwdunijX1nsyMs9ymhY0ZBTvXpFJTfkhZsrj/gnXH98Gkv/cqm4Jz0X5LMtZGUcWcPJV/iE0AZLrczHdW1lyi20mxxq6BsoujWVSBYZxJHm4F4h17qGGJPfuA+gpPFIfXkUeXSR2GTkGFL7+JLQI7wjrruLYoUKgNF0d+GNPo3urL0SWAHWAQUSVf1RwdeKhKZ9QTKMMjPEHTn7q6+37L25OMVIJ/gg4s8LWON3kHFSj8Uy0zeDAv9d2fB656ca4UIwgpbZVH5BrB8Ifu73+cTeueR+2XIYB50l5WhjXPn6scsDnJmDojjjEqhEkgi3aJj8QaIGZZgYvp8dZDrxYUWnMwjVGce1Jr8bnH/WmZu52gg/y26JWc0w5Qm7+GCPSiLTvBahnxTRq8mob92cLq6R5i4wU4vunQXxAXnG08elY3DUfx7rzgng6qylq81v2F+fg2j/W5kF0jMLA7p3KTVcX3qVrCWWLjFmogXm57xESSLe40UyVE5VS4fBXFPURGbJaNfOeidTcVb2TmBGdNiLDtLgaGVdD7+J4f2SkpBileI61smWQOptU7IsXt/YK53f/rX9vrY0ZduFJro5QIo0b77qCYVHhs/Gc48HKt/hkYy/zI8VyOjw78v6kgjxHPJ1XCQjKhKs+xIi0KltuOtrJS78xc3tBiCaXbYXJrqENWHj4i8tOoyLkvRFENUoRpQnJMQ7K6jgtS/WzRfeEJxJV/9D+WHEQ1Nrq8QxIf3dMGqJZb1lLYr6PB53Q7BUgh5S8XgU9fhtovk9qYWqMBncF9Go137G5DPconFx7pxiddzBnXIsN3GrxGlhVsFUaiue14m2cQ2vxmj52XrNCVpFpCDKc23zI7bfjJOD/KnNWvhwpnrMjnUFWSZtgwPJTCQ1UOJAj1RHuCmPb6OH+uE+utpVr+jRqiyA6t3KzaeswrLCTpaFAHtQYHTe4HnzzY6dvvRkUFMY5jBDdRFKDwJC9sW7aVtocZlKG4yPOnBhlEZPDJ2/pNNku6RzohCHKXh+rqK1Zha5bQVplsgAxd8qllywT39l3g2GrcGlValg/a8v20UdIIlZyyD96IGdeeTagbqDrNIFrEMBEThEw4V X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62205275-a99e-4a84-1324-08db7552ec0b X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9080.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 08:05:21.3956 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3Ud73aUL1WDfuh4YukJ/GG1x+ELP2GgYK/2j4ivMy0HhKk5YBO4aelFJBjMp6tvK2cTMpMxPJiFz0kvEkchAIQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9279 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: "Guoniu.zhou" Add i.MX93 support since it reuse ISI which used in i.MX8M family. Signed-off-by: Guoniu.zhou Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/media/nxp,imx-isi.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/nxp,imx-isi.yaml b/Documentation/devicetree/bindings/media/nxp,imx-isi.yaml index 1ce9440bde32..ddad1d8778f3 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx-isi.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx-isi.yaml @@ -21,6 +21,7 @@ properties: enum: - fsl,imx8mn-isi - fsl,imx8mp-isi + - fsl,imx93-isi reg: maxItems: 1 @@ -72,7 +73,9 @@ allOf: properties: compatible: contains: - const: fsl,imx8mn-isi + enum: + - fsl,imx8mn-isi + - fsl,imx93-isi then: properties: interrupts: From patchwork Sun Jun 25 08:09:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "G.N. Zhou (OSS)" X-Patchwork-Id: 13291838 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02ED3EB64DD for ; Sun, 25 Jun 2023 08:05:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231834AbjFYIFb (ORCPT ); Sun, 25 Jun 2023 04:05:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231828AbjFYIF3 (ORCPT ); Sun, 25 Jun 2023 04:05:29 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2056.outbound.protection.outlook.com [40.107.22.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2111E75; Sun, 25 Jun 2023 01:05:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mIbcdoqy8fY67vl1Fh2tDWdEX/tvYEylUXBNhYgBsV6b1qvnMj4AXe6vLecv1iN89IDCP3PMmMvfNgun2BjfJehd23UX4O4hAS6ZMoy6D3BXDFLP1BBuOPqlDR9ZzoV6hzDnEj+jB9XcdEmD7Vn1cn3tLqUbRHLKcDf6tqaSbwD8YGYchaUHlNqyAJDA7qLqJn+O5kz95r9c7vP0gUlNf7gKinlv1UPDbEQIWn2Y1pCmQthM48h5n8QfdNEHEB7iJzNS3QX6e3gFb+5WO5HlXzDtSM9rEQVN4h8yAPTZt5GO9LBajOdk/pIObRVftgi9VsDiAfurCSUuU4eEItpjSw== 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=SPSTbUaYEqv+wMQXDxOJB34wd+ZBrnmZYuWFvOTlnWk=; b=BS4hGNUZyt+YRniZ47/G8vhtr5hpgGoRkbZvPW0FhBhJ5boMEWYdACXQqyWTvAF8R9t0JFtOnDVMbNgoimevg+Qid0IyHgR/fJVuqmdi59wcZimu2ykRov3pnnldEKrTqc2mv3X+AWvJJ9FkliKMGloPM5izVgErj31JuAgvMDymMWR2024gBprZyd/zHFCIYA5QU3o7kCbnQVWSFM2Gd/jqGqorrkxEr2Diz90zyOEuTa3kveP/XwIKTfxFTGqu27Rhr149SlbrxID1UpxSOQNOLUMjJBn80xcK5PBR/BNAo5ySgEkOD8+XjUK625MuTmckMp5C0zGZXMsjNOnWIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SPSTbUaYEqv+wMQXDxOJB34wd+ZBrnmZYuWFvOTlnWk=; b=IYwvAXhUuilWEe7IGgN0/tQV6yGIj7CoCDe9jeozjegbrc6ug1kwOljnFMDK940vAJuLkteVOlLvR4zbNwGRbxCv19D6WIWle2pLavHnPpcteLfYA4MMPc6Gx/vgbR1aDX5t+HGgcMyYEwFrV5++fz4UBoPgMKkk7LkgYqOY33c= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AS8PR04MB9080.eurprd04.prod.outlook.com (2603:10a6:20b:447::16) by PAXPR04MB9279.eurprd04.prod.outlook.com (2603:10a6:102:2b7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Sun, 25 Jun 2023 08:05:25 +0000 Received: from AS8PR04MB9080.eurprd04.prod.outlook.com ([fe80::1a0c:99b1:603a:e219]) by AS8PR04MB9080.eurprd04.prod.outlook.com ([fe80::1a0c:99b1:603a:e219%3]) with mapi id 15.20.6521.023; Sun, 25 Jun 2023 08:05:25 +0000 From: guoniu.zhou@oss.nxp.com To: linux-media@vger.kernel.org, linux-imx@nxp.com, devicetree@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, xavier.roumegue@oss.nxp.com, kernel@pengutronix.de, jacopo.mondi@ideasonboard.com, sakari.ailus@linux.intel.com Subject: [PATCH 4/4] media: nxp: imx-isi: add ISI support for i.MX93 Date: Sun, 25 Jun 2023 16:09:16 +0800 Message-Id: <20230625080916.3553621-5-guoniu.zhou@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625080916.3553621-1-guoniu.zhou@oss.nxp.com> References: <20230625080916.3553621-1-guoniu.zhou@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0018.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::30) To AS8PR04MB9080.eurprd04.prod.outlook.com (2603:10a6:20b:447::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB9080:EE_|PAXPR04MB9279:EE_ X-MS-Office365-Filtering-Correlation-Id: 89ecf06e-e054-4166-8e81-08db7552ee49 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: U1sZOYg+V9O5KTy/Txfy0EW66NWJWFr4g4dMmpNg9X1WTIlgxKReqMRp16b5WDGH9CGOQL2+PhxA9JrpKY+c6emvPMAlphYcfn/jZ1BzQ9DwtAiE692tDtaj4iWWeY5+N3xSWcJEPIqWVIXkFhnW1l4WXv49l+LU7LHvDf7CgjzUJtSeO1Ee1LzwatGpuROicA2FVNY1MFElXdhlOgdlX5hle3H8IFE6QEcRQlbQGYPTWcVKENCr0N30n4Hqns17d9VWcHBta0OgcjYGIlAnq89G9z7seCeIEBvVKTt5kE1ID1E07iNBl+36MkGImAYEw5zXK8/ZJa2GlhNSHFeQ8/RL9/JBpOfXImUs3lgFYOgZl/bPBn03l4Js/5jAVBuQylYqB9MB1o0zNsTgdejwJ1KQGVpD/HPC4gMkcA2KwSVldjR1bIXrec8ZhYZijsTSozFTh6M+PdLyjFB4egicpWvEAGeS2uIpr0JesqGcFB95Vcgm98wTeSnzeqR0GYzFrQIQC0dDZwUHtz0+DDY4qMprXpP0zHB/60TNMRyxIt4/0tsdK2E1rWywm5vPmUu/SO048p/NEgMVfiTNP4JaZisOk7YQCjEI17t1amfscf5vsol8c1mlWXp8kQSpwYLg X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB9080.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(366004)(39860400002)(376002)(346002)(396003)(451199021)(8676002)(8936002)(66946007)(66556008)(41300700001)(66476007)(316002)(4326008)(6506007)(1076003)(26005)(6512007)(9686003)(186003)(2616005)(478600001)(6666004)(52116002)(6486002)(2906002)(5660300002)(7416002)(38100700002)(38350700002)(86362001)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zTPgCjdUxnFUEZ9OBcOrAnhFwYVqetb9KN8gCUo+r4oZkf6sN/so4yLP4OyqWyMchmBsFxPr+CsZ8muk2Nylk5FA24X0ryeog3gJ2z98ZkjHMttuXhxHEmOtQCjST+nfyU/A1ovM74By9Ml5f6yvQtGIXZVO/PpzOJl53DUqau3lYZhbb4LnWbhzc5Yygx1K8HmNBIk5oj3zihlW4xK5GlwR6OJkE6GhDOU+PoT58FnuYC0LBA7FcN14mWqPcUeiBgzNLUf3y5nJ4NjRGorziGvFT2d1B2KnQzHsguTUdrqp8yDRBiK/4wvVfCekJbyhDsW4zpiTBnywNl6B7VVce2Dn7jYraNTGYWj59nqSczwHv/y5E934aND5xNfAt42jsmR8lIQ9RNfly055Zrw6vtYUoHWMFlzon8PqNl5qSmlizgPWgUTJ7uskni5aycx32+BN6BvqhAYP0K3cITad5+spX6DVXQR55/0ryipd/buGF3K5YTpTZp2lLU9OTYvlJTHhXjmRkMgWrRlcTs3lpAZOGT+TAGbIN0/K1y/W2CFNdRPpG5YuMYmcp0WOApuisuTynGWov26ifzYHz77YlEFgKnXrx1a9CAavbfblhjWnHdu4tw1fbEkY5wHTI8WZk4PIBPjXfSAAAjROI5HEeADoocw2qnexov82Ql8atQPfwLK795OwEV4jKVTiMALZE8JuT0zkYsxFf5lsiPRIPiQ68PY/hc7Ea/8qBi6F53fLwC5iAP0Igb1F01bIMYVsZqUL4iyaNq1gwIF0BCas38inzFDDgIqdc/zOXIH/lINokf0FcqmA3UeZ91qEA2ENF49a1OupJdCXMwbVv2hJwsbaRKjBQ2aVzp5U1fO6atCnWoCXct0UYH/TdI6WSjTxyn8HzH9NJiq+pvv8xTorBlGga9C+kUcrdh8gHMH8yJMCmoWKPSpyprCNkSmGjwfbK/MpexYWtLF1YzR3fk/fE3chEE4rpi9aEaXvmoeIBrAJ3sfBcvQrB3W4NTSBQSxExMt+NX2hTy+E4vYvdDUGqLVK6vOtIPzL2IRc0Bii0Ae14Opn62xX9T0bdfZjLgn1f6uqgZ5a4VKQ5+zgI7Q8tDCZZLlEzah6v2orn2t/qQIXFEarOJ3vuQrYL05oVN4wclTx52/dk5x1lBBRcI4j1gxzD3bzI1f0Zw8m/WOj+2emXO8hGnpDaD4PZjXlzEEdFOxMYr2er8O4zpOSMSJv3D4VXW7WnJMBC0smpPsrssxme5VEgZWMShsPqSCy9ibSicMhmyl5uU8b76trF8GnrXYFJjJl1S6JV8kzMfd0l4WLp9MLOlSascLX5ofIYMwHwkTOFEvTgFbgnvufjq+ymLjp11n1V4NwrQRW3b/EVsmznB7tKLvIRDAO2qHx1mpCzT+GVuA60qjWfz2UjN2LR6ZHDJULu8kKfjdIope3PW2uMQks8FiUyoiayOS27qyYmfMzj6XiNbLAc08TMD7xvO7DXfzCuqPfRbTD5QLA2hBtQAclhirX3Oj3yJyjMuGx1xjlKLodkoANnDm5Q0D9ZUOz3/vzuQPRZ5n7wHK0idREhFtF/ykrltl2KyApjjep X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89ecf06e-e054-4166-8e81-08db7552ee49 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9080.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 08:05:25.0218 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: F0Qn4cM/fNOjqn85sBzGt1RyuiM9GtMJhz7eaA+lZEROwEosuUU9ukQSTXGDdKebt6KwCa8MRXAKrUtH4f6D6A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9279 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: "Guoniu.zhou" Abstract gasket operation and driver should implement them for SoC which support gasket. i.MX93 use a different gasket which has different register definition compared with i.MX8. Hence implement the gasket callbacks in order to add ISI support for i.MX93 SoC. Signed-off-by: Guoniu.zhou --- .../media/platform/nxp/imx-isi/imx-isi-core.c | 110 ++++++++++++++++++ .../media/platform/nxp/imx-isi/imx-isi-core.h | 33 ++++++ .../platform/nxp/imx-isi/imx-isi-crossbar.c | 51 ++++---- 3 files changed, 169 insertions(+), 25 deletions(-) diff --git a/drivers/media/platform/nxp/imx-isi/imx-isi-core.c b/drivers/media/platform/nxp/imx-isi/imx-isi-core.c index cd5678139ddf..1fc0d2a67042 100644 --- a/drivers/media/platform/nxp/imx-isi/imx-isi-core.c +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-core.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -279,6 +280,54 @@ static const struct clk_bulk_data mxc_imx8mn_clks[] = { { .id = "apb" }, }; +static int mxc_imx8_gasket_config(struct mxc_isi_dev *isi, + const struct v4l2_mbus_frame_desc *fd, + const struct v4l2_mbus_framefmt *fmt, + const unsigned int port) +{ + u32 val; + + regmap_write(isi->gasket, GASKET_BASE(port) + GASKET_HSIZE, fmt->width); + regmap_write(isi->gasket, GASKET_BASE(port) + GASKET_VSIZE, fmt->height); + + val = GASKET_CTRL_DATA_TYPE(fd->entry[0].bus.csi2.dt); + if (fd->entry[0].bus.csi2.dt == MIPI_CSI2_DT_YUV422_8B) + val |= GASKET_CTRL_DUAL_COMP_ENABLE; + + regmap_write(isi->gasket, GASKET_BASE(port) + GASKET_CTRL, val); + + dev_dbg(isi->dev, "w/h=(%d, %d), data type=0x%x\n", + fmt->width, fmt->height, + fd->entry[0].bus.csi2.dt); + + return 0; +} + +static int mxc_imx8_gasket_enable(struct mxc_isi_dev *isi, + const unsigned int port) +{ + u32 val; + + regmap_read(isi->gasket, GASKET_BASE(port), &val); + val |= GASKET_CTRL_ENABLE; + + regmap_write(isi->gasket, GASKET_BASE(port) + GASKET_CTRL, val); + + return 0; +} + +static void mxc_imx8_gasket_disable(struct mxc_isi_dev *isi, + const unsigned int port) +{ + regmap_write(isi->gasket, GASKET_BASE(port) + GASKET_CTRL, 0); +} + +static const struct mxc_gasket_ops mxc_imx8_gasket_ops = { + .config = mxc_imx8_gasket_config, + .enable = mxc_imx8_gasket_enable, + .disable = mxc_imx8_gasket_disable, +}; + static const struct mxc_isi_plat_data mxc_imx8mn_data = { .model = MXC_ISI_IMX8MN, .num_ports = 1, @@ -290,6 +339,7 @@ static const struct mxc_isi_plat_data mxc_imx8mn_data = { .num_clks = ARRAY_SIZE(mxc_imx8mn_clks), .buf_active_reverse = false, .has_gasket = true, + .gasket_ops = &mxc_imx8_gasket_ops, .has_36bit_dma = false, }; @@ -304,6 +354,65 @@ static const struct mxc_isi_plat_data mxc_imx8mp_data = { .num_clks = ARRAY_SIZE(mxc_imx8mn_clks), .buf_active_reverse = true, .has_gasket = true, + .gasket_ops = &mxc_imx8_gasket_ops, + .has_36bit_dma = true, +}; + +static int mxc_imx93_gasket_config(struct mxc_isi_dev *isi, + const struct v4l2_mbus_frame_desc *fd, + const struct v4l2_mbus_framefmt *fmt, + const unsigned int port) +{ + u32 val; + + val = DISP_MIX_CAMERA_MUX_DATA_TYPE(fd->entry[0].bus.csi2.dt); + regmap_write(isi->gasket, DISP_MIX_CAMERA_MUX, val); + + dev_dbg(isi->dev, "data type=0x%x\n", fd->entry[0].bus.csi2.dt); + + return 0; +} + +static int mxc_imx93_gasket_enable(struct mxc_isi_dev *isi, + const unsigned int port) +{ + u32 val; + + regmap_read(isi->gasket, DISP_MIX_CAMERA_MUX, &val); + val |= DISP_MIX_CAMERA_MUX_GASKET_ENABLE; + regmap_write(isi->gasket, DISP_MIX_CAMERA_MUX, val); + + return 0; +} + +static void mxc_imx93_gasket_disable(struct mxc_isi_dev *isi, + unsigned int port) +{ + u32 val; + + regmap_read(isi->gasket, DISP_MIX_CAMERA_MUX, &val); + val &= ~DISP_MIX_CAMERA_MUX_GASKET_ENABLE; + regmap_write(isi->gasket, DISP_MIX_CAMERA_MUX, val); +} + +static const struct mxc_gasket_ops mxc_imx93_gasket_ops = { + .config = mxc_imx93_gasket_config, + .enable = mxc_imx93_gasket_enable, + .disable = mxc_imx93_gasket_disable, +}; + +static const struct mxc_isi_plat_data mxc_imx93_data = { + .model = MXC_ISI_IMX93, + .num_ports = 1, + .num_channels = 1, + .reg_offset = 0, + .ier_reg = &mxc_imx8_isi_ier_v2, + .set_thd = &mxc_imx8_isi_thd_v1, + .clks = mxc_imx8mn_clks, + .num_clks = ARRAY_SIZE(mxc_imx8mn_clks), + .buf_active_reverse = true, + .has_gasket = true, + .gasket_ops = &mxc_imx93_gasket_ops, .has_36bit_dma = true, }; @@ -518,6 +627,7 @@ static int mxc_isi_remove(struct platform_device *pdev) static const struct of_device_id mxc_isi_of_match[] = { { .compatible = "fsl,imx8mn-isi", .data = &mxc_imx8mn_data }, { .compatible = "fsl,imx8mp-isi", .data = &mxc_imx8mp_data }, + { .compatible = "fsl,imx93-isi", .data = &mxc_imx93_data }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, mxc_isi_of_match); diff --git a/drivers/media/platform/nxp/imx-isi/imx-isi-core.h b/drivers/media/platform/nxp/imx-isi/imx-isi-core.h index 2cb0caf44c42..bbe939e91850 100644 --- a/drivers/media/platform/nxp/imx-isi/imx-isi-core.h +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-core.h @@ -18,6 +18,7 @@ #include #include +#include #include #include #include @@ -59,6 +60,27 @@ struct v4l2_m2m_dev; #define MXC_ISI_M2M "mxc-isi-m2m" #define MXC_MAX_PLANES 3 +/* GASKET (i.MX8MN and i.MX8MP only) */ +#define GASKET_BASE(n) (0x0060 + (n) * 0x30) + +#define GASKET_CTRL 0x0000 +#define GASKET_CTRL_DATA_TYPE(dt) ((dt) << 8) +#define GASKET_CTRL_DATA_TYPE_MASK (0x3f << 8) +#define GASKET_CTRL_DUAL_COMP_ENABLE BIT(1) +#define GASKET_CTRL_ENABLE BIT(0) + +#define GASKET_HSIZE 0x0004 +#define GASKET_VSIZE 0x0008 + +/* dispmix_GPR register (i.MX93 only) */ +#define DISP_MIX_CAMERA_MUX 0x30 +#define DISP_MIX_CAMERA_MUX_DATA_TYPE(x) (((x) & 0x3f) << 3) +#define DISP_MIX_CAMERA_MUX_GASKET_ENABLE BIT(16) + +#define DISP_MIX_CSI_REG 0x48 +#define DISP_MIX_CSI_REG_CFGFREQRANGE(x) ((x) & 0x3f) +#define DISP_MIX_CSI_REG_HSFREQRANGE(x) (((x) & 0x7f) << 8) + struct mxc_isi_dev; struct mxc_isi_m2m_ctx; @@ -147,9 +169,19 @@ struct mxc_isi_set_thd { struct mxc_isi_panic_thd panic_set_thd_v; }; +struct mxc_gasket_ops { + int (*enable)(struct mxc_isi_dev *isi, const unsigned int port); + int (*config)(struct mxc_isi_dev *isi, + const struct v4l2_mbus_frame_desc *fd, + const struct v4l2_mbus_framefmt *fmt, + const unsigned int port); + void (*disable)(struct mxc_isi_dev *isi, const unsigned int port); +}; + enum model { MXC_ISI_IMX8MN, MXC_ISI_IMX8MP, + MXC_ISI_IMX93, }; struct mxc_isi_plat_data { @@ -160,6 +192,7 @@ struct mxc_isi_plat_data { const struct mxc_isi_ier_reg *ier_reg; const struct mxc_isi_set_thd *set_thd; const struct clk_bulk_data *clks; + const struct mxc_gasket_ops *gasket_ops; unsigned int num_clks; bool buf_active_reverse; bool has_gasket; diff --git a/drivers/media/platform/nxp/imx-isi/imx-isi-crossbar.c b/drivers/media/platform/nxp/imx-isi/imx-isi-crossbar.c index f3e3ed080b07..f3b49ff132d4 100644 --- a/drivers/media/platform/nxp/imx-isi/imx-isi-crossbar.c +++ b/drivers/media/platform/nxp/imx-isi/imx-isi-crossbar.c @@ -25,20 +25,6 @@ static inline struct mxc_isi_crossbar *to_isi_crossbar(struct v4l2_subdev *sd) return container_of(sd, struct mxc_isi_crossbar, sd); } -/* ----------------------------------------------------------------------------- - * Media block control (i.MX8MN and i.MX8MP only) - */ -#define GASKET_BASE(n) (0x0060 + (n) * 0x30) - -#define GASKET_CTRL 0x0000 -#define GASKET_CTRL_DATA_TYPE(dt) ((dt) << 8) -#define GASKET_CTRL_DATA_TYPE_MASK (0x3f << 8) -#define GASKET_CTRL_DUAL_COMP_ENABLE BIT(1) -#define GASKET_CTRL_ENABLE BIT(0) - -#define GASKET_HSIZE 0x0004 -#define GASKET_VSIZE 0x0008 - static int mxc_isi_crossbar_gasket_enable(struct mxc_isi_crossbar *xbar, struct v4l2_subdev_state *state, struct v4l2_subdev *remote_sd, @@ -46,13 +32,16 @@ static int mxc_isi_crossbar_gasket_enable(struct mxc_isi_crossbar *xbar, { struct mxc_isi_dev *isi = xbar->isi; const struct v4l2_mbus_framefmt *fmt; + const struct mxc_gasket_ops *gasket_ops = NULL; struct v4l2_mbus_frame_desc fd; - u32 val; int ret; if (!isi->pdata->has_gasket) return 0; + if (isi->pdata->gasket_ops) + gasket_ops = isi->pdata->gasket_ops; + /* * Configure and enable the gasket with the frame size and CSI-2 data * type. For YUV422 8-bit, enable dual component mode unconditionally, @@ -77,16 +66,23 @@ static int mxc_isi_crossbar_gasket_enable(struct mxc_isi_crossbar *xbar, if (!fmt) return -EINVAL; - regmap_write(isi->gasket, GASKET_BASE(port) + GASKET_HSIZE, fmt->width); - regmap_write(isi->gasket, GASKET_BASE(port) + GASKET_VSIZE, fmt->height); - - val = GASKET_CTRL_DATA_TYPE(fd.entry[0].bus.csi2.dt) - | GASKET_CTRL_ENABLE; - - if (fd.entry[0].bus.csi2.dt == MIPI_CSI2_DT_YUV422_8B) - val |= GASKET_CTRL_DUAL_COMP_ENABLE; + if (gasket_ops && gasket_ops->config) { + ret = gasket_ops->config(isi, &fd, fmt, port); + if (ret) { + dev_err(isi->dev, + "failed to configure gasket%d\n", port); + return ret; + } + } - regmap_write(isi->gasket, GASKET_BASE(port) + GASKET_CTRL, val); + if (gasket_ops && gasket_ops->enable) { + ret = gasket_ops->enable(isi, port); + if (ret) { + dev_err(isi->dev, + "failed to enable gasket%d\n", port); + return ret; + } + } return 0; } @@ -95,11 +91,16 @@ static void mxc_isi_crossbar_gasket_disable(struct mxc_isi_crossbar *xbar, unsigned int port) { struct mxc_isi_dev *isi = xbar->isi; + const struct mxc_gasket_ops *gasket_ops = NULL; if (!isi->pdata->has_gasket) return; - regmap_write(isi->gasket, GASKET_BASE(port) + GASKET_CTRL, 0); + if (isi->pdata->gasket_ops) + gasket_ops = isi->pdata->gasket_ops; + + if (gasket_ops && gasket_ops->disable) + gasket_ops->disable(isi, port); } /* -----------------------------------------------------------------------------