From 1c353aea2b3d36e59ae4b6af7cf2302d40ac96dd Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Mon, 14 May 2018 08:16:20 -0700 Subject: pwm: sunxi: add support for PWM found on Allwinner A64 This commit adds basic support for PWM found on Allwinner A64. It can be used for pwm_backlight driver (e.g. for Pinebook) Signed-off-by: Vasily Khoruzhick --- drivers/pwm/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/pwm/Kconfig') diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index e8275580524..2984b797663 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -43,3 +43,10 @@ config PWM_TEGRA four channels with a programmable period and duty cycle. Only a 32KHz clock is supported by the driver but the duty cycle is configurable. + +config PWM_SUNXI + bool "Enable support for the Allwinner Sunxi PWM" + depends on DM_PWM + help + This PWM is found on H3, A64 and other Allwinner SoCs. It supports a + programmable period and duty cycle. A 16-bit counter is used. -- cgit v1.2.3