Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp633065rdb; Tue, 19 Sep 2023 06:07:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEn/2RgIIVRAMOrDrx46bQEeSqmEi3DsJm+EzN5eBoppi0SSP+U54NDpvGz5bfKwn2uobzS X-Received: by 2002:a05:6a00:80c2:b0:68f:a92a:8509 with SMTP id ei2-20020a056a0080c200b0068fa92a8509mr3126448pfb.7.1695128864048; Tue, 19 Sep 2023 06:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695128864; cv=none; d=google.com; s=arc-20160816; b=XKeYXrhE53kG+ZaAxzJeUn8ENvWerE8BBGswQxspnlMZ571Je7iF73gAKpJh9jDGp9 fdx9LJ5sOi5sBDcpGsVDlD+/N4psW4z5XdAwqUT2ThKJQq+rvteErUYJ9zWmHQmYKWnF PzKWHzvY1ZfIlK8UUp/dV+LwJMVu7iUTp6Onfo6uRbXuqyySrKcGYzajIZcAfvi0soPd YE7P0/Cq+jqOQ7ZVTek4FFT+1m2WIL70P73YTKP4oyeOsJdW8gVzRgZBCCSj2jj+rwcH FJH78Ttx2z+X961o6GE9EfQ82W8TVcvFf9G8fDA+ERJzBsFotTvVmv/Fir7wgjlrzCTx FGTg== 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 :dkim-signature; bh=SQ5iaYdtHvo+gNX5rr5Fy6tFIqlQf9Rj48jmsBtd6j8=; fh=VFNqY6GszAO7s9cSDsTosKpK5ELFKoAF+vfqb8PO70M=; b=Pm3n9v7cGlIv7kAkq7kAszMGI89PI5t1Mh7HI6HwgT43rPD1r5GYKiPMsyB+nIvg/O WkQN5pm9GRUVVZX6fVHAgI61gtyQFPnm7+Wn+zMELMyBGoSlsfs1gvP7fEAhmhcuyXYr pOIdgriGHLJJy94x7OE5nrx++Rvk7KDHSZpdjeLVPLw8FWoKy2YoQkOm0unUI40t+d7F bwqbrQ/wXCDLU1YJWeU0H5gFRqY/G4OAoW+lv86MIEYBeFYFxR4Z6E5+58x9VjFzMwWS 060cJpUalpbV8EZRR7SUK2/cfbQDUA1r2fQ9wMBwlgjcS3d31iJ8WblQnngbxLc+WdDG uJrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V2DJIatk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id ch14-20020a056a00288e00b0068e3efe866esi9687201pfb.146.2023.09.19.06.07.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 06:07:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V2DJIatk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8B31E80C0A66; Tue, 19 Sep 2023 05:30:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232048AbjISMaK (ORCPT + 99 others); Tue, 19 Sep 2023 08:30:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231913AbjISMaJ (ORCPT ); Tue, 19 Sep 2023 08:30:09 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10CFBE3 for ; Tue, 19 Sep 2023 05:30:04 -0700 (PDT) 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230711221518.2127861-1-tharvey@gateworks.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 19 Sep 2023 05:30:11 -0700 (PDT) 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!