Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp579861imm; Wed, 4 Jul 2018 02:17:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeAqoW3Jj257GnljqMzw9aAwKCyYj/INpcY7pV9iRzaUe8fhtmPCKk+O0cuakZ4IYSwD2Vt X-Received: by 2002:a63:6986:: with SMTP id e128-v6mr1157586pgc.294.1530695859972; Wed, 04 Jul 2018 02:17:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530695859; cv=none; d=google.com; s=arc-20160816; b=ID73RXUID7EbEdXJi0C1/ZKwCMQ0GgaFj36bncp9N4EutlQrznq5lAbj5WvWgnADHk 4x0NWZdqOkvEZShSkQKOIrEm3hKsNCqmm0Chhc9zBd6bZKufXWtvGqtyb7Zgka3YZcA+ 4DuNSb4Ytdm6q0I/R+yzd9q0wr+x+Lk7/liqGqdxK5+enpIq/BmikJnEAQJg1zzCcdVD q64zKolafVXyHiNQEF68EMzK0klmaSqNJcfmxlJS580FZdYtdBgAovYr2szWWB2Ew11M WIXWpERCKfpUqjAadprNSsGcMJ06j8i0rDbxBIbqkdKzGZxleY5OcOREH2z1bxFn3cM1 Vy0g== 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:arc-authentication-results; bh=0vg3RK/slWmyW//0LQbKRAUae689+UHyr5b/iNtKxuM=; b=xjaD0c/0U1eYs+gBWXkZOezkFueQSPbCh4Qd49xLmm5QSQZ9pawtMvTjfdirFZ34qZ myH+fs7Bsnyfa9Qh5dP6QyhQesLvFNMrD2QswPiSMUt64dsKXWMAt6d8Rx31R5ta+eSs I5wtgpFqqgdmTGr+SGhwU+fwn8vTN7AeVdtC6gZrLZkFN5jBJ3Nctal/Ataxfv3CL12O wiq1mGSFIceKSjKE9cHTjxrWIrN7h5Bl3XT8/z3qe7eznONfqAxgbSfK6L45YHkaD6pY wYhjgtgP+T2e1qR1mxjbodKjs7inbk9G4QgxOSgc5qp9gOO4k38GK3E/w1C9rQrx8T80 AJsg== 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 y2-v6si3040463plk.473.2018.07.04.02.17.25; Wed, 04 Jul 2018 02:17:39 -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 S934466AbeGDJPq (ORCPT + 99 others); Wed, 4 Jul 2018 05:15:46 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:34963 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932479AbeGDJPI (ORCPT ); Wed, 4 Jul 2018 05:15:08 -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 w649ESjK017181; Wed, 4 Jul 2018 12:14:28 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id E3B0C6307C; Wed, 4 Jul 2018 12:14:28 +0300 (IDT) From: Tomer Maimon To: robh+dt@kernel.org, mark.rutland@arm.com, arnd@arnd.de, gregkh@linuxfoundation.org, avifishman70@gmail.com, yuenn@google.com, brendanhiggins@google.com, venture@google.com, joel@jms.id.au Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, openbmc@lists.ozlabs.org, Tomer Maimon Subject: [PATCH v1 1/2] dt-binding: bmc: Add NPCM7xx LPC BPC documentation Date: Wed, 4 Jul 2018 12:14:26 +0300 Message-Id: <20180704091427.409971-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180704091427.409971-1-tmaimon77@gmail.com> References: <20180704091427.409971-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 NPCM7xx BIOS Post Code (BPC). The NPCM7xx BPC monitoring two configurable I/O addresses written by the host on Low Pin Count (LPC) bus. Signed-off-by: Tomer Maimon --- .../devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt diff --git a/Documentation/devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt b/Documentation/devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt new file mode 100644 index 000000000000..0832c9cbea32 --- /dev/null +++ b/Documentation/devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt @@ -0,0 +1,26 @@ +Nuvoton NPCM7xx LPC BPC interface + +Nuvoton BMC NPCM7xx BIOS Post Code (BPC) monitoring two +configurable I/O addresses written by the host on the +Low Pin Count (LPC) bus, the capure data stored in 128-word FIFO. + +NPCM7xx BPC supports capture double words, when using capture +double word only I/O address 1 is monitored. + +Required properties for lpc_bpc node +- compatible : "nuvoton,npcm750-lpc-bpc" for Poleg NPCM7XX. +- reg : specifies physical base address and size of the registers. +- interrupts : contain the LPC BPC with flags for falling edge. +- monitor-ports : contain monitor I/O addresses, at least one monitor I/O + address required + +Optional property for lpc_bpc node +- bpc-en-dwcapture : enable capture double words support. + +Example: + lpc_bpc: lpc-bpc@f0007040 { + compatible = "nuvoton,npcm7xx-lpc-bpc"; + reg = <0xf0007040 0x14>; + monitor-ports = <0x80>; + interrupts = ; + }; -- 2.14.1