From patchwork Mon May 13 15:41:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Pimentel X-Patchwork-Id: 1098965 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="adOzDD/S"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 452lRc06wmz9sBr for ; Tue, 14 May 2019 01:41:48 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731406AbfEMPle (ORCPT ); Mon, 13 May 2019 11:41:34 -0400 Received: from dc8-smtprelay2.synopsys.com ([198.182.47.102]:41268 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728513AbfEMPle (ORCPT ); Mon, 13 May 2019 11:41:34 -0400 Received: from mailhost.synopsys.com (dc2-mailhost2.synopsys.com [10.12.135.162]) (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 2CBC0C01E6; Mon, 13 May 2019 15:41:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1557762098; bh=WCBNYFY1ChFojjxZC8JG7x5O1lCoq1Zfiew6HInYASk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=adOzDD/S6wc0Q3IlQ3jHOnd/ViuLE178tE+nHGbZCLvOuXubf85vGX+0g3TE7fLr+ Y9Lpk7FWciHyLkVb/Dp2jZJKMTGy00tzR/4csxN30Y8LV0nDqLl/exNjdTVpLIaISX eKnBksqt48xBdZoTN86d3NwyfW+aqWT4v5H8dDb4zCYwDdGo2qVNK4FlG6txKQU+/8 1PcxsmDs4+Cw8tLRioePY9w3ob9K0RmDOb33cXhQ4E5kc1tBn/UoYnCLpkRLtVsaQD h+DHlCs+eU8k8IeRXiPdlxescC6NYauxic+ckbTPt5iBd3qetrHTzorXT9J5Q7cJov nyWBHMirDPtaw== Received: from de02.synopsys.com (germany.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id CD54CA00A3; Mon, 13 May 2019 15:41:32 +0000 (UTC) Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by de02.synopsys.com (Postfix) with ESMTP id 044ED3F928; Mon, 13 May 2019 17:41:32 +0200 (CEST) From: Gustavo Pimentel 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, Gustavo Pimentel , Luis Oliveira Subject: [PATCH 2/2] dt-bindings: Document the DesignWare IP reset bindings Date: Mon, 13 May 2019 17:41:28 +0200 Message-Id: <57b3e24f85b0838fc7fafe35abab00e19993d458.1557759340.git.gustavo.pimentel@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 --- .../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..5316212 --- /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: reset-controller@0000 { + compatible = "dw,dw-high-reset"; + reg = <0x0000 0x4>; + #reset-cells = <1>; + }; + + dw_rst: reset-controller@1000 { + compatible = "dw,dw-low-reset"; + reg = <0x1000 0x4>; + #reset-cells = <1>; + };