From patchwork Sat Jul 4 00:40:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 8602 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 9516BC2E7E for ; Sat, 4 Jul 2020 00:40:45 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5EDCE60DF1; Sat, 4 Jul 2020 02:40:45 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="SVesLYws"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5788560D66 for ; Sat, 4 Jul 2020 02:40:41 +0200 (CEST) Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DEDE89C6; Sat, 4 Jul 2020 02:40:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1593823241; bh=G+NLJfDZUU8FVVIIHkB+1WaIauxm3tGnz9IKMnIcGZU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SVesLYwsXpJXC6iuPnEncVNhGefy4Ej3h8prn5pGIJt0B+MFq9EXZod8FLekbVtFT /47LWzVDPxjxIz8aDsVJscl3ntyxI7DufgVans700n7lWBzC2FJoJ7DChPfbOm8Yay YZ/YQLkLDubsdQLwDrJsYl4u6vsFuLeqMIbwntV8= From: Laurent Pinchart To: Dave Stevenson Date: Sat, 4 Jul 2020 03:40:27 +0300 Message-Id: <20200704004028.21153-12-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200704004028.21153-1-laurent.pinchart@ideasonboard.com> References: <20200704004028.21153-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 11/12] dt/dtoverlays: imx219: Set sensor rotation X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: libcamera-devel@lists.libcamera.org Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The sensor module is mounted-upside down, report it through the rotation device tree property. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/overlays/imx219-overlay.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/overlays/imx219-overlay.dts b/arch/arm/boot/dts/overlays/imx219-overlay.dts index 7cdafdc3db1b..2e028bde0106 100644 --- a/arch/arm/boot/dts/overlays/imx219-overlay.dts +++ b/arch/arm/boot/dts/overlays/imx219-overlay.dts @@ -27,6 +27,8 @@ VDIG-supply = <&imx219_vdig>; /* 1.8v */ VDDL-supply = <&imx219_vddl>; /* 1.2v */ + rotation = <180>; + port { imx219_0: endpoint { remote-endpoint = <&csi1_ep>;