Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15875284rwd; Mon, 26 Jun 2023 02:32:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LKJi9gNXkRnLGU/O/zaFF/nWUPzBTQWO0Uu3hKrgbAZzaM1JinLYqZw6tCkXOhBf5Qk6r X-Received: by 2002:a17:902:7781:b0:1b3:f5c7:4e75 with SMTP id o1-20020a170902778100b001b3f5c74e75mr2413135pll.58.1687771931832; Mon, 26 Jun 2023 02:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687771931; cv=none; d=google.com; s=arc-20160816; b=KqXog0pSy/Wy273kRd3p5A6N4/81D6olg4NMBb926T0zFpP2uxyjtcZ0yCFFSvKxiB 6L9Wc8oewaqNmp9MPT1tJLInrOcm07coB6pD78iZBRKCZa4fZhJC2tYdDu/0bmBwXo5n 3yZO92LiPZNOM1j4MmCgu/mjFK0N9ERFgYMAAAIvmn4gNCt+dmpHYN3dDOVGAvfTFwms 4Z3nicO49TF+SYxQB8aeE4ecVgFYDc6NIdQwZ8iZrZ+sREwC9poe1726Qu0ztM6b2/XP qFrjrMrofmoE001XKRe97N24qFq9D8eIMPXnNkk3rlGLUdfnpIPVF3oLUr5PbgygS3ba 9yBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=I2ekPGZx4yrFXTeInvVwLDdUQShBzF0h2p1JV7OJ41o=; fh=fwPaUP8bAoJ3z3oi76NcC1Uf+HSvVihPRsSyWyjzENE=; b=XWII0a8eKYM0SeGqRGtZ6cgYCl9fDf3poVEg9gH3xdvxuNrCDXt/vaZlIvPJqR/iG2 YdoD8nlbGAZ1p+dAuNtvDtKJqhpUVtEXDCAVdK+NC/2oVqt2ddVspEZhHpnxFzHav17E a9BMmxrT4yktycciPkIF4+/JqYqFFuLN6aLdMN/DgoRaCsj6UZE8P5LjxjBn717FD8PO 2W5Fo+2TFXWkWGhKB+/I+BHZff95pbEOAkcZk0jKlQvowqM8Egra/s1RUVgx9e1suGaF caqjs8NKc6PB4WK4eCqSZaI1b9eppP00XLPSV6SsWQO8pfU6/S1AQTbMJOlFqjGpdFW3 WYQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=J00GZvzI; dkim=neutral (no key) header.i=@linutronix.de; 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=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g3-20020a1709026b4300b001b811b9d416si58323plt.578.2023.06.26.02.32.00; Mon, 26 Jun 2023 02:32:11 -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=@linutronix.de header.s=2020 header.b=J00GZvzI; dkim=neutral (no key) header.i=@linutronix.de; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229806AbjFZJOB (ORCPT + 99 others); Mon, 26 Jun 2023 05:14:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbjFZJNL (ORCPT ); Mon, 26 Jun 2023 05:13:11 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8D23D1; Mon, 26 Jun 2023 02:11:38 -0700 (PDT) Date: Mon, 26 Jun 2023 09:11:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1687770697; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I2ekPGZx4yrFXTeInvVwLDdUQShBzF0h2p1JV7OJ41o=; b=J00GZvzIKlnsJwL/1MKB/gXwxzuWPGZU9KDQZ2VHCV7re2T03Dxm1alN2MT06zp/pEobPU kcIO7tmo9gPiDUWFSz7LNt6EdyaCKAedrCQMaQfmFf0/2sEmLpZ3LhPBoXpJH34Hh0ftFj lmPO+Gr/H/mBM9Uks4LA0sKHr5bIIwrqeN/X9QRM9AGKJkxibYv0hped3yzaoNXyWeZZyk YEpPGYiq+XhH1eK8QdYqEBV0runwVYEoGIMTo22acQgUdggEH9fIRDzx0QipDOfOoW+ydk TxqKQg3FBvgJCAlg3jVzDihO1MoJ8YyvjebHF1ksdGmHr1o4NCj7ir18TDVgTQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1687770697; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I2ekPGZx4yrFXTeInvVwLDdUQShBzF0h2p1JV7OJ41o=; b=KjfrVVN6hLi9D96Q8f9XY66HdZscFJHn82T5Bi87IF8OA2k7vKK3SQvPH1xZmMlOrxv50J +q0PX46D4o17DtCQ== From: "tip-bot2 for Stanislav Jakubek" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] dt-bindings: timer: brcm,kona-timer: convert to YAML Cc: Stanislav Jakubek , Krzysztof Kozlowski , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230618144635.GA22166@standask-GA-A55M-S2HP> References: <20230618144635.GA22166@standask-GA-A55M-S2HP> MIME-Version: 1.0 Message-ID: <168777069704.404.13055618719527078493.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 The following commit has been merged into the timers/core branch of tip: Commit-ID: 038d454ad996a5e275d46188d65d890d2a243f36 Gitweb: https://git.kernel.org/tip/038d454ad996a5e275d46188d65d890d2a243f36 Author: Stanislav Jakubek AuthorDate: Sun, 18 Jun 2023 16:46:35 +02:00 Committer: Daniel Lezcano CommitterDate: Fri, 23 Jun 2023 09:33:43 +02:00 dt-bindings: timer: brcm,kona-timer: convert to YAML Convert Broadcom Kona family timer bindings to DT schema. Changes during conversion: - drop deprecated compatible (it's been deprecated for ~10 years) Signed-off-by: Stanislav Jakubek Reviewed-by: Krzysztof Kozlowski Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20230618144635.GA22166@standask-GA-A55M-S2HP --- Documentation/devicetree/bindings/timer/brcm,kona-timer.txt | 25 +--- Documentation/devicetree/bindings/timer/brcm,kona-timer.yaml | 52 +++++++- 2 files changed, 52 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/brcm,kona-timer.txt create mode 100644 Documentation/devicetree/bindings/timer/brcm,kona-timer.yaml diff --git a/Documentation/devicetree/bindings/timer/brcm,kona-timer.txt b/Documentation/devicetree/bindings/timer/brcm,kona-timer.txt deleted file mode 100644 index 39adf54..0000000 --- a/Documentation/devicetree/bindings/timer/brcm,kona-timer.txt +++ /dev/null @@ -1,25 +0,0 @@ -Broadcom Kona Family timer ------------------------------------------------------ -This timer is used in the following Broadcom SoCs: - BCM11130, BCM11140, BCM11351, BCM28145, BCM28155 - -Required properties: -- compatible : "brcm,kona-timer" -- DEPRECATED: compatible : "bcm,kona-timer" -- reg : Register range for the timer -- interrupts : interrupt for the timer -- clocks: phandle + clock specifier pair of the external clock -- clock-frequency: frequency that the clock operates - -Only one of clocks or clock-frequency should be specified. - -Refer to clocks/clock-bindings.txt for generic clock consumer properties. - -Example: - timer@35006000 { - compatible = "brcm,kona-timer"; - reg = <0x35006000 0x1000>; - interrupts = <0x0 7 0x4>; - clocks = <&hub_timer_clk>; - }; - diff --git a/Documentation/devicetree/bindings/timer/brcm,kona-timer.yaml b/Documentation/devicetree/bindings/timer/brcm,kona-timer.yaml new file mode 100644 index 0000000..d6af838 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/brcm,kona-timer.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/brcm,kona-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona family timer + +maintainers: + - Florian Fainelli + +properties: + compatible: + const: brcm,kona-timer + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-frequency: true + +oneOf: + - required: + - clocks + - required: + - clock-frequency + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + #include + + timer@35006000 { + compatible = "brcm,kona-timer"; + reg = <0x35006000 0x1000>; + interrupts = ; + clocks = <&aon_ccu BCM281XX_AON_CCU_HUB_TIMER>; + }; +...