aboutsummaryrefslogtreecommitdiffstats
path: root/src/linux/Kconfig
diff options
context:
space:
mode:
authorJanne Grunau <janne-3d@jannau.net>2019-03-24 10:25:56 +0100
committerKevin O'Connor <kevin@koconnor.net>2019-04-05 19:06:15 -0400
commitaab89e7f85d01fffb349b2046daebdc0deb1ce92 (patch)
treec875725a48bce1170d6039103671f7331cb1fda1 /src/linux/Kconfig
parente6c3eeafd79cac08172377f447c1dd963b5cb530 (diff)
downloadkutter-aab89e7f85d01fffb349b2046daebdc0deb1ce92.tar.gz
kutter-aab89e7f85d01fffb349b2046daebdc0deb1ce92.tar.xz
kutter-aab89e7f85d01fffb349b2046daebdc0deb1ce92.zip
linux: add support for Linux hardware PWM
The replicape servo pins (P9_14/P9_16) are muxed to the SOCs hardware PWM unit driven by a 13MHz GP timer. They have to be driven by the linux host mcu. This commits adds hardware PWM support using the linux sysfs user space interface. Signed-off-by: Janne Grunau <janne-3d@jannau.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/linux/Kconfig')
-rw-r--r--src/linux/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linux/Kconfig b/src/linux/Kconfig
index 1647ef91..0ae58516 100644
--- a/src/linux/Kconfig
+++ b/src/linux/Kconfig
@@ -8,6 +8,7 @@ config LINUX_SELECT
default y
select HAVE_GPIO_ADC
select HAVE_GPIO_SPI
+ select HAVE_GPIO_HARD_PWM
config BOARD_DIRECTORY
string