From patchwork Tue Dec 12 09:34:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergio Paracuellos X-Patchwork-Id: 177201 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp7607899vqy; Tue, 12 Dec 2023 01:34:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEQ5L95Y9d8dErhHp6doamxCYWmxaGQzvRQZkqiBF0P+rQK5vD16HeSy4QAymoKQcmAKq+ X-Received: by 2002:a05:6a20:4306:b0:190:38cf:15b5 with SMTP id h6-20020a056a20430600b0019038cf15b5mr9016236pzk.20.1702373695826; Tue, 12 Dec 2023 01:34:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702373695; cv=none; d=google.com; s=arc-20160816; b=xcv29y6WVDr5oS6A/W5bn00F22CCe5Pa3nsE0KOrUwlF2KT9PxHAwnEdnMjHB+FgDI ZUaoTxwYq+Y7/zYAS/Y1G6uLtznwMFJ6avkgyQO14MnEeW04CgaLhOFxWTiuBr7a4lb4 0H/fdWzPORISgGvOXgZlQHxEVCFAfuhqGg57l7k2DJMYb4AzZ5jURtkzm75GwLw87b6e 4czuK1olsiO4SoWNDJ7TBuMVHvNp4UOpmb64x6CLuS3PHmF15kSC2iiJ/EAYZkTnU6TY TLRQcEMnsMTnjzG2w2thya7LAj2DXnePnPh411tvMswn7nivb59jdn2jdrk0a7oHC0E1 biqg== 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=ZlLSLEWUd1/iq+JA+Lsz6BXe+7Zz+SmGu5k5JTmZh/M=; fh=MP/Fj3Sf0Ga7v2ToqIilbjtNf9Mk8UU3wlWeMMGiLOs=; b=vcONpTfWM63TtaQO/PNHOlde4AKFvVqe2gl2CYXKKsJT228viHKGQns1W1ccr+s07w Mil1aRhJBLK7zRTOVfPMGoIeEx13asZSaytl1p3AbGfGSktcQw1eg+oZPXdby7paYXJG bo+fzTVLW/1W1IwEXACsOMa+X7X8cfEzX7PBzrU9WHsUYmmpNFalWhtpnMYy8atCW9J3 E0HHXuyXswDuHJiVO4VZPZtz11/EnwSlnUyRMjbIUG6EAQPKHAqhLv5Ymg0hr9SZrQti P+/jXeydYNjhoTw7oN+mDHdcYUvYsXTjYElQPoueGePhrM6nKWn1JGN1hmFadMmF2a/I n6TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dziLiuQw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u6-20020a63df06000000b005c6045987a1si7381574pgg.7.2023.12.12.01.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 01:34:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dziLiuQw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 456BB80BE7F3; Tue, 12 Dec 2023 01:34:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230032AbjLLJen (ORCPT + 99 others); Tue, 12 Dec 2023 04:34:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjLLJel (ORCPT ); Tue, 12 Dec 2023 04:34:41 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 155E1CE; Tue, 12 Dec 2023 01:34:48 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40c3ceded81so29403505e9.1; Tue, 12 Dec 2023 01:34:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702373686; x=1702978486; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZlLSLEWUd1/iq+JA+Lsz6BXe+7Zz+SmGu5k5JTmZh/M=; b=dziLiuQw8OE8cdPTs5eADjydLM8EhU5N1fIsX4tzG1KXy5nWWxuJ5Njj1X8cAZilB/ pyyXrahp4GdZAM83zFLMPL40aDRupV336CaxmyneSlp+T/H1QfhPX2pn2OVYYF2eweYI N0w2t3A+B1vUoUPgbY5AZykEQCahaHOxo2PqTeCxDW8oUV/B8sKDtumemluUeix5zgP8 umHMYLzRlFwI3bbjC/An8zq8Polgk0fwtXU4nn7Sj2kTLQ4dMRNQiEoUgJPBH6YAttAG lp8zPlO/AY2wAnM/WhHNSgK3DOAZsSTkxccueCeZUefvx4q2TlWpqhSTy7hzxfRN/isp 7rzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702373686; x=1702978486; 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=ZlLSLEWUd1/iq+JA+Lsz6BXe+7Zz+SmGu5k5JTmZh/M=; b=eWOa8tR8IwE3PI4mhLqH1D/7IL62drPq9OmdQUiD3WzGto0PjVWLTf98LtaW0iOuaK BTqbdYkD8kxVB6hlU8ypLLXc6I0NKRvqn4RZxSrmNjhxK1yfyfHV44ZZcwXuIsM6iSeZ HjA20quuUO2Ta1TJlWxHVaMHFoV573xzn5qlSlz0BYSXClYwpAq92sxfupEgBiEJah3h /ufhU879me7E0QaIkXC+A9ztGzvalkCI3FsmYJBc7zuADatsgW31yRyQwza56xtb5PVl 2dXAX8nhK/B8Bl03LTEsU08T9ivNsHHpBe/DeMFWv/9jPVl1MDMm+pyHQNwh5D5FtsS5 BmSQ== X-Gm-Message-State: AOJu0YwIwsT0+Ax1kp+SCdelyVCGFzlFhuj2g8X45NIlmipF6kNRDJ1O ItZbJJ9XrOSP5X9JeZyqAKoDOLajbOM= X-Received: by 2002:a05:600c:601c:b0:40c:3984:4975 with SMTP id az28-20020a05600c601c00b0040c39844975mr2943686wmb.95.1702373685821; Tue, 12 Dec 2023 01:34:45 -0800 (PST) Received: from localhost.localdomain (141.red-88-10-53.dynamicip.rima-tde.net. [88.10.53.141]) by smtp.gmail.com with ESMTPSA id v6-20020a05600c444600b0040c4886f254sm6009578wmn.13.2023.12.12.01.34.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 01:34:45 -0800 (PST) From: Sergio Paracuellos To: devicetree@vger.kernel.org Cc: tglx@linutronix.de, daniel.lezcano@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [RESEND PATCH v2] dt-bindings: timer: add Ralink SoCs system tick counter Date: Tue, 12 Dec 2023 10:34:43 +0100 Message-Id: <20231212093443.1898591-1-sergio.paracuellos@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 12 Dec 2023 01:34:52 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785068200207338185 X-GMAIL-MSGID: 1785068200207338185 Add YAML doc for the system tick counter which is present on Ralink SoCs. cc: Daniel Lezcano Reviewed-by: Rob Herring Signed-off-by: Sergio Paracuellos --- Changes in v2 RESEND: - Add Daniel Lezcano to CC in the patch itself. Changes in v2: - Add Rob's Reviewed-by tag. v1: https://lore.kernel.org/lkml/CAMhs-H_9kAdOfR-RaJWqAq6d3S3DXtKJqWy-EWCu0-ZjWKB9Sw@mail.gmail.com/T/#re9225265416ca8463c5f06d736f9834ae75efe0c I am sending this with Rob's RB added since I ping for the v1 multiple times without response. So I can be missing something or the patch is lost for any reason. Thanks! .../bindings/timer/ralink,cevt-systick.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml diff --git a/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml b/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml new file mode 100644 index 000000000000..59d97feddf4e --- /dev/null +++ b/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/ralink,cevt-systick.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: System tick counter present in Ralink family SoCs + +maintainers: + - Sergio Paracuellos + +properties: + compatible: + const: ralink,cevt-systick + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + systick@d00 { + compatible = "ralink,cevt-systick"; + reg = <0xd00 0x10>; + + interrupt-parent = <&cpuintc>; + interrupts = <7>; + }; +...