From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [RESEND PATCHv2 01/28] clk: ti: add ti_clk_get helper API To: Tony Lindgren References: <1465844702-12200-1-git-send-email-t-kristo@ti.com> <1465844702-12200-2-git-send-email-t-kristo@ti.com> <20160628064749.GB28140@atomide.com> CC: , , , , From: Tero Kristo Message-ID: <577367FB.8070709@ti.com> Date: Wed, 29 Jun 2016 09:17:31 +0300 MIME-Version: 1.0 In-Reply-To: <20160628064749.GB28140@atomide.com> Content-Type: text/plain; charset="windows-1252"; format=flowed List-ID: On 28/06/16 09:47, Tony Lindgren wrote: > * Tero Kristo [160613 12:07]: >> The API can be used to fetch directly DT clocks based on name. Using >> this new API allows getting rid of most of the DT_CLK() entries under >> drivers/clk/ti. > > The description here is a bit confusing.. Rather than calling it API > how about say it's a helper function private to TI specific clock > code? Otherwise people might think it will be something more widely > available. Yea, I can drop the API part from the desc, if we are going forward with this series. -Tero From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tero Kristo Subject: Re: [RESEND PATCHv2 01/28] clk: ti: add ti_clk_get helper API Date: Wed, 29 Jun 2016 09:17:31 +0300 Message-ID: <577367FB.8070709@ti.com> References: <1465844702-12200-1-git-send-email-t-kristo@ti.com> <1465844702-12200-2-git-send-email-t-kristo@ti.com> <20160628064749.GB28140@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160628064749.GB28140@atomide.com> Sender: linux-clk-owner@vger.kernel.org To: Tony Lindgren Cc: linux-omap@vger.kernel.org, linux-clk@vger.kernel.org, sboyd@codeaurora.org, mturquette@baylibre.com, linux-arm-kernel@lists.infradead.org List-Id: linux-omap@vger.kernel.org On 28/06/16 09:47, Tony Lindgren wrote: > * Tero Kristo [160613 12:07]: >> The API can be used to fetch directly DT clocks based on name. Using >> this new API allows getting rid of most of the DT_CLK() entries under >> drivers/clk/ti. > > The description here is a bit confusing.. Rather than calling it API > how about say it's a helper function private to TI specific clock > code? Otherwise people might think it will be something more widely > available. Yea, I can drop the API part from the desc, if we are going forward with this series. -Tero From mboxrd@z Thu Jan 1 00:00:00 1970 From: t-kristo@ti.com (Tero Kristo) Date: Wed, 29 Jun 2016 09:17:31 +0300 Subject: [RESEND PATCHv2 01/28] clk: ti: add ti_clk_get helper API In-Reply-To: <20160628064749.GB28140@atomide.com> References: <1465844702-12200-1-git-send-email-t-kristo@ti.com> <1465844702-12200-2-git-send-email-t-kristo@ti.com> <20160628064749.GB28140@atomide.com> Message-ID: <577367FB.8070709@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 28/06/16 09:47, Tony Lindgren wrote: > * Tero Kristo [160613 12:07]: >> The API can be used to fetch directly DT clocks based on name. Using >> this new API allows getting rid of most of the DT_CLK() entries under >> drivers/clk/ti. > > The description here is a bit confusing.. Rather than calling it API > how about say it's a helper function private to TI specific clock > code? Otherwise people might think it will be something more widely > available. Yea, I can drop the API part from the desc, if we are going forward with this series. -Tero