From patchwork Mon Oct 31 23:21:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13026477 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 84F47FA3741 for ; Mon, 31 Oct 2022 23:23:17 +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=pUvu5wZ49T/jH4yJXXCyDxYNrv3Gaduj/eQiT5FLLOg=; b=dDqp7b2P1w7DqF EYATp3XoaqsbbGsFxmmqOEtAPyH0FV4h5MDg5FaaxQZzNIfK/74fNoT0Ufd9HC2PgJIOJbRQpbWAG PRhC5x2Hpwy7fneeWPMQpLOnu0wfBUH6Mnl2/Hms/19yxLpxajuPLvLzSg/RVyNJB8370//KPFulE QJ02ECgTK7i5pC19r8MlE7uo7dhF2RvFpKR37RpGoT78m4sNjwEW5RDQiuewgg1kAhRP39deWC12f 6kGO+NJ3p0tLdfk7X97Gwx62lpl0MoDY//FW5mpxR3cV0J3HwLUnGZpk8h7P3Fj+HVCeI7akWML9a YeuveuSZcHrUvoOCuxGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ope6g-00GZBn-Tz; Mon, 31 Oct 2022 23:22:15 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ope6d-00GZ8s-CI for linux-arm-kernel@lists.infradead.org; Mon, 31 Oct 2022 23:22:12 +0000 Received: by mail-wm1-x329.google.com with SMTP id t1so4305391wmi.4 for ; Mon, 31 Oct 2022 16:22:07 -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=HPln8cZrTJI9IlvTgVYiB81yc2/HZy8AJl6SALomc7g=; b=BhJwWNXyXjenkn7QmixrNbEGKTZCHfo6H15ehPc5UgDZz7h3Quypz83trXpYUAnoYR eHWb5386xWfKP0r1TiMis/lU/AvTJpqRxoKRXaS6q3AM5qhgvUmlTWNC+pSzCakl4e6O p5LbM6W5xjt16znhT55ahyJ+VEHVsCq2T0TerqTwQObuFLtroG8ZAiy9cGqgNtySqsuO JeFjzI1WWOLcQwcvNL0/DeS/o9KPCNp4QUTL5v3FAJgpkzTB64g0OvpjUwEVQwN5ZfE3 2S+4Zo7RbSEQox0sAiR/EpH0wqsQiO8wgn+R1DS/PgDWSxf+HV8j/CMDiD/SU67V0NLs tnHA== 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=HPln8cZrTJI9IlvTgVYiB81yc2/HZy8AJl6SALomc7g=; b=y+9YuPbQT0VDm1x/WAh0C0BREHclIyO4Mldcb1lsXweG/L6xNJ5/VAkeXGkkdg9ew4 JaAHelfz7S4cQ428m+dlGp0BoT6vQfXAg0gglBjo3Wp9+jg/ea/RB/50AlZhmn33envw ctw7bO3ljGGp4HCqVfT8eJfWhkUm8grgeAQfq2sU8W6wxk0FTIxOY/FrYeyyKgPpYoj7 qn3VbfllVEwRxj3QhHyu0VwNgIFIjW+ncNh0JqrWJrvUvFmCjMvJxGuIRg0F15rNxtn7 E9c7fHf6+Cg0fSSFfCm20JPJhJJi0t3wrarwgz0qCg4X5+r/tLSRcKVxKSd6dbAqsoHC iqEQ== X-Gm-Message-State: ACrzQf3/1uko3jF+kAptGq+v/dtmIGWyRHjmQda5D2gid7s7Hs+6tATT jCO7MF1XujX+TneKnRwO6sc= X-Google-Smtp-Source: AMsMyM5eunrcrDDl+uT8jaqG6FVy7tSvokJkfl3aXVjR+vCeOtQ9jrV/L/qH4PnfoTKp/ZnXJVQs+A== X-Received: by 2002:a1c:2743:0:b0:3b3:4066:fa61 with SMTP id n64-20020a1c2743000000b003b34066fa61mr20243785wmn.79.1667258526729; Mon, 31 Oct 2022 16:22:06 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:15da:d6ab:ec79:436]) by smtp.gmail.com with ESMTPSA id l24-20020a1c7918000000b003cf7928e731sm2190343wme.9.2022.10.31.16.22.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 16:22:06 -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 v4 0/9] media: i2c: ov5645 driver enhancements Date: Mon, 31 Oct 2022 23:21:53 +0000 Message-Id: <20221031232202.131945-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-20221031_162211_440393_443DE033 X-CRM114-Status: GOOD ( 14.64 ) 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. v3 -> v4 * Fixed comments pointed by Sakari for runtime PM patch * Fixed spaces for example node in DT binding * Fixed comments pointed by Marco * Included Acks from maintainers for the DT patches 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/ Cheers, Prabhakar 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: Make sure to call PM functions 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/ov5645.c | 148 +++++++++--------- 6 files changed, 179 insertions(+), 130 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/i2c/ov5645.txt create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov5645.yaml