From nobody Sun Feb 8 11:16:18 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C80E2EB64DC for ; Mon, 26 Jun 2023 09:14:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229621AbjFZJOP (ORCPT ); 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the timers/core branch of tip: Commit-ID: b25efff2a63f0d573f409f22e82904db9cc7d577 Gitweb: https://git.kernel.org/tip/b25efff2a63f0d573f409f22e82904db9= cc7d577 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-p= wmtimer.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 =3D "loongson,ls1b-pwmtimer"; + reg =3D <0x1fe5c030 0x10>; + + clocks =3D <&clkc LS1X_CLKID_APB>; + interrupt-parent =3D <&intc0>; + interrupts =3D <20 IRQ_TYPE_LEVEL_HIGH>; + };