From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753968AbeBLH5v (ORCPT ); Mon, 12 Feb 2018 02:57:51 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:33071 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751171AbeBLH5t (ORCPT ); Mon, 12 Feb 2018 02:57:49 -0500 Subject: Re: [PATCH] ARM: da8xx: use platform data for CFGCHIP syscon regmap From: Sekhar Nori To: David Lechner , CC: Kevin Hilman , Bartosz Golaszewski , Adam Ford , , Arnd Bergmann , Kishon Vijay Abraham I , Lee Jones References: <1516750563-24981-1-git-send-email-david@lechnology.com> <0ca5c498-e16e-f02a-28be-51ee9abb3363@ti.com> Message-ID: <92c5a905-a3d3-1fcc-ff76-66ec075fbadc@ti.com> Date: Mon, 12 Feb 2018 13:26:33 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <0ca5c498-e16e-f02a-28be-51ee9abb3363@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit 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 Thursday 25 January 2018 08:57 PM, Sekhar Nori wrote: > + Arnd, Kishon and Lee for their information. > > On Wednesday 24 January 2018 05:06 AM, David Lechner wrote: >> This converts from using a platform device for the CFGCHIP syscon >> regmap to using platform data to pass the regmap to consumers. >> >> A lazy getter function is used so that the regmap will only be >> created if it is actually used. This function will also be used >> in the clock init when we convert to the common clock framework. >> >> The USB PHY driver is currently the only consumer. This driver is >> updated to use platform data to get the CFGCHIP regmap instead of >> syscon_regmap_lookup_by_pdevname(). >> >> Signed-off-by: David Lechner >> --- >> >> This is based on the feedback from the series "ARM: davinci: common clock prep >> work​". https://lkml.org/lkml/2018/1/19/715 > > It will be nice to have the discussion link as part of commit description. > > Links: > https://lkml.kernel.org/r/ > > Kishon, > > With your ack I would like to queue this through the DaVinci tree for Kishon, ping on this. > v4.17. Due to ongoing common clock framework conversion effort, I expect > to queue a number of other patches dependent on this. > > Once v4.16-rc1 comes out, I can provide an immutable commit/tag with > just this patch applied. You can use that if you end up queuing other > patches which conflict with this. > > Let me know. Thanks, Sekhar