Commit 490211b0 authored by Mark Brown's avatar Mark Brown

spi: npcm-pspi: add Arbel NPCM8XX support

Merge series from Tomer Maimon <tmaimon77@gmail.com>:

This patch set adds Arbel NPCM8XX Peripheral SPI (PSPI) support to PSPI NPCM
driver.
parents d3fa0db1 6db8595a
...@@ -3,7 +3,8 @@ Nuvoton NPCM Peripheral Serial Peripheral Interface(PSPI) controller driver ...@@ -3,7 +3,8 @@ Nuvoton NPCM Peripheral Serial Peripheral Interface(PSPI) controller driver
Nuvoton NPCM7xx SOC support two PSPI channels. Nuvoton NPCM7xx SOC support two PSPI channels.
Required properties: Required properties:
- compatible : "nuvoton,npcm750-pspi" for NPCM7XX BMC - compatible : "nuvoton,npcm750-pspi" for Poleg NPCM7XX.
"nuvoton,npcm845-pspi" for Arbel NPCM8XX.
- #address-cells : should be 1. see spi-bus.txt - #address-cells : should be 1. see spi-bus.txt
- #size-cells : should be 0. see spi-bus.txt - #size-cells : should be 0. see spi-bus.txt
- specifies physical base address and size of the register. - specifies physical base address and size of the register.
......
...@@ -443,6 +443,7 @@ static int npcm_pspi_remove(struct platform_device *pdev) ...@@ -443,6 +443,7 @@ static int npcm_pspi_remove(struct platform_device *pdev)
static const struct of_device_id npcm_pspi_match[] = { static const struct of_device_id npcm_pspi_match[] = {
{ .compatible = "nuvoton,npcm750-pspi", .data = NULL }, { .compatible = "nuvoton,npcm750-pspi", .data = NULL },
{ .compatible = "nuvoton,npcm845-pspi", .data = NULL },
{} {}
}; };
MODULE_DEVICE_TABLE(of, npcm_pspi_match); MODULE_DEVICE_TABLE(of, npcm_pspi_match);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment