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)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Thu, 14 Oct 2021 14:21:52 +0000 (15:21 +0100)
commit4dd67ca8389f86b8dc004ae1eb5ccdafee7ec018
tree8633d108582e100849b3db742409037c83c64bd0
parent1b07dc70e05ffa2fba69e1e609ed5456742ae4ce
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]