Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3261797ybi; Mon, 10 Jun 2019 07:20:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWhQujMKxYmqDICdh6MTiFO+SNLbW7dt9swQKvhUsZY4FqvkpO+6waihvIX1+mVexb+pKb X-Received: by 2002:a17:902:988a:: with SMTP id s10mr71272412plp.304.1560176410940; Mon, 10 Jun 2019 07:20:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560176410; cv=none; d=google.com; s=arc-20160816; b=t5oegM5B+PNTlK/OzC8Qe+DAiMlA3mU1+tB+32gCkY/t1NzP79NSLn8dJ/sFI7UMjd RZWYvLHSQa3fr+0I5nlAf1fGr8gt29i0eYlFubw+I/s8vuQmEdAG1XW0P684xY/Gc2QI 6UVf3BB+xZqChSaS1JVukz8W8zx+vt/V7tYTQd8/hQ1wvPzu5PiQ2R+uKKiLVcfi7cfY IdehSr1MBdVAFZQvMgqg4yekOfqD+P1JMX+iFp2Z/AibAWQfGxnTghB224RYyZS+uvyT YwFmVqhEKTtLyPtwWywgA1ROHDiwbeG3zuf12xH3gfCnAXK1YVTiLd6e3Gd6Z0SGvDxJ yK4Q== 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=B8FjBLAPApWGidPC02+JUiRBi56NSY/nZAeJ+n39t/w=; b=z21R0GVBKrtXOmXm/MK5ZAJ6fmul8d1xF2u/8sNKW+SVx7XB9Rcm4zg/D3aXFA/siF fRSqSlU1OYDelcLzVvrGRs/vqZBhu9QR16tOBeF/Y7yhSZBNpmGlrg7UuoX0spnY73jP 526AqIeTtfTX26rEeBmwOeV8l5Kg3XiuPUZ/ZvUFn9uGF5GYugrYW2jOo2Y0oahLItQb 414XbpQMHLz9S3sex/Obbd/KOD7DKUVAGWqvgtWREzJAVW41/45VOrryBZqFFqK/7bji NwvReNdSdyNwQd9RZxXGqophS4PrhfRXa6Dw3zCrsZBbvE0V+6MsroRUtSuvAeXeJ7tI Wl2Q== 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 p23si9848525pgk.224.2019.06.10.07.19.55; Mon, 10 Jun 2019 07:20:10 -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 S2403798AbfFJOTk (ORCPT + 99 others); Mon, 10 Jun 2019 10:19:40 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:35856 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390789AbfFJOTk (ORCPT ); Mon, 10 Jun 2019 10:19:40 -0400 X-Greylist: delayed 2771 seconds by postgrey-1.27 at vger.kernel.org; Mon, 10 Jun 2019 10:19:39 EDT 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 x5ADWkmM029719; Mon, 10 Jun 2019 16:32:46 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 5E7F361FCC; Mon, 10 Jun 2019 16:32:46 +0300 (IDT) From: Tomer Maimon To: olof@lixom.net, gregkh@linuxfoundation.org, arnd@arndb.de, robh+dt@kernel.org, mark.rutland@arm.com, avifishman70@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, joel@jms.id.au Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Tomer Maimon Subject: [PATCH v1 0/2] soc: add NPCM LPC BPC driver support Date: Mon, 10 Jun 2019 16:32:43 +0300 Message-Id: <20190610133245.306812-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 http://lkml.iu.edu/hypermail/linux/kernel/1904.2/00412.html 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. https://lkml.org/lkml/2019/4/22/377 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 https://lkml.org/lkml/2019/4/29/998 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 -- 2.18.0