Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp684496ybx; Wed, 6 Nov 2019 06:57:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxW4NOuJMrCmmBFBOEcvB8wACVftEBWyMiljr3MDZQcBXYt2mU6iwCEl8R+utBfc6jAF5T7 X-Received: by 2002:a05:6402:1a4f:: with SMTP id bf15mr3164935edb.160.1573052257561; Wed, 06 Nov 2019 06:57:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573052257; cv=none; d=google.com; s=arc-20160816; b=kWx73lpOphl5bqHFxTZkUBgTdp+uOFvS/c+JbNdaFBNohWhAP9+Hga5Y8X+m7RFkQ9 am4ugFzu5KSuP1LeEqpAl1vE05lazhwfIwR58/3/n/2gtLcLKReVGlvWg1soJRTduyGT FvyA/33Cexx6HHwuQbDCAMk0RJ3WQPFSNI0SXhlGU2cU+GXLxWdmWDUuqUobwYfRV9KJ /b5TaOEFxdTnKfAOCMXLfGBz2MuNliyGdBzU0rQPEiJgbeN4i3tOZmOiTU/zN5HEcwQK n7aRNOqCkbfALi1lSYf7s+uZ2fpp5VfGVp5b1Vt8zE/kPNznt2hNZJGoJeCbsjnrZaCG vSlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=vDEy6blYu2qTDKY3VUTivuUOm3pKN6Nd8s8nwAO3f1w=; b=WcsdpPvG+kYuMljU578OLbQrwUUkF04IJ3/zJFhNXjklY4UIoTdrD6sDrIG43LS2HK vs6vgr4H8Eqw35UvzyV/IwSt8ZJldoimKSSkSHHin4GzEYbKjLaWUFYiyn9wV4WA/MuP 6EvSbpWatGzTIb/pmgg95frc6WPyizjhiPXR0mlJp6/cLu48YfC2jKPByP0QyxyWNfHL jWc0CR0eIxnzSa690b3eq+BTfcnUR/r8bh4vTD4y1g6rz/cEcUrF71ycRnkDBUIl17T5 gk08WcjLCX8HCCdpT7ztY9Sz623BEtHTdKGq6gdRqpmKPHlXFOKTXVLisBH8hYpqiFiU uLsA== 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 n1si15256311eda.359.2019.11.06.06.57.14; Wed, 06 Nov 2019 06:57:37 -0800 (PST) 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 S1731769AbfKFOyR (ORCPT + 99 others); Wed, 6 Nov 2019 09:54:17 -0500 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:44065 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727312AbfKFOyQ (ORCPT ); Wed, 6 Nov 2019 09:54:16 -0500 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 xA6ErXWN026782; Wed, 6 Nov 2019 16:53:33 +0200 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id CAE1460329; Wed, 6 Nov 2019 16:53:33 +0200 (IST) From: Tomer Maimon To: p.zabel@pengutronix.de, robh+dt@kernel.org, mark.rutland@arm.com, yuenn@google.com, venture@google.com, benjaminfair@google.com, avifishman70@gmail.com, joel@jms.id.au Cc: openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tomer Maimon Subject: [PATCH v5 1/3] dt-bindings: reset: add NPCM reset controller documentation Date: Wed, 6 Nov 2019 16:53:29 +0200 Message-Id: <20191106145331.25740-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191106145331.25740-1-tmaimon77@gmail.com> References: <20191106145331.25740-1-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 reset controller. Signed-off-by: Tomer Maimon --- .../bindings/reset/nuvoton,npcm-reset.txt | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/nuvoton,npcm-reset.txt diff --git a/Documentation/devicetree/bindings/reset/nuvoton,npcm-reset.txt b/Documentation/devicetree/bindings/reset/nuvoton,npcm-reset.txt new file mode 100644 index 000000000000..6e802703af60 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/nuvoton,npcm-reset.txt @@ -0,0 +1,32 @@ +Nuvoton NPCM Reset controller + +Required properties: +- compatible : "nuvoton,npcm750-reset" for NPCM7XX BMC +- reg : specifies physical base address and size of the register. +- #reset-cells: must be set to 2 + +Optional property: +- nuvoton,sw-reset-number - Contains the software reset number to restart the SoC. + NPCM7xx contain four software reset that represent numbers 1 to 4. + + If 'nuvoton,sw-reset-number' is not specfied software reset is disabled. + +Example: + rstc: rstc@f0801000 { + compatible = "nuvoton,npcm750-reset"; + reg = <0xf0801000 0x70>; + #reset-cells = <2>; + nuvoton,sw-reset-number = <2>; + }; + +Specifying reset lines connected to IP NPCM7XX modules +====================================================== +example: + + spi0: spi@..... { + ... + resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>; + ... + }; + +The index could be found in . -- 2.22.0