From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=5.135.140.105 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796423037; b=wgZnM8oQch5Xj1/NXX7UaECm5m0lnx27qZZWMMPrByoSIkHb+53Yzq8jyz2gd0BBkoXz cVpQuY4VO4f4mUno9WzZPrvUWANIJzi8a7bk8MfDk/UXt1HmXkBzKojirn9RV5olMrUx4 lVVlRpO8e8BakqxHiturI3EsSEE1i7+3lDfxPITl28G2benvQMeDxsfIIko3fbR38P1Qt IllNp2mqS2n6SW/uVDbv72E+s+UP8mvgZSIwf8FWyf6FCqyrj1htHclEtx+tN5Df/Eytg ZFo/fLprrFpi/WySBlAhii39Dinj0lEne3r9H49SUT/Y5In27fpXBnuBWG40muFTpyg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796423037; h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date: Message-Id:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=25E6C3E35OT6tfzB1rf35aRkk7F1nJ949HRb0Gqyz5s=; b=dZGKnzZ6jOo5Lrx1/e1a2ZyKB9yHZ5uhzagzn+dmNQLjIeXOBHu/QFUSNr+rfz6vKHFq pSqNN6Zdwh0V02kP7kqW0LIeYIYlr/dLo9YQ/Wchoo/YM8vmuFGGcVOfCIG/Cyxx5JJYU JUO7BHgxVacJ/Wc1wuR7Xnt+lUSNb6Nh02pkK6VGkuvnl8MFQUFdYC50rZeJfJihr55W7 CaXhftYdkTvuXEmo9jiKWRF0BLBJ5/lQ04X7YTcUV78lM9epLMUXctEv//WBshdYjL4MT bUcr54vq4Zpe13jg230PuHIAELWooEGGl3jDmljdLqRT09pBkOBQ9GyeM1qJkH+spCg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=cjdns.fr; spf=pass smtp.mailfrom=cjdns.fr; dkim=pass header.d=cjdns.fr header.i=@cjdns.fr header.a=rsa-sha256 header.s=dkim header.b=gi60NuPD; arc=none smtp.remote-ip=5.135.140.105 Received: from mail.cjdns.fr (mail.cjdns.fr [5.135.140.105]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7514B606A339; Fri, 4 Dec 2026 22:23:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7514B606A339 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cjdns.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cjdns.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cjdns.fr header.i=@cjdns.fr header.a=rsa-sha256 header.s=dkim header.b=gi60NuPD Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 120A56EDD4E; Fri, 4 Dec 2026 23:23:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cjdns.fr; s=dkim; t=1796423027; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=25E6C3E35OT6tfzB1rf35aRkk7F1nJ949HRb0Gqyz5s=; b=gi60NuPD6hX4eF99mMQFVTiUjW3bq9teYJKQokcu1QhJD5wBgQS7yqb3eLfNkF1eExe2pj avMmWss+PLYTZDXL6wlnNZoPzpOO5Ol2JaBIZJfQ7NsxpIombycT0yQBtXMiXnr5sNAtbd U4nYt1U5vzO4IJDvBwRWuLExK39U+W71lehk5Yb6vUzwJr+pE+tadOohndkQpQwHIGmUhe 4yrU8AMfOPGRLOuFpb5wwkquOaVtz8LGfiyZbJsrzuwA9aZGZa2yijc3apugpl1k3m/oFG o5ylYFrBmh0QV34tNHiLaqARrNZV1Sh0JyaTSYsNBCc4eskVhSAv4mu5DX8RtA== From: Caleb James DeLisle To: linux-mips@vger.kernel.org Cc: conor+dt@kernel.org, daniel.lezcano@kernel.org, devicetree@vger.kernel.org, krzk+dt@kernel.org, linux-kernel@vger.kernel.org, naseefkm@gmail.com, robh@kernel.org, tglx@kernel.org, grandmaster@al2klimov.de, Caleb James DeLisle , Conor Dooley Subject: [PATCH RESEND v12 1/5] dt-bindings: timer: econet: Update EN751627 for multi-IRQ Date: Fri, 4 Dec 2026 22:23:30 +0000 Message-Id: <20261204222334.1085123-2-cjd@cjdns.fr> In-Reply-To: <20261204222334.1085123-1-cjd@cjdns.fr> References: <20261204222334.1085123-1-cjd@cjdns.fr> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 This hardware is found in the EN751221 SoC family as well as the EN751627. The former uses a percpu IRQ for all timers while the latter uses an individual IRQ number per timer. Signed-off-by: Caleb James DeLisle Acked-by: Conor Dooley --- .../bindings/timer/econet,en751221-timer.yaml | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/econet,en751221-timer.yaml b/Documentation/devicetree/bindings/timer/econet,en751221-timer.yaml index c1e7c2b6afde1..ac25785ecfdf6 100644 --- a/Documentation/devicetree/bindings/timer/econet,en751221-timer.yaml +++ b/Documentation/devicetree/bindings/timer/econet,en751221-timer.yaml @@ -12,24 +12,23 @@ maintainers: description: The EcoNet High Precision Timer (HPT) is a timer peripheral found in various EcoNet SoCs, including the EN751221 and EN751627 families. It provides per-VPE - count/compare registers and a per-CPU control register, with a single interrupt - line using a percpu-devid interrupt mechanism. + count/compare registers and a per-CPU control register. On EN751221 it uses a + single interrupt line using a percpu-devid interrupt mechanism, and on + EN751627 it uses an interrupt per VPE. properties: compatible: - oneOf: - - const: econet,en751221-timer - - items: - - const: econet,en751627-timer - - const: econet,en751221-timer + enum: + - econet,en751221-timer + - econet,en751627-timer reg: minItems: 1 maxItems: 2 interrupts: - maxItems: 1 - description: A percpu-devid timer interrupt shared across CPUs. + minItems: 1 + maxItems: 4 clocks: maxItems: 1 @@ -52,21 +51,31 @@ allOf: items: - description: VPE timers 0 and 1 - description: VPE timers 2 and 3 + interrupts: + description: An interrupt for each timer (one per VPE) + minItems: 4 else: properties: reg: items: - description: VPE timers 0 and 1 + interrupts: + description: A percpu-devid timer interrupt shared across timers + maxItems: 1 additionalProperties: false examples: - | + #include timer@1fbf0400 { - compatible = "econet,en751627-timer", "econet,en751221-timer"; + compatible = "econet,en751627-timer"; reg = <0x1fbf0400 0x100>, <0x1fbe0000 0x100>; interrupt-parent = <&intc>; - interrupts = <30>; + interrupts = , + , + , + ; clocks = <&hpt_clock>; }; - | -- 2.39.5