Thread (2 messages) 2 messages, 2 authors, 2012-05-14
DORMANTno replies

[PATCH 14/15] drivers/regulators: Enable the ab8500 for Device Tree

From: Lee Jones <hidden>
Date: 2012-05-14 20:38:27
Also in: linux-i2c

On 14/05/12 19:06, Mark Brown wrote:
On Mon, May 14, 2012 at 06:39:00PM +0100, Lee Jones wrote:
quoted
Okay, so can you suggest a way to marry up the constraints found in DT to
the remainder of the settings found in the driver without pointlessly
applying it all to the DT itself (which is was some of the other drives
have done)?
That's what people are using regulator_of_match() for - it's for mapping
the init data in DT array to a handle the driver can use for its
internal data (and vice versa).  See how tps65910 is using it for an
example.
Ah, I see it now. Looks like that's what I'm after.

I'll sort it out and try to get the new patch off tomorrow.

Thanks Mark.

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
M: +44 77 88 633 515
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help