Message ID | 20230620100231.1412582-1-sergio.paracuellos@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3562316vqr; Tue, 20 Jun 2023 03:28:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7+4HSq9iXL0yGwZtfNNTIq+Ig67eJHBuGSF07Wa5rkuc2Wf43LkhrZydcyXpePN+noY37q X-Received: by 2002:a05:6870:3a19:b0:19e:d289:f5c5 with SMTP id du25-20020a0568703a1900b0019ed289f5c5mr2965051oab.33.1687256884760; Tue, 20 Jun 2023 03:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687256884; cv=none; d=google.com; s=arc-20160816; b=CzorkCJwSPZkIgWZeZmOjIULXBqBfxE0oBlF8yh36FF26Z9atnAP9xKmYa7GucV8eO 53Ck6X/dKFYyA9vHV6btQhBMvSloa4NIRLuXN81CXGnaLGyVbwn0Qn7gtFYgqrvh48G9 gB7TqggyzWePC7G4bK+o5EGqAvCEt4PS1RA8PDcGsMmuU179JIiqv1x/ItvLNlE1x8Y3 8P+dIMKsQtUDgqQvuVtLsycztVymYWSNWe+HFpl6uvTipZXf+Og27qiYj5bL9KdaYzzi RNW0wRl2SAbhsBq5vgyb0JoeOkCaBLg0vmvGHdHz1AzqN+P5+2Vve7vLPjtZIEChMltN 4/hA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=EhcdZWoQG0UDwjZKkQk3ltrC5NBGrPI5FQ7NnJ4uB+8=; b=JvByWgtiDwf20RzZ1aZye0XiDnDe4KqnNN44i3W+GYKcEPJL0PUwU0cdlYoUCZRDaH bIqal3ffDs8LRw0WQ2V6y/SyRk/L4ILXsiitbFj7JSar0TdUih2hPk/2sXfI2Zvc/KqQ RFzsSi4yDF7MAzOv822VRxm9WG073Fm1/w3rmcKgJtOkX+BdkVc3VFNZfVMHbE5taTi2 +q8hq6v5CtdE0JDRSSiHvt+EM1mOXJslrRHklFc3GwmzSKOL5SLF/oUc/LZcfJL1xYgj tMT8iD0aBc9HjlHFKgnAS8n+vuEHLoJcJeNW+h6mhu/8aiioz0LrC4ANHLPrfXOyHniP v5lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=H8rc9kUI; 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 t75-20020a63784e000000b0054fe4986366si1404214pgc.342.2023.06.20.03.27.49; Tue, 20 Jun 2023 03:28:04 -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=H8rc9kUI; 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 S230383AbjFTKDd (ORCPT <rfc822;duw91626@gmail.com> + 99 others); Tue, 20 Jun 2023 06:03:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231186AbjFTKDF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 20 Jun 2023 06:03:05 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D36E61716; Tue, 20 Jun 2023 03:02:35 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4f004cc54f4so5965171e87.3; Tue, 20 Jun 2023 03:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687255353; x=1689847353; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EhcdZWoQG0UDwjZKkQk3ltrC5NBGrPI5FQ7NnJ4uB+8=; b=H8rc9kUI9M6VfR4+8RTcunAnXLjel3eAsgUmZdCTL2G4ubYvWyuH8vLFQiusTW1BiZ X4FG7PD+LypL6SKd5yRleie60KX0BPgE/HviDuHUdEYUobw0wMWxDSosk469YuVUlHyD 4VWU0owpnlaucJ9vbreDwnOlEABa1+ZA9BhvyXzGkjQ3ygcoZgW/XJxHpGJIpCek6oZr p3jdnS0X5zeB/5LeN7Ij9A1qf15aEUwnfLemLRRxYJh4oaCGkT4fTW8lkQXby1B7QJgZ Gd/z8FlYfLJY00ctz63VdOld0h4QG4Ktwf3VjK2Xy4QEe+dEU+EM6R53pt6NWaLBHdtf qOYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687255353; x=1689847353; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EhcdZWoQG0UDwjZKkQk3ltrC5NBGrPI5FQ7NnJ4uB+8=; b=Ge6x6jIoxVePcwS0KHtiaoWlvzhar6ziCNY1zoUGZn1RrJOO6HS7g99M0txI2c9UXt MlkmMXXF4JSR0tBHww/J7YPrk+BOnOo6ITdGg2IOu2/6goqJl1c/08EFvtUM/guIpi2V O8SolYJH47UtSFy8h+UtCOw20cUOnDE078AOnk5CnQLghTlKfQPbPWsDYlEPj2yHcnX1 Z+zpRLoYn8jqs/AayowwNJF1vjrGgt2vh+v5iOwlsZr8a0J2juDCQu1WLCygFo4PqTjs z4ikSmoRttu2yUNO1ODNSJbWoW8bUgNPEdQ5MYOFO1h0Au//U4hgM3pfcgfmJm2PG1ej b02w== X-Gm-Message-State: AC+VfDyrc/TFusXVDwD89CBKuwYzr0YFcP4BtE7+/qKUcfjFAQ6wX12+ NfXuBh2UYhYRQC8nCWafZ6WZ37YoomU= X-Received: by 2002:a19:710f:0:b0:4f7:3ee8:eede with SMTP id m15-20020a19710f000000b004f73ee8eedemr7180692lfc.61.1687255353160; Tue, 20 Jun 2023 03:02:33 -0700 (PDT) Received: from localhost.localdomain (61.red-88-10-54.dynamicip.rima-tde.net. [88.10.54.61]) by smtp.gmail.com with ESMTPSA id d2-20020adfe842000000b0031274a184d5sm1608126wrn.109.2023.06.20.03.02.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 03:02:32 -0700 (PDT) From: Sergio Paracuellos <sergio.paracuellos@gmail.com> To: devicetree@vger.kernel.org Cc: daniel.lezcano@linaro.org, tglx@linutronix.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer Date: Tue, 20 Jun 2023 12:02:31 +0200 Message-Id: <20230620100231.1412582-1-sergio.paracuellos@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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, URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769217075139640233?= X-GMAIL-MSGID: =?utf-8?q?1769217075139640233?= |
Series |
[v2] dt-bindings: timer: add Ralink SoCs timer
|
|
Commit Message
Sergio Paracuellos
June 20, 2023, 10:02 a.m. UTC
Add YAML documentation for the timer which is present on Ralink SoCs.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
Changes in v2:
- Remove redundant 'documentation' word from subject.
- Drop clock-names property.
.../bindings/timer/ralink,rt2880-timer.yaml | 44 +++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
Comments
On Tue, 20 Jun 2023 12:02:31 +0200, Sergio Paracuellos wrote: > Add YAML documentation for the timer which is present on Ralink SoCs. > > Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> > --- > Changes in v2: > - Remove redundant 'documentation' word from subject. > - Drop clock-names property. > > .../bindings/timer/ralink,rt2880-timer.yaml | 44 +++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml > Reviewed-by: Rob Herring <robh@kernel.org>
On Thu, Jun 22, 2023 at 3:51 AM Rob Herring <robh@kernel.org> wrote: > > > On Tue, 20 Jun 2023 12:02:31 +0200, Sergio Paracuellos wrote: > > Add YAML documentation for the timer which is present on Ralink SoCs. > > > > Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> > > --- > > Changes in v2: > > - Remove redundant 'documentation' word from subject. > > - Drop clock-names property. > > > > .../bindings/timer/ralink,rt2880-timer.yaml | 44 +++++++++++++++++++ > > 1 file changed, 44 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml > > > > Reviewed-by: Rob Herring <robh@kernel.org> > Thanks! Which tree is this supposed to go through? Best regards, Sergio Paracuellos
On 22/06/2023 07:14, Sergio Paracuellos wrote: > On Thu, Jun 22, 2023 at 3:51 AM Rob Herring <robh@kernel.org> wrote: >> >> >> On Tue, 20 Jun 2023 12:02:31 +0200, Sergio Paracuellos wrote: >>> Add YAML documentation for the timer which is present on Ralink SoCs. >>> >>> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> >>> --- >>> Changes in v2: >>> - Remove redundant 'documentation' word from subject. >>> - Drop clock-names property. >>> >>> .../bindings/timer/ralink,rt2880-timer.yaml | 44 +++++++++++++++++++ >>> 1 file changed, 44 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml >>> >> >> Reviewed-by: Rob Herring <robh@kernel.org> >> > > Thanks! Which tree is this supposed to go through? Preferably clocksource/clockevents/timer drivers tree/ Best regards, Krzysztof
On Thu, Jun 22, 2023 at 8:16 AM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 22/06/2023 07:14, Sergio Paracuellos wrote: > > On Thu, Jun 22, 2023 at 3:51 AM Rob Herring <robh@kernel.org> wrote: > >> > >> > >> On Tue, 20 Jun 2023 12:02:31 +0200, Sergio Paracuellos wrote: > >>> Add YAML documentation for the timer which is present on Ralink SoCs. > >>> > >>> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> > >>> --- > >>> Changes in v2: > >>> - Remove redundant 'documentation' word from subject. > >>> - Drop clock-names property. > >>> > >>> .../bindings/timer/ralink,rt2880-timer.yaml | 44 +++++++++++++++++++ > >>> 1 file changed, 44 insertions(+) > >>> create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml > >>> > >> > >> Reviewed-by: Rob Herring <robh@kernel.org> > >> > > > > Thanks! Which tree is this supposed to go through? > > Preferably clocksource/clockevents/timer drivers tree/ Thanks for letting me know :) Best regards, Sergio Paracuellos > > Best regards, > Krzysztof >
On 20/06/2023 12:02, Sergio Paracuellos wrote: > Add YAML documentation for the timer which is present on Ralink SoCs. > > Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> > --- > Changes in v2: > - Remove redundant 'documentation' word from subject. > - Drop clock-names property. > > .../bindings/timer/ralink,rt2880-timer.yaml | 44 +++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml > > diff --git a/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml b/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml > new file mode 100644 > index 000000000000..daa7832babe3 > --- /dev/null Applied, thanks
diff --git a/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml b/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml new file mode 100644 index 000000000000..daa7832babe3 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/ralink,rt2880-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Timer present in Ralink family SoCs + +maintainers: + - Sergio Paracuellos <sergio.paracuellos@gmail.com> + +properties: + compatible: + const: ralink,rt2880-timer + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + timer@100 { + compatible = "ralink,rt2880-timer"; + reg = <0x100 0x20>; + + clocks = <&sysc 3>; + + interrupt-parent = <&intc>; + interrupts = <1>; + }; +...