Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp38434pxh; Thu, 7 Apr 2022 13:16:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeY9olCLeo9lS4PrulMKYR5Y268aR1fBm/X1GL+m/cofTuCQjXwLD/ghNyl+j090Lv3CcC X-Received: by 2002:a17:90a:4581:b0:1bc:d215:8722 with SMTP id v1-20020a17090a458100b001bcd2158722mr17581557pjg.149.1649362584621; Thu, 07 Apr 2022 13:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649362584; cv=none; d=google.com; s=arc-20160816; b=djEiD3BoFPNVZFkp/RHqYWzg0U2Sw5ZqbXyPZJ51EPA4Oph/ep42UDSYD8Gbu3VBfh 3WTyWVx5R2mnC2HH+hhgMBsAhGezvLS3sQDCIBmaYUcGXdSCTXXEFtZxMgN235nQ9fep qpdMgjuW1Dmc2J2RkPW2RE+r8djtipv+SH6Ge1qqUJPbKGRH3BTjRWtMZbrmG9pDBhN+ J5dnMv4pzRKTyTW3ua/Bgpmv5BVMwUGAf7TYco7hBI+8tabgGQlz0XL+tehMepXgU0ra 1u9SBfp5zDcaAsyFIx3jxterQ78oFR7Y6VUHcqecwqvh1oJmDh/rqHYjr1fxBy5uPfjB gdjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=P29oPw51ezogq9PYrb84e6WVdGWwBvPlinr765lcj8M=; b=sYfYFbrXA4MFnZwAkfPsPMgYc5yqDnwc0QcXTdHvm63IieZ4qCWRFDeXbNQ/ys4q9S JSP94RBDTmFVPMM73GAZU5PPOk1CU6FtEAiBKj0sr6FdWd8Yr6pXWuLc74xyjZZ8Agkx wqUUDKYY28mO5SWIsXH83QQ4Rm1qHgR8anqIy5fKerhw1LBCb+XFRmZmrWoPjkDpAZ6N OhbU9PwBSiOEIajAciYeXswyoKFhGY/l02thcWnWvYXu6nYPsFraYeZbeBlasZ7WrytY q0/NrqY0ZNuuoW3gCQFwD/ZEM0Mcx1YbnlN2+K5sFZb3kGe+syZkxTRZnPUv8MnVYWlS n9YA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b16-20020a056a000a9000b004fade889fd0si20401257pfl.15.2022.04.07.13.16.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:16:24 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A9BC82F495F; Thu, 7 Apr 2022 12:36:22 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345089AbiDGPqb (ORCPT + 99 others); Thu, 7 Apr 2022 11:46:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345022AbiDGPqM (ORCPT ); Thu, 7 Apr 2022 11:46:12 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54B6BC1C8E for ; Thu, 7 Apr 2022 08:44:05 -0700 (PDT) Received: from dude03.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::39]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ncUIi-0007bF-9K; Thu, 07 Apr 2022 17:44:00 +0200 From: Philipp Zabel To: devicetree@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 04/14] dt-bindings: reset: bitmain,bm1880-reset: Convert to yaml Date: Thu, 7 Apr 2022 17:43:28 +0200 Message-Id: <20220407154338.4190674-4-p.zabel@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220407154338.4190674-1-p.zabel@pengutronix.de> References: <20220407154338.4190674-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::39 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,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 Convert the device tree bindings for the Bitmain BM1880 reset controller to YAML schema to allow participating in DT validation. Signed-off-by: Philipp Zabel Cc: Manivannan Sadhasivam --- .../bindings/reset/bitmain,bm1880-reset.txt | 18 ---------- .../bindings/reset/bitmain,bm1880-reset.yaml | 36 +++++++++++++++++++ 2 files changed, 36 insertions(+), 18 deletions(-) delete mode 100644 Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.txt create mode 100644 Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.yaml diff --git a/Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.txt b/Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.txt deleted file mode 100644 index a6f8455ae6c4..000000000000 --- a/Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.txt +++ /dev/null @@ -1,18 +0,0 @@ -Bitmain BM1880 SoC Reset Controller -=================================== - -Please also refer to reset.txt in this directory for common reset -controller binding usage. - -Required properties: -- compatible: Should be "bitmain,bm1880-reset" -- reg: Offset and length of reset controller space in SCTRL. -- #reset-cells: Must be 1. - -Example: - - rst: reset-controller@c00 { - compatible = "bitmain,bm1880-reset"; - reg = <0xc00 0x8>; - #reset-cells = <1>; - }; diff --git a/Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.yaml b/Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.yaml new file mode 100644 index 000000000000..f0aca744388c --- /dev/null +++ b/Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 Manivannan Sadhasivam +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/reset/bitmain,bm1880-reset.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Bitmain BM1880 SoC Reset Controller + +maintainers: + - Manivannan Sadhasivam + +properties: + compatible: + const: bitmain,bm1880-reset + + reg: + maxItems: 1 + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - "#reset-cells" + +additionalProperties: false + +examples: + - | + rst: reset-controller@c00 { + compatible = "bitmain,bm1880-reset"; + reg = <0xc00 0x8>; + #reset-cells = <1>; + }; -- 2.30.2