Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp1477675pxw; Sun, 10 Apr 2022 03:48:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMfxLWsh7tYyxtfuUFIYz1C8UQpbW8mz0y9qX/yFXKt7dg+lNOXuwjtxZOZQfhYx/tqxbV X-Received: by 2002:a17:907:3d87:b0:6e6:f1f3:ba7c with SMTP id he7-20020a1709073d8700b006e6f1f3ba7cmr25948922ejc.128.1649587704777; Sun, 10 Apr 2022 03:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649587704; cv=none; d=google.com; s=arc-20160816; b=CEguoXs5aBKFaKqP9FKvV/I2ukdUgAh/4Uw9IzFbFh39FcZx2K8qHzEU51z2L81VSb uAxE/BC/g3g9WV32MfTwc2Y2DWDbrQ8UytoCK6CNv99ftH3Xbi1U0mdS4FAB2OvguNwj ukLj0v7ESm1ybuWubJt6SQkbtSvjH3cg5bXxtMyde8/NZXCoQCwlxS7PuUxE3Zg1ZPLU QNQHfdzUydOrFFlbce46KEEdiVLYuozz99xRZS5hHPNPgKTkCu8MDIKb3Hr8HFayD0+4 NS2GoYnKlzTF0zs0Am4jmtDSI9kDsdojqfevp5S7IG+I5VBJZA3RucZ4QIf27rJq65nD IA1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=vQfJAKUgvClkkyeIs6rV92XnnDXDzlXjyxiEcCWwtPU=; b=ThbYusSbABzwu5LR4TcNsr3OopK1SO/MKMmM4Bk8Sm6WMDei8zVKn9wAxMxvUUHJ23 Dvb0QG327ijlF9bv6zeIgVes5j9ZHO4BevUJQdMGNVwcgh3phtthlum0UndBRG3t4BEx 8+XiiZjaG1rOSLG0ZnaGP8Gp1a2f/dj01N6ifjWuAeqkSU3v5D//4YI9JaPCNUN/n+mv THaaFKYiQ7Aob3pHLEeSvjBWnmN6yCk4UGFQMbtZcxu+IDqJgCyIBGib+YcyiZCGtLgk F5QS4cS1OvCPR/AZznBjsiSIN4H7YuhMgLJs0lgomoZ/Fhx0KdTUlL7igu1SStQ37/Pn fSSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a05640211cc00b0041d6ef71523si3022516edw.116.2022.04.10.03.48.00; Sun, 10 Apr 2022 03:48:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238678AbiDHS1m (ORCPT + 99 others); Fri, 8 Apr 2022 14:27:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230085AbiDHS1k (ORCPT ); Fri, 8 Apr 2022 14:27:40 -0400 Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE36B195338; Fri, 8 Apr 2022 11:25:35 -0700 (PDT) Received: by mail-oi1-f172.google.com with SMTP id r8so9673806oib.5; Fri, 08 Apr 2022 11:25:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=vQfJAKUgvClkkyeIs6rV92XnnDXDzlXjyxiEcCWwtPU=; b=JCOKm2epdNbLbzOfOW7NJN9KKvwqsWZZsu7qLW7p8f4aTU3Bp9Fh1FKhc3jJopzbcr IngDn/os6nhGWfKL4KINWjLHHHjeDhPOg8Pbo5DOghmezeS54X4Wl/ruAZ8q3Hb5tyZY Rply5WtKgCI6EBMEgRnD9oAWJPZalkadlyWU5TMLETd/2feGwpQWBUitM3plq8HylWKy JRprlYuLL3TuLDscHjEhtqXZ/1nUINCheB2Y8lwJfXyI+BLgUIm/cr0lUdBEWXmsll8M trMGcGExgyS0UzVQK/7UOYg0kpJ+AsiUQ8b/gbrgA84Kn9mmulQOYOaA5s2jeXFHplvw /WuQ== X-Gm-Message-State: AOAM530LQlmLT6b+s2ZTdrEifvBzLK15lXFapp79JQHzdHzTaikEFkrl oHZGpVyXICcShS8alb52zQ== X-Received: by 2002:a05:6808:18a4:b0:2da:5b12:840a with SMTP id bi36-20020a05680818a400b002da5b12840amr511330oib.241.1649442335043; Fri, 08 Apr 2022 11:25:35 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id 12-20020a05687012cc00b000de97cc1beesm9285382oam.43.2022.04.08.11.25.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 11:25:34 -0700 (PDT) Received: (nullmailer pid 3815891 invoked by uid 1000); Fri, 08 Apr 2022 18:25:33 -0000 Date: Fri, 8 Apr 2022 13:25:33 -0500 From: Rob Herring To: Philipp Zabel Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , Neil Armstrong , linux-kernel@vger.kernel.org, Luis Oliveira Subject: Re: [PATCH 09/14] dt-bindings: reset: snps,dw-reset: Convert to yaml Message-ID: References: <20220407154338.4190674-1-p.zabel@pengutronix.de> <20220407154338.4190674-9-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220407154338.4190674-9-p.zabel@pengutronix.de> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 07, 2022 at 05:43:33PM +0200, Philipp Zabel wrote: > Convert the device tree bindings for the Synopsys DesignWare reset > controller to YAML schema to allow participating in DT validation. > > Signed-off-by: Philipp Zabel > Cc: Luis Oliveira > --- > .../bindings/reset/snps,dw-reset.txt | 30 ------------- > .../bindings/reset/snps,dw-reset.yaml | 44 +++++++++++++++++++ > 2 files changed, 44 insertions(+), 30 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/reset/snps,dw-reset.txt > create mode 100644 Documentation/devicetree/bindings/reset/snps,dw-reset.yaml > > diff --git a/Documentation/devicetree/bindings/reset/snps,dw-reset.txt b/Documentation/devicetree/bindings/reset/snps,dw-reset.txt > deleted file mode 100644 > index 0c241d4aae76..000000000000 > --- a/Documentation/devicetree/bindings/reset/snps,dw-reset.txt > +++ /dev/null > @@ -1,30 +0,0 @@ > -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 { > - compatible = "snps,dw-low-reset"; > - reg = <0x1000 0x8>; > - #reset-cells = <1>; > - }; > diff --git a/Documentation/devicetree/bindings/reset/snps,dw-reset.yaml b/Documentation/devicetree/bindings/reset/snps,dw-reset.yaml > new file mode 100644 > index 000000000000..f9b36ddc0ea1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/reset/snps,dw-reset.yaml > @@ -0,0 +1,44 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/reset/snps,dw-reset.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Synopsys DesignWare Reset controller > + > +maintainers: > + - Luis Oliveira Mail bounces, needs a new one. > + > +properties: > + compatible: > + enum: > + - snps,dw-high-reset # for active high configuration > + - snps,dw-low-reset # for active low configuration > + > + reg: > + maxItems: 1 > + > + '#reset-cells': > + const: 1 > + > +required: > + - compatible > + - reg > + - '#reset-cells' > + > +additionalProperties: false > + > +examples: > + - | > + dw_rst_1: reset-controller@0000 { > + compatible = "snps,dw-high-reset"; > + reg = <0x0000 0x4>; > + #reset-cells = <1>; > + }; > + > + dw_rst_2: reset-controller@1000 { > + compatible = "snps,dw-low-reset"; > + reg = <0x1000 0x8>; > + #reset-cells = <1>; > + }; > + > -- > 2.30.2 > >