Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5148541pxj; Wed, 9 Jun 2021 10:12:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkKW+l1PCApPnshopZNaoszSbruPaKYaFF3eAQtk4lBg7rSXXokNCwU2gcM/X/WoCzk4XN X-Received: by 2002:a17:906:e2d6:: with SMTP id gr22mr885334ejb.514.1623258760743; Wed, 09 Jun 2021 10:12:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623258760; cv=none; d=google.com; s=arc-20160816; b=XpEstgwo2wgxBan9X8YvmGBT2g6ICgdRqJ2YqL96B1VPXa2dKGHN5HALf21oDsBKWe psfe5dKsD033luzjtmWx9sQWaV1LulDNu06BqrGjg9OcQLukeyFmWgkFq487PeomLaNl 3lSmN0hSfdym4KSByDw9Z4lGDl13mSSL4DpNTJ+XeaF5RR/0VG7mJvlumdDCHsPpLFfJ 3i8ocAvh9BcIq5sHDGN2WarR9gW/AZeX/Xc5GNx70Z6TVyc585Qpc0C0zQvyCHTivh3k Nv/rLwcqbBhw38sZbIOkXWVRuPVGwvZxNn6ICU5mB8tPGu7I1Bxm+nivSrSVMIfoKSKC Kh0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=/pzKEYT0LH6UBBafaOOILP6NPS8CA5JokUEPKByvxKY=; b=dkVTtnIcesf0s0IH4rN6hwv0K/Jb8prKAqUA+NnUgUipWimvcic3zgKf+0YwWNT2wV 0gCAUn4wJHj2k2ddNeDva2t9d/xA4qse7p3Xgx6N5cIzCmcC4raXNBaZD9YOpiP2oneY 88muS/GtHHrGE19VotTVMMk67flfZY5MuEsq+8DizzlYYgY9Gvg0nPp5c+XCJUCvbd5k HFSCo1ibMrcEN+jBjSBjJAhv+VKR82n75vgN/MxqEJzSjW8zZmDJJNEsDGZIhfSBVPOn 35vH918wi40YIHyxpVUx6I5IdlEVTWmTPMapovvaUPKezwNh8nx1sE/4WpBBtWAb23hG yQhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j10si212494edp.268.2021.06.09.10.12.16; Wed, 09 Jun 2021 10:12:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236419AbhFIHyu (ORCPT + 99 others); Wed, 9 Jun 2021 03:54:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232911AbhFIHyt (ORCPT ); Wed, 9 Jun 2021 03:54:49 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9287FC061574 for ; Wed, 9 Jun 2021 00:52:55 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqt11-00063s-5n; Wed, 09 Jun 2021 09:52:43 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1lqt0y-0004m9-RT; Wed, 09 Jun 2021 09:52:40 +0200 Date: Wed, 9 Jun 2021 09:52:40 +0200 From: Marco Felsch To: Martin Kepplinger Cc: festevam@gmail.com, krzk@kernel.org, laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, kernel@pengutronix.de, kernel@puri.sm, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, mchehab@kernel.org, phone-devel@vger.kernel.org, robh@kernel.org, shawnguo@kernel.org, slongerbeam@gmail.com Subject: Re: [PATCH v3 3/3] arm64: dts: imx8mq: add mipi csi phy and csi bridge descriptions Message-ID: <20210609075240.ajx6ejvqie4sgkvj@pengutronix.de> References: <20210608104128.1616028-1-martin.kepplinger@puri.sm> <20210608104128.1616028-4-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210608104128.1616028-4-martin.kepplinger@puri.sm> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 09:46:34 up 188 days, 21:52, 47 users, load average: 0.18, 0.13, 0.11 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Martin, On 21-06-08 12:41, Martin Kepplinger wrote: ... > + csi1: csi@30a90000 { > + compatible = "fsl,imx7-csi"; AFAIK an unwritten rule (at least for the iMX mach) is to specify the SoC specific compatible and the compatible which is supported by the driver already, so this should be: compatible = "fsl,imx8mq-csi", "fsl,imx7-csi"; This is very helpful if we need to handle some quirk for the imx8mq later on. Regards, Marco > + reg = <0x30a90000 0x10000>; > + interrupts = ; > + clocks = <&clk IMX8MQ_CLK_CSI1_ROOT>; > + clock-names = "mclk"; > + status = "disabled"; > + > + port { > + csi1_ep: endpoint { > + remote-endpoint = <&csi1_mipi_ep>; > + }; > + }; > + }; > + > + mipi_csi2: csi@30b60000 { > + compatible = "fsl,imx8mq-mipi-csi2"; > + reg = <0x30b60000 0x1000>; > + clocks = <&clk IMX8MQ_CLK_CSI2_CORE>, > + <&clk IMX8MQ_CLK_CSI2_ESC>, > + <&clk IMX8MQ_CLK_CSI2_PHY_REF>, > + <&clk IMX8MQ_CLK_CLKO2>; > + clock-names = "core", "esc", "pxl", "clko2"; > + assigned-clocks = <&clk IMX8MQ_CLK_CSI2_CORE>, > + <&clk IMX8MQ_CLK_CSI2_PHY_REF>, > + <&clk IMX8MQ_CLK_CSI2_ESC>; > + assigned-clock-rates = <266000000>, <333000000>, <66000000>; > + assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_266M>, > + <&clk IMX8MQ_SYS2_PLL_1000M>, > + <&clk IMX8MQ_SYS1_PLL_800M>; > + power-domains = <&pgc_mipi_csi2>; > + reset = <&src>; > + phy = <&iomuxc_gpr>; > + interconnects = <&noc IMX8MQ_ICM_CSI2 &noc IMX8MQ_ICS_DRAM>; > + interconnect-names = "dram"; > + status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + csi2_mipi_ep: endpoint { > + remote-endpoint = <&csi2_ep>; > + }; > + }; > + }; > + }; > + > + csi2: csi@30b80000 { > + compatible = "fsl,imx7-csi"; > + reg = <0x30b80000 0x10000>; > + interrupts = ; > + clocks = <&clk IMX8MQ_CLK_CSI2_ROOT>; > + clock-names = "mclk"; > + status = "disabled"; > + > + port { > + csi2_ep: endpoint { > + remote-endpoint = <&csi2_mipi_ep>; > + }; > + }; > + }; > + > mu: mailbox@30aa0000 { > compatible = "fsl,imx8mq-mu", "fsl,imx6sx-mu"; > reg = <0x30aa0000 0x10000>; > -- > 2.30.2 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |