OpenWRT these days can also be installed on some switches eg the Zyxel GS1900 series (though support for things like PoE and 10Gb/SFP+ ports might be limited, I’m not sure where things stand there).
POE on those devices is mostly two types: Broadcom (well supported), and Realteks inhouse solution, which uses a 'dialect' of the Broadcom protocol. There is a git branch/PR, where the 'dialect' differences have been moved to individual modules. But it's not released yet. https://github.com/Hurricos/realtek-poe/pull/35
Unfortunately, there seem to be hard problems migrating up from Linux 5.15 to 6.1 or 6.6.