Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7295403ybi; Mon, 8 Jul 2019 18:52:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqz41yfcrulsgO14U8luxpcqCBeJ2StnqF0GfNeQDj5LF9mTzEhrFUlEO0sXrcHKW5yItxeB X-Received: by 2002:a65:5c0a:: with SMTP id u10mr27654644pgr.410.1562637176533; Mon, 08 Jul 2019 18:52:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562637176; cv=none; d=google.com; s=arc-20160816; b=Djt+kvmyI7SkdW4Att8Zy+w5Z3TwCqE49+7Q8CVCDaCMg7CCF3f3wiQQXas8zeIyOf tYkmBjQeKw+pALgmQF04TaFhDyHXKr6qhSM/DV8T6czcD7wmyWjzIcA8McdFn3r2SC2R V3WbNEYL12orxxaeyP6CvMXS2xFcgi/1gFbzpEfog1ks50yUrAierrcoWrPZH5BDAhA1 iOFB27aNtjETRtfE4GgAUy44pSQKLZ1Hnf+CMwEHQ4NhkcI3nhayTbeP2TJ2avT9eIkt WunOCfRyTNv5T0wEdoLiNwa7DjqQWILsDaSVTVlUXPWQrFpQ4aaSwTAuPwiXBJsT9jxU nhJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/tzcZLlDxbC1twwv0AFnIwTd9l+z877k7LvqZNpQY/c=; b=Nco0gU4ruEkHmFGwyYicsaw5ngv2u5RGD8IKpper6YwkEHw6ufC7boB6PuJEniw31r KxD/Gtab2f10pC4SS+weIoxXgnf5njikbo8DCXPNmZJagwkXtCLS5f9tpuHhcBWqfZfl 6jnuxGAKKETDV9vfA4wFQ2qjuTBOoGQSQfXP4YQjdZ9EoYQeJTSs2IBo98aVzgOmwmkV YaIIbXNGEzIa3Da2qin7yL+NkGPHFHYG3VLE5Z5IoChytYnK9Yig7hHePaGGvFtxmi6B ow5MpbVzc+8mXOlh6a7vGSoc1wt60lR2v7ScBUMYGau4muKHc8RSxeI8d3t7ZxtenyoP DI5A== 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s101si1173902pjc.5.2019.07.08.18.52.41; Mon, 08 Jul 2019 18:52:56 -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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726701AbfGIBwX (ORCPT + 99 others); Mon, 8 Jul 2019 21:52:23 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:35473 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725941AbfGIBwX (ORCPT ); Mon, 8 Jul 2019 21:52:23 -0400 Received: by mail-io1-f68.google.com with SMTP id m24so30247323ioo.2; Mon, 08 Jul 2019 18:52:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/tzcZLlDxbC1twwv0AFnIwTd9l+z877k7LvqZNpQY/c=; b=kMwyIDadQowI9Se3474fkdqIU67ubqm8PaDM2K1pPoKp+c4wFFz5JaQXsxMGfdF0mL xbZFQj8bqgy/EF+i0XH94/dJe56NO8EibhLTDlrpNU+2saVGeRj2TNugjbrFwsW6Nx11 vr/L+UzPQPW+w2devIJ+7Th1yQagCpdHH86X67oPfcpcv99bf/JB5j8Eie+ZnlxXpeQq YmVPOLm4Q/bUwi059pXwZUtI3xedcPnkhe2alJI71JaxtgmBm5zWwtX/T9wMBfvXz1fy 8H6TEnq7JkMpQ+J0UpYOluZcASqaQ08ShXorknPJGzo+caNwES0FKdDl08xqsXUC+J3D 0bNA== X-Gm-Message-State: APjAAAUuRUkKPMlawxakxcP3yPT1myk3vHBBDZPUK6/NjcOVIBIxG2Wj ynLelUNQoEYmpd5OEpUcLQ== X-Received: by 2002:a02:6d24:: with SMTP id m36mr25055180jac.87.1562637142441; Mon, 08 Jul 2019 18:52:22 -0700 (PDT) Received: from localhost ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id e188sm16873548ioa.3.2019.07.08.18.52.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 18:52:21 -0700 (PDT) Date: Mon, 8 Jul 2019 19:52:20 -0600 From: Rob Herring To: Luis Oliveira Cc: p.zabel@pengutronix.de, mark.rutland@arm.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Joao.Pinto@synopsys.com, Gustavo Pimentel Subject: Re: [PATCH V2 2/2] dt-bindings: Document the DesignWare IP reset bindings Message-ID: <20190709015220.GA18239@bogus> References: <1559835388-2578-1-git-send-email-luis.oliveira@synopsys.com> <1559835388-2578-3-git-send-email-luis.oliveira@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1559835388-2578-3-git-send-email-luis.oliveira@synopsys.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 06, 2019 at 05:36:28PM +0200, Luis Oliveira wrote: > 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 This is really a standalone block? Are there versions of IP? > + > +- 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 >