From patchwork Mon Mar 14 16:27:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 81749 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1nTnXg-007txv-3q; Mon, 14 Mar 2022 16:27:32 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242993AbiCNQ2j (ORCPT + 1 other); Mon, 14 Mar 2022 12:28:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241796AbiCNQ2h (ORCPT ); Mon, 14 Mar 2022 12:28:37 -0400 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 604652AE1 for ; Mon, 14 Mar 2022 09:27:26 -0700 (PDT) Received: (Authenticated sender: jacopo@jmondi.org) by mail.gandi.net (Postfix) with ESMTPSA id 57B11240004; Mon, 14 Mar 2022 16:27:22 +0000 (UTC) From: Jacopo Mondi To: Chiranjeevi Rapolu Cc: Jacopo Mondi , krzysztof.kozlowski@canonical.com, jeanmichel.hautbois@ideasonboard.com, laurent.pinchart@ideasonboard.com, paul.kocialkowski@bootlin.com, sakari.ailus@iki.fi, paul.elder@ideasonboard.com, Mauro Carvalho Chehab , linux-media@vger.kernel.org (open list:OMNIVISION OV5670 SENSOR DRIVER) Subject: [PATCH v2 0/8] media: i2c: ov5670: OF support, runtime_pm, regulators Date: Mon, 14 Mar 2022 17:27:06 +0100 Message-Id: <20220314162714.153970-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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-media@vger.kernel.org X-LSpam-Score: -2.4 (--) X-LSpam-Report: No, score=-2.4 required=5.0 tests=BAYES_00=-1.9,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no Hello this small series introduces OF support for the ov5670 sensor and adds support for regulators and GPIOs. It also register runtime_pm callbacks and rework the powering sequence (cc Paul(s) and Sakari for the discussion about the same topic on ov5640) Tested on an OF system, ACPI should not be affected (ofc, testing would be nice :) v1->v2: - Address Krzysztof comments on bindings - 2/8: new patch to use the common clock framework - Address Lauren's comment on runtime_pm function names - 7/8: new patch to implement init_cfg as suggested by Laurent - Rework 8/8 which was incorrect as reported by Laurent Thanks j Jacopo Mondi (7): media: dt-bindings: i2c: Document ov5670 media: i2c: ov5670: Allow probing with OF media: i2c: ov5670: Probe clocks with OF media: i2c: ov5670: Probe regulators media: i2c: ov5670: Probe GPIOs media: i2c: ov5670: Add runtime_pm operations media: i2c: ov5670: Implement init_cfg Jean-Michel Hautbois (1): media: i2c: ov5670: Add .get_selection() support .../bindings/media/i2c/ovti,ov5670.yaml | 99 ++++++ MAINTAINERS | 1 + drivers/media/i2c/ov5670.c | 281 +++++++++++++++--- 3 files changed, 340 insertions(+), 41 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov5670.yaml --- 2.35.1