14 Sep
2015
14 Sep
'15
7:54 p.m.
On Thu, Sep 03, 2015 at 10:10:05AM -0700, Anatol Pomozov wrote:
On Sun, Aug 30, 2015 at 7:47 AM, Mark Brown broonie@kernel.org wrote:
which is only called (or only does anything) if there is actually DT data (if there is an of_node set).
device_property_read_* handles both DTS and ACPI that covers most (all?) modern systems.
Or are you talking about case when a platform driver passes pre-initialized data from using dev_get_platdata() (like what rt5677 does)? I assume this is a deprecated style that predates DTS/ACPI style configuration.
Not all architectures use DT or ACPI, the driver should really support them.