From patchwork Tue Jan 24 06:01:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 4445 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1993132wrn; Mon, 23 Jan 2023 22:17:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXvpsfrJl3CGOBUgakkU0uitsqaXGy97NReHsc9e/iMGuki8dAmiFDzc5LkSaqJJk6eRZoLp X-Received: by 2002:a05:6a20:3baa:b0:b6:2bd6:a79a with SMTP id b42-20020a056a203baa00b000b62bd6a79amr26203958pzh.36.1674541065367; Mon, 23 Jan 2023 22:17:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674541065; cv=pass; d=google.com; s=arc-20160816; b=veWTDXQ3b6mszZkMm9j3QzO/um3n4Y/I+PsKjYe8s1JyO0dlbNXS8J9bKk0nboXAFL SvzVFrep4N+d2nhjc5sarV5rfzQ495fIue+EOB6NljH+FLTaEgFtdrqN9pwNBEMLalSI 0FsT4s+wiXUinwhHxzr2JvsIG4LS1a5B6viOTsJWfoGoowMc0/+AMvoR/kF0EYEI5cTL H76bZfkLlAWeajRAeYsTZGdYvRUd+rCvqFTuC5t0yMyV4cEYDTTC+oCdS9AsZb+JLCCe GwuNmKD5XARlH/QxjY2ysBJ/oJz6QJJLXIpcgMcxxkZbcL1PoCxIQrSQMUgdvgHPOCtF SUVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=HGHRZbjR2vwDdoOnHgHnzDp8tBeORMaWDHwbnFIU8pQ=; b=ewsfPeJqMjMTUpv4JAID2od1L79r2c85zBHYB948i1tfdE8lusCE5BcxHF4XUVZoq3 WcwEb6lbPN6Os7DX5DYkFQqKc1iw4/nSVm4zsrpwMhKl9W0vNdH1mW40SENEVNPxjH4r 3uXI+GsGzLK8B0SLDITIX4agg4q+VaLKm3lQjmxsSkQ8kbxNUJRNapWOtwa1m1262+Qg jN+A39uFlRDPk+asE7ACl8qQnoVq2jcXQKgftQ/cbzzPxkqf0k/vcNhfOm+5sQ7x+D8R +4h+YvuoeF0ydV2XxzJ6wQeuBKPU48kbMg8iFKen43XbM9UEwRM1rPEjBynvb8eiU6ES Znqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=cD1CbPXN; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a186-20020a6390c3000000b004a48ed37ffdsi1242737pge.196.2023.01.23.22.17.33; Mon, 23 Jan 2023 22:17:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=cD1CbPXN; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233144AbjAXGBY (ORCPT + 99 others); Tue, 24 Jan 2023 01:01:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232135AbjAXGBW (ORCPT ); Tue, 24 Jan 2023 01:01:22 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2055.outbound.protection.outlook.com [40.107.6.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F8AB100; Mon, 23 Jan 2023 22:01:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I5ipIeDK9yCyRSdve4NDjIbXWcv2I+/oicim13N/s36ZAALl9S8eQGkaJEcDhqeSLCheuUxWOzAvc+ODKyyXuoIh0Io0RzzdyTQOUi5UEdD6QAy62n9iBocIDpY4iRNbVKi2Ec9Oq1dVkWBMeENRfbiKSdJx6jqnLtyBuIblka/5hnnZhB4wgKNU3ZfFXq2VzeqPLsBdJReEokEIddw2jH6jUj1ZceLARnrv0InzEbfnvjWYGVIrCo/DbAHpm+koqbse//Wf/xAIvEaAK6Vyf0YRe1LSH9X59Uq1Sl6liQCVIW2b4ui41e28luVVGomUCwofej1zB2nT91Wj3L8LnQ== 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=HGHRZbjR2vwDdoOnHgHnzDp8tBeORMaWDHwbnFIU8pQ=; b=Vp8QS6Zmw8TR5aq/fjSqG7+CvFxJVzFbziVjWbzH6OuBzzoOSeuzwEoHrPKzPfYooXoP62UF8CguSJMX7LG2jAjxQX8IQx7xaS0IBXO6Uutt58mn0GtPRoAyQpg7wrSCZtLEAw754IWKx42gwbccgtJ5kn8AT7XOzbCACeKR/IaUYkro/bWHxSo+ug+lhHDqhXyURIuSz/sD9sPPPE6fTicoPwtfd/DWlE/LOSueNux3B1V/zi5bRTzoh5IlFMqcK2BfMmLKaGQLUdY0+97OUW+ygssIZ6XeTLeBrSYBUkS3Lz4kKlTSVN2S1QCSPiTPSKI+eRDdP/iaSXTGZOzsbg== 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=HGHRZbjR2vwDdoOnHgHnzDp8tBeORMaWDHwbnFIU8pQ=; b=cD1CbPXNrenO/rayBr0u3uEOodNHiztBm3FVMKWZstlOk02oPqKmpEfloRKXJmP1moro+CeD8OTXudAq31DqtVPgsWZOll/dQAeBxr6OsLaukGqdAfEuqX0us+LJb4VUdbeK9b2h5DYqNPT56Yw8POpYXaWEO0WZTkDdiGqeXp8= 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 AS2PR08MB8949.eurprd08.prod.outlook.com (2603:10a6:20b:5f8::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.33; Tue, 24 Jan 2023 06:01:19 +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.6002.033; Tue, 24 Jan 2023 06:01:19 +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 v2 0/2] media: i2c: add imx415 cmos image sensor driver Date: Tue, 24 Jan 2023 07:01:05 +0100 Message-Id: <20230124060107.3922237-1-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: ZRAP278CA0016.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:10::26) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|AS2PR08MB8949:EE_ X-MS-Office365-Filtering-Correlation-Id: 7794f861-0b44-476f-11b5-08dafdd06946 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LaSDicYiJhJ98zxHv9fLuSnTqO6RVSSvXzzQc3qsp9kGETld53Qcdu6ycLIGRi54i9NcqGIbcyROicZ6FhvJYEgOxx8wJ5+J7IzxgZ09DhW/H6GKAO6C6ONuEh6j/SsPVKG0//uvD25/ITn7cZKMBOstqxBEmTCiJMYKcw9qcKeegk1beY7d/nXlO3+0z6GvbgJlIWmzCkujszHXauorzOkIKkbLN3EA83w9/DS/Jg0yLMv6mBMV+jy4/RaNvbcDql39LE50bNuMA4sFSXtBVfOnbTHA/q3AHFgBJOYaEHvFhrjzeNSlJaZ/zNA/tmmsaJn6ycqj86DhpYvqLrWWxR5UW+Y6K1yVA5AJC3oALzEohbVSLtXjGvH3NMq7cV6jKEdvhgmfFJ/aZ9ug7Ajhkg6PezX6am3JmL25nELb+wGRNIdcbGy3jE3FKLc28qWjK1tnUJt/cBwHCZQgdFvZ/Zq0uhEid8e7FfOLzO/+rJO6+0zko11s1UMiZHYfW3hso6CCPUS0gPnMzfS5nhQ5PtecIxMoJsB2sxNw032JrzUmaKCD7WNauFaoJspem5CPlOlNiDCuorQFRJvqeyF07RWIxZPtxwgnDoAN5hacH4zvhdX1JeQbkE58d5se6a9ypNBCD2zE9dCc+/MkN/nRmg== 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:(13230022)(4636009)(376002)(366004)(346002)(39850400004)(136003)(396003)(451199015)(86362001)(6666004)(6512007)(1076003)(6506007)(186003)(478600001)(6486002)(2616005)(41300700001)(316002)(54906003)(52116002)(4326008)(66556008)(2906002)(66946007)(66476007)(8676002)(38100700002)(5660300002)(7416002)(44832011)(8936002)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EZiQfhGRbTyh2nHMq6HQytl8kdjwiqZ7a1l2YwGBhn/fRzrdoejMyA+vjRYvRjWKyp67+khDCTn0w1KuPgRHNfX5/+HoyxtEzBjdpqb9iAa977Du58Q33aoNm2jeKmo6Ib0rzFMWAF5boxLjvrTZKpbLldaZh9YHlRfO+RbbJbfhhIDhIahxk+XkQFbYoJ7306MOc7DuaS5GTp0uEQOokGF38gihRhRQEacMZgTvbfSOlANYoCTJFWAgfxsm4zqLzOkYJ5AoWNBcx4h+umdjxd+rkPaEZqo5P07BDxnivAeu+PKpeYttsVE3KOw+JVmcxxt/80bjfIRGbpwJJtjKBlnIOJsf+3bDmISoRqmg96zlNeh92FIikgJ3Zrt5lKEy64+dKMf/AfPapOiy4b0Ub7bTCJe+RfMSvoh0RgpJs7jesktAajNt+uzOwGOBJc02j05k+TO0RzCUv6VmCf8bzuEBb4yk/1lNBQ5WmX9XdvSe4HPyVh3h0xd7YNuCE8z/Zu5dW3xyNXWgUuyZmKxRJZ8Yyo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lL8/1voTS45YAwHqth1VyCwmmqI+rx0lENnkPCRQSLgDCUZeFU7Iy2Ne6zU7FtfIYyrGqRfhz5eXhnSgg0gO2pZ3OwVvq4y7BE9/zjT0= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 7794f861-0b44-476f-11b5-08dafdd06946 X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2023 06:01:18.9289 (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: vKszYZKNBDym9kjTduDtUCBhlKnzCy0Rf1ktP2XdKh2y2wrLTu9LTuxeqEItOCn0y8yOfTZ/oBF2Sb83DR9xhMFGQAB3b1T4vRO3IN27oGE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB8949 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755883572122800741?= X-GMAIL-MSGID: =?utf-8?q?1755883572122800741?= 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. 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 | 130 ++ MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 14 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/imx415.c | 1296 +++++++++++++++++ 5 files changed, 1449 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml create mode 100644 drivers/media/i2c/imx415.c base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2