From patchwork Mon Apr 24 12:34:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 86924 Return-Path: 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 + 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 ); 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 Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Hartley Sweeten , 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 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: 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?= This adds device tree bindings for the Cirrus Logic EP93xx timer block used in these SoCs. Signed-off-by: Nikita Shubin Reviewed-by: Krzysztof Kozlowski --- 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 + - Alexander Sverdlin + +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>; + }; +...