spi: HiSilicon v3xx: Use DMI quirk to set controller buswidth override bits
authorJohn Garry <john.garry@huawei.com>
Fri, 28 Feb 2020 15:18:51 +0000 (23:18 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 28 Feb 2020 18:01:44 +0000 (18:01 +0000)
commit34e608b023e96f51b31274435b49c8ae61e2389f
tree86ad8ef7693e2f4e084d7440314e7f7d079e1170
parent8fe21d6b347247227c349c9b2f7c462fae362af4
spi: HiSilicon v3xx: Use DMI quirk to set controller buswidth override bits

The Huawei D06 board (and variants) can support Quad mode of operation.

Since we have no current method in ACPI SPI bus device resource description
to describe this information, use DMI to detect the board, and set the
controller buswidth override bits.

Signed-off-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/1582903131-160033-4-git-send-email-john.garry@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-hisi-sfc-v3xx.c