From nobody Sun Dec 14 19:21:52 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08B3B1804A; Wed, 21 May 2025 15:49:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747842571; cv=none; b=utiiy21tkl+rPXeZ7EHFziWzRJw6nj2Gz7x2cMPq0UCrG9ol2zv926RM60ceq1MGs02bVCKwx1qo1qivIodN7koG8SDyLRT7HEdBLeY7JUE/ICH57WY+ylWVJk+cBfKecrPDv9kAzLja19mI3siA7e+UPF0Dbaq9UnI3x3WkDVI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747842571; c=relaxed/simple; bh=p64wB7pPosLKeku5LgxqDd0hwEbpqgKq089Ibe9f/dY=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ePp3VmK/5cZX4R//pzUUY8P6iB6ve7Fz8QnPrVxPqP5yKRs1yPXz+jnbBEHWX7PygF2YGTbOL2LAeNS/5wUc6kLOyf9rEup7j+X1QwBJRAfUarmHDQaNuPRGPF39yB0O9b7Eu0VMUSkgw6D2NlM+AWsffKOwk2w2ugmlbZzhs+Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=pZ0i/Dnt; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=PY5lqgTJ; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="pZ0i/Dnt"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="PY5lqgTJ" Date: Wed, 21 May 2025 15:49:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1747842567; 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=XyihVGMPMUECZ8HtuV/mQJm49z+dgIldJrApbbNZyrg=; b=pZ0i/Dnt7bHi4zrah7YinxdIuIuvBOgpSWpcrEARtpnJH3ZQvnzke1UKCt4IjCiRM1aiMC 8f3/BHo3WgsiXYxQjU+oO2wDW4RQ4ioyYdEtbVwXENpxHyssXyobrS+DKHOXcs3TB/IpKX evgp88OXzncIop45LdTOjc/Zhjz5f4cPsHbPRBQcrBc8SUOlDtTMivCxX+Q79zd1EEm1Gu NcdFdvskmriOsdRsJJ6J7YmgUyGMGLMVIg0ZM4jyCLQOMPbD8qqOsjd0Dgh5EUDys0JbmS m2VoaTRXybrx7I8Q5aT/GpcQsQnc6xYq6sOIGhpqO/Fci+06g2KsaOVxtUUhvA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1747842567; 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=XyihVGMPMUECZ8HtuV/mQJm49z+dgIldJrApbbNZyrg=; b=PY5lqgTJduTce24vMlaarzf2hc4vJfse/Db2t+/qRljlu/GL058b9v4lICBFcjJRwtTXgg N+Mwv/m5B0i0asCA== From: "tip-bot2 for Rob Herring (Arm)" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/clocksource] dt-bindings: timer: Convert snps,arc-timer to DT schema Cc: "Rob Herring (Arm)" , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250506022317.2589010-1-robh@kernel.org> References: <20250506022317.2589010-1-robh@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174784256643.406.6835566030000468495.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/clocksource branch of = tip: Commit-ID: 960a2f4c7f5fc4231b9295d44a28721830d3e316 Gitweb: https://git.kernel.org/tip/960a2f4c7f5fc4231b9295d44a2872183= 0d3e316 Author: Rob Herring (Arm) AuthorDate: Mon, 05 May 2025 21:23:16 -05:00 Committer: Daniel Lezcano CommitterDate: Fri, 16 May 2025 11:10:34 +02:00 dt-bindings: timer: Convert snps,arc-timer to DT schema Convert the Synopsys ARC Local Timer binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) Link: https://lore.kernel.org/r/20250506022317.2589010-1-robh@kernel.org Signed-off-by: Daniel Lezcano --- Documentation/devicetree/bindings/timer/snps,arc-timer.txt | 27 +---- Documentation/devicetree/bindings/timer/snps,arc-timer.yaml | 45 +++++++- 2 files changed, 45 insertions(+), 27 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/snps,arc-timer.= txt create mode 100644 Documentation/devicetree/bindings/timer/snps,arc-timer.= yaml diff --git a/Documentation/devicetree/bindings/timer/snps,arc-timer.txt b/D= ocumentation/devicetree/bindings/timer/snps,arc-timer.txt deleted file mode 100644 index b02ab0a..0000000 --- a/Documentation/devicetree/bindings/timer/snps,arc-timer.txt +++ /dev/null @@ -1,27 +0,0 @@ -Synopsys ARC Local Timer with Interrupt Capabilities -- Found on all ARC CPUs (ARC700/ARCHS) -- Can be optionally programmed to interrupt on Limit -- Two identical copies TIMER0 and TIMER1 exist in ARC cores and historical= ly - TIMER0 used as clockevent provider (true for all ARC cores) - TIMER1 used for clocksource (mandatory for ARC700, optional for ARC HS) - -Required properties: - -- compatible : should be "snps,arc-timer" -- interrupts : single Interrupt going into parent intc - (16 for ARCHS cores, 3 for ARC700 cores) -- clocks : phandle to the source clock - -Example: - - timer0 { - compatible =3D "snps,arc-timer"; - interrupts =3D <3>; - interrupt-parent =3D <&core_intc>; - clocks =3D <&core_clk>; - }; - - timer1 { - compatible =3D "snps,arc-timer"; - clocks =3D <&core_clk>; - }; diff --git a/Documentation/devicetree/bindings/timer/snps,arc-timer.yaml b/= Documentation/devicetree/bindings/timer/snps,arc-timer.yaml new file mode 100644 index 0000000..0d1e37d --- /dev/null +++ b/Documentation/devicetree/bindings/timer/snps,arc-timer.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/snps,arc-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synopsys ARC Local Timer + +maintainers: + - Vineet Gupta + +description: > + Synopsys ARC Local Timer with Interrupt Capabilities + + - Found on all ARC CPUs (ARC700/ARCHS) + - Can be optionally programmed to interrupt on Limit + - Two identical copies TIMER0 and TIMER1 exist in ARC cores and histor= ically + TIMER0 used as clockevent provider (true for all ARC cores) + TIMER1 used for clocksource (mandatory for ARC700, optional for ARC = HS) + +properties: + compatible: + const: snps,arc-timer + + interrupts: + maxItems: 1 + description: A single timer interrupt going into the parent interrupt = controller. + Use <16> for ARCHS cores, <3> for ARC700 cores. + + clocks: + maxItems: 1 + +required: + - compatible + - clocks + +additionalProperties: false + +examples: + - | + timer0 { + compatible =3D "snps,arc-timer"; + interrupts =3D <3>; + clocks =3D <&core_clk>; + };