From nobody Sun Dec 14 19:32:29 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 B780222B586; Wed, 21 May 2025 15:49:41 +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=1747842583; cv=none; b=iAltRxckH6KQcqEsRVgHljOIiY9D1MNraJ85FQRqqRoeNtaFFCVL4GYPiF4DILsipve2TiXdpr85PcxqAzOibKf8xTQ8wTfeo3xTN6ns7HW8ue06E3wpcieXAoQXxEZFUS8G00/JPPdTb4KdzkkPnr/vxiYl5hmxInk6m02sMvo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747842583; c=relaxed/simple; bh=RoL6MAn+oOTJXbLL/osL1Bo4dfugTQk+XMhwbzmVLP0=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=LBkLD6+3VFl+lai5ZCBqrOrkuyqMhy+Ub11YRHhg1NIO6DcOiDj00jDHum5Vy4+mAdU+V1lIsSvM/sGk/bjXmSXPqV3RaDx2a5gRqanGPlD4Ybm2ioGbfHbJJegJKxjGg95G78MZfYASRNb8Y8sryt+L/7xJherJQvqJgec/grs= 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=gYRhCYT3; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=vDMe5UTg; 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="gYRhCYT3"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="vDMe5UTg" Date: Wed, 21 May 2025 15:49:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1747842580; 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=88W74Z93WNJ9RJMnsT5Lxsj4PXjrFVeYvOfZnp5DKt4=; b=gYRhCYT3Ntg37I/6S3tnak5pZ9xulOSV+CJSW7tZfG0Cv5o3rYL53DEPLEeGNffjHqarPQ XRHS+sF7H+n5OhZZbAzA2LWu1vgFXYadtq64HJfMH8QnElJfyKqcHzCSwrX++j+AGGhOTF Qj/H3W2YVOQL5JISYd1ZMc9JS+/+feS7jP5WRZWwRLRDvgPkChoG/V0JzpohV1G+IBsZ2z k4gT0FWK/2PIfoD3jVWPsLyoQVN9ZkPZoRt5fPPPJ1wS7epEWXBQAAJTsDcUwfc6059Vr9 /pX5MPpyyZhIrr0vxGsBQSXXlKjKjTdijzG9ZdNfZqbnvVvFNh1KbtwCHf62AQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1747842580; 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=88W74Z93WNJ9RJMnsT5Lxsj4PXjrFVeYvOfZnp5DKt4=; b=vDMe5UTgBdLDR8z9wWOimtPe9un1Sc6ijoufcLCthtAF5ETMCn5soU+HF/1Ntll8TxgD70 uHSMeLWz0zeKsoCA== 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 csky,mptimer to DT schema Cc: "Rob Herring (Arm)" , Guo Ren , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250506022228.2587029-1-robh@kernel.org> References: <20250506022228.2587029-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: <174784257948.406.7442341595034534014.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: 157265afbdf257c99280511a3a557933d5b2e9f1 Gitweb: https://git.kernel.org/tip/157265afbdf257c99280511a3a557933d= 5b2e9f1 Author: Rob Herring (Arm) AuthorDate: Mon, 05 May 2025 21:22:27 -05:00 Committer: Daniel Lezcano CommitterDate: Fri, 16 May 2025 11:10:33 +02:00 dt-bindings: timer: Convert csky,mptimer to DT schema Convert the C-SKY Multi-processor timer binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) Acked-by: Guo Ren Link: https://lore.kernel.org/r/20250506022228.2587029-1-robh@kernel.org Signed-off-by: Daniel Lezcano --- Documentation/devicetree/bindings/timer/csky,mptimer.txt | 42 +------ Documentation/devicetree/bindings/timer/csky,mptimer.yaml | 46 +++++++- 2 files changed, 46 insertions(+), 42 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/csky,mptimer.txt create mode 100644 Documentation/devicetree/bindings/timer/csky,mptimer.ya= ml diff --git a/Documentation/devicetree/bindings/timer/csky,mptimer.txt b/Doc= umentation/devicetree/bindings/timer/csky,mptimer.txt deleted file mode 100644 index f5c7e99..0000000 --- a/Documentation/devicetree/bindings/timer/csky,mptimer.txt +++ /dev/null @@ -1,42 +0,0 @@ -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D -C-SKY Multi-processors Timer -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D - -C-SKY multi-processors timer is designed for C-SKY SMP system and the -regs is accessed by cpu co-processor 4 registers with mtcr/mfcr. - - - PTIM_CTLR "cr<0, 14>" Control reg to start reset timer. - - PTIM_TSR "cr<1, 14>" Interrupt cleanup status reg. - - PTIM_CCVR "cr<3, 14>" Current counter value reg. - - PTIM_LVR "cr<6, 14>" Window value reg to trigger next event. - -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D -timer node bindings definition -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D - - Description: Describes SMP timer - - PROPERTIES - - - compatible - Usage: required - Value type: - Definition: must be "csky,mptimer" - - clocks - Usage: required - Value type: - Definition: must be input clk node - - interrupts - Usage: required - Value type: - Definition: must be timer irq num defined by soc - -Examples: ---------- - - timer: timer { - compatible =3D "csky,mptimer"; - clocks =3D <&dummy_apb_clk>; - interrupts =3D <16>; - interrupt-parent =3D <&intc>; - }; diff --git a/Documentation/devicetree/bindings/timer/csky,mptimer.yaml b/Do= cumentation/devicetree/bindings/timer/csky,mptimer.yaml new file mode 100644 index 0000000..12cc528 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/csky,mptimer.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/csky,mptimer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: C-SKY Multi-processors Timer + +maintainers: + - Flavio Suligoi + - Guo Ren + +description: | + C-SKY multi-processors timer is designed for C-SKY SMP system and the re= gs are + accessed by cpu co-processor 4 registers with mtcr/mfcr. + + - PTIM_CTLR "cr<0, 14>" Control reg to start reset timer. + - PTIM_TSR "cr<1, 14>" Interrupt cleanup status reg. + - PTIM_CCVR "cr<3, 14>" Current counter value reg. + - PTIM_LVR "cr<6, 14>" Window value reg to trigger next event. + +properties: + compatible: + items: + - const: csky,mptimer + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + timer { + compatible =3D "csky,mptimer"; + clocks =3D <&dummy_apb_clk>; + interrupts =3D <16>; + };