From patchwork Sat May 27 14:12:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Jakubek X-Patchwork-Id: 99850 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp390649vqr; Sat, 27 May 2023 07:55:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5r+Gk7aiXdl2zR58onF3KzfihwwtvIlFuudN2uHS3JRhOlJ5+6+VZK9NI+BB7IJiy7WC7K X-Received: by 2002:a17:90a:db86:b0:255:d628:c69b with SMTP id h6-20020a17090adb8600b00255d628c69bmr5857637pjv.6.1685199302877; Sat, 27 May 2023 07:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685199302; cv=none; d=google.com; s=arc-20160816; b=sHvipL3gY4EV2wEVF1dxw+1WAPNdq9qyfo4/BydfJ/fTmw/64r/YMRq4MU+aC2KQm4 XeFNDosvX5m+gBCxrd0Us3japlY7YgWNs73d+0P1dQNYE4GHxt3IniOlaJdZWfW+b20G RiNC89zVLTLyE2MrLAb2HGKvq5Zwji/xpBfGWNCr1G9YnFQwJt4b+gztuTZ1QONNMY9Q 0RBiqbjbvPdfLWea5RXa9zRd2vUwWSOTZeKZ+op2b7moT4csXaS7gjRPxBjDj8FYpcCR 7l4i4j+D3+8fJgwolIValrtMk3NQ/1O6OinFkHZ7WDIGLd62vUbTm5QJSrNFlsZBJcW8 SFng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=Y73LttJXgXAmHhQ5741s9WbrUG10KAIdhEW2zXBoOQc=; b=vk1hzhgkiIO69L9nRA2XPkCbb55S/3aEjCf+w0GNztdxE+tZzyTx2LrJzMhWG/O006 QBvjirDyGP8hrxTG9vySiWQVEnjpr6Q+/N5WNXld7qP7NZc2ugu3ELe4Tk7s7y9A4HtD FY958bM7BbSFyrslis31ebxIFaZGNaT1r2k0khtSlmxkjAF3awAOE5S1LR8vF07McBjp Zxo7bC+TPp/l2l+CrlbFoJtxIS8tClcKrdFQzp6m/RqepmCJM7lDie8B5RmJlsoPvTRg emdJlOHr2TyaEyTVHFn+3PRxI8Oy8zFjHVAOX6846gzZ5bJIglqnlcX5Y1B0zBrpKg0K d45w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=SSaPjwvb; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ge13-20020a17090b0e0d00b0024c1ddfa1bfsi1196499pjb.92.2023.05.27.07.54.49; Sat, 27 May 2023 07:55:02 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=SSaPjwvb; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232170AbjE0OM3 (ORCPT + 99 others); Sat, 27 May 2023 10:12:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230137AbjE0OM2 (ORCPT ); Sat, 27 May 2023 10:12:28 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAEE8E1; Sat, 27 May 2023 07:12:26 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3f6dfc4e01fso18499375e9.0; Sat, 27 May 2023 07:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685196745; x=1687788745; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=Y73LttJXgXAmHhQ5741s9WbrUG10KAIdhEW2zXBoOQc=; b=SSaPjwvbMG4ZCo291BUkrxKdVuhVg+Wj6kvou/lqhMCj3nP/54QbnaMb7OxpDeo3NU ZoJexsI4K3GBGylrGpIQVv+olEPNxqSZvAl/b6h0/svnjQnDyEjQ2VhYtdtgcqmsWa/N 7bZDcgMlWxoRtRx0Azs4enYz9xTFKuIVDGWGbKp8EMp88hF+L9kGNe9btYiJyHdhQxLP k82dUONAIov4yY1o6SzIHbtCgk3k4X9D6HthCiM+WBAAqcd6d2k2TjYOeIlhOY63Iqbz 69YYGV5/mNgE1IPWDNsnN6p4wiqkJBDFydqaWtVm/nznxcZpMXgWeV/sop3xNdxKsiS8 /GNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685196745; x=1687788745; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Y73LttJXgXAmHhQ5741s9WbrUG10KAIdhEW2zXBoOQc=; b=h5fxcQAO/PggCUAcFCrrAZGbr6qXzcO30HNkMCZ7q7ROXkm0gvRVEOyv4C+kykGuCe xFrpLRHRMQG95MUTw4HH+i1ER/ukPPF1wGtSeUJ1sxnaBL8Kpdky/9fjrqDNu8ojFtio Chalqc9uLTlQIGL28/0XOb0ZzN+iiuC9EsFwpQu9YO3g5p1GxS73ynLdwX783Uk7zD3m TGbJMQ6mvMWpkspS19ZdiFU8H8gNyB6bOJKcEp8sEcBWcJumYLpyFTG9uibF+HhgbVFf ehqgdRrYEjvEg3zxFbv1zhABuQFtVxGC8OvDKZ/ghV+bk2pd1hVL34efDHJ4Kaiz/5GF jtSw== X-Gm-Message-State: AC+VfDyM8c6jKibhIi/zWQn+26BVhvMWzHFKKnoHmdfYOKylnoOG8KZn LB3rKKbpzOgCJu/enCq7Y2E= X-Received: by 2002:a1c:7415:0:b0:3f6:89e:2716 with SMTP id p21-20020a1c7415000000b003f6089e2716mr4510310wmc.33.1685196744886; Sat, 27 May 2023 07:12:24 -0700 (PDT) Received: from standask-GA-A55M-S2HP ([188.123.113.247]) by smtp.gmail.com with ESMTPSA id q21-20020a1ce915000000b003f421979398sm12015239wmc.26.2023.05.27.07.12.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 May 2023 07:12:24 -0700 (PDT) Date: Sat, 27 May 2023 16:12:22 +0200 From: Stanislav Jakubek To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: power: reset: bcm21664-resetmgr: convert to YAML Message-ID: <20230527141222.GA5048@standask-GA-A55M-S2HP> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767059543997120014?= X-GMAIL-MSGID: =?utf-8?q?1767059543997120014?= Convert Broadcom Kona family reset manager bindings to DT schema. Signed-off-by: Stanislav Jakubek Reviewed-by: Conor Dooley Acked-by: Krzysztof Kozlowski Acked-by: Sebastian Reichel --- .../power/reset/brcm,bcm21664-resetmgr.txt | 14 --------- .../power/reset/brcm,bcm21664-resetmgr.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.txt create mode 100644 Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.yaml diff --git a/Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.txt b/Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.txt deleted file mode 100644 index 93f31ca1ef4b..000000000000 --- a/Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.txt +++ /dev/null @@ -1,14 +0,0 @@ -Broadcom Kona Family Reset Manager ----------------------------------- - -The reset manager is used on the Broadcom BCM21664 SoC. - -Required properties: - - compatible: brcm,bcm21664-resetmgr - - reg: memory address & range - -Example: - brcm,resetmgr@35001f00 { - compatible = "brcm,bcm21664-resetmgr"; - reg = <0x35001f00 0x24>; - }; diff --git a/Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.yaml b/Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.yaml new file mode 100644 index 000000000000..3e28a59d718f --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/brcm,bcm21664-resetmgr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona family reset manager + +maintainers: + - Florian Fainelli + +properties: + compatible: + const: brcm,bcm21664-resetmgr + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + reset-controller@35001f00 { + compatible = "brcm,bcm21664-resetmgr"; + reg = <0x35001f00 0x24>; + }; +...