[PATCH v1 0/2] soc: add NPCM LPC BPC driver support

From: Tomer Maimon
Date: Mon Jun 10 2019 - 10:24:09 EST

This patch set adds LPC BIOS Post code (BPC) support for the
Nuvoton NPCM Baseboard Management Controller (BMC).

Nuvoton BMC NPCM LPC BIOS Post Code (BPC) monitoring two
configurable I/O addresses written by the host on the
Low Pin Count (LPC) bus, the capture data stored in 128-word FIFO.

NPCM BPC can support capture double words.

The NPCM7xx BPC driver tested on NPCM750 evaluation board.

NPCM BPC driver upstream process start few months ago on misc folder

The NPCM LPC BPC is similar to Aspeed LPC snoop, last
kernel 5.0.2 Aspeed LPC snoop driver moved from misc folder to
soc folder, so it seems NPCM BPC dirver should upstream to soc
as well.

I have created common lpc-snoop documentation for both
Nuvoton and Aspeed drivers as Andrew suggested.
Andrew Jeffery: https://patchwork.kernel.org/patch/10506269/

I add Andrew and Rob reviewed signature because they already reviewed
and signed the lpc-snoop documentation in the misc folder

Tomer Maimon (2):
dt-binding: soc: Add common LPC snoop documentation
soc: nuvoton: add NPCM LPC BPC driver

.../devicetree/bindings/soc/lpc/lpc-snoop.txt | 27 ++
drivers/soc/Kconfig | 1 +
drivers/soc/Makefile | 1 +
drivers/soc/nuvoton/Kconfig | 16 +
drivers/soc/nuvoton/Makefile | 2 +
drivers/soc/nuvoton/npcm-lpc-bpc-snoop.c | 387 ++++++++++++++++++
6 files changed, 434 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/lpc/lpc-snoop.txt
create mode 100644 drivers/soc/nuvoton/Kconfig
create mode 100644 drivers/soc/nuvoton/Makefile
create mode 100644 drivers/soc/nuvoton/npcm-lpc-bpc-snoop.c