From patchwork Wed Oct 26 13:06:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13020565 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 4A0A3C433FE for ; Wed, 26 Oct 2022 13:08:51 +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=okXt9VpTBp3xxQVZtX+rC2hQvzZDAj4Ym4ZMDy4quDI=; b=zW2xSdL4HHsS5A Zs1rLOc9eR5U8BYriLyIKfTu+k4l4y4DIlLPHEhbKSQU7LzHAfrOTkyOqhKmZiqSsXE3kyGyLwtkW loDgmSOsRAEoA9wc4JedvAR8L7la3ZDVC/XujJG/qjQbcise2dPg4/MyXmqynaqnLgul+bzKPAcat A8dFjlsg4rTBPXKzWlL+ddQFOEdi7FK597D3wXbbQGb++L/e2Tq94qFeWuA9OIeq12OgeS7MCX66N t3Oa6ZLkxp6IXOfB32IlyJ7DP/6Zeumf2hPsSdbnoiIao7JE7mSO58bhXdoN2o3inE95yTNgAyS8s SDsmH5aY2EotRxPGXc4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ong7x-009NOk-G2; Wed, 26 Oct 2022 13:07:25 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ong7r-009NKX-2R for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 13:07:23 +0000 Received: by mail-wm1-x32a.google.com with SMTP id n14so5904617wmq.3 for ; Wed, 26 Oct 2022 06:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=U4gTLQJXz8CMD4MLdfjgD1120eev/1EzGcTrgRnh7XU=; b=aXDDaKjTkIvcxKodmX/+BaVYCdDTU7FaI3gq/pU7TC2XjKNFpp/AHW+uYK8oP9xRVY 4/PoYLl2z4sh4Y/pCgKIQWYKVh3QCrPFTDnhLzPR/IjY6MX10weZ4Bc7cGAuwIo1LKYB XlhIoL9uOSxkSbSFx1gs/y4OOafXKeZtubOE3GRqLTbF1chhS3LeAdI10G8eAg0/cQwS hbIJQCNj+JeVVKyaBMkd7HW7w/oPltgUbLEXLBZ3ftIA7WogWr8CAe3QHdaQgbI4BOyh 6EDw4nhON1NoZl0AWE7scf/eByvEDw6NlvBR1EkOnzW8GvgUt+ObhBKDNHo1NyJYJNvU vKRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=U4gTLQJXz8CMD4MLdfjgD1120eev/1EzGcTrgRnh7XU=; b=RYK7KVbcNbHSG4P/qolH+emk9rAgUeM1yGeadj/dYrrvmIr7Fmf5F6SK63CKPrFEDf 4TWXqElKW0WX0nmzr8zXimHFGziYi8AvHCj8TCYQm/kbFO9FMa8TLxwkfCkson07XHWX p7mGkBpS8mKOpPGtRiuyjdBfG2SVzUUIPN6QacyiUJ5KknXF/OJVimbGIFqaaX8mefGM GJNV8VGApx71uByAlawKiJiJ+znbMFsGvaDS+4okdNPuFHOIoAFG6Qf6XdF8RZMsvRtm sn8Mq9dgfVPslBWZtpp1uXwQMdAng6Y0go1J7+TCvj37q4FQKGrcycPkqRl6O/IH6LO0 4w8g== X-Gm-Message-State: ACrzQf3xl37tDiGYydKEilUj+vu1Heun2afKUVHe4i7HKB8feJ1/GBsV MCade2ulpOWLh5PEJpcBA38= X-Google-Smtp-Source: AMsMyM48kddrD6lp9ckBPpw7UY4pEAXskQBW0gVtLLEqOUJGtxCXskiv0N20wQEPWzQJKQgfPomwJA== X-Received: by 2002:a7b:cc15:0:b0:3b4:ca90:970d with SMTP id f21-20020a7bcc15000000b003b4ca90970dmr2458810wmh.198.1666789635445; Wed, 26 Oct 2022 06:07:15 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:cc:c67c:46e:319e]) by smtp.gmail.com with ESMTPSA id l3-20020adfa383000000b002366eb01e07sm5245433wrb.114.2022.10.26.06.07.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 06:07:14 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Sakari Ailus , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Geert Uytterhoeven , Magnus Damm , Hans Verkuil Cc: Shawn Tu , Jacopo Mondi , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v3 0/9] media: i2c: ov5645 driver enhancements Date: Wed, 26 Oct 2022 14:06:49 +0100 Message-Id: <20221026130658.45601-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221026_060719_153016_6E7872C6 X-CRM114-Status: GOOD ( 15.11 ) 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 From: Lad Prabhakar Hi All, The main aim of this series is to add Runtime PM support to the sensor driver alongside some cleanups and fixes. v2 -> v3 - Included patch#1 [2] as part of this series - Patched all in-tree DTS for dropping the clock preoperty to avoid dt warnings - Fixed review comments pointed by Sakari and Laurent for the Runtime PM patch - Now sending the error code of first error while stream off. - Included RB tags from Laurent v1-> v2 - patch #1 is infact a v3 [1] no changes - patch #2 fixed review comments pointed by Sakari - patch #3 [0] no changes - patches #4 and #5 are new [0] https://patchwork.linuxtv.org/project/linux-media/patch/20220927202005.750621-1-prabhakar.mahadev-lad.rj@bp.renesas.com/ [1] https://patchwork.linuxtv.org/project/linux-media/patch/20220919153540.178732-1-prabhakar.mahadev-lad.rj@bp.renesas.com/ [2] https://patchwork.kernel.org/project/linux-media/patch/20220919143350.176746-1-prabhakar.mahadev-lad.rj@bp.renesas.com/ Lad Prabhakar (9): media: i2c: ov5645: Drop fetching the clk reference by name ARM: dts: imx6qdl-pico: Drop clock-names property ARM: dts: imx6qdl-wandboard: Drop clock-names property arm64: dts: renesas: aistarvision-mipi-adapter-2.1: Drop clock-names property media: dt-bindings: ov5645: Convert OV5645 binding to a schema media: i2c: ov5645: Use runtime PM media: i2c: ov5645: Drop empty comment media: i2c: ov5645: Don't return early on failures for s_stream(0) media: i2c: ov5645: Call ov5645_entity_init_cfg() before registering the subdev .../devicetree/bindings/media/i2c/ov5645.txt | 54 ------ .../bindings/media/i2c/ovti,ov5645.yaml | 104 ++++++++++++ arch/arm/boot/dts/imx6qdl-pico.dtsi | 1 - arch/arm/boot/dts/imx6qdl-wandboard.dtsi | 1 - .../aistarvision-mipi-adapter-2.1.dtsi | 1 - drivers/media/i2c/Kconfig | 2 +- drivers/media/i2c/ov5645.c | 157 +++++++++--------- 7 files changed, 186 insertions(+), 134 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/i2c/ov5645.txt create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov5645.yaml Acked-by: Shawn Guo