[PATCH] ARM: da8xx: use platform data for CFGCHIP syscon regmap
Sekhar Nori
nsekhar at ti.com
Sun Feb 11 23:56:33 PST 2018
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 <david at lechnology.com>
>> ---
>>
>> 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/<CAK8P3a1AP1sz3nT8S6WMupo3iSVRsn2t9sPg2Mj1RAY1AS58UQ@mail.gmail.com>
>
> 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
More information about the linux-arm-kernel
mailing list