[Linux-stm32] [PATCH] ARM: dts: stm32: Add timer interrupts

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Dec 15 18:20:18 UTC 2021


Hello Fabrice,

On Wed, Dec 15, 2021 at 06:43:06PM +0100, Fabrice Gasnier wrote:
> On 12/15/21 4:25 PM, Uwe Kleine-König wrote:
> >  .../bindings/mfd/st,stm32-timers.yaml         | 13 +++++++
> >  arch/arm/boot/dts/stm32mp151.dtsi             | 34 +++++++++++++++++++
> >  2 files changed, 47 insertions(+)

> Could you split dt-bindings into a separate patch ?

sure. I considered that before sending, but wasn't sure it's worth these
two little changes.

> I'm a bit curious... I don't see driver update here, to use the timer
> interrupts from the MFD, or child drivers.
> Do you have particular use case in mind ?

My usecase is the compare-capture functionality. The eventual goal is to
measure the frequency of rising edges on an input.

The current situation is that there is already a custom driver for the
i.MX25 SoC, the short-term goal is to replicate it's functionality on
stm32mp1. The long-term goal is to create a counter driver for both.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://st-md-mailman.stormreply.com/pipermail/linux-stm32/attachments/20211215/f230390f/attachment.sig>


More information about the Linux-stm32 mailing list