Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3263006ybi; Mon, 10 Jun 2019 07:21:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvfcP+2lDxAl2nt53azGoijpGm+sj79xRYzU5vJZzAWnaGNuohuXjrq3vVv90hUJr5fpLE X-Received: by 2002:a63:374d:: with SMTP id g13mr16190403pgn.413.1560176481100; Mon, 10 Jun 2019 07:21:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560176481; cv=none; d=google.com; s=arc-20160816; b=GGE1xuQSeQ6PuEOF3WlSMb+zJRWJtZMXz30y+P8Z089/ZZvpf0O/z3v9GddMCIrsrr I9l1l4U50gyOuyWDDvmts/ACe/i/W1fdN4XXNmwcePpFyP9ZtqKPIXnTNpR1+2KeOrtF 77VlH3dnKcqYpyL5lLszABwV7EC9y9JDnN2MixqnUnYPKfy565FXWaKSysbYlYJ++EoR C8gNzn8MEtCM3fkR5b+oOSjxq3jslOHyinB1KTCrB6pAGIQOsSMTeangoj/KYNNc8H41 aQlkoRop8IJ0dTF47p4Nc/Rw4ku2WJTYY0UO6Tx/ApSPFx0FILhUwljWoSHeEdu9HQ4g DUVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=ipE49kIo9Yxm11xWRXd3ya2eUkzx6U09bVFiiBdm1MA=; b=PE/DgEHuX/bLyDgb86GHDkf4plFHPYgV606CYFxSgl7Ts3NhUZ1FVReb/OhIrrljV7 4GWQLJsrdSBU6SA7gBqTaIm9wdwETo36CO5+rRuGgaeyAzLRp9B9j6w3GDSusOxW2Zgw oH0R6BBoj0GuG88IguxUuFcc6k5Pl1nucqaCBZ3ZkaSei2s6QtNn5aWe8xTfv+js9ujF sa9TU3ndODM+hNkXyA3DZjD1zgRPuGarrYerDrBylEdrTST1mUWYzqqHTdKJZpfAcqo2 D6ep4IJKjzswjo+lmD4lMXO57HiCN3VDW6Jz4oIdvDCOPKcWTn+HEcdu9DSv4tjq/Tza di0A== 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 c3si10244524pfr.27.2019.06.10.07.21.05; Mon, 10 Jun 2019 07:21:21 -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 S2403812AbfFJOTo (ORCPT + 99 others); Mon, 10 Jun 2019 10:19:44 -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 S2390789AbfFJOTn (ORCPT ); Mon, 10 Jun 2019 10:19:43 -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 x5ADWke9029720; Mon, 10 Jun 2019 16:32:46 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id DA70061FCD; 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 1/2] dt-binding: soc: Add common LPC snoop documentation Date: Mon, 10 Jun 2019 16:32:44 +0300 Message-Id: <20190610133245.306812-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190610133245.306812-1-tmaimon77@gmail.com> References: <20190610133245.306812-1-tmaimon77@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added device tree binding documentation for Nuvoton BMC NPCM BIOS Post Code (BPC) and Aspeed 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 Reviewed-by: Rob Herring --- .../devicetree/bindings/soc/lpc/lpc-snoop.txt | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/lpc/lpc-snoop.txt diff --git a/Documentation/devicetree/bindings/soc/lpc/lpc-snoop.txt b/Documentation/devicetree/bindings/soc/lpc/lpc-snoop.txt new file mode 100644 index 000000000000..c21cb8df4ffb --- /dev/null +++ b/Documentation/devicetree/bindings/soc/lpc/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 = ; + }; -- 2.18.0