Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4655466rwb; Tue, 17 Jan 2023 03:55:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXumWMNFbMCiNakNQ95R6Y2jdOFrHszHFFm3Q18vJUO7462SHJxvmqlNNhLumln9Y6q6/sej X-Received: by 2002:a17:906:c02:b0:83f:cbc0:1b30 with SMTP id s2-20020a1709060c0200b0083fcbc01b30mr2552738ejf.10.1673956557729; Tue, 17 Jan 2023 03:55:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673956557; cv=none; d=google.com; s=arc-20160816; b=ohR9c/bx8QxtA6d5e9m9YPAIygwF435kyF1Mvb1PVclDWmQ8cuKjsiIdziitkzJO7l eINNFq5wCpfnmOQttB6Hyd1hYK2b2Z+h7xUiJsq3nrX9A9AZE3yDWqcz+jjGeuy+vOUr NSB2p+7v2xo6Y95DXbVH+TkSB7oEAuuUpxvha4UO3fEzT5KfUN0xL1f97UHpaJ1qkQfj OXI2q7pR5dWfc4id5XTv0r2D+nWVr1NGF3NlYFSV7DxdnIzWIbHOf/thrZ6n5S/Vr5Ua jpiHA75WcxDzQGeLacm0PPLYridd6rDhoP8nIlQ1CIlu18IxOslptdTTDqW8wy9dyRVq 6jxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xftKxwj28kWns4CPgwJehLpjJ+K5Z6JryJPOOJIq5a8=; b=I/fNPXVVKY2QIF6U8WnfKN8fsjBGPvYi8L+DcvuMU2copPpWlx6noOf6PygZ9ALzcN V694kbNWXA66jHMoGk7rTjqrftDjAQwe6iS1rEAPTGefFXekFpwlVl6DutRFT8A03XDy sMkKEMvFhta1nJ3mC2RRaO+RHMjTvHNJGwvCjKGWBSZST5maJrfG8EeOfv+ieoq5y7ST cKv3irWAucwJI0he5x7XrONI5VzyX+/HbeoMbEiA5E+vlS4k9DvcwkQ6ctHIW0moTuYm 0/Tb2gCT/2In5qFH4XqrugAReirni64qxIolZ7DudMN82ToHjLFpy3YfccDwkk7yOk1w L0JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BSQaBQ+z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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.55.46; Tue, 17 Jan 2023 03:55:57 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=BSQaBQ+z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236871AbjAQLcf (ORCPT + 48 others); Tue, 17 Jan 2023 06:32:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236897AbjAQLcK (ORCPT ); Tue, 17 Jan 2023 06:32:10 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0CF335266; Tue, 17 Jan 2023 03:32:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673955128; x=1705491128; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vsIVOIrS7q6A7BCafUqQD6RvbA9hdg3f41c0wIqZ+Rw=; b=BSQaBQ+zzD1QnXswzanB1GHn6k+/fWLqikmm4gTM2IH+ksQA3RjIrmDM 5qVUAIjKjHuttcKie6Cv1+cvPYwUG6fpGiUVvYncjxguwBArleZhExcok 3vsBrTwfAHkZw+41BoIoBv0k8UsoP+mFJt5Z+Wtx1+SSkT2GnMw2xqCht nu3+5kaYeZ5Z2+rYHJpUd/a+TmagAOekq+ApmMeHtD3BWnA3qyedeRbhg dF/wBHexqfWs7kB754pSoUmja2mWh8Aho+N2DGoIYd7TuLf9yYrsH4j1v o4vsP6jVQzHaY4HRmVrOQPA1C/z0rRowrgAvdF4GvtNuLHsMn8GTjvHJJ g==; X-IronPort-AV: E=McAfee;i="6500,9779,10592"; a="325947529" X-IronPort-AV: E=Sophos;i="5.97,222,1669104000"; d="scan'208";a="325947529" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2023 03:32:08 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10592"; a="727755216" X-IronPort-AV: E=Sophos;i="5.97,222,1669104000"; d="scan'208";a="727755216" Received: from punajuuri.fi.intel.com (HELO paasikivi.fi.intel.com) ([10.237.72.43]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2023 03:32:06 -0800 Received: from paasikivi.fi.intel.com (localhost [127.0.0.1]) by paasikivi.fi.intel.com (Postfix) with SMTP id C98A720165; Tue, 17 Jan 2023 13:32:03 +0200 (EET) Date: Tue, 17 Jan 2023 11:32:03 +0000 From: Sakari Ailus To: Marco Felsch 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: References: <20220818144712.997477-1-m.felsch@pengutronix.de> <20220818144712.997477-3-m.felsch@pengutronix.de> <20220822075426.qjgxue7sjehazga4@pengutronix.de> <20220823144450.ctjmby53prjw5qis@pengutronix.de> <20230117112959.omsjmx4gmhnoaxj3@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230117112959.omsjmx4gmhnoaxj3@pengutronix.de> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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-kernel@vger.kernel.org On Tue, Jan 17, 2023 at 12:29:59PM +0100, Marco Felsch wrote: > 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. Ack, thanks! -- Sakari Ailus