spi / ACPI: add ACPI enumeration support
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 30 Nov 2012 11:37:53 +0000 (12:37 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 Nov 2012 11:37:53 +0000 (12:37 +0100)
commit64bee4d28c9e2296f4f12a6c4cc40d085c2c9534
treebc1125d24e6fdc4934dba6a6c78c2de2e0d46b61
parente29482e8487954c87dc7b4fdbc53574bf1d4cce2
spi / ACPI: add ACPI enumeration support

ACPI 5 introduced SPISerialBus resource that allows us to enumerate and
configure the SPI slave devices behind the SPI controller. This patch adds
support for this to the SPI core.

In addition we bind ACPI nodes to SPI devices. This makes it possible for
the slave drivers to get the ACPI handle for further configuration.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/spi/spi.c