Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1207192ybx; Thu, 31 Oct 2019 07:14:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdtaf8SX62D7leZBOXrxF838S3gnxYKlLpYx+g5tyUH2XTbAU9gKB8JU9/d+ONmphiKO8p X-Received: by 2002:aa7:c80d:: with SMTP id a13mr6323584edt.59.1572531272033; Thu, 31 Oct 2019 07:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572531272; cv=none; d=google.com; s=arc-20160816; b=TVDXJTlkuYi9paWUaAZmSyZ0SluAjBlywwH56LFvIwb7W71mPS36QFUxKuCmSAAfet /SCFIGQt7vjrvM2zYdWbk05mKKmhQZY/WppqdUrzUMl0N4Mfj8MTj2BdVErDLJQJGP8e BtVUMKEgzfotcvnOBEeKe6vfeGDUhPcGFK0hEsGupWuTde3kCFdUSJhWbcHlXQ7pJZ38 rerzPCNlEYHYEW4d4APYT45yUq+mgD74AOmFEcVcVsZprjbXt3asT97xFwUt+MaFIh/I 1cQ1oWw7asgov2HNNI08eB5c440aOyM5DMahr26eu4SZJbjlaYqjWmL4i5JkIh15Oi0f MsXA== 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=MPYD8nYG0TIuiPcN3ApbfWH352Qp6KBmJNkQb3H5Vyc=; b=iCIln12++pK2n1pknfg7BIdDkUwCfNdPuul11XNyXECDiCSP9plTh4qDbW6DA6EOaO ijRzrwHapqGcrAhb7NtvNf/EGLtxOVjy+AX1/IrtWo6Ph1eqk+NOsnZ24InwqDRXUpUP kBtuUgDkQh+L4K7AvbilZ78t6aBKhBJcrjGFIRdJJi2qM6Y1nM8wdhNl3AVGkRp/ToZq hmsLrHRiJhgxtTPIn0HHu24HRFOkCD6KPNBpNhMsvxur5poXVk4Gwl9lqOlqNBvnd6rU PpCpOi1aZDiAneYrQTrihTsPNaCpJRWDjevB8B2Iq+IDfFQdJjaHd9kzQrUXDZ/D03Pp DP7A== 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 a1si3497148ejy.214.2019.10.31.07.14.08; Thu, 31 Oct 2019 07:14:32 -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 S1727889AbfJaOLG convert rfc822-to-8bit (ORCPT + 99 others); Thu, 31 Oct 2019 10:11:06 -0400 Received: from maillog.nuvoton.com ([202.39.227.15]:44194 "EHLO maillog.nuvoton.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbfJaOLB (ORCPT ); Thu, 31 Oct 2019 10:11:01 -0400 Received: from NTHCCAS02.nuvoton.com (nthccas02.nuvoton.com [10.1.8.29]) by maillog.nuvoton.com (Postfix) with ESMTP id 6D2B61C80E11; Thu, 31 Oct 2019 21:56:23 +0800 (CST) Received: from NTILML02.nuvoton.com (10.190.1.46) by NTHCCAS02.nuvoton.com (10.1.8.29) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Thu, 31 Oct 2019 21:56:22 +0800 Received: from NTILML02.nuvoton.com (10.190.1.46) by NTILML02.nuvoton.com (10.190.1.46) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Thu, 31 Oct 2019 15:56:18 +0200 Received: from taln70.nuvoton.co.il (10.191.1.70) by NTILML02.nuvoton.com (10.190.1.46) with Microsoft SMTP Server id 15.0.1130.7 via Frontend Transport; Thu, 31 Oct 2019 15:56:18 +0200 Received: from taln60.nuvoton.co.il (taln60 [10.191.1.180]) by taln70.nuvoton.co.il (Postfix) with ESMTP id 02C6D1B6; Thu, 31 Oct 2019 15:56:19 +0200 (IST) Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 0332960275; Thu, 31 Oct 2019 15:56:19 +0200 (IST) From: Tomer Maimon To: , , , , , , , CC: , , , Tomer Maimon Subject: [PATCH v3 1/3] dt-binding: reset: add NPCM reset controller documentation Date: Thu, 31 Oct 2019 15:56:15 +0200 Message-ID: <20191031135617.249303-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191031135617.249303-1-tmaimon77@gmail.com> References: <20191031135617.249303-1-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain 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 =========================================================================================== The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.