From patchwork Fri Sep 8 12:43:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13377451 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 43EB2EE7FEB for ; Fri, 8 Sep 2023 12:43:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237296AbjIHMn7 (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-media@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