From mboxrd@z Thu Jan 1 00:00:00 1970 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 6D579C433F5 for ; Sun, 28 Nov 2021 12:52:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ILcSyx7eoxfNLiFtfzSWSnK5dNfupY6Web8lrxjvqRk=; b=DJqlKz1NPsKg91 o8hSabY4r6YzNUXgshi0lYgYL3F0aFFAtYEGI1jWUp5sQ2ObGQxjBtOc9fZckdFMbbXHE7zFUCzGE YQGFLONR1U0UOEI15Jlpg/diXXrXTIbP9SyIpyicQyB8NUoPX1LeDSxTI4zPBrcUyyCtr16VS14ot PPVNuDvLRpHDIAnebvzBFPSYM6n5qBDFfj9OKLIULQsEIaMoW8Psap94w/8EvC/kiWoBkmzY8F4Tr DR+jCTRikrjVihb8DMwAYPpfbM+/1+SgMCGO13PGUjlsE1EsKNAwK8K8DLYOOnMIc5sibJVTFTxnc 5PQpI4S+7m+AUhRj0odg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrJdq-00FifB-4f; Sun, 28 Nov 2021 12:50:50 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrJdd-00Fid1-Vq for linux-arm-kernel@lists.infradead.org; Sun, 28 Nov 2021 12:50:39 +0000 Received: by mail-io1-xd2c.google.com with SMTP id e144so17405906iof.3 for ; Sun, 28 Nov 2021 04:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+zF5AygEz5+OHo26V18w4VHwZbn9xlxivKPIQEuf7sw=; b=V09imOpwejqgrElEhKLOOXiP2LkPDXpGGRwmT/l05RowvJjI33Vk7y70XtamUhDmSr WIa8DK3MDOVS9mzqMdwJhJy6/Vxook0eGYkL5M2nDrAy0iGZALbHTvs6bnNJPSO0P6I4 8X+I2ilf+TgPfP+1vRb1FfecDu30o1MyahNvAxmfNJ2+zVX/32pG59eu91z7qk519IqZ ffoauv7prbB8EdiURb3p/3s5Nt3dgO/5QEYPaxrUJZmp8hZH6qcu63C4Nvd/NdMa1IYD PxsQhRRo4VMvAaUz4G5Gsl3rGu+O6ewo3SFcMF/9LUpoCl/E91PAnlHQsq7E0ZEbYuAC 1eMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+zF5AygEz5+OHo26V18w4VHwZbn9xlxivKPIQEuf7sw=; b=IFVuV79ijEBoEtc9pKuBOY82x4P8pYd9103gT2Jc6eaej7d7Yl9DFp+lXPsYrNEJPM AyKWB7cE+zIACk1ZCdezatt3OJE0/qZ86gWNDErSF2Eh+Cui4hssgq/tlfJ+RwdxH6pB k2kGJEgLWzVDrym7J8bZTKEJ1Pb8afaf0qVQMrZhykIPY9oxZHuU0jAO5vaQak4w6yp3 hY93YGCkZwolEVktUgCWoRBbnQV+rH82x3qxjhHDot+A63sXqR58dZmWNo232GrzUwZL pV2ckPz48bRXwTyFNicb5RmFFVylOqdymNBc1V6KroTkCNqPKKPDyEGI55pIVErvgb15 OINA== X-Gm-Message-State: AOAM533B/UaQxLIr896Jn1z5K1X5txoLXQhgfihDjX1MaUP7EQFYWxLb FLZtiWthE5qIk99fWn4x02ssR6hcM3bjeg== X-Google-Smtp-Source: ABdhPJznO3n9U7FsarIUrvOXh/o0MsSeT2U2+YkVGHztqGrF1nIcMBb86YT1MKZUEzLuYVneyMOLLg== X-Received: by 2002:a5e:9b0e:: with SMTP id j14mr52998522iok.127.1638103836700; Sun, 28 Nov 2021 04:50:36 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:2a06:17d2:47df:6c8e]) by smtp.gmail.com with ESMTPSA id j21sm6545240ila.6.2021.11.28.04.50.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Nov 2021 04:50:36 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: laurent.pinchart@ideasonboard.com, tharvey@gateworks.com, aford@beaconembedded.com, Adam Ford , Fabio Estevam , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Catalin Marinas , Will Deacon , Lucas Stach , Peng Fan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 2/5] arm64: dts: imx8mm: Add CSI nodes Date: Sun, 28 Nov 2021 06:50:08 -0600 Message-Id: <20211128125011.12817-2-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211128125011.12817-1-aford173@gmail.com> References: <20211128125011.12817-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211128_045038_048463_A08ED864 X-CRM114-Status: GOOD ( 10.22 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There is a csi bridge and csis interface that tie together to allow csi2 capture. Signed-off-by: Adam Ford Reviewed-by: Laurent Pinchart Reviewed-by: Tim Harvey Tested-by: Tim Harvey Reviewed-by: Fabio Estevam --- V3: No Change V2: No Change arch/arm64/boot/dts/freescale/imx8mm.dtsi | 51 +++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 5b9c2cca9ac4..a31cf2b9769c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -1096,6 +1096,22 @@ aips4: bus@32c00000 { #size-cells = <1>; ranges = <0x32c00000 0x32c00000 0x400000>; + csi: csi@32e20000 { + compatible = "fsl,imx8mm-csi", "fsl,imx7-csi"; + reg = <0x32e20000 0x1000>; + interrupts = ; + clocks = <&clk IMX8MM_CLK_CSI1_ROOT>; + clock-names = "mclk"; + power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_CSI_BRIDGE>; + status = "disabled"; + + port { + csi_in: endpoint { + remote-endpoint = <&imx8mm_mipi_csi_out>; + }; + }; + }; + disp_blk_ctrl: blk-ctrl@32e28000 { compatible = "fsl,imx8mm-disp-blk-ctrl", "syscon"; reg = <0x32e28000 0x100>; @@ -1123,6 +1139,41 @@ disp_blk_ctrl: blk-ctrl@32e28000 { #power-domain-cells = <1>; }; + mipi_csi: mipi-csi@32e30000 { + compatible = "fsl,imx8mm-mipi-csi2"; + reg = <0x32e30000 0x1000>; + interrupts = ; + assigned-clocks = <&clk IMX8MM_CLK_CSI1_CORE>, + <&clk IMX8MM_CLK_CSI1_PHY_REF>; + assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>, + <&clk IMX8MM_SYS_PLL2_1000M>; + clock-frequency = <333000000>; + clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>, + <&clk IMX8MM_CLK_CSI1_ROOT>, + <&clk IMX8MM_CLK_CSI1_PHY_REF>, + <&clk IMX8MM_CLK_DISP_AXI_ROOT>; + clock-names = "pclk", "wrap", "phy", "axi"; + power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_MIPI_CSI>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + }; + + port@1 { + reg = <1>; + + imx8mm_mipi_csi_out: endpoint { + remote-endpoint = <&csi_in>; + }; + }; + }; + }; + usbotg1: usb@32e40000 { compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; reg = <0x32e40000 0x200>; -- 2.32.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel