All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux dev-5.15 v1 0/2] misc: npcm7xx-lpc-bpc: add Arbel NPCM8XX support
@ 2022-08-09 14:04 Tomer Maimon
  2022-08-09 14:04 ` [PATCH linux dev-5.15 v1 1/2] dt-binding: bmc: npcm7xx-lpc-bpc: Add npcm845 compatible Tomer Maimon
  2022-08-09 14:04 ` [PATCH linux dev-5.15 v1 2/2] misc: npcm7xx-lpc-bpc: Add NPCM845 LPC BPC support Tomer Maimon
  0 siblings, 2 replies; 3+ messages in thread
From: Tomer Maimon @ 2022-08-09 14:04 UTC (permalink / raw)
  To: openbmc; +Cc: andrew, joel, Tomer Maimon

This patch set adds Arbel NPCM8XX LPC BIOS Post Code (BPC) support to BPC NPCM
driver.

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

Tomer Maimon (2):
  dt-binding: bmc: npcm7xx-lpc-bpc: Add npcm845 compatible
  misc: npcm7xx-lpc-bpc: Add NPCM845 LPC BPC support

 .../devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt          | 9 +++++----
 drivers/misc/Kconfig                                     | 8 ++++----
 drivers/misc/Makefile                                    | 2 +-
 drivers/misc/npcm7xx-lpc-bpc.c                           | 2 +-
 4 files changed, 11 insertions(+), 10 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH linux dev-5.15 v1 1/2] dt-binding: bmc: npcm7xx-lpc-bpc: Add npcm845 compatible
  2022-08-09 14:04 [PATCH linux dev-5.15 v1 0/2] misc: npcm7xx-lpc-bpc: add Arbel NPCM8XX support Tomer Maimon
@ 2022-08-09 14:04 ` Tomer Maimon
  2022-08-09 14:04 ` [PATCH linux dev-5.15 v1 2/2] misc: npcm7xx-lpc-bpc: Add NPCM845 LPC BPC support Tomer Maimon
  1 sibling, 0 replies; 3+ messages in thread
From: Tomer Maimon @ 2022-08-09 14:04 UTC (permalink / raw)
  To: openbmc; +Cc: andrew, joel, Tomer Maimon

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
---
 .../devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt          | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt b/Documentation/devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt
index 0832c9cbea32..2aa16d62a224 100644
--- a/Documentation/devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt
+++ b/Documentation/devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt
@@ -1,15 +1,16 @@
-Nuvoton NPCM7xx LPC BPC interface
+Nuvoton NPCM LPC BPC interface
 
-Nuvoton BMC NPCM7xx BIOS Post Code (BPC) monitoring two
+Nuvoton BMC NPCM BIOS Post Code (BPC) monitoring two
 configurable I/O addresses written by the host on the
 Low Pin Count (LPC) bus, the capure data stored in 128-word FIFO.
 
-NPCM7xx BPC supports capture double words, when using capture
+NPCM BPC supports capture double words, when using capture
 double word only I/O address 1 is monitored.
 
 Required properties for lpc_bpc node
 - compatible	: "nuvoton,npcm750-lpc-bpc" for Poleg NPCM7XX.
-- reg 			: specifies physical base address and size of the registers.
+		  "nuvoton,npcm845-lpc-bpc", "nuvoton,npcm750-lpc-bpc" for Arbel NPCM8XX.
+- reg 		: specifies physical base address and size of the registers.
 - interrupts	: contain the LPC BPC with flags for falling edge.
 - monitor-ports : contain monitor I/O addresses, at least one monitor I/O
 				  address required
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH linux dev-5.15 v1 2/2] misc: npcm7xx-lpc-bpc: Add NPCM845 LPC BPC support
  2022-08-09 14:04 [PATCH linux dev-5.15 v1 0/2] misc: npcm7xx-lpc-bpc: add Arbel NPCM8XX support Tomer Maimon
  2022-08-09 14:04 ` [PATCH linux dev-5.15 v1 1/2] dt-binding: bmc: npcm7xx-lpc-bpc: Add npcm845 compatible Tomer Maimon
@ 2022-08-09 14:04 ` Tomer Maimon
  1 sibling, 0 replies; 3+ messages in thread
From: Tomer Maimon @ 2022-08-09 14:04 UTC (permalink / raw)
  To: openbmc; +Cc: andrew, joel, Tomer Maimon

Add Nuvoton BMC NPCM845 NPCM LPC BIOS Post Code support support.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
---
 drivers/misc/Kconfig           | 8 ++++----
 drivers/misc/Makefile          | 2 +-
 drivers/misc/npcm7xx-lpc-bpc.c | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 13e3afdbcc40..79cc23fbfac9 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -470,11 +470,11 @@ config HISI_HIKEY_USB
 	  switching between the dual-role USB-C port and the USB-A host ports
 	  using only one USB controller.
 
-config NPCM7XX_LPC_BPC
-	tristate "NPCM7xx LPC BIOS Post Code support"
-	depends on (ARCH_NPCM7XX || COMPILE_TEST)
+config NPCM_LPC_BPC
+	tristate "NPCM LPC BIOS Post Code support"
+	depends on (ARCH_NPCM || COMPILE_TEST)
 	help
-	  Provides a NPCM7xx driver to control the LPC BIOS Post Code
+	  Provides a NPCM driver to control the LPC BIOS Post Code
 	  interface which allows the BMC to monitoring and save
 	  the data written by the host to an arbitrary LPC I/O port.
 
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index 53726c86460c..b6e9b550bb41 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -59,6 +59,6 @@ obj-$(CONFIG_UACCE)		+= uacce/
 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_NPCM7XX_LPC_BPC)	+= npcm7xx-lpc-bpc.o
+obj-$(CONFIG_NPCM_LPC_BPC)	+= npcm7xx-lpc-bpc.o
 obj-$(CONFIG_NPCM7XX_PCI_MBOX)	+= npcm7xx-pci-mbox.o
 obj-$(CONFIG_NPCM7XX_JTAG_MASTER)	+= npcm7xx-jtag-master.o
diff --git a/drivers/misc/npcm7xx-lpc-bpc.c b/drivers/misc/npcm7xx-lpc-bpc.c
index e014e07cd4a4..5c90dfc5374b 100644
--- a/drivers/misc/npcm7xx-lpc-bpc.c
+++ b/drivers/misc/npcm7xx-lpc-bpc.c
@@ -352,7 +352,7 @@ static int npcm7xx_bpc_probe(struct platform_device *pdev)
 		}
 	}
 
-	pr_info("npcm7xx BIOS post code probe\n");
+	pr_info("NPCM BIOS Post Code probe\n");
 
 	return rc;
 }
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-10  3:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-09 14:04 [PATCH linux dev-5.15 v1 0/2] misc: npcm7xx-lpc-bpc: add Arbel NPCM8XX support Tomer Maimon
2022-08-09 14:04 ` [PATCH linux dev-5.15 v1 1/2] dt-binding: bmc: npcm7xx-lpc-bpc: Add npcm845 compatible Tomer Maimon
2022-08-09 14:04 ` [PATCH linux dev-5.15 v1 2/2] misc: npcm7xx-lpc-bpc: Add NPCM845 LPC BPC support Tomer Maimon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.