drivers/gpio: Add a driver that wraps the PWM API as a GPIO controller
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 14 Oct 2021 10:09:18 +0000 (11:09 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:13 +0000 (11:33 +0000)
commit4de16df99c945ad3e85377d1771b875a7a6b9185
treea2760b36137809f481eccf904221de31c2a4fed9
parentec167e48e917d549baeab1ec0c7a04937f6f1fe8
drivers/gpio: Add a driver that wraps the PWM API as a GPIO controller

For cases where spare PWM outputs are available, but are desired
to be addressed a standard outputs instead.
Wraps a PWM channel as a new GPIO chip with the one output.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-pwm.c [new file with mode: 0644]