Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3076627yba; Tue, 16 Apr 2019 04:19:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNP7vYw1ZYUzRISnUntVpauKFfUycmeqUtheaCrrsDRO2AkYAdaZfDiXZEGgbloirSIl0f X-Received: by 2002:aa7:8b12:: with SMTP id f18mr82157791pfd.89.1555413570311; Tue, 16 Apr 2019 04:19:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555413570; cv=none; d=google.com; s=arc-20160816; b=UvcabTiWAvXfUvXDxYILnk0iWeediIi0xwrB3QNuwKjgDun6ls0kmOl4vtJbxuCT5J 028/iPp5n0yxG7IAL7yBZmp+lqVrFr4AK+vhF2Ed86XiUpnnaf2V3rL7kx0bN7JE1I9T 72Nc/wLQwTtowfSMqR34LGy+OmPvFT/AYIbtAbC9ZuBJUbcqhZBJZmnkjblNo2upcb+U Uuc9itiWpp5NW0C/VYMC/GrULFC2FW9/DeBOBGnu3YPzvdQfm0w96arXlEFRx0sDBgeu 3NWfeaSsTpxnLOzERlEECtgUxDVqJWF/xwFkfyjxgbdd2jNkLTYIhTlir582p/izJZkG 8nRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=Hky9Q/fOlVky/csBkVMypVa5L739teDSr6jDxlOkr8o=; b=iOoFu/OfRqSh8ex7IBK2FptkkoCLPfJ1JY1eqbmchyINSno2fpx1cenqyQZDku7nue lw+hlC48UbIaX6PN4Vh+nZSUdJK42UsRKkM46Az7eRYtZNkd9u4HFTREsdxyNSMKFNxf ddvDUMorQKFxWf9Kfm69V/MLLLWIGhj2DqYBEHZaLXX0uAjjRJ00IQau52pGaEzM5JCa MR+L12uFD06S9bAWT6i2Wvrls0GL5idq6VugH/4CGJ070Z04oeimHYjCoXRvCNcTUXx1 0pBOaI5LYmuJJftexwVn5pgokXH/yd4bnla3oLgVUOJEv0rer8use8gcLpjqf503+Ww4 IfXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v16si16463326plo.36.2019.04.16.04.19.13; Tue, 16 Apr 2019 04:19:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729157AbfDPLR3 (ORCPT + 99 others); Tue, 16 Apr 2019 07:17:29 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:33291 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728268AbfDPLRY (ORCPT ); Tue, 16 Apr 2019 07:17:24 -0400 Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id x3GAkZ0C014004; Tue, 16 Apr 2019 13:46:35 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 74C5262FFF; Tue, 16 Apr 2019 14:16:32 +0300 (IDT) From: Tomer Maimon To: gregkh@linuxfoundation.org, arnd@arnd.de, robh+dt@kernel.org, mark.rutland@arm.com, yuenn@google.com, venture@google.com, brendanhiggins@google.com, avifishman70@gmail.com, joel@jms.id.au Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, Tomer Maimon Subject: [PATCH v2 0/2] misc: Add NPCM LPC BPC driver support Date: Tue, 16 Apr 2019 14:16:29 +0300 Message-Id: <20190416111631.356803-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.14.1