Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4656541rwb; Tue, 17 Jan 2023 03:56:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXvvRZPXtBqesFLnXQoiSOLnuLCD/xcoIv5XIf2pLDjwL1eYXsUV2uZ2dYCe8/eFANJ5OYSf X-Received: by 2002:a17:906:5914:b0:860:ef29:a4e1 with SMTP id h20-20020a170906591400b00860ef29a4e1mr2407649ejq.55.1673956619453; Tue, 17 Jan 2023 03:56:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673956619; cv=none; d=google.com; s=arc-20160816; b=jgBmLLTRKrKrzXA8obBFv9SRN+uDARLZ8VuQAQV1PNLjOQ7xjRCloadMeXcRqdGaT3 uHGSkNn7WmBu5viqE2t/XKaKcU0UWUPGQOU0bAAIIYvjt7lSjke6TO+cSvOamiY7TW69 I/IWJpLFuR6byFcR+jxd/fDoQbXGrlnNNhduHaQcOPC9RsDqEd2+H46qI/dqbyVI9s5s bY9xIotfPh8JzKa7txBYsUrzLKaBtVsgnDR2vOEzT/fphZh217RJ33HbrBO7KLNDbkc5 Lad/HeGowLu09oPJKwk2yDCoLF5PR00hhCs1kgFJv6enip0VfOP2HHozZgfxF8OiQT1d SBLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=nrZvs3HDu3uZ+bZQ3VbKQv+D57CahmDqK6oEhs1qJuE=; b=yREKLMziKw9jbfoJVWhlXYAY94y2m5LLTcrOsxL7JMU6LHO8msTzLdXvbxXdV2nQ2z ni4D7ba99zl3YPmnciyWVLP2p1rBwAKk/ksH9CKhD3uss7eFmdqhV+bx/FXcIAFROw3Q VJ5zu3/Z77PbhXDNGsNvj59s+sJft+iUJYcS2Ytc0q3aDr8A6pl/o9CwCKpBHcTmht8x 5yvXNvCldVtHw2OtMQ62ND8O6flWWWCCIx6wspBs7WyPjjmNjlqKRi/6ZD7ZUIxqfz4+ ziMD24VWCU7F1qt7ke7rsAhho6yMe7j8wMXOE+odEBMv9ojraR2BOhaX7F2iWksscD5i 7qNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he14-20020a1709073d8e00b0085d6d5c0de2si24645169ejc.593.2023.01.17.03.56.47; Tue, 17 Jan 2023 03:56:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236099AbjAQLaZ (ORCPT + 48 others); Tue, 17 Jan 2023 06:30:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236802AbjAQLaM (ORCPT ); Tue, 17 Jan 2023 06:30:12 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 003822D166 for ; Tue, 17 Jan 2023 03:30:11 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pHkAE-0005jy-BG; Tue, 17 Jan 2023 12:30:02 +0100 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1pHkAB-0007rE-Ns; Tue, 17 Jan 2023 12:29:59 +0100 Date: Tue, 17 Jan 2023 12:29:59 +0100 From: Marco Felsch To: Sakari Ailus Cc: Sakari Ailus , mchehab@kernel.org, laurent.pinchart+renesas@ideasonboard.com, jacopo+renesas@jmondi.org, akinobu.mita@gmail.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH 3/4] media: mt9m111: fix device power usage Message-ID: <20230117112959.omsjmx4gmhnoaxj3@pengutronix.de> References: <20220818144712.997477-1-m.felsch@pengutronix.de> <20220818144712.997477-3-m.felsch@pengutronix.de> <20220822075426.qjgxue7sjehazga4@pengutronix.de> <20220823144450.ctjmby53prjw5qis@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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-kernel@vger.kernel.org Hi Sakari, On 23-01-17, Sakari Ailus wrote: > Hi Marco, > > On Tue, Aug 23, 2022 at 04:44:50PM +0200, Marco Felsch wrote: > > Hi Sakari, > > > > On 22-08-22, Sakari Ailus wrote: > > > On Mon, Aug 22, 2022 at 09:54:26AM +0200, Marco Felsch wrote: > > > > Hi Sakari, > > > > > > > > On 22-08-22, Sakari Ailus wrote: > > > > > Hi Marco, > > > > > > > > > > On Thu, Aug 18, 2022 at 04:47:11PM +0200, Marco Felsch wrote: > > > > > > Currently the driver turn off the power after probe and toggle it during > > > > > > .stream by using the .s_power callback. This is problematic since other > > > > > > callbacks like .set_fmt accessing the hardware as well which will fail. > > > > > > So in the end the default format is the only supported format. > > > > > > > > > > It'd be much better to add runtime PM support to the driver instead. > > > > > > > > I got your point, but didn't have the time for it right now, I will drop > > > > the patch from my v2. > > > > > > The API is different but generally involves doing more or less the same > > > what this and the 4th patch do together. > > > > I know :) as soon as I got feedback on my TC35 series [1] I give it a > > try and change it to dev-pm. > > What's the status of this set? > > These are nice improvements but I was expecting v2. Unfortunately this was just a testing vehicle I had for the TC35 bridge chip. As soon as I have access to it again I will send a new version. Regards, Marco