Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3517152ybg; Mon, 28 Oct 2019 14:12:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7N6IZ00WKvTDwv7xK5nK6kpJ8dx1trj1fJGkhWsEewwE2+S2y2nqMqYC+YtdeYXQtbmXW X-Received: by 2002:aa7:d305:: with SMTP id p5mr22380202edq.80.1572297137696; Mon, 28 Oct 2019 14:12:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572297137; cv=none; d=google.com; s=arc-20160816; b=ZXfcBcdDd2iwCeHvMgnQr3k5efHTN/J9t5ARpLHfWvoJvOw6eIpRi6NLZg80kQEzQJ cabbVJPbUTzRNp1cjWVaVsbAaWbDzASAKFSOaretRGxXJAgNWoDfhcStk4pivmwE038s UE5fRE4boSUNSJr9XApUf6T2Qq4omAcA/pwaQwLM9zy1e4e9oihuJwtGiQVwNLO301ur v/Qowol/7dNHtjSzN8i5Mj/1LFQAT+7c32Gu0cEgZnhFdqcIPmJZlhtpRg77Yn9ZiE5i nljt5f/01bCX8ehjR0IizW044L+EE9waWuD0j+qSJ9PV0K4DLOyFX+kgLcsE3axG2KpB 2xcg== 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=jJo9PUcvu+gMGpa1LsBzkTqSiVnxZ5ZACsud6O1TMTM=; b=wK+4dksjErcSarc5Po2VlXQG9J8UE9Pe7KYZadHpbdlkBeO0EX5ofC+VH1CW2t6mME EWCpoRFUQYxgmI+m2ccmlpfpyeFdtMXk28rNdZ/DH4PcTQrWNljzezD9YBrU5k8gIcLS 53E9x1rN7q3Nvjd026HfX/2LnKJc7UGgIxIXwBF3+lQ5SAnRwXCjKrkSqmh4uyoEs/yk aj14pnqP0DtWrp+x+I2mMXF4OoqKPS/9lgXEfqKS5SSwcDbUPFdW7oWCqpF/Y6PHLKaR /yyFktelhY0E1NN3xXeKRe86DYfHYgG4Om+8L7PKjx4n/aKddhQGIlgI5PVMwdS+RYWI grew== 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 gq7si7343542ejb.39.2019.10.28.14.11.53; Mon, 28 Oct 2019 14:12:17 -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 S2390438AbfJ1Py4 (ORCPT + 99 others); Mon, 28 Oct 2019 11:54:56 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:43560 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390213AbfJ1Pyz (ORCPT ); Mon, 28 Oct 2019 11:54:55 -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 x9SFs4Qe001373; Mon, 28 Oct 2019 17:54:05 +0200 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id D081560275; Mon, 28 Oct 2019 17:54:04 +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 v2 1/3] dt-binding: reset: add NPCM reset controller documentation Date: Mon, 28 Oct 2019 17:54:01 +0200 Message-Id: <20191028155403.134126-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191028155403.134126-1-tmaimon77@gmail.com> References: <20191028155403.134126-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 | 35 +++++++++++++++++++ 1 file changed, 35 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..94793285a2ac --- /dev/null +++ b/Documentation/devicetree/bindings/reset/nuvoton,npcm-reset.txt @@ -0,0 +1,35 @@ +Nuvoton NPCM Reset controller + +In the NPCM Reset controller boot the USB PHY, USB host +and USB device initialize. + +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 1 + +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 = <1>; + nuvoton,sw-reset-number = <2>; + }; + +Specifying reset lines connected to IP NPCM7XX modules +====================================================== +example: + + spi0: spi@..... { + ... + resets = <&rstc NPCM7XX_RESET_PSPI1>; + ... + }; + +The index could be found in . -- 2.22.0