From patchwork Mon Apr 15 12:12:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Maimon X-Patchwork-Id: 10900669 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 43DC913B5 for ; Mon, 15 Apr 2019 12:21:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BF501FF41 for ; Mon, 15 Apr 2019 12:21:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F904285C4; Mon, 15 Apr 2019 12:21:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B974C1FF41 for ; Mon, 15 Apr 2019 12:21:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726147AbfDOMVH (ORCPT ); Mon, 15 Apr 2019 08:21:07 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:33172 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726094AbfDOMVH (ORCPT ); Mon, 15 Apr 2019 08:21:07 -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 x3FBgejX019420; Mon, 15 Apr 2019 14:42:40 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 588B263001; Mon, 15 Apr 2019 15:12:37 +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 1/2] dt-binding: misc: Add common LPC snoop documentation Date: Mon, 15 Apr 2019 15:12:34 +0300 Message-Id: <20190415121235.255028-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190415121235.255028-1-tmaimon77@gmail.com> References: <20190415121235.255028-1-tmaimon77@gmail.com> Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Added device tree binding documentation for Nuvoton BMC NPCM BIOS Post Code (BPC) and Apeed AST2500 LPC snoop. The LPC snoop monitoring two configurable I/O addresses written by the host on Low Pin Count (LPC) bus. Signed-off-by: Tomer Maimon Reviewed-by: Andrew Jeffery --- .../devicetree/bindings/misc/lpc-snoop.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/lpc-snoop.txt diff --git a/Documentation/devicetree/bindings/misc/lpc-snoop.txt b/Documentation/devicetree/bindings/misc/lpc-snoop.txt new file mode 100644 index 000000000000..7deac244ef9d --- /dev/null +++ b/Documentation/devicetree/bindings/misc/lpc-snoop.txt @@ -0,0 +1,27 @@ +LPC snoop interface + +The LPC snoop (BIOS Post Code) interface can monitor +two configurable I/O addresses written by the host on +the Low Pin Count (LPC) bus. + +Nuvoton NPCM7xx LPC snoop supports capture double words, +when using capture double word only I/O address 1 is monitored. + +Required properties for lpc-snoop node +- compatible : "nuvoton,npcm750-lpc-bpc-snoop" for Poleg NPCM7XX + "aspeed,ast2500-lpc-snoop" for Aspeed AST2500. +- reg : specifies physical base address and size of the registers. +- interrupts : contain the LPC snoop interrupt with flags for falling edge. +- snoop-ports : contain monitor I/O addresses, at least one monitor I/O + address required + +Optional property for NPCM7xx lpc-snoop node +- nuvoton,lpc-en-dwcapture : enable capture double words support. + +Example: + lpc-snoop: lpc_snoop@f0007040 { + compatible = "nuvoton,npcm750-lpc-bpc-snoop"; + reg = <0xf0007040 0x14>; + snoop-ports = <0x80>; + interrupts = ; + }; \ No newline at end of file