fb92cc2c17
TTC has three modes of operations. Timer, PWM and input counters. There is already driver for timer under CADENCE_TTC_TIMER which is used for ZynqMP R5 configuration. This driver is targeting PWM which is for example configuration which can be used for fan control. The driver has been tested on Xilinx Kria SOM platform where fan is connected to one PL pin. When TTC output is connected via EMIO to PL pin TTC pwm can be configured and tested for example like this: pwm config 0 0 10000 1200 pwm enable 0 0 pwm config 0 0 10000 1400 pwm config 0 0 10000 1600 Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Sean Anderson <sean.anderson@seco.com> Link: https://lore.kernel.org/r/915a662ddb88f7a958ca1f307e8fea59af9d7feb.1634303847.git.michal.simek@xilinx.com |
||
---|---|---|
.. | ||
cros_ec_pwm.c | ||
exynos_pwm.c | ||
Kconfig | ||
Makefile | ||
pwm-aspeed.c | ||
pwm-at91.c | ||
pwm-cadence-ttc.c | ||
pwm-imx-util.c | ||
pwm-imx-util.h | ||
pwm-imx.c | ||
pwm-meson.c | ||
pwm-mtk.c | ||
pwm-sifive.c | ||
pwm-ti-ehrpwm.c | ||
pwm-uclass.c | ||
rk_pwm.c | ||
sandbox_pwm.c | ||
sunxi_pwm.c | ||
tegra_pwm.c |