[Ksummit-2012-discuss] [ATTEND] Complex dependencies in device model

Stephen Warren swarren at wwwdotorg.org
Wed Jun 20 18:54:57 UTC 2012

On 06/20/2012 12:19 PM, H. Peter Anvin wrote:
> On 06/20/2012 10:23 AM, Stephen Warren wrote:
>> Well, this only affects probe() right, not the body of the driver?
> No.  You need to be able to get device-specific parameters, too.

OK, given both your and Matthew's responses, it sounds like the
additional properties are being parsed somewhere other than probe().
Where you that be? Every device I've worked on does all the DT parsing
(or platform data validation etc.) in probe(), or a child function
thereof, and stores the result in the drvdata struct. Is that not universal?

More information about the Ksummit-2012-discuss mailing list