From patchwork Mon Jan 30 08:47:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 13120514 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 15BECC54EED for ; Mon, 30 Jan 2023 08:51:08 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=a4JwYYYIGxdotwkyoDgHU7dd0JzbQ3ND3HKCaN3qIog=; b=bB/hqfE6IDlol5 YRhb4rkf8efkYpYf9vFr8zkEPggtW8/sFl2KBlijmHwnQ5LVQ6LBpWn7E9B1a5xXJHczfOh4o7nvO t+0A73gqxYFtCjydnY6T/XV600rCSTkPd1PDwRnkel2oOIJBcL5PRVg4PHFfcW6zjenJcxk+PwDWK BywbLdCkyqvQGqoy2X6InGyHEj42qUQHiHZ6vXUaLSCvv8bZWC1lgeK3fLqlAI4Yl8/9tPhbALbLJ CBAxxcWe7jOzAYP4EnPz9OwtIqxXuxbhSi2x7Jfs0JHtauv8qxPxpsRCzXOIgD7LXiwAVsV2ha0Ok bbk4nxEftNEesh6c3dsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMPq1-002h9k-SL; Mon, 30 Jan 2023 08:48:30 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMPpI-002h90-GG for linux-arm-kernel@bombadil.infradead.org; Mon, 30 Jan 2023 08:47:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=WODDg5vaQT8E+XgOhr0lSBCbkJzy6fJtOc6uPEDrBe0=; b=aK6sY4jxTCDk6sLuw9Td+uGVhU YFunlZKGFNBQims7s57Pq1Wha7LirnpEKQqf/4iBw11grrX2d7pAgZY6WrGly+tD17zT+0C7drbcl gLjQ6kLeTyotkxqQ+PAN+159lNQodTdYVai2bISmp2oRJYr2MkQ/fstOpCdSbZFKCnp+owTRt3gZJ lFVSRnoMY+edxAPQiOwUnDpCH6LGVZM4mBkFQ3oCLkxQ8S4c+kViUbpIGelDaVikDJiH9o797/Hx4 YO6gFFC6lh7GpyMtXveJ0nilwk3ZLETHkCNvsqQYcdfh3zTBg4+4OzQHZKe0n7HfPvdRvu9mpN2cU Qt6946YQ==; Received: from mail-am6eur05on20628.outbound.protection.outlook.com ([2a01:111:f400:7e1b::628] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pMPog-003rlT-2a for linux-arm-kernel@lists.infradead.org; Mon, 30 Jan 2023 08:47:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nci/+GI+05AyXy9gQVXVqsbCpl1RxEiUMan5f1Sbu9a3t8X6E5yi7E1H+slhBRo0JjsgS5jzK145VvF1bkIUeLSOYadTSIX8YOFlO4ajv3BinWroa6JY9Gh1MFPtl6ewyhv09L9tqKESvqAHomoGKgmJIGPIX5RR5eVZIRM15Ab4ag2wmyRcTGyHtnGhqyp57VYEuN7kTGbA5TFGK/azGIrYLEO8OW31GO/QyqX1O1LCi6xOUpH+NKIdNVfaoJvmFqbnVG42Pr/GhTX101firL/NbQF9IAEt4p00h8xalD+Pj3n32J2gIgTY9l3/u8/3XlgzygDGiXn8R914wS4GQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WODDg5vaQT8E+XgOhr0lSBCbkJzy6fJtOc6uPEDrBe0=; b=crYfQ22o7rV1g3km8ykq2u3U3hN+qNmeNcmdZOhqt5nwfBlyJMSFdlFWqrnTiRHMQLRZwWSBZfgZHk6/baYi22X9JwnyVTqFNM2nuIfK1YR4negwBMFSeBkZzQWjgC0CxY0Qqx6XEMk1kZhqfrwuOa9z50Ht2joAGVajlCHJEz+3S5d5DqN0RB3Iiv+KLylbESPxXWZ+EtMxW4XRZ9mZ3VMuB3NEOYh02CrqiQUZpIpUVA4pzaSllSHHP+xM0cOUZPTcJ1b6Jqat1k2ecABo9vFTp3e409qtjLJZ7GuZ4pkaSW2dg3OQp5puWk4g5gVt47Iyo4RdX5XsVryiGufYxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WODDg5vaQT8E+XgOhr0lSBCbkJzy6fJtOc6uPEDrBe0=; b=bc9+vc4rYWZR7uHXjPquXKe+35XvOar2BX2JjJgQyGuvZ1yeb3fBoBHndaUehf89WjB3vEKKtaV5GIoLIkMnv73dgKMd4BUA2tC7j7HkxZA5pgTkE/WFXQu1qlFnVxsnTWXgK5XsypzNr/M2AsEjCpHQL4NubYGNMcbeyZJ12q0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) by AS2PR08MB9046.eurprd08.prod.outlook.com (2603:10a6:20b:5fc::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Mon, 30 Jan 2023 08:47:21 +0000 Received: from DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::4718:6092:e763:4219]) by DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::4718:6092:e763:4219%2]) with mapi id 15.20.6043.036; Mon, 30 Jan 2023 08:47:21 +0000 From: Michael Riesch To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Michael Riesch , Gerald Loacker , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sakari Ailus , Laurent Pinchart , Hans Verkuil , Marco Felsch , Mikhail Rudenko , =?utf-8?q?Krzysztof_Ha=C5=82asa?= , Marek Vasut Subject: [PATCH v3 0/2] media: i2c: add imx415 cmos image sensor driver Date: Mon, 30 Jan 2023 09:47:08 +0100 Message-Id: <20230130084710.297004-1-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: ZR0P278CA0008.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:16::18) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|AS2PR08MB9046:EE_ X-MS-Office365-Filtering-Correlation-Id: 16912288-354f-49db-cd42-08db029e9a0f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: u18j9cHgvFVv9p/fUfqSTvrHK8J6IJO6nnhB1p6QqNJlssm5WFw6iOhf108MvLpU/9WaLW1xpxZ7Oum7PZHIqXGBKig8o5WkeaELpIKRkmH9FAnPoYWNaemjlGBO1IP8af2o72Qw3OLIeS6GN3y8lPWbdwVbPgQdW88CqjmjcE8nXAGF/9wZwjkUTTNC1KKQ0QgyG0AB/QTIHG+XP1H39SvaUsMO6zU7xTAtzODTP+O7ZAoJLBBs5zhSa0ZHPSzSH7tjdmX2/1kG0JszXQVuGDIepVsZhYIL6slQLysqfAw7AeH+VRLfGkYp3nIY/Baqj03vD89DNspw9lB0yBrFjDHflic219ZuGjIVtQu2COjz+Tok3SrTd/CZ9oP/QOKkyuPvxl4MMpui4wyzt8DfPEeZpWPeK3rFHZ1q5OmoQSf0AJJA4RjGLCd1U/2Yn21xPez0diVAFpYe9P/nrAYeF+8TXoSE7DuE79bW7iYJNo/DMFNlTS8MQ090KTk8PysdjZeC6wwea73zxWTp4LVG0D5czWEpRoDXKpPUUKmaT499nubHgn0rl9JU/Ir4i9LwWfYamFNLvdqu3nXTwtN0/JUqB/3VqguuE68WA7b58BIsucetxPDAKfff1pKnxQYQNPbRteN43mWoUfFt9EXsFw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR08MB9155.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(136003)(39840400004)(376002)(346002)(366004)(396003)(451199018)(36756003)(54906003)(316002)(66946007)(66556008)(4326008)(8676002)(66476007)(8936002)(41300700001)(5660300002)(38100700002)(86362001)(1076003)(6666004)(6506007)(6512007)(186003)(7416002)(44832011)(2906002)(478600001)(52116002)(6486002)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NXvqBGTT7xf/VrYniroFJoXmNpGVPCpG9YyUhhHzvap6a4NxDeJPs7UEBh3x9/G4XObYN1pKcP4pzFnxnQkdurEoImQow9S0OV0fW5HKIrC+7AqD8mE78t4x2WrO399OUra3u1Y4IKPOTFTJtEe8F/8QQNg1juqspym88jbKUZeUITJZ7/PiL1k8Aw0DwOwy0ZmWlHrw00hS/DifbULLQH0S1wPN+KdYWH7M6HvPYJa6B/tsmkuzLmpFRss+H4UlyrkcpRVId0rSwEy1OhjwHVKcu1OAJxCEuuW00kDy6x/U7EjDKDwWbHDlVIOSZSlwpieHD+iBJlWxwaQ8cU6pGvRkNUGZOaxbZB1BMXXyVvGpx/QMrs9WnLEmC3XVp6i2K/k1/rfgC53Oe42J+ilRrMh2TijyximingHiKD1TWTTUreRrllSTig5h8X9HYB+7i40W0vG2O/iuSDlCiEUfpjssiLhQUZ5tnRw1YwyvdZAdnNgiWjPT2N5Dsmxg3fMV3lYC0dlG4vEIwhIT6xVvXRBPbez8Oy1he1U0v6wYzJ1HIJvEMn6AyiePKBFsf7JQhszFL4YY8nvPN0Vkq0D6cURS4mJ1SzHho5tRwCPoM4rw5dpRDc2tpGZLYcAq27NtoRvhR0K7zxNd/Pkmbja9cO7iGRM6G+CepE6oQiPu9IxR4ZEhtUOzQrOfRzMGOGAjlo5UkxESU30pMJLGHRSeolgAgnZvk3TDcSkNlIJTwCOZdwVoiJ7AqtiMiIn9BetLUyGGMxnZNJ4wCwAroHt8ZRytahJlHNkgAmunCItMHYMQzD1eAL/LE8T9a5lY2+f9+lCM7vD7lAkqo8IYoB7jUxoAfmVhwkhUOhixFGL7MDie0XcFurghOg93IIjkpn4iK26yqVV3JVOKLSccgqW0ynEIgUclb4dKmTRQaLRucsShTE7bpI5vFkyKFKBwwZKSRwlrxGwna7u0J1fBsyfy4VKDguF4KomEYJU8bDwZLLQolYI8c5ASCjZ1kYAbY9m6ixMDJM4b5IEd/krTBSi8wCvMTl0Mt0IfKZK7uDdhU+CdluZiYbFAQ26ICo1DSHKipfYraqu4yaPdYe2GjM7H3jz8wbgwH0UiR+9DJTnSQ26stN+NPpuZWjBM5J0rR0baED2fAnV9fb6ZAq/INIE/0y0zecm/lNMK8mfgYAQsr9A8QIvTAxU7WHgLjRBj0bgXfKk11YrG6N4ive2n5/KRUy2xQffI8K881FaKQNgOLAXM3hkv2YYc8oZrpEpAcvbpnOZe/DbQ3uq1cT9gG7J+3cAHG2tYLYRuTPjfEyyuJx1Fyfg2drf39DXNSYCXlCoN9TKLuFvxWeo/vdeCQQ5uyqJbdcQtGa7WAze/5xtl0osJPh2F2MBWuwKeJhQfuc8PAfU93dUWwvOva/g1FSCEAOpVvlMED3CubVCehXEZz0VT7ZYKzgcI2Y+NVSsKmhWvob2dQj0NNM5AmpTkrdldLvdxXTjjLgyOkbD18nezRDossR70eggpAhWOicnn3lmJjzDx073xTH3C2MO9QCtNyyYFqe9VSO0s9qOntx/OfeSKiu9g1vxFk05wisvreXqapixxB+rrxruGfdzgz+hNtZ50PKqd+kK6SEL6i/SyyHfx5ukwBNsJAzRRrIt2SWBN6xvIf/SnHrtXAEGtDOFqMU17XKJJM68af7uCmBw829U= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 16912288-354f-49db-cd42-08db029e9a0f X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2023 08:47:21.7122 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: H0j7YoIFPAkkrbtqitwURnLA1IHEmhkCOQlnaSU4oCEaX9vcpMKZC+t+KLb9RvlpssbgGuh3g+ZYjMrla0w+CZfxW+3iU7FM/IQuXjzGfw8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB9046 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230130_084707_108767_44284CE7 X-CRM114-Status: GOOD ( 12.33 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, This series adds a driver for the Sony IMX415 CMOS image sensor. The Sony IMX415 is a diagonal 6.4 mm (Type 1/2.8) CMOS active pixel type solid-state image sensor with a square pixel array and 8.46 M effective pixels. This chip operates with analog 2.9 V, digital 1.1 V, and interface 1.8 V triple power supply, and has low power consumption. The IMX415 is programmable through I2C interface. The sensor output is available via CSI-2 serial data output (two or four lanes). Version 2 of this series fixes the port description in the devicetree binding as pointed out by Rob Herring. Version 3 addresses the comments by Sakari Ailus, Marco Felsch and Rob Herring. Looking forward to your comments! Best regards, Michael Gerald Loacker (1): media: i2c: add imx415 cmos image sensor driver Michael Riesch (1): dt-bindings: media: i2c: add imx415 cmos image sensor .../bindings/media/i2c/sony,imx415.yaml | 122 ++ MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 14 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/imx415.c | 1300 +++++++++++++++++ 5 files changed, 1445 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml create mode 100644 drivers/media/i2c/imx415.c base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2