Everyone: This series adds ACPI support for the Designware SPI MMIO-based controller. The Hisilicon Hip08 platform, that uses ACPI, has this controller. However, the spi-dw-mmio driver only supports Device Tree now. ACPI also supports function names for GPIOs in a similar fashion to DT. A example from ACPI which uses cs-gpios: Device(SPI0) { Name(_HID, ...) Name (RBUF, ResourceTemplate () { GpioIo(Exclusive, PullUp, 0, 0, IoRestrictionNone, "\\_SB.GPO1", 0, ResourceConsumer, , ) { 6 } }) Method (_CRS, 0, NotSerialized) { Return (RBUF) } Name(_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package () { Package () {"num-cs", 1}, Package () { "cs-gpios", Package () { ^SPI0, 0, 0, 0, }, }, } }) } [1] https://www.kernel.org/doc/Documentation/acpi/gpio-properties.txt Thank you, Jay Jay Fang (3): ACPI / APD: Add clock frequency for Hisilicon Hip08 SPI controller spi: dw-mmio: add ACPI support spi: add ACPI support for SPI controller chip select lines(cs-gpios) drivers/acpi/acpi_apd.c | 6 ++++++ drivers/spi/spi-dw-mmio.c | 8 ++++++++ drivers/spi/spi-dw.c | 1 + drivers/spi/spi.c | 32 ++++++++++++++++---------------- 4 files changed, 31 insertions(+), 16 deletions(-) -- 2.7.4