Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5249659yba; Wed, 10 Apr 2019 15:01:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5FCDrOne0hKyP5qi9Yy6lPJ8EvmfG02/c64foFF2sPC0bf17fbu6fJ4WCZrhWqYZgQg7n X-Received: by 2002:a17:902:6b05:: with SMTP id o5mr46342546plk.90.1554933704609; Wed, 10 Apr 2019 15:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554933704; cv=none; d=google.com; s=arc-20160816; b=dGqbBOgMFjzwPd1CcEHB0jRT18WqwQwS0Ew0BCkcX2J5E33Pg6RN9K4ZUeaqmou8YZ RDsiBJd0rFRiyK18VqQulRjqMtpAD7oxJF65xPPzzZoLCHrcADbvjsjvSRuXyBgiaT75 xH+xnHPt0s4vWlYhkxO3ewC/eFvkqKVFhRev5akxGrQ2mrt81qRR/S0X14nYkONyKbzm KbyBcTn3QiZ1JKaTj4ZTxA2BWP9hkCfQXptfKN+g6w1CViFyxL1LwTyv4wZY87YxirOT U0U66JDAciiGLF3CXEcx3+0HsyVudVgX/rhzeV1+UlvPbJEGqZyxlBvjgg8v6UZOC5jG rbkw== 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:cc:subject :from:references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=EUNMqByKjK+QIttPlTNdEbvE2O2+uFwFINYJBA43bhQ=; b=vrJhNwvvZ3kHjasYYW6quxoTCuVQdPg7I06Lzt6vYTcLjfCHjzglRHDMt4e0YlJR83 sWgjzg4MvQJM9kwwOjtg8exhPyR+0DO+N1nxIWTdl0qZQmPZUbkTFOqfQjNG5qa4wv3t vqPSFbghy3E4gTuX3epIzUp+5SEaVQyXirSIcqRDR64QZdlc/x225VWxGepRa3E80d4W YuIyyOJlx/pP8wmXaFQZZ1wD8779VCWdlu0TcpP8JC1fUzwmITpp53dEnvyvAWMeu4VS tjuXjo5Wue36wqppsm5H4wnh+0OmQM4Ox1laKxkTtJaGvFV2pUxpPa+Y3d7aNBXIR4Mc UnmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0OqW8VX7; 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 h15si23869185pgv.169.2019.04.10.15.01.28; Wed, 10 Apr 2019 15:01:44 -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=0OqW8VX7; 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 S1726577AbfDJWAJ (ORCPT + 99 others); Wed, 10 Apr 2019 18:00:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:34574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725982AbfDJWAJ (ORCPT ); Wed, 10 Apr 2019 18:00:09 -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 839CD2082A; Wed, 10 Apr 2019 22:00:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554933608; bh=EUNMqByKjK+QIttPlTNdEbvE2O2+uFwFINYJBA43bhQ=; h=In-Reply-To:References:From:Subject:Cc:To:Date:From; b=0OqW8VX7CDNe5jiTwFbNIJ1I2j5gvP5yDmqXpmyBrP4MOVuM0tsL8vxmfpzBpfQjb WZbAFhYI1F0UYycaQ4V3yxYBDwdNjJmcU0d9sapgjTBtBeBJxeCljhhvqMjxRunr9h DUFZNP4x26O690C/776dpjncFxyBANGmn5i1csh0= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <1553269010-15591-1-git-send-email-abel.vesa@nxp.com> From: Stephen Boyd Subject: Re: [RFC 00/19] clk: imx: Switch the imx6 and imx7 to clk_hw based API 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 To: Abel Vesa , Fabio Estevam Message-ID: <155493360763.20095.6174028293897341109@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Date: Wed, 10 Apr 2019 15:00:07 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 drive= rs > > 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. 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.