Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4077964yba; Tue, 23 Apr 2019 14:51:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgkYhM4iWtGZ7CHUo5qQ/nfg+zUXCWc9Xr7NyjRab2VC+Qy/kmhYizC+LKsWf8COQAFy9X X-Received: by 2002:a65:64cf:: with SMTP id t15mr27165423pgv.322.1556056270625; Tue, 23 Apr 2019 14:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556056270; cv=none; d=google.com; s=arc-20160816; b=BGJegOcqs6ZkxaAy2WZ9fyRNMUfSpHOTVxYGY7mCBfXo8MfroB3Cy6MjMQy5AV3RIf qj4BgagO9WT6IRRpFPNYNEhjPBmmBTOvq66dFfOPvMlShA4jwYCut7P82m6Ns3x+AJZi pD1xxWbNAzCrcEukq36RLN3UxMzQTTJ5AN2MjZ4wCY40B7+X/EeboKFdd4Mn/RDKdyNi r6X8gaexqG69V2UAF9i45C1mVeuirtIwx5HV67/Yl0AVEzwLpAx0hF8gc7hT4WKfpUEc DfHvycytIcNHK+3rOUNBLtnMURMekauUw1Se5DhOGo6kAQ1Rw/hk+eWUXEoosSive4H5 rayw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:message-id:to:subject :from:cc:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=J+YHi1IzD02f61Iuwqcb2kR1LgPXS8gmgs5XrI4Xuj8=; b=Z90RxA3m3wqDLmAQAqgih8dKJ2mBXLA02j928rJR9TEp4l87OKkpsJcOKw4JF3oeFv QMkivi4IDTeJ7IHl4QOyVaCaJHFoEtWKwXq2MjZ3s4K98dM9y4yaUx4kWrh796DiTfbe 3qBJPAGXZzZg7FycTyiP2mHG0oBfB1AbwqC/rZUvwbTcJ4w/y/yuzpRlNBrbfBE1cTsC eXUKLyfo5c6xxQ+Wdol0JOJ21bFV0fK070Edgy0p/DfQ+XawdVbUGxMpSK1+DKqAMOpd /tI5dHVZY285LR80OGlByzfZnO/6xJpciWs0IFN08SB+IfIIfou7VWqXqNNTi2fmsc3x RrPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=X446voAG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e10si17138603plb.206.2019.04.23.14.50.53; Tue, 23 Apr 2019 14:51:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=X446voAG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727838AbfDWVuB (ORCPT + 99 others); Tue, 23 Apr 2019 17:50:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:50040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbfDWVuB (ORCPT ); Tue, 23 Apr 2019 17:50:01 -0400 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2CCF3218D2; Tue, 23 Apr 2019 21:50:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556056200; bh=J+YHi1IzD02f61Iuwqcb2kR1LgPXS8gmgs5XrI4Xuj8=; h=In-Reply-To:References:Cc:From:Subject:To:Date:From; b=X446voAG9HJWFqVCCpXoO3/SL6oUccLndgB8JOJUS7I/Q60Dv3ZTKu+l5P3Fx8/X2 LFlROxrBQdby105FMx//8RxF2n2yvBVjP8SdsKr21v2FCGX54LtYInJfGVMKDpHfuP XVWaWXZ7gvToiszkfcVxUjjdACRvWYl5SYW8EVHM= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <155493360763.20095.6174028293897341109@swboyd.mtv.corp.google.com> References: <1553269010-15591-1-git-send-email-abel.vesa@nxp.com> <155493360763.20095.6174028293897341109@swboyd.mtv.corp.google.com> Cc: Shawn Guo , Fabio Estevam , Aisheng Dong , Lucas Stach , Sascha Hauer , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List From: Stephen Boyd Subject: Re: [RFC 00/19] clk: imx: Switch the imx6 and imx7 to clk_hw based API To: Abel Vesa , Fabio Estevam Message-ID: <155605619927.15276.90300312265075245@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Date: Tue, 23 Apr 2019 14:49:59 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Stephen Boyd (2019-04-10 15:00:07) > Quoting Fabio Estevam (2019-03-22 09:24:54) > > Hi Abel, > >=20 > > On Fri, Mar 22, 2019 at 12:37 PM Abel Vesa wrote: > > > > > > This work is part of the effort of switching the entire imx clock dri= vers > > > towards clk_hw based API. In order to do that, we have to keep the old > >=20 > > Maybe I missed some earlier discussions on this topic, but let me ask > > a fundamental question first: what is the motivation for this API > > change? > >=20 > > I could not find the reasoning inside the series. >=20 > The reasoning should be added to the series, but I would like to see clk > providers only deal with clk_hw structures and not with clk structures. > This clearly divides the line between clk consumers and clk providers so > that we know if clk providers are using the clk API themselves. That's > why I introduced clk_hw_register() in the first place. >=20 FYI, I'm dropping this from my review queue under the assumption it will be sent again. Also, it would be nice to not have the wrappers at all in the next series so that everything is clk_hw based instead of clk based. Otherwise, it looks good to me and I'd like to see this work completed. Thanks!