Skip to content

misc: Add NPCM LPC BPC driver support

Tomer Maimon linux-devicetree linux-hwmon lkml openbmc 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-binding: misc: Add common LPC snoop documentationDocumentation/devicetree/bindings/misc/lpc-snoop.txt+27 -01 reply
2/2misc: npcm: add NPCM LPC BPC driverdrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/npcm-lpc-bpc-snoop.c+394 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAndrew JefferyRob Herring
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] misc: Add NPCM LPC BPC driver support

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

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 capture data stored in 128-word FIFO.

NPCM BPC can support capture double words.

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 prefer to add the lpc-dnoop documentation to misc folder instead of creating new /devicetree/binding folder that named BMC as been done in the last lpc-snoop patchset because I am not sure is something that should be done for only
one module for now.
https://patchwork.kernel.org/patch/10506269/

The NPCM7xx BPC driver tested on NPCM750 evaluation board.

Addressed comments from:.
- Guenter Roeck: https://lkml.org/lkml/2019/4/15/450
- Andrew Jeffery: https://lkml.org/lkml/2019/4/15/1385

Changes since version 1:
- Using devm_platform_ioremap_resource function.
- Add new line at the end of dt-binding documentation.

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

 .../devicetree/bindings/misc/lpc-snoop.txt         |  27 ++
 drivers/misc/Kconfig                               |   8 +
 drivers/misc/Makefile                              |   1 +
 drivers/misc/npcm-lpc-bpc-snoop.c                  | 385 +++++++++++++++++++++
 4 files changed, 421 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/misc/lpc-snoop.txt
 create mode 100644 drivers/misc/npcm-lpc-bpc-snoop.c
Signature · 1 line
2.14.1