From patchwork Mon Feb 10 20:59:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13969022 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2075.outbound.protection.outlook.com [40.107.20.75]) (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 6462024E4B6; Mon, 10 Feb 2025 21:00:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739221207; cv=fail; b=kqUFmXTv2hFcJctIkLVMvkiLWDlyr+G+DZ/eSy+1PVUBTxSPfBceJEzQjKnCw7diBuRrHuVPNu6AzabQs3D6VUKrwoBlilmQxgfc1NLBnKHN1UIy4ZZyODkgiVAN7t4QJk49UDm/lGibHKSshyivq8hv6ByeCo43jMIvK17CDUI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739221207; c=relaxed/simple; bh=5ADr80w8wgeP91LW6+JILnr5BnaCeQlGDcAnm8jSWQg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=coAR52t9vO9KLCfvsgVsJixmcqv9AMvuATxknk9ytEobY0BqfDiMMBxLucESiJsyWgqjOn1dirijQ0hU85Pqp9fgutiTP1R/h8lUBbmR2RHBopD67QAknw7saQK2cn79esd48hj2neglcTfKjL2/VqqQN94LMOMNH2Jr5PuDh0Q= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=Bc9ynw8Y; arc=fail smtp.client-ip=40.107.20.75 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="Bc9ynw8Y" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Q6fBMHs9JoDdMv2qwxSpEF6AVzGE/cs5lyLM95Uzus0jwzYtd1WD5eWAK868xF2wEls9u3AGHSOFXj9uUJ5rpC/iG87/tqasTqjdQJK/yBfje0Ef5Wir6gBM74xmld83E3mkyZx9r1kaeQl51IKK3urCN/v7qFtmPeMY+IVVJX86Gk1BTkHqSjDbRRVkUxzYahRtej9pGfSDkZc7F3fPlS01tey9iHdhD3IH/9fCdNlZoO/RgeysFEMTmgnTRlTHz2jfV299SpnNnnlgVxjrAITY1NZp5P6UdhHQ5YHBP9x/9bUXmaLeznqAGVHvnTV14wJXnwRhEp9IDoKwvzSlOg== 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=kgA4SwhjKnQ4l8vU8pQu8DZo4P/OhoE4ZMNwYY3H92k=; b=YvuEJsj/y5qWx5CsOAMAuMVChTnNtqgDYWNwFzJp++xCOoVAbG9ST5jxtH+Gnj0LQEOcQo1+V8I3RhSmyyThZlV6CYU/GJU/Xq0hvgk4TI61uvURi9k5ogX2m4JEfB99xSWvmww9N14tCmuZfpgHrmb4MlfivIsZ6ANdjJFrqftR6ApZicSoFK8p82S9eSBjYIt9fbgti7VnEVCxDJW2/wNP5hl6wfiVjyAIiaeziIZHFt1QHRWpOCwKNd7FnWMNzqq8quPMvO5xh4BzR64+g7b37XrsC3H4TY6iYpisFNL0STjz/2zMxQMtrx8zcKiCZhclpDM37nMAj6rcq1vdrQ== 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=kgA4SwhjKnQ4l8vU8pQu8DZo4P/OhoE4ZMNwYY3H92k=; b=Bc9ynw8YjllL8yhFNRrF32kRRq4pKaN5YI0cYfMrDxPPYpCmzI7obe2IfGLVrRIi9xEXzUAm/XKDCiKPSSIfmgsFcZUi+mdtlIj3PH4EB02EVqajLaBmFKxs8ZQhMCAderK/JNEeJ7XnT+rTLt8VjOsOctnvl0qlxzloeO2euAiz9SeYG8aeGfPbELUaVcqEFEWbGgsDxa1ALzjoW3XoPnxZ4QWXd6VlJQCYCy/AMMMU3nnpdO6SOZC7v6ob2h2V21qLvP9b4ihOnSJ7V4jwQy2na6egWajJKFjlCb/fqh+pvjHrIhFKu/6AR5VGi/j80IegG/6CyT17j6IL1LvvXw== 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 DBAPR04MB7462.eurprd04.prod.outlook.com (2603:10a6:10:1a0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8422.19; Mon, 10 Feb 2025 21:00:03 +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.8422.012; Mon, 10 Feb 2025 21:00:02 +0000 From: Frank Li Date: Mon, 10 Feb 2025 15:59:22 -0500 Subject: [PATCH v3 03/12] media: dt-bindings: Add binding doc for i.MX8QXP and i.MX8QM ISI Message-Id: <20250210-8qxp_camera-v3-3-324f5105accc@nxp.com> References: <20250210-8qxp_camera-v3-0-324f5105accc@nxp.com> In-Reply-To: <20250210-8qxp_camera-v3-0-324f5105accc@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dong Aisheng , Philipp Zabel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Laurent Pinchart , Mauro Carvalho Chehab , Rui Miguel Silva , Martin Kepplinger , Purism Kernel Team Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, Robert Chiras , "Guoniu.zhou" , Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1739221181; l=8382; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=5ADr80w8wgeP91LW6+JILnr5BnaCeQlGDcAnm8jSWQg=; b=Ba4sXYDME/Tc/RaSmmV8iDKndSBpclCil9xm1cYV6ZvmNZ3mDkA+oKuRZYOUqCO+DYfeJ7tB/ HwKJGAYjELwAodHGsGmf/oYQcKCJ347QdZVhmo9deA64v/FN1Qe1pzo X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR03CA0009.namprd03.prod.outlook.com (2603:10b6:a03:39a::14) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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: PAXPR04MB9642:EE_|DBAPR04MB7462:EE_ X-MS-Office365-Filtering-Correlation-Id: d0215a88-e7a3-47b3-be66-08dd4a15e384 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|376014|7416014|52116014|366016|1800799024|13003099007|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?FzYOdivX8OXZzqI3Ikaw8OXK+3zTlUW?= =?utf-8?q?rjd8TGRGObDwqMuLOWKBeHEv48xTjNH9CwAbKZTxTpt9gB8z/dBKRc77TwdK7/VBI?= =?utf-8?q?QXdc6x2wdH+ppbLPgEMrFA0GvATA1ab+4xVWjiXiuprbG5CqAUUICUw5mepoZ5rsd?= =?utf-8?q?55klwpjQ5EWMqhgrf3o1JDdEa/14Ls5Q93FJUufadLZP+aQKVU1z/7Juy6rZ/ouWs?= =?utf-8?q?CcA4S/Df2k3cAkCXWSHuHBX4HNyhzttviW+CNt34LRk6Mm2i29V8XgF2pGUYdrpTf?= =?utf-8?q?h1h3qTtjFjgCtga4sdfA2+7LbLPXd0sWLnEu8R2ONYEz27t2pIza8KTvQQdhcddMO?= =?utf-8?q?fdvwzVdyPcCICOI0A2Mp/35ymLug8GUbGfCn3QhfLu6azFre3rUvZGI293Hrn9jGY?= =?utf-8?q?o66IRKbKqNmFmydOMQUOG7hq/H3a6zOCxsfor5jtix9eFq2ZrYAoDsQSFlGSF2zHC?= =?utf-8?q?2nCg2+rH3Jn92mptNhLHoeJ4CzuIYO4tBkE2lK4sbzSgxltU3ZVYPkkpQc0N+T5Od?= =?utf-8?q?F83QEtwVjYE4npXV1iBNO26+ji8IILiI76ZQvBtO4+Wp4VThQP/5VjNBkn/fGDb1P?= =?utf-8?q?dWSehqxehDuiF5R/FkjSKqI/ONFHG64jn9fuEysvwfoWs+hfqeifNNYPk8PT9oCOd?= =?utf-8?q?zQ+0B7cNBm+rCez+FC6EmJ0KXNbAQDFsT5WqV68QJgLaFL4KsB5UgPGE9Q6DNW9ry?= =?utf-8?q?Zi4jZJzNNUsfNo863HptwgkN/c426XIuJWebzZQpZsCbmDsJ1e9GeyANABq7+727q?= =?utf-8?q?bAAzhLCtTR3X/Q9Vd+EnxD87wCwYEA6ACYWEuPouqD/1uE5OwVhXZMgqO7SEmMC3J?= =?utf-8?q?duvwFmerd+yg9O3BlrRpEUrYn3HNrs5AgPdjamypp1l32JpNISPW22d18DiQ7LAMv?= =?utf-8?q?zHkLXf51lYAzOJiFlJVvC1vk81uukobsurqXvxaymxW8riht08PuCSrWhWAH0Mvrw?= =?utf-8?q?ulcIlXuugbO3oCpJJL5CnCHkC6wE2sRIwobxnyb6/M8o2GW+pEZWvcAmT8tNY2iYd?= =?utf-8?q?LjAMGEuslkVFpPrdZH+xHtezJf5rJ+UXZtDToPU4/jLNFUFJTOJHfEt5MGba0gQRf?= =?utf-8?q?3wou+HXUd+Kp1kD94PgRTZEyKDXUuCD90fiN4m1K537690SEfCZkPpIZ4ZEoUxiCb?= =?utf-8?q?9UzOsFEh+1PiV98Mk2xMz1ihSl5ktd3rg40ARxsBzjMIQuv6oHe4KREx+SLUY/bWE?= =?utf-8?q?bXfR64WqsmQK7FJpl6HpNvFWHvaR3IkRucVzlP8c5m0ovHBgtkNjjYkOC8dplhoo4?= =?utf-8?q?/+ou27KDtpYzh4BqIJLvYfVbPekRMY2KqrnIa+3CXM8IvaH/qlAww/DCCI3zHF09V?= =?utf-8?q?HAsQ5dKtz5rPQac7DS85i+vOUWuMBXT0Zg=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)(376014)(7416014)(52116014)(366016)(1800799024)(13003099007)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?YDrh0q6kMANbxMsndh+y8qZ2cUSO?= =?utf-8?q?e4R2RnN68fuGyc6i0C6NjReR/5cG0qrwkEb1LiYFtpUBC/F55/jcqZOxhvNfeogwG?= =?utf-8?q?FfjuR2k14ZbAXDYmnBbVSQ6Iry5ljdTx09pq6gTWU/MXKD9z+UyYQH8/1BFadqStc?= =?utf-8?q?Uh7IgMomTgfXx/c3KAZTALUNq1w+yZy3uTyVIIDGwf3sa7zRA+aFj4BksjdWeX7pR?= =?utf-8?q?O7tN9kDRW/ucbTu5msdFX/y/rW1iWjQzMMNL7Y6EmNw7Va0SkoM1XuEmYOPjnC3Sp?= =?utf-8?q?UZurcrmAQRbF3j8rep004CtelDvBYNCHKe5XCL4Wncs+eFDekqLdAJvfMoJjY9/ky?= =?utf-8?q?cF1A174PnfVzIuBOkTMAYMC+m9WPG5dZE8Ci8Adu/jB3iX6NFHi+mI+Wcw/yuJDh2?= =?utf-8?q?4qMvbG3vvVNiY7oeaecSIIXkRrsgA4PhyL8ezHrXbuXw3W4idfKkvRq+C5bN+MlyY?= =?utf-8?q?i+H3DVQ0ls4stmmxOQm47PrJg7gOEo3X8Kvw6CzELuE88fNSWFhCjZNdr75AS14dB?= =?utf-8?q?Q+uDaVP1MSwWyo+/GIw4SZJ1nh1XEN7r3SpQkmEXo4eJIe8uCUuh8/c09h9+YaGyx?= =?utf-8?q?qztFFFNc3eHiU0lu/gcS8Sm3b5DCf7UrOetuEAqA9J9cXddPvoWKGvQyBIs+9jPiJ?= =?utf-8?q?PET/QWh/Sdb9FAWNTfo7fT486BFn/NksnhQ+/cajAHyKdPH3YIF653WMhPbJgV5k/?= =?utf-8?q?AJP3Tg9J6/6tHTKqb1PQ+IDjR/QSQC0oWbg0ZDGl5RZXqUZlGcogTB149go/m/+GB?= =?utf-8?q?/r/KqKhHlueVXGAr/5wJ9Gs5zy+Zt19mEp7tY94QyDAUaBWYOwgpjU4SiN6GlnEz1?= =?utf-8?q?UyNL4cWP5VfFKdCkUsxyN1Dyio0+PR5/H82dJxmcfk0fOYsl+iOrvWjz2W5f/EnwH?= =?utf-8?q?HEVq4DHN7b7WadaeWT5S/sye2Hmo+HhqG6EFtt1VS+FFykccY9lsigAhkj1fqP5Bh?= =?utf-8?q?9GgGOVTyce/OoUjTNRKTe5vvtOcsXlbsji29kvV1xR+1OqdyXWOWsGTIM10jlrlnP?= =?utf-8?q?dvEqqoUbV8RdaMnIwSsrNQO3S0n1AGyorZOdgdzRofGcsKyK+cwNNVIvBwRxcxhm7?= =?utf-8?q?4zwzN5Wl/PYfCyKoIiSHMqSqRKvQHqHChN3IkxpX0pAnIJNFhh7OsysDCq63YHad0?= =?utf-8?q?PKALbs5hjMEYpq/6Sm3MUwtOVxK4+MmLkyv0hePAk4D7+indmzPXJQcYryvnKVyLQ?= =?utf-8?q?j2YHEazteU6abvuye+PaF34bOiRSAtE7DgV7ZSr84yFymdCjeew2Lo99Sa3GelXo0?= =?utf-8?q?ANz0xhswSaUCKxFYKgCVHl0ODaTkThhKarxdMASogAOove1X0ZLA+N1ALr0DcU+/V?= =?utf-8?q?y4M4okyr97RfoFLapHFynSLD+TueqP1M1OYdSyu0TxFA7qQ/objHKXqTMEcY8iKOb?= =?utf-8?q?9KF5EAZD6i3PZ49JEJrMB+iGd9qrrUB1fHMDH4ETOpjKVE6EofU0RkGNGLg3pzeHW?= =?utf-8?q?O0gkndZCzhuBrT6efU+5XS0Rd5avlLUu3LB0ZKXZViuqv5DP0M4B84x1Q4yBS+mVF?= =?utf-8?q?OV+nK2fbOsUT?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0215a88-e7a3-47b3-be66-08dd4a15e384 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2025 21:00:02.9364 (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: MSntmx9emAaE10LBidEYfn2GTmwqIncWg0t4rQ9s+ZEFOgJDvsHbMK+400ZKcpUBJx5eA6hTvR5YY3ICts8uMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7462 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 Reviewed-by: Rob Herring (Arm) --- change from v2 to v3 - none 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/