Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2109408yba; Mon, 15 Apr 2019 05:15:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtds9O+bTZOcP80DRMUS/kfi5j5WN4K0dD5StNgthj+/fpYpb2h1QUGAUc1OTqpEMOhWOx X-Received: by 2002:a63:6a43:: with SMTP id f64mr37167657pgc.366.1555330500304; Mon, 15 Apr 2019 05:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555330500; cv=none; d=google.com; s=arc-20160816; b=e2UF0Erm7y2ExtSqC7RM2QDyvp+cKCKBgdr1/7FR4voVgzOUafk6YXnN2XB567QhJn RAz1LKzMYpsEaJ+Xir2St6s2E3enI/kOGJ1NIFzqiT9cjamdCX2cAitU+pwyU+q4/stA rB8T69tfgJeiNDTDz50+yZ2vSYyqFfcxIkzcdzMyuy5RtgdINKaE1evQH62rT5hYq2vI eLm+SUMsYb9ZWBRSc70kCmxg+R7NsyMHghfoyL1LDbFzXy3Ke6oKLl+uThxMWHoKKkqQ MjdZSLJuC9blgN7r14J71HOs+h0EYQtKDKoH95kdmCWd3h8KuMJCj1oIKdR/pEUd3bLJ kCyw== 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=bZReVTiv10E0472AbwRiF0llK7JHAm1noiR1k5FY5jQ=; b=TGj/f5tUHL6ZGqiCKRir4nPa9n4UswZbupjzB25jXouYCcEHZAoYyDsNi5LqWU7YId +lnDxBTQ2MP2F5zAkhV8v/iBI1CgSh9XfZxS/quuIrX60qJ+qO2y37ua40RkyWmmXuu3 U4nqMN1MkXOvjmK4uTQH81cmeLyBPArZqu+IXfZMLOiyelogln0WJUD7XARgU1Ymv3Cu mLF1O+fAWyV0dKVtr0ptOp7lGvdxAh4Ixd/EZcPVUgpHIXHM+Mupuz77yem3PMQaon9B hCR5KSn4wXJ+YoRhHzoQ1eZS5+SpOKWBoK1MFsOWUpNrDUpPigQMFWc1egf/5r/LkCHp FzHA== 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 j62si29122586pgd.87.2019.04.15.05.14.44; Mon, 15 Apr 2019 05:15:00 -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 S1727317AbfDOMNU (ORCPT + 99 others); Mon, 15 Apr 2019 08:13:20 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:33156 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727129AbfDOMNU (ORCPT ); Mon, 15 Apr 2019 08:13:20 -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 x3FBgerw019419; Mon, 15 Apr 2019 14:42:40 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id E698262FFF; Mon, 15 Apr 2019 15:12:36 +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 v1 0/2] misc: Add NPCM LPC BPC driver support Date: Mon, 15 Apr 2019 15:12:33 +0300 Message-Id: <20190415121235.255028-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. 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 | 393 +++++++++++++++++++++ 4 files changed, 429 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/lpc-snoop.txt create mode 100644 drivers/misc/npcm-lpc-bpc-snoop.c -- 2.14.1