Re: [PATCH v2] ARM: da8xx: use platform data for CFGCHIP syscon regmap

2018-02-19 Thread Sekhar Nori
On Sunday 18 February 2018 08:52 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 f

[PATCH v2] ARM: da8xx: use platform data for CFGCHIP syscon regmap

2018-02-17 Thread David Lechner
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 c