Skip to contentSkip to conversation

misc: npcm7xx-pci-mbox: add Arbel NPCM8XX support

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

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

PATCH 1/2 dt-binding: bmc: npcm7xx-pci-mbox: Add npcm845 compatible

In reply to Tomer Maimon
---
 Documentation/devicetree/bindings/bmc/npcm7xx-pci-mbox.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/bmc/npcm7xx-pci-mbox.txt +3 -2
index e5585f38041b..9847112abd72 100644
@@ -1,10 +1,11 @@
-Nuvoton NPCM7xx PCI mail box interface
+Nuvoton NPCM PCI mail box interface
 
-Nuvoton BMC NPCM7xx PCI mail box, The mailbox is a high-bandwidth
+Nuvoton BMC NPCM PCI mail box, The mailbox is a high-bandwidth
 communication module between the BMC CPU and host CPU.
 
 Required properties for lpc_bpc node
 - compatible	: "nuvoton,npcm750-pci-mbox" for Poleg NPCM7XX.
+		  "nuvoton,npcm845-pci-mbox", "nuvoton,npcm750-pci-mbox" for Arbel NPCM8XX.
 - reg 			: specifies two address space
 					1. physical base address and size of the registers.
 					2. physical base address and size of the dual-ported RAM.
Signature · 1 line
2.33.0
author maintainer
#2 lore raw

PATCH 2/2 misc: npcm7xx-pci-mbox: Add NPCM845 PCI MBOX support

In reply to Tomer Maimon

Add Nuvoton BMC NPCM845 NPCM PCI Mail Box support support.

---
 drivers/misc/Kconfig  | 10 +++++-----
 drivers/misc/Makefile |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
drivers/misc/Kconfig +5 -5
index 79cc23fbfac9..1174ad7a15a7 100644
@@ -478,12 +478,12 @@ config NPCM_LPC_BPC
 	  interface which allows the BMC to monitoring and save
 	  the data written by the host to an arbitrary LPC I/O port.
 
-config NPCM7XX_PCI_MBOX
-	tristate "NPCM7xx PCI Mailbox Controller"
-	depends on (ARCH_NPCM7XX || COMPILE_TEST) && REGMAP && MFD_SYSCON
+config NPCM_PCI_MBOX
+	tristate "NPCM PCI Mailbox Controller"
+	depends on (ARCH_NPCM || COMPILE_TEST) && REGMAP && MFD_SYSCON
 	help
-	  Expose the NPCM750/730/715/705 PCI MBOX registers found on
-	  Nuvoton SOCs to userspace.
+	  Expose the NPCM BMC PCI MBOX registers found on Nuvoton SOCs
+	  to userspace.
 
 config NPCM7XX_JTAG_MASTER
 	tristate "NPCM7xx JTAG Master driver"
drivers/misc/Makefile +1 -1
index b6e9b550bb41..0400bfee295f 100644
@@ -60,5 +60,5 @@ obj-$(CONFIG_XILINX_SDFEC)	+= xilinx_sdfec.o
 obj-$(CONFIG_HISI_HIKEY_USB)	+= hisi_hikey_usb.o
 obj-$(CONFIG_HI6421V600_IRQ)	+= hi6421v600-irq.o
 obj-$(CONFIG_NPCM_LPC_BPC)	+= npcm7xx-lpc-bpc.o
-obj-$(CONFIG_NPCM7XX_PCI_MBOX)	+= npcm7xx-pci-mbox.o
+obj-$(CONFIG_NPCM_PCI_MBOX)	+= npcm7xx-pci-mbox.o
 obj-$(CONFIG_NPCM7XX_JTAG_MASTER)	+= npcm7xx-jtag-master.o
Signature · 1 line
2.33.0

Tomer Maimon

author maintainer
#0 lore raw

cover misc: npcm7xx-pci-mbox: add Arbel NPCM8XX support

This patch set adds Arbel NPCM8XX PCI Mail Box support to PCI MBOX NPCM driver.

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

Tomer Maimon (2):
dt-binding: bmc: npcm7xx-pci-mbox: Add npcm845 compatible
misc: npcm7xx-pci-mbox: Add NPCM845 PCI MBOX support

 .../devicetree/bindings/bmc/npcm7xx-pci-mbox.txt       |  5 +++--
 drivers/misc/Kconfig                                   | 10 +++++-----
 drivers/misc/Makefile                                  |  2 +-
 3 files changed, 9 insertions(+), 8 deletions(-)
Signature · 1 line
2.33.0