I thought I sent an answer but I don't see it here so I'll send again.
Thanks for the reply. What I was looking for is a way that could be acceptable for merging upstream, if possible. So should I add a special binding for STM32 decoder functionality? Or what would be the preferred way?