From patchwork Tue Mar 7 15:00:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 661384 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 D05D5C678D4 for ; Tue, 7 Mar 2023 15:08:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230437AbjCGPIs (ORCPT ); Tue, 7 Mar 2023 10:08:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230447AbjCGPIS (ORCPT ); Tue, 7 Mar 2023 10:08:18 -0500 Received: from comms.puri.sm (comms.puri.sm [159.203.221.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A78C39B91; Tue, 7 Mar 2023 07:02:09 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id D11ABFDA7F; Tue, 7 Mar 2023 07:01:26 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zk4AQkC5ppIp; Tue, 7 Mar 2023 07:01:26 -0800 (PST) From: Martin Kepplinger DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=puri.sm; s=comms; t=1678201286; bh=G4oLX3QKgPPsLbIKc+SYmXlS7UOyLkBBHTW6vmCxneQ=; h=From:To:Cc:Subject:Date:From; b=FkvgUUhIWpx2fCXAGrJIVT3XReSAH7qd0NU3RVYcS3RmOUqou1whWIVVH9imfRVpb B/iKw0oxTk2gRKH2tG0hnbFZLZzOe7sm4phXRlaMvuRKLpk55HLp1/jn251SHeDgzF lbXqh2OkGHgtDFzIH593rhRuuq2FhRXtoeh4w70xT0DoxlYL73zettJGej8WdJ7ml0 Y5dXfr7eA8kwllSEd0eTuXa5eMPT/yA2yeSOwUxQ+fO7eW0yi6a3u1NsTWgCTGaHBq KB+p8hiT22W5NU5qPQMOOAMQRAktoHLMoZAdPt8EaOoC+OkuVvLppC4gLvNP46DiUG I7jQn/cX0eLpg== To: laurent.pinchart@ideasonboard.com, slongerbeam@gmail.com, p.zabel@pengutronix.de, mchehab@kernel.org, gregkh@linuxfoundation.org, shawnguo@kernel.org Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@puri.sm, Martin Kepplinger Subject: [PATCH v2 0/2] media: imx: imx8mq-mipi-csi2: Use V4L2 subdev state Date: Tue, 7 Mar 2023 16:00:45 +0100 Message-Id: <20230307150047.1486186-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org hi Laurent and all interested, this is driver simplifications and cleanups for the imx8mq mipi csi receiver. Remaining TODO is: * moving the driver into media/platform/nxp * getting rid of the internal "state" variable * autosuspend at the end of probe() thanks for your time when looking at this, martin revision history ---------------- v2: thank you, Laurent: * properly unlock the subdev state * fix pm hunk in probe() * add patch to "inline hs_settle" v1: initial patch: https://lore.kernel.org/linux-media/41417ffce644975b3be0d52fb7ac584b3a7c3b1b.camel@puri.sm/T/#t Martin Kepplinger (2): media: imx: imx8mq-mipi-csi2: Use V4L2 subdev active state media: imx: imx8mq-mipi-csi2: remove unneeded state variable and function drivers/staging/media/imx/imx8mq-mipi-csi2.c | 153 +++++++------------ 1 file changed, 59 insertions(+), 94 deletions(-)