Calling this v2 since it is a revision of the first version of the patch from [1]. I have split it into a separate series since the SPI offload work will likely take longer to finalize and there are other potential users of this, like the ad7606 driver that I have also included in this series. [1]: https://lore.kernel.org/linux-iio/20241023-dlech-mainline-spi-engine-offload-2-v4-1-f8125b99f5a1@xxxxxxxxxxxx/ --- David Lechner (2): pwm: core: export pwm_get_state_hw() iio: adc: ad7606: finish pwm_get_state_hw() TODO drivers/iio/adc/ad7606.c | 8 +++----- drivers/pwm/core.c | 40 +++++++++++++++++++++++++++------------- include/linux/pwm.h | 1 + 3 files changed, 31 insertions(+), 18 deletions(-) --- base-commit: 6fb2fa9805c501d9ade047fc511961f3273cdcb5 change-id: 20241029-pwm-export-pwm_get_state_hw-8bdf15d9a408 Best regards, -- David Lechner <dlechner@xxxxxxxxxxxx>