Message ID | 20231206-imx214-v4-0-7ef604b01dcb@apitzsch.eu |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4421052vqy; Wed, 6 Dec 2023 14:38:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEovJhZjLnm8S1HDO/bpfzi+1qcSLEIDMJr55dWwyNdgCkMZ2eOScCWPl3UjKv1Rm0I5V98 X-Received: by 2002:a92:da85:0:b0:35d:39eb:d367 with SMTP id u5-20020a92da85000000b0035d39ebd367mr1825821iln.7.1701902329986; Wed, 06 Dec 2023 14:38:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701902329; cv=none; d=google.com; s=arc-20160816; b=j1YmVTwGwtQnBa7jjf0Nt5nWLbshKwO+fUYGd8oYbDy9XMyPipNQgztaKnk/nKQLI6 dOjRVIKGn/XqAMBuvpOjXdW1vnd+8BO+BEAbL/kXunJE4yM73++j5I+Vz38djlHjdbdc jVfn7J/Z03qZ6EynIqorrdYuLps5A67xQHtAZ+OTSYwOYf+77Z/izS8lKVnxjEXx+Aij AWBs4GrZkMOty8p8T2KhwgIheEsCARh2yNv1GqXJg7WEHBWe/xSfnveTaiIB2nBSo2Pu Y60v/Uf/kB8dNLRpjjUAKQATDBcKhYTu18DhzVxJuM3XLXb2IvKVhi8roC/uwu9X74LM tXrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from; bh=DBQOBeu9uEX+UM7a9J73siLFrzMukYLR8PqlwNUqkQA=; fh=Zgky+q+8PvhHkxojJIPDJHGW0QVIUIBdH6AVhu4TA4w=; b=cc/uNoLjoBqcA0yb2vDwqMwwzRD6KRxhPGq51ettCDTAm5dkKhI7BBar/VnW2tOuaT 9Ejp5kvnL0ip67yULeQCwrSbtcRT++vq0bOutMOpLwf8P65TGHjshlA1B+S8Jju67YNK D7WD5Lr8/ihKHLkOd6LXRZPFTB2RTmHnOJcBW+wSoo2EhwhCPp6IABdXTkMnspPV9dIf OxdW01JX9YjoZwsI6EzUVBcQLdPtmTSExoHNCpUPQ/z0xEF4jpNWhxSXjN4SWJfMcKXI sUg0nj0VYU10EYG7P6qY2WK+6wmuyjZ/qavXlXv7FRggLALO0rX5d+9+iTuC8cigW2DM tJdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id x62-20020a636341000000b005b93bfe91f3si601578pgb.577.2023.12.06.14.38.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 14:38:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A1B4B82E8762; Wed, 6 Dec 2023 14:38:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377395AbjLFWic (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Wed, 6 Dec 2023 17:38:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230435AbjLFWia (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 6 Dec 2023 17:38:30 -0500 X-Greylist: delayed 250 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 06 Dec 2023 14:38:36 PST Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2093DD59; Wed, 6 Dec 2023 14:38:36 -0800 (PST) Received: from [92.206.191.209] (helo=note-book.lan) by smtprelay03.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from <git@apitzsch.eu>) id 1rB0TH-0007Ur-0d; Wed, 06 Dec 2023 23:34:23 +0100 From: =?utf-8?q?Andr=C3=A9_Apitzsch?= <git@apitzsch.eu> Subject: [PATCH v4 0/4] media: i2c: imx214: Extend with sensor size and firmware information Date: Wed, 06 Dec 2023 23:33:54 +0100 Message-Id: <20231206-imx214-v4-0-7ef604b01dcb@apitzsch.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIANL2cGUC/23MvQ6CMBSG4Vshna3pXwo4eR/GgbbnSAeBtNigh Hu3MBgNDh2+5jzvTCIED5GcipkESD76vstDHQpi26a7AfUubyKYkDw/6u+T4IrqyipZgUHDLMn HQwD00xa6XPNufRz78Ny6ia+/u0TilFEjJXJjHEeL52bw4yva9ggPskaS+IbVB4oMdd1UaErJn IY9lP+hzNA6ZbAssdY1+4XLsrwBvZLHGhABAAA= To: Ricardo Ribalda <ribalda@kernel.org>, Sakari Ailus <sakari.ailus@linux.intel.com>, Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Kieran Bingham <kieran.bingham@ideasonboard.com>, Jacopo Mondi <jacopo.mondi@ideasonboard.com>, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, =?utf-8?q?Andr=C3=A9_Apitzsch?= <git@apitzsch.eu>, Ricardo Ribalda <ribalda@chromium.org> X-Mailer: b4 0.12.4 X-Df-Sender: YW5kcmVAYXBpdHpzY2guZXU= X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 14:38:47 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784573937494426957 X-GMAIL-MSGID: 1784573937494426957 |
Series |
media: i2c: imx214: Extend with sensor size and firmware information
|
|
Message
André Apitzsch
Dec. 6, 2023, 10:33 p.m. UTC
Add the effective and active sensor sizes and add functionality to read
rotation and orientation from device trees.
Signed-off-by: André Apitzsch <git@apitzsch.eu>
---
Changes in v4:
- Add r-b by Kieran to patch 1/4
- Link to v3: https://lore.kernel.org/r/20231028-imx214-v3-0-cd4bf77f9690@apitzsch.eu
Changes in v3:
- Squash patch 5/5 with patch 2/5
- Link to v2: https://lore.kernel.org/r/20231028-imx214-v2-0-69a8fb730d6e@apitzsch.eu
Changes in v2:
- Use integer representation for default exposure (Kieran)
- Replace dev_err_probe() by dev_err()
- Increase number of pre-allocated control slots (Jacopo)
- Fix typo in commit message (Jacopo)
- Add r-b tags
- Add patch to fix ctrls init error handling
- Link to v1: https://lore.kernel.org/r/20231023-imx214-v1-0-b33f1bbd1fcf@apitzsch.eu
---
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 | 175 +++++++++++++++++++++++++++++++--------------
1 file changed, 120 insertions(+), 55 deletions(-)
---
base-commit: 577a4ee0b96fb043c9cf4a533c550ff587e526cf
change-id: 20231023-imx214-68c438ebfb0c
Best regards,