On Wed, Aug 25, 2021 at 04:59:35PM +0300, Laurent Pinchart wrote: > From a camera sensor point of view, we want to avoid code duplication. > Having to look for regulators using OF lookups *and* platform data in > every single sensor driver is not a good solution. This means that, from > a camera sensor driver point of view, we want to call regulator_get() > (or the devm_ version) with a name, without caring about who establishes > the mapping and how the lookup is performed. I don't care much > personally if this would be implemented through swnode or a different > mechanism, as long as the implementation can be centralized. That's all orthogonal to this discussion, it's about how we configure the regulators not how clients use the regulators - as you say anything to do with how the regulator is configured should be totally transparent there.
Attachment:
signature.asc
Description: PGP signature