u-boot-brain/drivers/pwm
Neil Armstrong 2d481b2e3e pwm: Add driver for Amlogic Meson PWM controller
This adds the driver for the PWM controller found in the Amlogic SoCs.

This PWM is only a set of Gates, Dividers and Counters:
PWM output is achieved by calculating a clock that permits calculating
two periods (low and high). The counter then has to be set to switch after
N cycles for the first half period.
The hardware has no "polarity" setting. This driver reverses the period
cycles (the low length is inverted with the high length) for
PWM_POLARITY_INVERSED.

Disabling the PWM stops the output immediately (without waiting for the
current period to complete first).

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2020-10-05 18:02:16 +02:00
..
exynos_pwm.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
Kconfig pwm: Add driver for Amlogic Meson PWM controller 2020-10-05 18:02:16 +02:00
Makefile pwm: Add driver for Amlogic Meson PWM controller 2020-10-05 18:02:16 +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 treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
pwm-meson.c pwm: Add driver for Amlogic Meson PWM controller 2020-10-05 18:02:16 +02:00
pwm-mtk.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
pwm-sifive.c pwm: Add PWM driver for SiFive SoC 2020-07-09 06:03:12 +02:00
pwm-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk_pwm.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sandbox_pwm.c test: panel: Add a test for the panel uclass 2018-10-09 04:40:27 -06:00
sunxi_pwm.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
tegra_pwm.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00