From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751339AbeAWMDr (ORCPT ); Tue, 23 Jan 2018 07:03:47 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:18966 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751111AbeAWMDp (ORCPT ); Tue, 23 Jan 2018 07:03:45 -0500 Subject: Re: [PATCH 4/6] ARM: davinci: move davinci_clk_init() to init_time To: David Lechner , CC: Kevin Hilman , Lee Jones , Arnd Bergmann , Kishon Vijay Abraham I , Adam Ford , Bartosz Golaszewski , References: <1516418424-28686-1-git-send-email-david@lechnology.com> <1516418424-28686-5-git-send-email-david@lechnology.com> From: Sekhar Nori Message-ID: <5c3af565-58ba-25af-4154-6917c9477485@ti.com> Date: Tue, 23 Jan 2018 17:32:33 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1516418424-28686-5-git-send-email-david@lechnology.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 20 January 2018 08:50 AM, David Lechner wrote: > This moves the call of davinci_clk_init() from map_io to init_time for all > boards. > > This is the proper place to init clocks. This is also done in preparation > for moving to the common clock framework. > > dm646x is a special case because we need to handle different ref_clk rates > depending on which board is being used. The clock init in this case is > modified to set the rate before registering the clocks instead of using > davinci_set_refclk_rate() to recalculate the entire clock tree after all > of the clocks are registered. > > Also, the cpu_clks field is removed from struct davinci_soc_info since it > is no longer needed. > > Signed-off-by: David Lechner Applied to my tree for v4.17 Thanks, Sekhar