Return-Path: Subject: Re: [PATCH v3] clk: x86: Do not gate clocks enabled by the firmware To: Darren Hart , Andy Shevchenko Cc: Carlo Caione , alan@linux.intel.com, Michael Turquette , "open list:COMMON CLK FRAMEWORK" , Stephen Boyd , Linux Upstreaming Team , Enric Balletbo Serra , Carlo Caione References: <20170714082356.28117-1-carlo@caione.org> <58ef7321-a16d-8974-6a37-db473b6bf48e@linux.intel.com> <1505721917.25945.275.camel@linux.intel.com> <20170922213614.GA10927@fury> From: Pierre-Louis Bossart Message-ID: Date: Fri, 22 Sep 2017 17:17:39 -0500 MIME-Version: 1.0 In-Reply-To: <20170922213614.GA10927@fury> Content-Type: text/plain; charset=utf-8; format=flowed List-ID: On 09/22/2017 04:36 PM, Darren Hart wrote: > On Mon, Sep 18, 2017 at 11:05:17AM +0300, Andy Shevchenko wrote: >> On Thu, 2017-09-07 at 16:51 -0500, Pierre-Louis Bossart wrote: >>> >>>> Looks like the same code that was initially used as a reference for >>>> support of PMC clocks in the clock framework, so now we have 2 >>>> drivers >>>> programming the same PMC hardware, not so good. We'd probably have >>>> to >>>> move the atomisp driver to move to clk_get/prepare/enable instead >>>> of >>>> the old vlv2_clck_get? >>> See attached an untested change to show the idea on moving to the clk >>> API and get feedback (I am not a camera guy, just trying to help - >>> compile-tested/checkpatch only). >>> This code *should* enable the same functionality using existing hooks >>> in >>> the kernel (and handle the BYT/CHT clocking difference as a bonus). >>> I am sure Andy will have plenty of comments :-) >> I have one comment: nice clean up! >> >> AtomISP is a *horrible* mess. >> > Pierre, will you be submitting this patch officially now that you have a > tested-by? it was merged by Sakari this morning in the media tree https://git.linuxtv.org/sailus/media_tree.git/log/?h=atomisp >