From nobody Sun Feb 8 09:27:12 2026 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 25B4F3E49E; Sat, 13 Jul 2024 10:17:01 +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=1720865822; cv=none; b=H8vgt3AA5dWkhUDkqI4x/dE9lspgSS25+GRfkFelwH1RP+eH3MpElC9KZGQvLOpN1oNsu0wRfFBY/oLPk7m1QejhT1fEujn9T1gvCMIjtrZ7cx6p2kaaFLME3CHgdkPl86QNJr7CBVRVpq3ns3sz69qyZzG2Hu3BTMnfS4NdXX4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720865822; c=relaxed/simple; bh=WtDRdICEeJNZWtyqDcb5bOm4gD/YTY33MzVmrpHZBBM=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=hLSCasDFYZ8VNrfbjI56pTvoBarum7Z2dydUp+mXzTGMDWQ9+qCNXFEewVKZvDWOQtB5SuvXg+tszRsSmgZjLw3O9a5AESGN4j7GaDTlGBgRZ7crwEpZJdWQ4BMl6U+kuoIvCaE5UWyF9u7EOuZXqDkl7qAxo5IS/53xVtMc0+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=UsGw4eLW; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=OH2pe91B; 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="UsGw4eLW"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="OH2pe91B" Date: Sat, 13 Jul 2024 10:16:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1720865814; 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=amzq9mFedUqxqbg0+MFkw5kzHQGtcb83hQ6RqbetsFs=; b=UsGw4eLWg3acLgcRkWzuemEYWkZod8uvam2iV/UDtH+6nOq3A9aIlDbWzf9tkVrh8/xUg+ LRKTGa+4pfJSHnn0rm4iU69jKZZscsLXStYUWgniQAKYrx6mBbtG0K3jJfkciIyYgKOpof vTCE+1qLVgrmGOTVRNy7kFcM/45rGBsS4FlEXRFFUJvcpI9tYGc5SnoHc2s3Y1DAcNdHlH DbBaE6LO/QiXiWTrRsWZpgL4R5bUWcAhQAhxVjclf/Z3UyG9i96RWjOd9fdOlCNyqNFY5k JEmmWRNtFt2MOfNpBPnLxctIMzTVfMT2AOeFZmT5NtQPvmKvB7xmgzWj1Ta7wA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1720865814; 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=amzq9mFedUqxqbg0+MFkw5kzHQGtcb83hQ6RqbetsFs=; b=OH2pe91BeRLUfS4JJJ/q90GwZEochgr1WI3DaITchzQK8EbRYs9KYDgJnJcsj6/jOeVej5 wgho4K6NFbkeBbDA== From: "tip-bot2 for Chris Packham" 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 schema for realtek,otto-timer Cc: Chris Packham , Krzysztof Kozlowski , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240710043524.1535151-6-chris.packham@alliedtelesis.co.nz> References: <20240710043524.1535151-6-chris.packham@alliedtelesis.co.nz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <172086581394.2215.7938188375162127019.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/core branch of tip: Commit-ID: 128f44f788cab8cab53edf9fa35eccbaa48fb4b2 Gitweb: https://git.kernel.org/tip/128f44f788cab8cab53edf9fa35eccbaa= 48fb4b2 Author: Chris Packham AuthorDate: Wed, 10 Jul 2024 16:35:19 +12:00 Committer: Daniel Lezcano CommitterDate: Fri, 12 Jul 2024 16:07:06 +02:00 dt-bindings: timer: Add schema for realtek,otto-timer Add the devicetree schema for the realtek,otto-timer present on a number of Realtek SoCs. Signed-off-by: Chris Packham Reviewed-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20240710043524.1535151-6-chris.packham@alli= edtelesis.co.nz Signed-off-by: Daniel Lezcano --- Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml | 63 +++++= ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/realtek,otto-ti= mer.yaml diff --git a/Documentation/devicetree/bindings/timer/realtek,otto-timer.yam= l b/Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml new file mode 100644 index 0000000..7b6ec2c --- /dev/null +++ b/Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/realtek,otto-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek Otto SoCs Timer/Counter + +description: + Realtek SoCs support a number of timers/counters. These are used + as a per CPU clock event generator and an overall CPU clocksource. + +maintainers: + - Chris Packham + +properties: + $nodename: + pattern: "^timer@[0-9a-f]+$" + + compatible: + items: + - enum: + - realtek,rtl9302-timer + - const: realtek,otto-timer + + reg: + items: + - description: timer0 registers + - description: timer1 registers + - description: timer2 registers + - description: timer3 registers + - description: timer4 registers + + clocks: + maxItems: 1 + + interrupts: + items: + - description: timer0 interrupt + - description: timer1 interrupt + - description: timer2 interrupt + - description: timer3 interrupt + - description: timer4 interrupt + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + timer@3200 { + compatible =3D "realtek,rtl9302-timer", "realtek,otto-timer"; + reg =3D <0x3200 0x10>, <0x3210 0x10>, <0x3220 0x10>, + <0x3230 0x10>, <0x3240 0x10>; + + interrupt-parent =3D <&intc>; + interrupts =3D <7>, <8>, <9>, <10>, <11>; + clocks =3D <&lx_clk>; + };