diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2015-11-30 17:11:41 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-07 02:29:23 +0100 |
commit | e15ad2154b6166804fc04487e0398c9aef9e7c97 (patch) | |
tree | a9f298c7759691eaf304d43e8ed9efab440cd4b4 /drivers/mfd/cros_ec.c | |
parent | 4d215cabc784990df11fbcca7af70adf53c9ff17 (diff) | |
download | linux-e15ad2154b6166804fc04487e0398c9aef9e7c97.tar.gz linux-e15ad2154b6166804fc04487e0398c9aef9e7c97.tar.xz |
mfd: intel-lpss: Add support for passing device properties
If the boot firmware does not support ACPI we need a way to pass device
configuration information to the drivers. The unified device properties API
already supports passing platform data via properties so let's take
advantage of that and allow probe drivers to pass set of properties to the
host controller driver.
In order to do that we need to be able to modify the MFD cell corresponding
the host controller, so make the core driver to take copy of the cell
instead of using it directly. Then we can assign info->pset to the
resulting copy of a cell and let the MFD core to assign that to the
resulting device.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/mfd/cros_ec.c')
0 files changed, 0 insertions, 0 deletions