Re: [PATCH 2/2] ARM: dt: tegra: cardhu: register core regulatortps65911

From: Mark Brown
Date: Fri Jun 08 2012 - 23:07:37 EST


On Sat, Jun 09, 2012 at 12:52:03AM +0530, Laxman Dewangan wrote:

> So is it fine to go on the above binding?
> In this case we need to find the match_regulator based on
> regulator-id rather than by name.

I guess. I'm not enthusiastic about it (some way of using the key/value
nature of DT as a hash would be much nicer) but it seems that the
combination of DT and the existing code for it can't really give us
more.

If we're going to do this we need to update all the existing DT bindings
for drivers that use single node regulators like this. Please also
change the name used for the property to regulator-compatible to make it
clear that the idea is the same as normal compatible properties.

Attachment: signature.asc
Description: Digital signature