From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752526AbeADRnD (ORCPT + 1 other); Thu, 4 Jan 2018 12:43:03 -0500 Received: from vern.gendns.com ([206.190.152.46]:43742 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752337AbeADRm4 (ORCPT ); Thu, 4 Jan 2018 12:42:56 -0500 Subject: Re: [PATCH v4 2/7] ARM: davinci: don't use static clk_lookup To: Sekhar Nori , linux-arm-kernel@lists.infradead.org Cc: Kevin Hilman , Adam Ford , linux-kernel@vger.kernel.org References: <1514763588-31560-1-git-send-email-david@lechnology.com> <1514763588-31560-3-git-send-email-david@lechnology.com> <17d6af61-a6db-9dc6-6fde-e9ff44e57389@ti.com> From: David Lechner Message-ID: Date: Thu, 4 Jan 2018 11:43:12 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <17d6af61-a6db-9dc6-6fde-e9ff44e57389@ti.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 1/4/18 5:10 AM, Sekhar Nori wrote: > Hi David, > > On Monday 01 January 2018 05:09 AM, David Lechner wrote: >> In preparation of moving to the common clock framework, usage of static >> struct clk_lookup is removed. The common clock framework uses an opaque >> struct clk, so we won't be able to use static tables as was previously >> done. >> >> davinci_clk_init() is changed to init a single clock instead of a table >> and an individual clk_register_clkdev() is added for each clock. >> >> Signed-off-by: David Lechner > > Is there a need for this considering in 6/7 you end up modifying quite a > bit of this patch again? No, you are right. And I've been working ahead with device tree support so I think I want to do this a bit differently anyway.