From patchwork Thu Jun 1 05:33:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 101714 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp70918vqr; Wed, 31 May 2023 22:46:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qnm1+4kijWh5OUCHQzV06+Rj8XlZVhw1YWTWqAi8zpV6931S/kTxc7J0uXaDaecBNIRHK X-Received: by 2002:aca:6155:0:b0:397:f86d:3024 with SMTP id v82-20020aca6155000000b00397f86d3024mr5991456oib.15.1685598399089; Wed, 31 May 2023 22:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685598399; cv=none; d=google.com; s=arc-20160816; b=bQE/5Q0ZDzl8AFkLT3+9rVTXy3Zsb3Hf/ust+AyH/B1cYfbITJ2bUnrAZtVXmfry93 dwUdNsHiwxxZsRQjU4WQ1lHahUYT+5gSXaD5WHuhOyQ50x1ZS2GhY06Q0O8asYG4Q7Si eOccruCxMa6M8mz8TE9yCgl4tNbZ70RLDbORAOSqMf02Vt209V7iAZqAT/FnKXf79noM 0L71ARudFCAnw48gviAy9gCf6U+ki97Q0XJP5NDgoGXLPBlDCN7M06CIiE+9z4xBy/sw S/JkSOGLTwWpaqyfxyPlVDWgbZd48W+c4okmzWJsi2VEWc2V7+RdstL+aIDDAxfBbpba +Bsw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VatStSR66GucNc5hVUrQNwqWDpGGl1rlhns6r178kkM=; b=p9AQ10+duCxD5IGuTM5HN7Q+Kr//yTBUAoa4XjiDgYOahFxt1i8UhMgrlhlkvMOxyf oQnUlgYyFhDGXdASjYM4cYPK2e0msdfntuOQpG8fc8Yrht3JKYr68xWXJCpJwdrc2o0S dikfozMVBhZMJVZ0+lPMOnGrQGlZCYlZY4ZMcQ0osFhMyS1huxdXj3GtLIP6oZt8uiYH 6m/z7UL5UOZWsY1Hx9XFEle62AMup2FTMUwe4fnQ+Gi8x7PQ9mYtA83CWNZJfXVQFQX5 eneHpegzs+JqYkvpN41FqY1kRy9GCD2bUoBtVjiK+jybfZJ/d9I71sJZhLbwjdqggQd6 HQsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=eeu24hSj; 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 x21-20020aa79ad5000000b0064ad90e94easi4822894pfp.194.2023.05.31.22.46.27; Wed, 31 May 2023 22:46:39 -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=@maquefel.me header.s=mail header.b=eeu24hSj; 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 S231398AbjFAFht (ORCPT + 99 others); Thu, 1 Jun 2023 01:37:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230467AbjFAFhh (ORCPT ); Thu, 1 Jun 2023 01:37:37 -0400 Received: from forward103c.mail.yandex.net (forward103c.mail.yandex.net [IPv6:2a02:6b8:c03:500:1:45:d181:d103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF0218C; Wed, 31 May 2023 22:37:05 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:c83:0:640:84f9:0]) by forward103c.mail.yandex.net (Yandex) with ESMTP id 2B2C2600DA; Thu, 1 Jun 2023 08:37:04 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id OaGNfZvWv8c0-OHBZTyTv; Thu, 01 Jun 2023 08:37:03 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1685597823; bh=VatStSR66GucNc5hVUrQNwqWDpGGl1rlhns6r178kkM=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=eeu24hSjn422AAJ0Cd8fpSKtfTaL5kQtg5tDkOnJnog5dw4SUWPAXLzdqT2YPlcPC JOMo3bM7xF8tkMWxSaL1bHksCU6Zz+rlWxii+gE600bYmjpoG/kDCuxv71FrlHmExa RPuYkXUIcYE3u5YbMMt4kaBfHoxoSCdvSd/ObszU= Authentication-Results: mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin To: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Nikita Shubin Cc: Michael Peters , Kris Bahnsen , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v1 08/43] dt-bindings: timers: Add Cirrus EP93xx Date: Thu, 1 Jun 2023 08:33:59 +0300 Message-Id: <20230601053546.9574-9-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.37.4 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,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?1767478026910420363?= X-GMAIL-MSGID: =?utf-8?q?1767478026910420363?= 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: v0 -> v1: - as Hartley (unfortunately) looks like not interested in dt rework, added myself instead Krzysztof Kozlowski: - removed wildcards - use fallback compatible and list all possible compatibles - fix ident - dropped bindings in title .../bindings/timer/cirrus,ep9301-timer.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/cirrus,ep9301-timer.yaml diff --git a/Documentation/devicetree/bindings/timer/cirrus,ep9301-timer.yaml b/Documentation/devicetree/bindings/timer/cirrus,ep9301-timer.yaml new file mode 100644 index 000000000000..e463e11e259d --- /dev/null +++ b/Documentation/devicetree/bindings/timer/cirrus,ep9301-timer.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/cirrus,ep9301-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic EP93xx timer + +maintainers: + - Alexander Sverdlin + - Nikita Shubin + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-timer + - items: + - enum: + - cirrus,ep9302-timer + - cirrus,ep9307-timer + - cirrus,ep9312-timer + - cirrus,ep9315-timer + - 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>; + }; +...