Regarding Accessing all peripherals on Beaglebone blue

Hi Team,
We are currently working on BeagleBone Blue for accessing all peripherals present on it. Currently we have seen that some kernel versions support PWM whereas some don’t.
Could you please suggest us the kernel version, which can support all the peripherals present in BeagleBone blue.

FYI,
kernel 4.19.94 ti-r42 supports PWM but not SPI
kernel 4.19.94 tii-r64 support SPI but not PWM

Quick Response is appreciated. Thank you

All kernels since ancient history support both PWM and SPI,. What makes you think otherwise?