From patchwork Mon Oct 23 21:47:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Apitzsch?= X-Patchwork-Id: 737423 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02F01C25B46 for ; Mon, 23 Oct 2023 21:50:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232862AbjJWVux (ORCPT ); Mon, 23 Oct 2023 17:50:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232738AbjJWVuw (ORCPT ); Mon, 23 Oct 2023 17:50:52 -0400 Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 545AB10C1 for ; Mon, 23 Oct 2023 14:50:49 -0700 (PDT) Received: from [92.206.139.21] (helo=note-book.lan) by smtprelay01.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1qv2ng-0004Kz-0W; Mon, 23 Oct 2023 23:49:28 +0200 From: =?utf-8?q?Andr=C3=A9_Apitzsch?= Subject: [PATCH 0/4] media: i2c: imx214: Extend with sensor size and firmware information Date: Mon, 23 Oct 2023 23:47:49 +0200 Message-Id: <20231023-imx214-v1-0-b33f1bbd1fcf@apitzsch.eu> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAXqNmUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDINbNzK0wMjTRNbNINjG2SE1KSzJIVgIqLihKTcusABsUHVtbCwAFW6l 0WAAAAA== To: Ricardo Ribalda , Sakari Ailus , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, =?utf-8?q?Andr=C3=A9_Apitzsch?= X-Mailer: b4 0.12.3 X-Df-Sender: YW5kcmVAYXBpdHpzY2guZXU= Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add the effective and active sensor sizes and add functionality to read rotation and orientation from device trees. Signed-off-by: André Apitzsch --- André Apitzsch (4): media: i2c: imx214: Explain some magic numbers media: i2c: imx214: Move controls init to separate function media: i2c: imx214: Read orientation and rotation from system firmware media: i2c: imx214: Add sensor's pixel matrix size drivers/media/i2c/imx214.c | 171 +++++++++++++++++++++++++++++++-------------- 1 file changed, 117 insertions(+), 54 deletions(-) --- base-commit: e8361b005d7c92997d12f2b85a9e4a525738bd9d change-id: 20231023-imx214-68c438ebfb0c Best regards,