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 EC395CD5BA7 for ; Tue, 19 Sep 2023 12:30:38 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P5PunbGpMeqyiKjj2z9LU0Vmb/ya16656SzbHtoqd5A=; b=DXnfR+WElkyI6R LsRbcakZSC2XyQauWFcPYByaJ4ySzeBURDz7pcztuv0KvS9NfwlVEVU4aYUwkBps3aCVmqEjBVoNK 6R54zm12q3HyYoBaNwwslMVp8Tmde+6HHISqb3b4uplGs5YK7bQzOH3LOgY3a+cI+QAAXixCO/DTd XoFaKEDzE0DYGNnCVbF9ngVZsFS2cebxbx2KoV9R1j5NVkCDXiJgWdfFKpeqBrQ3RmU5FeuZHcSkd twVGfXh76FajN3J7mBP0LswEcOCGEdkvjaDhsDoiQcAaZ5cWSOIePEEu7E7I0rQPB9atb39UK3L6I XmZ1jLgIEDG7241J8ysQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qiZrm-000Q3n-1x; Tue, 19 Sep 2023 12:30:10 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qiZrj-000Q2Z-1l for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2023 12:30:09 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 71ABFCE131D; Tue, 19 Sep 2023 12:30:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C486C433C8; Tue, 19 Sep 2023 12:30:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695126603; bh=EtFa5rvshidZO96hC+OAr46glLz8FAGtkJNpTV8OXYk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V2DJIatknYNoZV5FKgknMq5dWC1kMJ8jrAmzHkYCKGWdd6OB5JGpHKm+plcn20V3m 0Xor9hZDxJSUdBt0J/Y6w4Z88Rd2IRsAnf0EctwWShWIX1xT5GaDu88OJmfStxfmWI VGhWsJimvfd6cG6nxoUkSFolmkKEhp0eJJZiTE3uOoXuZF8Xs9o0khdyZeYjUPu6op XwTECoP1+iEgM75AfedkO9Wnk76tf/0StLOGqHaCoVdDPuNG9Nzk7E2w5Oc9+HvwUJ GPsrSjTsWT76ZwQZofRxLpUu6+XWFhGDFIlFSgk5T/+XCz041sscP0tX984hM8JtQ5 50JY72XIuu1lA== Date: Tue, 19 Sep 2023 14:29:57 +0200 From: Shawn Guo To: Tim Harvey Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: Re: [PATCH] arm64: dts: imx8mp: add imx8mp-venice-gw74xx-imx219 overlay for rpi v2 camera Message-ID: <20230919122956.GD11740@T480> References: <20230711221518.2127861-1-tharvey@gateworks.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230711221518.2127861-1-tharvey@gateworks.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230919_053007_776435_D19DEBCF X-CRM114-Status: GOOD ( 14.44 ) 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 On Tue, Jul 11, 2023 at 03:15:18PM -0700, Tim Harvey wrote: > Add support for the RaspberryPi Camera v2 which is an IMX219 8MP module: > - https://datasheets.raspberrypi.com/camera/camera-v2-schematics.pdf > - has its own on-board 24MHz osc so no clock required from baseboard > - pin 11 enables 1.8V and 2.8V LDO which is connected to > GW74xx MIPI_GPIO4 (IMX8MP GPIO1_IO4) so we use this as a gpio > > Support is added via a device-tree overlay. > > The IMX219 supports RAW8/RAW10 image formats. > > Example configuration: > media-ctl -l "'imx219 3-0010':0->'csis-32e40000.csi':0[1]" > media-ctl -v -V "'imx219 3-0010':0 [fmt:SRGGB8/640x480 field:none]" > media-ctl -v -V "'crossbar':0 [fmt:SRGGB8/640x480 field:none]" > media-ctl -v -V "'mxc_isi.0':0 [fmt:SRGGB8/640x480 field:none]" > v4l2-ctl --set-fmt-video=width=640,height=480,pixelformat=RGGB > v4l2-ctl --stream-mmap --stream-to=frame.raw --stream-count=1 > convert -size 640x480 -depth 8 gray:frame.raw frame.png > gst-launch-1.0 v4l2src ! \ > video/x-bayer,format=rggb,width=640,height=480,framerate=10/1 ! \ > bayer2rgb ! fbdevsink > > Signed-off-by: Tim Harvey Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel