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, 21 Mar 2022 16:04:26 +0000 (16:04 +0000)
commitfc2a704d2cc37fbb8dd2ec7ac136fa551f7f1700
tree8851a232ad257394fcf445fddaaaf113b2136b1c
parent83ec6c510a0389e3ba1fe9d04dd692f136c86678
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]