Skip to content

Commit

Permalink
spi: npcm-pspi: add Arbel NPCM8XX support
Browse files Browse the repository at this point in the history
Merge series from Tomer Maimon <tmaimon77@gmail.com>:

This patch set adds Arbel NPCM8XX Peripheral SPI (PSPI) support to PSPI NPCM
driver.
  • Loading branch information
Mark Brown committed Aug 15, 2022
2 parents d3fa0db + 6db8595 commit 490211b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Nuvoton NPCM Peripheral Serial Peripheral Interface(PSPI) controller driver
Nuvoton NPCM7xx SOC support two PSPI channels.

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
- #size-cells : should be 0. see spi-bus.txt
- specifies physical base address and size of the register.
Expand Down
1 change: 1 addition & 0 deletions drivers/spi/spi-npcm-pspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ static int npcm_pspi_remove(struct platform_device *pdev)

static const struct of_device_id npcm_pspi_match[] = {
{ .compatible = "nuvoton,npcm750-pspi", .data = NULL },
{ .compatible = "nuvoton,npcm845-pspi", .data = NULL },
{}
};
MODULE_DEVICE_TABLE(of, npcm_pspi_match);
Expand Down

0 comments on commit 490211b

Please sign in to comment.