Skip to contentSkip to conversation

spi: npcm-pspi: add Arbel NPCM8XX support

PATCH New Tomer Maimon 1 participant 3 messages Aug 3, 2022 – Aug 5, 2022

Subsystems (3)
lore
Share & tools
lore
author maintainer
#1 lore raw

PATCH 1/2 dt-binding: spi: npcm-pspi: Add npcm845 compatible

In reply to Tomer Maimon

Add a compatible string for Nuvoton BMC NPCM845 PSPI.

---
 Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt +2 -1
index b98203ca656d..a4e72e52af59 100644
@@ -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.
Signature · 1 line
2.33.0
author maintainer
#2 lore raw

PATCH 2/2 spi: npcm-pspi: Add NPCM845 peripheral SPI support

In reply to Tomer Maimon

Add Nuvoton BMC NPCM845 NPCM Peripheral SPI (PSPI) support.

---
 drivers/spi/spi-npcm-pspi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/spi/spi-npcm-pspi.c +1 -0
index 02f0fcceaf19..6de9bb566cac 100644
@@ -428,6 +428,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);
Signature · 1 line
2.33.0

Tomer Maimon

author maintainer
#0 lore raw

cover spi: npcm-pspi: add Arbel NPCM8XX support

This patch set adds Arbel NPCM8XX Peripheral SPI (PSPI) support to PSPI NPCM driver.

This patchset was tested on the Arbel NPCM8XX evaluation board that running Arbel OpenBMC.

This patchset is based on the Arbel NPCM8XX BMC 5.19 kernel patchsets
https://lore.kernel.org/lkml/[email protected]/T/

Tomer Maimon (2):
dt-binding: spi: npcm-pspi: Add npcm845 compatible
spi: npcm-pspi: Add NPCM845 peripheral SPI support

 Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt | 3 ++-
 drivers/spi/spi-npcm-pspi.c                                 | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.33.0