Home
last modified time | relevance | path

Searched hist:e15ad2154b6166804fc04487e0398c9aef9e7c97 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mfd/
H A Dintel-lpss.hdiff e15ad2154b6166804fc04487e0398c9aef9e7c97 Mon Nov 30 16:11:41 CET 2015 Mika Westerberg <mika.westerberg@linux.intel.com> 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>
H A Dintel-lpss.cdiff e15ad2154b6166804fc04487e0398c9aef9e7c97 Mon Nov 30 16:11:41 CET 2015 Mika Westerberg <mika.westerberg@linux.intel.com> 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>