Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8453408ybi; Thu, 6 Jun 2019 12:34:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqyoz88IwNCdmbS99YlvFLZhLm5ubhKA7jRUZdAVbF34MC0bzuownSgLOCf/MYNhFzpWijb/ X-Received: by 2002:a17:902:205:: with SMTP id 5mr48637678plc.165.1559849681613; Thu, 06 Jun 2019 12:34:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559849681; cv=none; d=google.com; s=arc-20160816; b=I9z1fEmPrh+qYcCgyswrQVvgEqB89jvQlXFXlCklbq6qk9Q/9x7pgMmbEfFuXH6zSq 1gRcdD6ufnbOTMQY6X+jEh1GtuLCV59jPSjHKNb/Bfs16SC02J83JGNKbta8VaRT9jVZ HCEQ9DnETHP2Thi/zCS3bt+WI2ABB3zB9bFcWysYaFhkUzrrm/0+hw8XQCfzgRyltevn B3KxO86IOhhO4dJ2Kt4bbQStbrFJxTIj9xelBy0rZJYHtKsK4UBvgk6drNdK02MY50a0 LLRSTd7xQp8daY3MA9+5eAH8wSuPepQKaYVB2CnNVinxrp2IKwn0sWjilWsMk0WIqc7o +xIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=u8tiAFGDSY0yJ8wKSH6nACTUEGqhhjEUiKzpGt/WunE=; b=xqPc/+Gwj8JA3DkVm0A19mgSOB0bLcv9Ufe+Nq3tQwuP2oIHXk58zFULuj2Er4VGE7 ebSQf0ntTqsUla4uRRkyQ/OsraTFNKpwlr6MtuloSKn1AXgU4KGfJ4kU1pH7ZYXGWQQo LXuS3NVgO8NSSMfLTOc+OQ94NGwAhTeBG5Z2OsxmQjFtr9Rt2qlTohrizqgeiMyYB6pK DKaY4uqknnGhHN8ax3fM9A37KPQqdCsuCnze+0O8MqaUe3mdIbI6eIgMdYB2rgTu3Be1 dIhV4rR15RJKSuEuW7x1EGoVF+A/OTNqmwZjgZs1m/vhRj3M5bJoNJIZVRxLEvI4lwWQ 5w1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="b7m3H/Xg"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5si2723769pga.200.2019.06.06.12.34.24; Thu, 06 Jun 2019 12:34:41 -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; dkim=pass header.i=@synopsys.com header.s=mail header.b="b7m3H/Xg"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729465AbfFFPhM (ORCPT + 99 others); Thu, 6 Jun 2019 11:37:12 -0400 Received: from dc8-smtprelay2.synopsys.com ([198.182.47.102]:41264 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729448AbfFFPhK (ORCPT ); Thu, 6 Jun 2019 11:37:10 -0400 Received: from mailhost.synopsys.com (mdc-mailhost1.synopsys.com [10.225.0.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 96018C0B81; Thu, 6 Jun 2019 15:37:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1559835440; bh=evCeM7m+wEZrH4vGhwpv02k3yRyahFmlmUvNVtGsfDc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b7m3H/XgkC/+WU1sEjD6eDOgADERYI7a3JYqP+b3Kb8pEDYNuWSR3NAw1yBJO+QTD Q7FbnUfzEt+yTVkMCi8lEUmMMNWwr5P1CCjTwuiZh4HuI7F38Nsi9NbdJcpJisdtbK J3lsWkoBGJzcdWJdr5E/0Py9nUUcMuUsQfMTTr8/jHaU+QFrBgzgiHh1hz0D5vPIEH E74qVrIv4M0BzOpLmGwwcLoiGK4J5SO4IQiGHp97hQEvHPqh8HfG+isK7KGTUXB905 v9+DaYcK0h1Cs04DKPsc52NZzLp9Te8NJky5A8O9jbK6NlxOQYiMz4lLJp96JYnRhW 1z7dD48lVkd1A== Received: from de02.synopsys.com (germany.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 813B9A005C; Thu, 6 Jun 2019 15:37:07 +0000 (UTC) Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by de02.synopsys.com (Postfix) with ESMTP id 65A4D3F204; Thu, 6 Jun 2019 17:37:07 +0200 (CEST) From: Luis Oliveira To: p.zabel@pengutronix.de, robh+dt@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Joao.Pinto@synopsys.com, Luis Oliveira , Gustavo Pimentel Subject: [PATCH V2 2/2] dt-bindings: Document the DesignWare IP reset bindings Date: Thu, 6 Jun 2019 17:36:28 +0200 Message-Id: <1559835388-2578-3-git-send-email-luis.oliveira@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1559835388-2578-1-git-send-email-luis.oliveira@synopsys.com> References: <1559835388-2578-1-git-send-email-luis.oliveira@synopsys.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds documentation of device tree bindings for the DesignWare IP reset controller. Signed-off-by: Gustavo Pimentel Signed-off-by: Luis Oliveira --- Changelog - Add active low configuration example - Fix compatible string in the active high example .../devicetree/bindings/reset/snps,dw-reset.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/snps,dw-reset.txt diff --git a/Documentation/devicetree/bindings/reset/snps,dw-reset.txt b/Documentation/devicetree/bindings/reset/snps,dw-reset.txt new file mode 100644 index 0000000..85f3301 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/snps,dw-reset.txt @@ -0,0 +1,30 @@ +Synopsys DesignWare Reset controller +======================================= + +Please also refer to reset.txt in this directory for common reset +controller binding usage. + +Required properties: + +- compatible: should be one of the following. + "snps,dw-high-reset" - for active high configuration + "snps,dw-low-reset" - for active low configuration + +- reg: physical base address of the controller and length of memory mapped + region. + +- #reset-cells: must be 1. + +example: + + dw_rst_1: reset-controller@0000 { + compatible = "snps,dw-high-reset"; + reg = <0x0000 0x4>; + #reset-cells = <1>; + }; + + dw_rst_2: reset-controller@1000 {i + compatible = "snps,dw-low-reset"; + reg = <0x1000 0x8>; + #reset-cells = <1>; + }; -- 2.7.4