[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0a5badd9-28b4-48b4-95e3-409ea808e090@kernel.org>
Date: Sun, 23 Jun 2024 09:13:13 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Chris Packham <chris.packham@...iedtelesis.co.nz>, tglx@...utronix.de,
robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
tsbogend@...ha.franken.de, daniel.lezcano@...aro.org, paulburton@...nel.org,
peterz@...radead.org, mail@...ger-koblitz.de, bert@...t.com,
john@...ozen.org, sander@...nheule.net
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-mips@...r.kernel.org, kabel@...nel.org, ericwouds@...il.com,
Markus Stockhausen <markus.stockhausen@....de>
Subject: Re: [PATCH 4/6] clocksource: realtek: Add timer driver for rtl-otto
platforms
On 21/06/2024 06:27, Chris Packham wrote:
> The timer/counter block on the Realtek SoCs provides up to 5 timers. It
> also includes a watchdog timer but this isn't being used currently (it
> will be added as a separate wdt driver).
>
> One timer will be used per CPU as a local clock event generator. An
> additional timer will be used as an overal stable clocksource.
>
> Signed-off-by: Markus Stockhausen <markus.stockhausen@....de>
> Signed-off-by: Sander Vanheule <sander@...nheule.net>
> Signed-off-by: Chris Packham <chris.packham@...iedtelesis.co.nz>
...
> + pr_err("timer registration failed\n");
> + for_each_possible_cpu(cpu_rollback) {
> + if (cpu_rollback == cpu)
> + break;
> + to = per_cpu_ptr(&rttm_to, cpu_rollback);
> + timer_of_cleanup(to);
> + }
> +
> + return -EINVAL;
> +}
> +
> +TIMER_OF_DECLARE(otto_timer, "realtek,otto-timer", rttm_probe);
Undocumented compatible.
Best regards,
Krzysztof
Powered by blists - more mailing lists