Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp772290rdb; Fri, 8 Sep 2023 16:29:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE82cLE28P9TqV802MYnO/mVit7z11HTIlCkj/6zZ6Ji5KnSm8qpd/aHOWZ0GTr4c7NIJKP X-Received: by 2002:aca:2302:0:b0:3a8:4dfd:4f14 with SMTP id e2-20020aca2302000000b003a84dfd4f14mr3794286oie.27.1694215770149; Fri, 08 Sep 2023 16:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694215770; cv=none; d=google.com; s=arc-20160816; b=i/FWVBouljJiztLIRVmFz3PM4hXwqWSzCe1WaZRCzJlGZ2E5qcb9eQXRW1mFycinV7 MufvxAAKQzhuWOjNSFjc4uVhSYEH2sYslqEQX9+Tk0hb9nJKmPF9obDPxiV8qXM97R6/ DNc893evyrwLXyDZiardjRFKoADa9OcUG/Dbo+jgFH25pJXBcVLHOL0Qm0j01pSpLMpT HaF42KPn/Q8FDg9AIBJEaqRPoF1lRZjO+SpaQSlHHrC5fsFEN6AR++XUDcalMWYZrWGi KBXhe1sJqTFNCgWXe/22hp8Yp4iMe6Uv6rEb9D8zh/8iJvmaY0C6Ux91XWWsYYsqIUVR l5xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nVUMDgkJXTas4DTG1WemGkPUtU/boa6ceP6ddkjFZgE=; fh=5b5SeV9FwK04n++ew4HMUS4UqK5ICLie7JA8ghAELvI=; b=BUnU5USb+kdJbphaqzyYK35iZPwVo2SlopO2n5HXUUFlV/t2xwxO9XtC59jzN/RYLc wq3lP8w1e90iTfFpWB0zRLelY+LxiFNgq6eSeWV/3dcbOGI7RUXB6LtUTmNcZRz1ZrZU Y6XaoJdUIkwhw1RULL/7yk49h8TilPwrJy/ikB6rZzI8u1hCncEZb17xwpI0UuoENozV /la4fsw0nAN6B74DYuy8ccF12TBTRhwelzJdGdborhltlUy6x27DlWdCdwjSS8ke2tRC DH3fGWARJBdYZKcPQEnxYeqaZYrMcfPTm69xyckPU2zJipUyGholzH60Vr1Vn6QAbTWc cyhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=D3aqkHyV; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020a63d313000000b0056476f15584si2191818pgg.541.2023.09.08.16.29.15; Fri, 08 Sep 2023 16:29:30 -0700 (PDT) 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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=D3aqkHyV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240308AbjIHMn7 (ORCPT + 99 others); Fri, 8 Sep 2023 08:43:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232502AbjIHMn7 (ORCPT ); Fri, 8 Sep 2023 08:43:59 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0141419AB; Fri, 8 Sep 2023 05:43:54 -0700 (PDT) Received: from www.ideasonboard.com (unknown [103.251.226.21]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 43C5F10FC; Fri, 8 Sep 2023 14:42:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1694176944; bh=sMUri7fQTwPsXuq0LSzjlDUxeJQGgORch+JxYx16dVA=; h=From:To:Cc:Subject:Date:From; b=D3aqkHyVFqeOKPhk4NCaU+3yCESXX67VWO0+LG6vUCDmqSe1P05Ebi7w4mtyYuFDX yZKRkphwY1ASx0YLM+22/E9/RnP/EfA7Veeut7S38imSj+WLg/H5a3aYfQItf81cZz Ygv5JppOBU33OOKPvHYBnkOgBa6/fXMt7857MB0o= From: Umang Jain To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Lee Jackson , Sakari Ailus , Hans Verkuil , Laurent Pinchart , Shawn Tu , kieran.bingham@ideasonboard.com, jacopo.mondi@ideasonboard.com, Umang Jain Subject: [PATCH v6 0/2] media: i2c: imx519: Support for Sony IMX519 sensor Date: Fri, 8 Sep 2023 08:43:42 -0400 Message-ID: <20230908124344.171662-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_BLOCKED, 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 The following series adds support for Sony imx519 sensor. Tested for all modes on top of [1] with libcamera on Raspberry Pi 4 Changes in v6: - Port to use subdev active state - Use CCI helpers to read and write regs - Drop embedded data pad support from previous version (Will be done in subsequent series with streams API) - Drop pm resume/suspend functions - Inline imx519_reset_colorspace() - Drop IMX519_NUM_SUPPLIES define - Rework imx519_start_streaming() - Rework imx519_stop_streaming() - Use PM runtime autosuspend API - Misc trivial fixes [1]: https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git/log/?h=rpi/v6.5/unicam/dev Lee Jackson (2): dt-bindings: media: i2c: Add IMX519 CMOS sensor media: i2c: Add driver for IMX519 sensor .../bindings/media/i2c/sony,imx519.yaml | 107 + MAINTAINERS | 9 + drivers/media/i2c/Kconfig | 14 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/imx519.c | 1842 +++++++++++++++++ 5 files changed, 1973 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx519.yaml create mode 100644 drivers/media/i2c/imx519.c base-commit: 3f609d0d03e4967469b2aa22738b1bae74cff2b0 -- 2.41.0