未验证 提交 c97905ca 编写于 作者: J Jarkko Nikula 提交者: Mark Brown

spi: dw-pci: Fix Chip Select amount on Intel Elkhart Lake PSE SPI

Intel(R) Programmable Services Engine (Intel(R) PSE) SPI controllers in
Intel Elkhart Lake have two Chip Select signals instead of one.
Reported-by: NRaymond Tan <raymond.tan@intel.com>
Signed-off-by: NJarkko Nikula <jarkko.nikula@linux.intel.com>
Link: https://lore.kernel.org/r/20191018132131.31608-3-jarkko.nikula@linux.intel.comSigned-off-by: NMark Brown <broonie@kernel.org>
上级 c8169580
...@@ -36,7 +36,7 @@ static struct spi_pci_desc spi_pci_mid_desc_2 = { ...@@ -36,7 +36,7 @@ static struct spi_pci_desc spi_pci_mid_desc_2 = {
}; };
static struct spi_pci_desc spi_pci_ehl_desc = { static struct spi_pci_desc spi_pci_ehl_desc = {
.num_cs = 1, .num_cs = 2,
.bus_num = -1, .bus_num = -1,
.max_freq = 100000000, .max_freq = 100000000,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册