]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf93251d4429c509ebbf70cd5af9afd7fbf968fe2
tree86ad8ef7693e2f4e084d7440314e7f7d079e1170
parent3babf55a1ef3e98adeb70344433e5ac4f52873fd
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