Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4018244ybg; Fri, 25 Oct 2019 12:09:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBKe8y6OwLviO2HuzComJmJGKty7mspMdG8yPYh3N0l2Z5MVazswQe2zCLQhZ5vSIXetLE X-Received: by 2002:a50:cc43:: with SMTP id n3mr5816098edi.287.1572030586985; Fri, 25 Oct 2019 12:09:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572030586; cv=none; d=google.com; s=arc-20160816; b=07GgqEyJtb5dWCbLCJeJVfW94N9Dr4Mnw++5zWP7zwOdGtjwuzpOeGOYg3eNYmGEpu rMIssyn7wkLkg6NCazIvF99hkaq9ab3uSNNiO4qAd0EQ9Z9VYAprBcrdx6zqAfUB1ERo bO7cZg4PHevEVyZtvN6u3jvrj0NJ0avW9sIUV3YpnxLfM+mcRZv7hjAGqQ1aHBAO6ojG dTeiuXTp3iohut1AIcV8RvSSdqujRvrNJ4K4h2NTckxXkeTKAC6SFmtMRDgN4ecDGS0K 8A2AD5ZcXxisgNsvxmkeQAYz/EUz/DS/YBR+IguGLPBXIzHMIAd8MKR4AlSB6o4jVCY/ ekKA== 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=aia75ElX+og1v/dHhvY9ZCKerSrYgvQRbPKGideZgwjJnGdJmPe7vwbeo2RO0dX7fl MmOqocsQxUYBuS0Dr/xzFw4j9g9Todn5Z1ZM6t5XLavu19WV1V7t36bv/jvRbLM7cN46 jcoX+yfECYYUJWf7EMlGNcqoik5Lx0pRYrHQz9O32ER/PKRvZ5OnlNUa60Wp2XnkKTdQ 1o+nYo3e7MeIplJsSyH8ff8sAbGRNQQ++XtTeb5b5zjVW25Nz/eIwZXERoxpcdrTcOem 3VgNHGrajW2o+pGvAOM4NZ+SVB2D3Sdz+sYgZGtutcXxtQo7/4brkZG+dP+KD1An/Wky 1TJQ== 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 rk26si1798696ejb.303.2019.10.25.12.09.23; Fri, 25 Oct 2019 12:09:46 -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 S1729923AbfJXWCE (ORCPT + 99 others); Thu, 24 Oct 2019 18:02:04 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:43370 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726046AbfJXWCD (ORCPT ); Thu, 24 Oct 2019 18:02:03 -0400 X-Greylist: delayed 804 seconds by postgrey-1.27 at vger.kernel.org; Thu, 24 Oct 2019 18:02:00 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 x9OLlmBC022491; Fri, 25 Oct 2019 00:47:48 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 5839260275; Fri, 25 Oct 2019 00:47:48 +0300 (IDT) 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 v1 1/3] dt-binding: reset: add NPCM reset controller documentation Date: Fri, 25 Oct 2019 00:47:44 +0300 Message-Id: <20191024214746.88431-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191024214746.88431-1-tmaimon77@gmail.com> References: <20191024214746.88431-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