diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2013-01-18 17:46:01 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-24 00:14:22 +0400 |
commit | e375325ce55eb841ccda54a4472cf3b0139ea5f2 (patch) | |
tree | 79a9a12a6d18d86d24011909904f82d476a304da /drivers/clk | |
parent | 701190fd7419f6757c19cdc6473830c79debb3ae (diff) | |
download | linux-e375325ce55eb841ccda54a4472cf3b0139ea5f2.tar.xz |
ACPI / platform: create LPSS clocks if Lynxpoint devices are found during scan
Intel Lynxpoint LPSS peripheral drivers depend on LPSS clock tree being
created in order to function properly. The clock tree is exposed as a
platform driver that binds to a device named 'clk-lpt'.
To support this we modify the acpi_create_platform_device() to take one
additional parameter called flags. This is passed from
acpi_platform_device_ids[] array when acpi_create_platform_device() is
called.
We then introduce a new flag ACPI_PLATFORM_CLK which is used to tell
acpi_create_platform_device() to create the platform clocks as well.
Finally we set the ACPI_PLATFORM_CLK flags for all the Lynxpoint LPSS
devices and make sure that when this flag is set we create the
corresponding clock tree platform device.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions