From patchwork Mon Jun 26 09:11:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 112824 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7357421vqr; Mon, 26 Jun 2023 02:42:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5TdzxNMo9Bviw70FZAyyH9MMoPveCkuyLvMYJJrl9S/+7E3zySDW7f9LiKDh3kWSEyP+Us X-Received: by 2002:a17:907:3687:b0:982:501a:62be with SMTP id bi7-20020a170907368700b00982501a62bemr22820647ejc.39.1687772531721; Mon, 26 Jun 2023 02:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687772531; cv=none; d=google.com; s=arc-20160816; b=P02qFjqiTd56KgBfwseWN3MsXEyf3QoS64Nkc0x7BK7lGew4Q4nl3aUdt0B2tfIXcb YTjD/9HSRzeMbXScf6DyPAEa5LGR/wAIYeq8VezxDCKCDU+tPLc2aj/UBXnnNfaaqnAz xhFJGR2x1FT2q7tCtxq9dZW1rx88Z3s54RIzl1G0/fRi85JXKGI4y5CwS2+6K11AhoZd h2POoqjC9u6/YcCIlY3F8m9Y4jTA7Fqq7IDBd18kEUStAhg6znLHpEuqeSSzoX9/4hAd o/+Xs422frVLSdOl/9P6lAhF/1zT0eD6iKfVCDaNyp1MR2nwZrPNAMgIruLkXIlVdcv8 JZug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=8U6HqRIVCmdFTK2bG+jKp3mqwOBDyQxzcI+oyYrBZzk=; fh=udKwOucYOfm6gLm1t8Kz9XwRoGUzZkVr1jpsfX7qY/g=; b=MMfYaqpSHFAP81HasmlLRSL4P0PH/4JZvbjMLZA7EISYd3c1ZfrBrcWttmD4HXqpIX +0fLgBqah/qzPaLk/7BhchxFpXdxS1D/2i8CAfOAUerIaVZLU2zPrjqLo+HwxqoEffWz BUYUWOkcXfTDl8tN9hFNGaBcdu4A32J4wqwnfBov2PC8GRwMyaM0JApGVcBZFU8NH9BF DuPeQZuHsNMcVckf9o4XqGFmSUw1/TDbp1cMH5rRntYJMVavjh/18XEuFninRUru/CFV C0AcAZRyyGd11Hhk8F6jJ8oR6PGHIiwvbEQcdlFNhixZFqkezYPuhNGc3RRofWVE60gX 2zpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=krHrUkWy; dkim=neutral (no key) header.i=@linutronix.de; 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=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g27-20020a170906349b00b0098e11871f61si2101133ejb.372.2023.06.26.02.41.47; Mon, 26 Jun 2023 02:42: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=pass header.i=@linutronix.de header.s=2020 header.b=krHrUkWy; dkim=neutral (no key) header.i=@linutronix.de; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229573AbjFZJOP (ORCPT + 99 others); Mon, 26 Jun 2023 05:14:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjFZJNN (ORCPT ); Mon, 26 Jun 2023 05:13:13 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7B8FE6; Mon, 26 Jun 2023 02:11:40 -0700 (PDT) Date: Mon, 26 Jun 2023 09:11:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1687770699; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8U6HqRIVCmdFTK2bG+jKp3mqwOBDyQxzcI+oyYrBZzk=; b=krHrUkWyZbF+kEVD3vyBaV52tKjPWvgdCuInBIkdTgIeUJHFRnyaTcJmuumwnpNuigE2hd eCn2rdj7/dCfmsnZkQn9mkZFWEcnFK+ghiyOiyVSMDfci0Vyxl7phEyZCrjeOEjG8c+tlk Kttp9lDgks8EIjsh7q8DgucsINHSHGYpF5JYEe2fhXogHDLhcUBXnr1vVEnNcCrSzJGY5W cwM/llrp6mI0a3lZyvMsWDNNCwJrUJom1RuxjC21Y+kdHMoD5vZQtMcB9loK8nXfjcA08y 9+WVkI0bQhyHnXNllm6LqdmEKkNo/OOksNwWyKR7yD4GStUnPS0s1T+mlDz+LQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1687770699; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8U6HqRIVCmdFTK2bG+jKp3mqwOBDyQxzcI+oyYrBZzk=; b=f2jNQfn8/8zIX3jjG3lhRVfNE5ePy03BLylGJu3kTH54YanWN/aRDWbwtaN57BswpFSfFw fKWDPlI/Jbk+nvDw== From: "tip-bot2 for Keguang Zhang" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] dt-bindings: timer: Add Loongson-1 clocksource Cc: Keguang Zhang , Krzysztof Kozlowski , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230512103724.587760-3-keguang.zhang@gmail.com> References: <20230512103724.587760-3-keguang.zhang@gmail.com> MIME-Version: 1.0 Message-ID: <168777069909.404.17882663079174570164.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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?1765685302844532264?= X-GMAIL-MSGID: =?utf-8?q?1769757769834172125?= The following commit has been merged into the timers/core branch of tip: Commit-ID: b25efff2a63f0d573f409f22e82904db9cc7d577 Gitweb: https://git.kernel.org/tip/b25efff2a63f0d573f409f22e82904db9cc7d577 Author: Keguang Zhang AuthorDate: Fri, 12 May 2023 18:37:23 +08:00 Committer: Daniel Lezcano CommitterDate: Mon, 19 Jun 2023 17:06:55 +02:00 dt-bindings: timer: Add Loongson-1 clocksource Add devicetree binding document for Loongson-1 clocksource. Signed-off-by: Keguang Zhang Reviewed-by: Krzysztof Kozlowski Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20230512103724.587760-3-keguang.zhang@gmail.com --- Documentation/devicetree/bindings/timer/loongson,ls1x-pwmtimer.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/loongson,ls1x-pwmtimer.yaml diff --git a/Documentation/devicetree/bindings/timer/loongson,ls1x-pwmtimer.yaml b/Documentation/devicetree/bindings/timer/loongson,ls1x-pwmtimer.yaml new file mode 100644 index 0000000..ad61ae5 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/loongson,ls1x-pwmtimer.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/loongson,ls1x-pwmtimer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-1 PWM timer + +maintainers: + - Keguang Zhang + +description: + Loongson-1 PWM timer can be used for system clock source + and clock event timers. + +properties: + compatible: + const: loongson,ls1b-pwmtimer + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + clocksource: timer@1fe5c030 { + compatible = "loongson,ls1b-pwmtimer"; + reg = <0x1fe5c030 0x10>; + + clocks = <&clkc LS1X_CLKID_APB>; + interrupt-parent = <&intc0>; + interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; + };