Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp373519ybx; Wed, 6 Nov 2019 02:00:26 -0800 (PST) X-Google-Smtp-Source: APXvYqyUEhfT/ht6B+B+icwH2H/hGymY2zrL2Ac0CvyHV+buc0/VwVf7bUCZYqnJxk46Z1q0x/W7 X-Received: by 2002:aa7:cd52:: with SMTP id v18mr1633525edw.280.1573034426599; Wed, 06 Nov 2019 02:00:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573034426; cv=none; d=google.com; s=arc-20160816; b=jzXGTyeEHvIRrGv1ATJMjxHxJAqNzm9r5l6xXdxmhuYjyjiPFl5R8uUNnqmUlCPRUL U6amR/4ghvSSpZfRmGOuiES79P3O/EaxaOl4/oZVvKA00jtmSBA29JfJQ2Y1dGWTFFV2 4JlIXy+60wdH8RJdWQ1JgdzPqxKreoJH7+ZYmWD6qJbOf1oXP+6L8I8ixykBZsDxPeaZ Y1y6YA3vIVu6m/iM2Hr0OMs00hCqphUDzg3soS/hv4oxiXsXvADnZdj71mZ31aSKPidS cl5ygIyP50XWPWZS8PPLpgc94I5IhJSQbnHNVz4svaS8A8/j6boNNKipq6xlnR6siNQf QhWQ== 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=wvBEScspQoY39BZrvd6hScglazqE6kSIqbZEhdpCfXJ/AFQpg+Vqag5U3I/Dk0qo5h 4s6jEU07O9ycqxr5tZgKQscNplTdUu/TgSwCnjp2d3zwj6a+H/U32RWttVGGIOuimRAD x+5CbfeSSrna/Ya9lN9zFAab2J0aX0xF56YJev7ndkZkjpEC7Fx2QUI9L+juH2yjhX5Q 5lnDuyz9swo02xGSF/eKIDkfLZ8M5oTHfW4cuo+xep/GsNh56mTXnMoq8bGgF+Jzyy0u RbCEDrvupVBYlZ9subXIUgR0NP8QV6kENLEs5wEWlG+k+hIWDan1Mc1AUUZZyS4Zdhdw Sozg== 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 jz15si13746451ejb.94.2019.11.06.02.00.03; Wed, 06 Nov 2019 02:00:26 -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 S1731450AbfKFJ70 (ORCPT + 99 others); Wed, 6 Nov 2019 04:59:26 -0500 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:43995 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728271AbfKFJ7W (ORCPT ); Wed, 6 Nov 2019 04:59:22 -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 xA69wYD4021266; Wed, 6 Nov 2019 11:58:34 +0200 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 5D5F660329; Wed, 6 Nov 2019 11:58:34 +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 v4 1/3] dt-bindings: reset: add NPCM reset controller documentation Date: Wed, 6 Nov 2019 11:58:30 +0200 Message-Id: <20191106095832.236766-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191106095832.236766-1-tmaimon77@gmail.com> References: <20191106095832.236766-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