u-boot/drivers/pwm
Michal Simek fb92cc2c17 pwm: Add driver for cadence TTC
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
2022-03-30 14:50:47 +02:00
..
cros_ec_pwm.c pwm: cros_ec: Rename "priv_auto_alloc_size" to "priv_auto" 2021-06-05 07:35:47 -06:00
exynos_pwm.c exynos: pwm: Deal with a PWM at 100% 2021-11-09 11:57:22 +09:00
Kconfig pwm: Add driver for cadence TTC 2022-03-30 14:50:47 +02:00
Makefile pwm: Add driver for cadence TTC 2022-03-30 14:50:47 +02:00
pwm-aspeed.c pwm: Add Aspeed ast2600 PWM support 2022-03-25 13:35:50 -04:00
pwm-at91.c pwm: Add PWM driver for SAMA5D2 2021-10-12 15:18:39 +03:00
pwm-cadence-ttc.c pwm: Add driver for cadence TTC 2022-03-30 14:50:47 +02:00
pwm-imx-util.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pwm-imx-util.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pwm-imx.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
pwm-meson.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
pwm-mtk.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pwm-sifive.c pwm: sifive: make set_config() and set_enable() work properly 2021-05-14 16:25:42 +08:00
pwm-ti-ehrpwm.c dm: fix build errors generated by last merges 2021-01-15 13:12:38 -05:00
pwm-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
rk_pwm.c rockchip: pwm: Fix default polarity 2021-04-10 11:54:59 +02:00
sandbox_pwm.c video: backlight: Support PWMs without a known period_ns 2021-04-10 16:07:12 +02:00
sunxi_pwm.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
tegra_pwm.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00