Message ID | 20230424123522.18302-6-nikita.shubin@maquefel.me |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2619387vqo; Mon, 24 Apr 2023 02:45:12 -0700 (PDT) X-Google-Smtp-Source: AKy350a8/psw9U/a3DbknvAz0F7ea++fLxpBwFOJ/jnAbb/hEtyvxRodHulv0jNVpdm4Yh3ncbG0 X-Received: by 2002:a05:6a20:4403:b0:f2:b0:68e8 with SMTP id ce3-20020a056a20440300b000f200b068e8mr13932713pzb.3.1682329511765; Mon, 24 Apr 2023 02:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682329511; cv=none; d=google.com; s=arc-20160816; b=bX7Qi/QRIuzq3txso9SwTICrAfeYHDIdd3tdhmTG00X1YV96B+0TJycIgAF9znwrf7 PVIJWezhgs0+ekf4rH4S6t1doaqUURmx6xEzHeleqZPe5B37pVP0lDeEb5KoGAwonWZ/ exFtLK/mKRMcspykf7vXO3MDRgCOI5ajSSHu9lRYSdrrcVXZdsfupKK0eBT3CNeSslju T/nl9RlYlJvWXcHfTDvFCuydVPfj7J7KMC0Bp9XCYDIjHv+Ts8WjK9WGRZkBNuoxmu4B FCCMczW9hxWgjqhKnct8C+CT2tLVeqHUqngZ+3+2YQo91W9J/Uo7NbGj1dvJiOOSFxfw cV9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=hEtxBdyI2HO9wKRIi0w86SPEAP4jiwD5d234QJI8KJM=; b=iUu1/cva4p0LgHorcSgLHbx9tCrJ3bCssgAkjhITkZzO+51t0Aq5VQ11qwZbBCx+H3 epsRsLklIVxB+d77WYRMUGB4CD0QPWpXQWfONj9gzwju3tfsioOz8NLk2OUiPQygGyQA +plap4ymojNx8K+EwcM3KMkXIuY/qb+zv80NDV+IA2tJMm9mAegzxCY+MsBMDAhRc3qn n5LU+KkpZXLf/Qr8CFDdJPaPho5ZSeuogYUTXgTdonqCvMzK4j1uZMVFgRmov+th/emd ustbJSne6ZcAep34trnjzLBNXMOzfZ/M52n8Hk/6B4SPRGinUF0wY9ALYB/qmEXiUn3v LfsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=Pg41pce8; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e25-20020a656499000000b005138574a0e8si10720197pgv.284.2023.04.24.02.44.58; Mon, 24 Apr 2023 02:45: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=fail header.i=@maquefel.me header.s=mail header.b=Pg41pce8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231156AbjDXJnZ (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Mon, 24 Apr 2023 05:43:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjDXJnX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Apr 2023 05:43:23 -0400 Received: from forward500b.mail.yandex.net (forward500b.mail.yandex.net [178.154.239.144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BF6E1BE6; Mon, 24 Apr 2023 02:43:22 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261e:0:640:2e3d:0]) by forward500b.mail.yandex.net (Yandex) with ESMTP id F26065EB6B; Mon, 24 Apr 2023 12:35:39 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-Qivh3H9j; Mon, 24 Apr 2023 12:35:39 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328939; bh=hEtxBdyI2HO9wKRIi0w86SPEAP4jiwD5d234QJI8KJM=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=Pg41pce8J2/HqfIkzznYYKb27LAhjQIPZtMdsv3D+qt7YuC0/8oxQoFXvEn0EqM3W UN8oZZhVzsrAJzCSlh+T+xFIHBcbrZa3nxmvcjspMYDf5nBw9oqWdbsBsCPgbaFX80 6qTLA2T8nbT1YDP1JQXfH+GC6cneDlP2iMEdrdq8= Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin <nikita.shubin@maquefel.me> Cc: Arnd Bergmann <arnd@kernel.org>, Linus Walleij <linusw@kernel.org>, Alexander Sverdlin <alexander.sverdlin@gmail.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Hartley Sweeten <hsweeten@visionengravers.com>, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 05/43] dt-bindings: timers: add DT bindings for Cirrus EP93xx Date: Mon, 24 Apr 2023 15:34:21 +0300 Message-Id: <20230424123522.18302-6-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> 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,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 To: unlisted-recipients:; (no To-header on input) 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?1764050350093596132?= X-GMAIL-MSGID: =?utf-8?q?1764050350093596132?= |
Series |
ep93xx device tree conversion
|
|
Commit Message
Nikita Shubin
April 24, 2023, 12:34 p.m. UTC
This adds device tree bindings for the Cirrus Logic EP93xx
timer block used in these SoCs.
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
---
Notes:
Arnd Bergmann:
- replaced ep93xx wildcard with ep9301
.../bindings/timer/cirrus,ep93xx-timer.yaml | 41 +++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml
Comments
On 24/04/2023 14:34, Nikita Shubin wrote: > This adds device tree bindings for the Cirrus Logic EP93xx > timer block used in these SoCs. > > Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> Subject: drop second/last, redundant "DT bindings for". The "dt-bindings" prefix is already stating that these are bindings. In all patches. > --- > > Notes: > Arnd Bergmann: > - replaced ep93xx wildcard with ep9301 > > .../bindings/timer/cirrus,ep93xx-timer.yaml | 41 +++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml > > diff --git a/Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml b/Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml > new file mode 100644 > index 000000000000..ce8b8a5cb90a > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml > @@ -0,0 +1,41 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/timer/cirrus,ep93xx-timer.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cirrus Logic EP93xx timers bindings Drop "bindings". In all patches. > + > +maintainers: > + - Hartley Sweeten <hsweeten@visionengravers.com> > + - Alexander Sverdlin <alexander.sverdlin@gmail.com> > + > +properties: > + compatible: > + const: cirrus,ep9301-timer > + With two fixes above: Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- This is an automated instruction, just in case, because many review tags are being ignored. If you do not know the process, here is a short explanation: Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply. https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540 Best regards, Krzysztof
On 24/04/2023 14:34, Nikita Shubin wrote: > This adds device tree bindings for the Cirrus Logic EP93xx > timer block used in these SoCs. > > Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> > --- > > Notes: > Arnd Bergmann: > - replaced ep93xx wildcard with ep9301 > > .../bindings/timer/cirrus,ep93xx-timer.yaml | 41 +++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml > > diff --git a/Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml b/Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml > new file mode 100644 > index 000000000000..ce8b8a5cb90a > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml > @@ -0,0 +1,41 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/timer/cirrus,ep93xx-timer.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cirrus Logic EP93xx timers bindings > + > +maintainers: > + - Hartley Sweeten <hsweeten@visionengravers.com> > + - Alexander Sverdlin <alexander.sverdlin@gmail.com> > + > +properties: > + compatible: > + const: cirrus,ep9301-timer 1. Why only one compatible? 2. If this is kept, then filename matching compatible. Best regards, Krzysztof
On 28/04/2023 16:34, Nikita Shubin wrote: > On Tue, 2023-04-25 at 11:29 +0200, Krzysztof Kozlowski wrote: >> On 24/04/2023 14:34, Nikita Shubin wrote: >>> This adds device tree bindings for the Cirrus Logic EP93xx >>> timer block used in these SoCs. >>> >>> Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> >>> --- >>> >>> Notes: >>> Arnd Bergmann: >>> - replaced ep93xx wildcard with ep9301 >>> >>> .../bindings/timer/cirrus,ep93xx-timer.yaml | 41 >>> +++++++++++++++++++ >>> 1 file changed, 41 insertions(+) >>> create mode 100644 >>> Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/timer/cirrus,ep93xx- >>> timer.yaml b/Documentation/devicetree/bindings/timer/cirrus,ep93xx- >>> timer.yaml >>> new file mode 100644 >>> index 000000000000..ce8b8a5cb90a >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/timer/cirrus,ep93xx- >>> timer.yaml >>> @@ -0,0 +1,41 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/timer/cirrus,ep93xx-timer.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: Cirrus Logic EP93xx timers bindings >>> + >>> +maintainers: >>> + - Hartley Sweeten <hsweeten@visionengravers.com> >>> + - Alexander Sverdlin <alexander.sverdlin@gmail.com> >>> + >>> +properties: >>> + compatible: >>> + const: cirrus,ep9301-timer >> >> 1. Why only one compatible? >> 2. If this is kept, then filename matching compatible. > > I should rename the file to cirrus,ep9301-timer.yaml No, at least no yet. See point 1. Best regards, Krzysztof
On Tue, 2023-04-25 at 11:29 +0200, Krzysztof Kozlowski wrote: > On 24/04/2023 14:34, Nikita Shubin wrote: > > This adds device tree bindings for the Cirrus Logic EP93xx > > timer block used in these SoCs. > > > > Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> > > --- > > > > Notes: > > Arnd Bergmann: > > - replaced ep93xx wildcard with ep9301 > > > > .../bindings/timer/cirrus,ep93xx-timer.yaml | 41 > > +++++++++++++++++++ > > 1 file changed, 41 insertions(+) > > create mode 100644 > > Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml > > > > diff --git a/Documentation/devicetree/bindings/timer/cirrus,ep93xx- > > timer.yaml b/Documentation/devicetree/bindings/timer/cirrus,ep93xx- > > timer.yaml > > new file mode 100644 > > index 000000000000..ce8b8a5cb90a > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/timer/cirrus,ep93xx- > > timer.yaml > > @@ -0,0 +1,41 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/timer/cirrus,ep93xx-timer.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Cirrus Logic EP93xx timers bindings > > + > > +maintainers: > > + - Hartley Sweeten <hsweeten@visionengravers.com> > > + - Alexander Sverdlin <alexander.sverdlin@gmail.com> > > + > > +properties: > > + compatible: > > + const: cirrus,ep9301-timer > > 1. Why only one compatible? > 2. If this is kept, then filename matching compatible. I should rename the file to cirrus,ep9301-timer.yaml > > Best regards, > Krzysztof >
diff --git a/Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml b/Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml new file mode 100644 index 000000000000..ce8b8a5cb90a --- /dev/null +++ b/Documentation/devicetree/bindings/timer/cirrus,ep93xx-timer.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/cirrus,ep93xx-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic EP93xx timers bindings + +maintainers: + - Hartley Sweeten <hsweeten@visionengravers.com> + - Alexander Sverdlin <alexander.sverdlin@gmail.com> + +properties: + compatible: + const: cirrus,ep9301-timer + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + timer@80810000 { + compatible = "cirrus,ep9301-timer"; + reg = <0x80810000 0x100>; + interrupt-parent = <&vic1>; + interrupts = <19>; + }; +...