From patchwork Wed Feb 5 17:18:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13961604 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 1EB93C02198 for ; Wed, 5 Feb 2025 17:27:21 +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=fEhhKN5ONhFXXILkClueXeOzJGzn2G9fXScMxxQOrec=; b=d8ojoSC8RYpPjdJ7ZrayB4H4Rz +eba46jx2u8tkzfyGBKyf6K8cVxN6Fkzmh+sG9OQlB59iBRkGdvy5zSWPRmTYPjL3XKytge26rJ+q 9Edmi9JSvHqYDp/ObFIVuqofJtfGTCfMDroJQ1S25evGQtfaWSgiFYmp1xKdLridKQqO5BYLRA0YO 7ZL5ns3OMKJB7m5+mZ2WmDa+UHRXP2y3uij7zLGhS95Zh1zdehmMPE59C692uybCn3vKmJEfH6FQ4 krV968mTn8wZoYzx37UrhIPace8fX2z4VzzFLFCyMy1kCjKWMH9Em6oOMjSJIQh2Ahd0W6DoymyXm cI6CbbLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tfjBA-000000045lD-1C51; Wed, 05 Feb 2025 17:27:12 +0000 Received: from mail-norwayeastazlp170130007.outbound.protection.outlook.com ([2a01:111:f403:c20f::7] helo=OSPPR02CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tfj3V-000000044SA-1EzV; Wed, 05 Feb 2025 17:19:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dHoRRkZhdOPQ34QE5tYdRv+2+74T3Hm7tYQqRmNH/tyFSyWGPGq/OlvuLH2HfsNOnNF6OVE3NImb8OFhvnl3I8fEQXTY+BTePKy4w6iNggI2/FvL1rUPAYVuA2wgRrtEw5Hl0j46skauHu30DHyyOP1bBZZMs38NrqOp0qJZrm6c8LjedYLDGXQnx9z0HCP6FYSkXKuzb91Wme483/T+UzpEh5DkGggIYjSLK3Ei8JfzUJR2VZhg2DfxdF6r6ESk27hF6qrilMco6QInZqQmHk4tIBqUN7aokt6b8AZtSXad3VbGMt8EqOrlUTQMWk7F7J9pd09F8lrdX1VJUZtMOQ== 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=fEhhKN5ONhFXXILkClueXeOzJGzn2G9fXScMxxQOrec=; b=a+BH/+6C3qrT2+pVW/CE0st2pgpbiexc6wGyX85/JkE/U9XmkFRTO+fWnl9JRfo4HdHTnM9SOFYrfMN/FQUCjJlCfzuU5FJ1cl0VyoGXLaDNm254tWuvvE79ALp4QC9OlGH5yAvQVkVdx2sMo0qISR4LffIdIo8SD9CYmHOMOM1oiQ8KGr1i9qYHGI8Nfuu3QhOJrFnMmWCprpTnC6ElwMYYMINgIif59DMCYobpp2DPofcjA+IzLcutERgSs7fkbxbnAcCbRZMZ72aij1t70UFlGGRPIhtHQLeJZ1Wrm1pZcArINou5vAzz6jMApfwaiyjglEI22svB7Zwp1rVoqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fEhhKN5ONhFXXILkClueXeOzJGzn2G9fXScMxxQOrec=; b=VwgeDs7ZbmvmEphyiDY5gkfUTyASdtEh1vEWQqVOpnqxf9CpXER0f8Kul3nCqTYzOj0CwD0QrAdWKv0qewfRa2iTiD4fOINjqAWX0tq3mhGBwNKAsjh3Jz7Cox0x6p/rCui3twObsybVTVAkTnQD1zP6tX0ffsPOGJGLI5SBHqbiiHCi0KqFw3z6rJbZyCLzml1TiVD88QrcG6l9n4MJQUWp/EZitsg/vIkL1juxMJnrHFvy7BJSeUbLjFcAkzi9Gj6pek6+1Dfr67wNLHuEC4mHaT5Od6dx76mVH33HEB4vhGJfEMsNJt0IK7Ito/nX8VHVXwMgBYrcF6K1jGtyWw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI2PR04MB10546.eurprd04.prod.outlook.com (2603:10a6:800:274::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8398.24; Wed, 5 Feb 2025 17:19:15 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%6]) with mapi id 15.20.8398.021; Wed, 5 Feb 2025 17:19:15 +0000 From: Frank Li Date: Wed, 05 Feb 2025 12:18:14 -0500 Subject: [PATCH v2 05/14] media: dt-bindings: Add binding doc for i.MX8QXP and i.MX8QM ISI Message-Id: <20250205-8qxp_camera-v2-5-731a3edf2744@nxp.com> References: <20250205-8qxp_camera-v2-0-731a3edf2744@nxp.com> In-Reply-To: <20250205-8qxp_camera-v2-0-731a3edf2744@nxp.com> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Philipp Zabel , Laurent Pinchart , Mauro Carvalho Chehab , Rui Miguel Silva , Martin Kepplinger , Purism Kernel Team Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, "Guoniu.zhou" , Robby Cai , Robert Chiras , Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1738775920; l=8352; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=GxGG9fFFzRxcdZNSYtlbvXRnKsvc+MhPS4FEWc08L9E=; b=sB39olpTq6wk+gZY8i0z6+/eqgxEg7tW9y4QR/stple9kT5/+SjXzSzk1yf2k0sIjaobjByHN esee9AMANd+CW9I1GDUqAouWTnaoD/w9FuGqFs3jlQkt6fOAx9MiaVb X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0001.namprd13.prod.outlook.com (2603:10b6:a03:2c0::6) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI2PR04MB10546:EE_ X-MS-Office365-Filtering-Correlation-Id: fca28c57-1a97-4bff-af30-08dd46093796 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|7416014|376014|13003099007|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?FngyaL4rf71qwh9SRt57Cz3ZhhD0OHJ?= =?utf-8?q?76xbgyGc5BKEMiwboDpNMqcZnVBnCGyxvPegSMpWN79ZdT7chn1niEvu0a96c05gu?= =?utf-8?q?kefd1P7kAXVo+ibA+SNfxaqEZSk4kP0sl5i0NLarRytzOxptd0XboR4Pb7m/pwWcQ?= =?utf-8?q?+w03j/egQMUYc5xoiBZuhbsXvDJ1qMTSBI9fXClHNMFk1AOxEe0IZUDHzh+yXeoQn?= =?utf-8?q?0MDZSt8l2CGGRnJueuDE170UGEKy3lIf2VVSpAEQHVc3NJ28IWjv4L1AMizdRE9he?= =?utf-8?q?ed9tNECWx0sDta36A5YKqPDb+NEGC2KpD5Y9I6WtFNYu5QFvA2AbMlfFGRfYhQiR3?= =?utf-8?q?wbcjEmmyuWskXqZKJ6M7pCOa/gnuW0Tz7ok+kEnw5Cn9LCh2Hq8PlylefHa380uNk?= =?utf-8?q?F4HPvSdajbwNZc0ukEpkcRMbztovVH15KTjMw2ayV5DqTk+bgLJ32bPduc1RXGrNF?= =?utf-8?q?LHIvC7rQBggV4dfqKpRKTT7OadHiuRB3QDZZRfInAEe+gJDeTTkWRlv4AfwLXywg1?= =?utf-8?q?XWmJUBnCmFwQl3SzRlgbtDsL58KleQx++l4dvCB9Lf1LWN3PgRuKgSrcYReqMEzov?= =?utf-8?q?Rlh4fAiyGwIbvy3w5Qtbmdxi31/G0e8ItCWEnGASMCbK6nxWK1hW8dV1mJrabJTiB?= =?utf-8?q?Bc9kZ/cdVQZKrLmvqp3k5xnLH3XiABQvRazUmArt3ZgBUT7MZDvdd+1yBOqJWWusF?= =?utf-8?q?nynEr55nUTW8JJTNl7OUpLwj8GtWTeLqaVunxDFomZHu9jxvBgR1ZBXugqEtOd11E?= =?utf-8?q?BaSyCIUKoeZTWRGRRAbM4kpf2oZMkX+uHRK+AG/9dJX7plbmgSNW9c/aJdOJ1vfaO?= =?utf-8?q?cX0bRUIp3B70toT2NY32KtZZNxnlhpL8seJwHko1be1meyoMxy8aAUqvUMg0kld/O?= =?utf-8?q?V2Vf8s6snjz2hNy4xo2nFjUGO9m7cxA6maVjd5Vfq6lCrl1w5biR8H30137HN7TgN?= =?utf-8?q?Pq63QtFOjmcCmLSe5C7IYYfsoSFtq7Fv/02TYlXfiotBUU9zoAaz8mgy8LITqaKwd?= =?utf-8?q?Ygv2sjiEXDetstuxPU80djQxFD3oOdL0layTRi8GfqlLIF8C74pXgFSn6A41kH+Xk?= =?utf-8?q?eIo7sLy71XQiSE0YF4+J3zaN3yfjobY9p10wNbpJHyi+3AbhJJ5SCtPw5v6o4NFId?= =?utf-8?q?ZTNelP/uyyLu44F/tG0n6gdBMRZJU/KEhlQCf1fIwVerKui2A3RYKd4LStHqUDzrO?= =?utf-8?q?T1LeOqYQQzjN8Fzkk80IGrwX/S+MGMVcm2AdiMPCrNn1fTsgsugDB28eE/gnfBBE0?= =?utf-8?q?ZyDUERYxIdp5QNJsv2mp1MCQ7ksdXDM30ZhKUSTxvh9zDMlhDw4t2fXHKT+dPFpsQ?= =?utf-8?q?kvSVJXDBplPv6vAIllbbckiHkDea/jomAg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(52116014)(7416014)(376014)(13003099007)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?3YCKFwrWlOMhwO4XiKXkBxJSuwf1?= =?utf-8?q?U5xeJeF0VLr+yxeN/qt94hmND0EA0KTpbT7W62yEdVs2es0qWgPOfi1mkwvHfWGB4?= =?utf-8?q?xIXg8jvHrOGMPElwiXqGnmnDpMyXHPE2g6OQu0JTxUGRb7WuueX59s5Q/IdJMiH4M?= =?utf-8?q?YVv95MtoWP/xzWkVSf1v/ybHF8aXLwjytsHkJPCu9I0G7RzCaOG9YYA2WRWGuzgOI?= =?utf-8?q?GBV8kFIMg3stfOWJ+udaBXeYE18m6+ryZIW72JfauMD05DBGJfabj+m/MbEgnu8qf?= =?utf-8?q?ozcYbkjLsZedO8YHGcMZ4HNgf5Y178PQ7J3UsPuDeJiqMIHerg3RLOh8PVjIzaYKW?= =?utf-8?q?cWYXskoi/WehqvT8KB/qRYP+X9qi1adcgKw/m2u7CNpFebT3PMF148kiO9lPw3UhE?= =?utf-8?q?YWwxZyrRF7JmbfbPFUAx4Bi9mWNtFV2v1AN4yqENh0KZGsi++ahX+oRVvXiAGQMGu?= =?utf-8?q?2eGO11V8UPvd8HEcKNdJOaK0brQXKqCWve2ZarTfuEY5CUKYnbXR19DQChVT/y5J7?= =?utf-8?q?aNYWUJ9QaYyrRiRLnNUgaiHSxE1dJ31E/R4z6Nqu7ndUokFOsy3prVyZkNa/bxC+v?= =?utf-8?q?9T6Put9jTRr/O/6JKzBXW59zF6X4QXDH8DGUmOpVdF+vllbnCpWLuCde/WMGMT4v4?= =?utf-8?q?3BVUDwUATKfI5eTb/6tT0Yh+WxDTiRx1Jj72Yug/fzo0BUvFuqSkjg8/0IJeL36m3?= =?utf-8?q?g6ncam6OTfApTi83szqbl0lfgiaWEpv2gZjQ+96FRjnT8k+32qna6gw0k2ydxBazw?= =?utf-8?q?n7gF7YnZagBUtPe+aOfzjx2CXS09a5wdaV71OPvyZmMtgB2focalpRn77T57+Qd28?= =?utf-8?q?kALlI2jcOpqQPibakNbu5jep9aPDInw1pC9ahz+yxMhlU3y8kZcSu+hd9xM4TgNL0?= =?utf-8?q?hWGC3zdfJrzZcmQ3e/7gUI1Egg5AM8S+D8jTGwg5vyDloAUQlrB2vGE+ijeZGLFXC?= =?utf-8?q?dUIYCFwTbId3jdc85dBub11ZeLbaWNxAv1Dvspi3WjkD+gXbuSvUXq5kvTc7XvYpH?= =?utf-8?q?W2CUGdQUpqCBFlXrydhYK6b9YBuPq2D3Uav65Ofdl8KACvy6kFvJppHFizYOFqANS?= =?utf-8?q?FWGuvNawU4A3WoN2M9ZZPNjJAQuZovsxb2qUPV/V+IBkx4IomOhNn1byzjcJ5AmEl?= =?utf-8?q?Wurjf4erzSnty/vqaG2ItpvcHE+dl3Odb2xUfBsdTEhypx3NgpmGALgGhKE4zHd19?= =?utf-8?q?r3pZ3vHI+DNJR4+hmQY8/BswdBluDleT1IG4lqjDUMNbpchmjfjsEaucsiYM4i1JU?= =?utf-8?q?ihXmGv4AljYZiRGZviXxcIwVyyWXaamrHN6lVOLwKIzjHcgdgo70bGjrri+4ZBWu9?= =?utf-8?q?mgjb7x65TUd17Mc9JB3f3mfAOGZ0Nu9OaSZKzKmAkg68TFucFZaVTPOW5O9Tu9/uV?= =?utf-8?q?b98pYxXiPMr6/V1hegKWJHzGHZPkchU8+LzweZJiHIAKvVn8lfzj8J/PIh7SlndFr?= =?utf-8?q?hkakMuvkhb4fM9kd2QEAOjxtPO6S2XhA0KgJnEbIqWqxpUTtSI04neNct15ZAMOug?= =?utf-8?q?0pY1mNdHjxzz?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fca28c57-1a97-4bff-af30-08dd46093796 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Feb 2025 17:19:15.8700 (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: pY8ENg8KwIhbipsFZI/MmwSFLKM2HgTl5dOp2DPAl1o0vNM7Kkc4Pug5bPRWUZhJlf7lX/xJInXF/lwZRy/onQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10546 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250205_091917_346498_5A988DFE X-CRM114-Status: GOOD ( 13.04 ) 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 Add binding documentation for i.MX8QXP and i.MX8QM ISI. The clock-names, power-domains, and ports differ significantly from the existing nxp,imx8-isi.yaml. Create a new file to avoid complex if-else branches. Add new file to MAINTAINERS. Signed-off-by: Frank Li --- change from v1 to v2 - create new file for 8qm and 8qxp accroding rob's suggestion. --- .../devicetree/bindings/media/fsl,imx8qm-isi.yaml | 117 +++++++++++++++++++++ .../devicetree/bindings/media/fsl,imx8qxp-isi.yaml | 103 ++++++++++++++++++ MAINTAINERS | 1 + 3 files changed, 221 insertions(+) diff --git a/Documentation/devicetree/bindings/media/fsl,imx8qm-isi.yaml b/Documentation/devicetree/bindings/media/fsl,imx8qm-isi.yaml new file mode 100644 index 0000000000000..61c551673e2a4 --- /dev/null +++ b/Documentation/devicetree/bindings/media/fsl,imx8qm-isi.yaml @@ -0,0 +1,117 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/fsl,imx8qm-isi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX8QM Image Sensing Interface + +maintainers: + - Frank Li + +description: + The Image Sensing Interface (ISI) combines image processing pipelines with + DMA engines to process and capture frames originating from a variety of + sources. The inputs to the ISI go through Pixel Link interfaces, and their + number and nature is SoC-dependent. They cover both capture interfaces (MIPI + CSI-2 RX, HDMI RX, ...) and display engine outputs for writeback support. + +properties: + compatible: + enum: + - fsl,imx8qm-isi + + reg: + maxItems: 1 + + clocks: + maxItems: 8 + + clock-names: + items: + - const: per0 + - const: per1 + - const: per2 + - const: per3 + - const: per4 + - const: per5 + - const: per6 + - const: per7 + + interrupts: + maxItems: 8 + + power-domains: + maxItems: 8 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + properties: + port@2: + $ref: /schemas/graph.yaml#/properties/port + description: MIPI CSI-2 RX 0 + port@3: + $ref: /schemas/graph.yaml#/properties/port + description: MIPI CSI-2 RX 1 + port@4: + $ref: /schemas/graph.yaml#/properties/port + description: HDMI RX + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + - power-domains + - ports + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + #include + + image-controller@58100000 { + compatible = "fsl,imx8qm-isi"; + reg = <0x58100000 0x90000>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&pdma0_lpcg IMX_LPCG_CLK_0>, + <&pdma1_lpcg IMX_LPCG_CLK_0>, + <&pdma2_lpcg IMX_LPCG_CLK_0>, + <&pdma3_lpcg IMX_LPCG_CLK_0>, + <&pdma4_lpcg IMX_LPCG_CLK_0>, + <&pdma5_lpcg IMX_LPCG_CLK_0>, + <&pdma6_lpcg IMX_LPCG_CLK_0>, + <&pdma7_lpcg IMX_LPCG_CLK_0>; + clock-names = "per0", "per1", "per2", "per3", + "per4", "per5", "per6", "per7"; + power-domains = <&pd IMX_SC_R_ISI_CH0>, <&pd IMX_SC_R_ISI_CH1>, + <&pd IMX_SC_R_ISI_CH2>, <&pd IMX_SC_R_ISI_CH3>, + <&pd IMX_SC_R_ISI_CH4>, <&pd IMX_SC_R_ISI_CH5>, + <&pd IMX_SC_R_ISI_CH6>, <&pd IMX_SC_R_ISI_CH7>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@2 { + reg = <2>; + endpoint { + remote-endpoint = <&mipi_csi0_out>; + }; + }; + }; + }; +... diff --git a/Documentation/devicetree/bindings/media/fsl,imx8qxp-isi.yaml b/Documentation/devicetree/bindings/media/fsl,imx8qxp-isi.yaml new file mode 100644 index 0000000000000..818fea0e4679f --- /dev/null +++ b/Documentation/devicetree/bindings/media/fsl,imx8qxp-isi.yaml @@ -0,0 +1,103 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/fsl,imx8qxp-isi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX8QXP Image Sensing Interface + +maintainers: + - Frank Li + +description: + The Image Sensing Interface (ISI) combines image processing pipelines with + DMA engines to process and capture frames originating from a variety of + sources. The inputs to the ISI go through Pixel Link interfaces, and their + number and nature is SoC-dependent. They cover both capture interfaces (MIPI + CSI-2 RX, HDMI RX, ...) and display engine outputs for writeback support. + +properties: + compatible: + enum: + - fsl,imx8qxp-isi + + reg: + maxItems: 1 + + clocks: + maxItems: 5 + + clock-names: + items: + - const: per0 + - const: per4 + - const: per5 + - const: per6 + - const: per7 + + interrupts: + maxItems: 5 + + power-domains: + maxItems: 5 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + properties: + port@2: + $ref: /schemas/graph.yaml#/properties/port + description: MIPI CSI-2 RX 0 + port@6: + $ref: /schemas/graph.yaml#/properties/port + description: CSI-2 Parallel RX + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + - power-domains + - ports + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + #include + + image-controller@58100000 { + compatible = "fsl,imx8qxp-isi"; + reg = <0x58100000 0x90000>; + interrupts = , + , + , + , + ; + clocks = <&pdma0_lpcg IMX_LPCG_CLK_0>, + <&pdma4_lpcg IMX_LPCG_CLK_0>, + <&pdma5_lpcg IMX_LPCG_CLK_0>, + <&pdma6_lpcg IMX_LPCG_CLK_0>, + <&pdma7_lpcg IMX_LPCG_CLK_0>; + clock-names = "per0", "per4", "per5", "per6", "per7"; + power-domains = <&pd IMX_SC_R_ISI_CH0>, <&pd IMX_SC_R_ISI_CH4>, + <&pd IMX_SC_R_ISI_CH5>, <&pd IMX_SC_R_ISI_CH6>, + <&pd IMX_SC_R_ISI_CH7>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@2 { + reg = <2>; + endpoint { + remote-endpoint = <&mipi_csi0_out>; + }; + }; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index 40d1b7ec30fde..f243257ef7653 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -17000,6 +17000,7 @@ NXP i.MX 8M ISI DRIVER M: Laurent Pinchart L: linux-media@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/media/fsl,imx8*-isi.yaml F: Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml F: drivers/media/platform/nxp/imx8-isi/