diff options
author | Jay Fang <f.fangjian@huawei.com> | 2018-12-03 06:15:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-12-04 20:24:57 +0300 |
commit | 32215a6c6beb8dcda4bb0759b04ce3c30927963b (patch) | |
tree | a527ed7de52ea6798c209b2c10dc9595de947a19 /drivers/spi/spi-dw.c | |
parent | 2527704d8411e2b4241916e8b22505cb4519ce08 (diff) | |
download | linux-32215a6c6beb8dcda4bb0759b04ce3c30927963b.tar.xz |
spi: dw-mmio: add ACPI support
The Hisilicon Hip08 platform, that uses ACPI, has this controller.
Let's add ACPI support for DW SPI MMIO-based host.
The ACPI ID used is "HISI0173" for the Designware SPI controller of
Hisilicon Hip08 platform.
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.c')
-rw-r--r-- | drivers/spi/spi-dw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-dw.c b/drivers/spi/spi-dw.c index b705f2bdb8b9..2e822a56576a 100644 --- a/drivers/spi/spi-dw.c +++ b/drivers/spi/spi-dw.c @@ -507,6 +507,7 @@ int dw_spi_add_host(struct device *dev, struct dw_spi *dws) master->handle_err = dw_spi_handle_err; master->max_speed_hz = dws->max_freq; master->dev.of_node = dev->of_node; + master->dev.fwnode = dev->fwnode; master->flags = SPI_MASTER_GPIO_SS; if (dws->set_cs) |